]> sourceware.org Git - glibc.git/blame - ChangeLog
Add bug numbers 926, 4772 and 16274 to NEWS.
[glibc.git] / ChangeLog
CommitLineData
699ff837
JM
12013-12-04 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #6807]
4 [BZ #15901]
5 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6 * math/w_j0f.c (y0f): Likewise.
7 * math/w_j0l.c (__y0l): Likewise.
8 * math/w_j1.c (y1): Likewise.
9 * math/w_j1f.c (y1f): Likewise.
10 * math/w_j1l.c (__y1l): Likewise
11 * math/w_jn.c (yn): Likewise.
12 * math/w_jnf.c (ynf): Likewise.
13 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15 value for Bessel function domain errors outside _SVID_ mode.
16 Adjust sign of return value for yn (negative integer, 0).
17 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18 by zero in return for negative x and set sign appropriately for
19 negative n.
20 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23 expectations in error cases.
24 (y1_test_data): Likewise.
25 (yn_test_data): Likewise.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28
5b118558
UW
292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30
31 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32 "64" to "64-v1". Add "64-v2".
33 (abi-64-options): Rename to ...
34 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
35 (abi-64-condition): Rename to ...
36 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
37 (abi-64-ld-soname): Rename to ...
38 (abi-64-v1-ld-soname): ... this.
39 (abi-64-v2-options): Define.
40 (abi-64-v2-condition): Likewise.
41 (abi-64-v2-ld-soname): Likewise.
42 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47
61cd8fe4
UW
482013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49 Alan Modra <amodra@gmail.com>
50
51 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52 New versions for use with the ELFv2 ABI.
53 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55 declaration.
56 (struct La_ppc64v2_retval): Likewise.
57 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
61 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
62 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63 Do not save or restore CR.
64 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
65 (_dl_profile_resolve): Do no save or restore CR. Support extended
66 return values for ELFv2 ABI. Fix location of FPR return registers.
67 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
68 updated values for _CALL_ELF == 2.
69 (La_regs, La_retval, int_retval): Likewise.
70
8b8a692c
UW
712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
72
73 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
74 (FRAME_MIN_SIZE_PARM): Likewise.
75 (FRAME_BACKCHAIN): Likewise.
76 (FRAME_CR_SAVE): Likewise.
77 (FRAME_LR_SAVE): Likewise.
78 (FRAME_TOC_SAVE): Likewise.
79 (FRAME_PARM_SAVE): Likewise.
80 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
81 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
82 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
83 (call_mcount_parm_offset): New macro.
84 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
85 (PROF): Use symbolic stack frame offsets.
86 (TAIL_CALL_SYSCALL_ERROR): Likewise.
87 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
88 Redefine in terms of FRAME_MIN_SIZE.
89 (_dl_runtime_resolve): Use symbolic stack frame offsets.
90 (_dl_profile_resolve): Likewise. Update comment.
91 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
92 symbols stack frame offsets.
93 (__sigsetjmp): Likewise.
94 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
95 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
96 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
97 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
98
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
100 (FRAME_BACKCHAIN): Remove.
101 (FRAME_CR_SAVE): Likewise.
102 (FRAME_LR_SAVE): Likewise.
103 (FRAME_COMPILER_DW): Likewise.
104 (FRAME_LINKER_DW): Likewise.
105 (FRAME_TOC_SAVE): Likewise.
106 (FRAME_PARM_SAVE): Likewise.
107 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
108 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
109 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
111 (CHECK_SP): Use symbolic stack frame offsets.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
113 zone" instead of caller's parameter save area for temp storage.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
115 Likewise. Also, use symbolic stack frame offsets.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
117 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
118 our own stack frame instead of the caller's.
119 (__socket): Use symbolic stack frame offsets.
120
122b66de
UW
1212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
122 Alan Modra <amodra@gmail.com>
123
124 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
125 Define.
126 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
127 PPC64_LOCAL_ENTRY_OFFSET): Define.
128 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
129 New function.
130 (elf_machine_fixup_plt): Call it.
131 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
132 reloc arguments.
133 (elf_machine_rela): Update call to elf_machine_plt_conflict.
134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
135 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
136 r2 before calling target.
137
696caf1d
UW
1382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
139 Alan Modra <amodra@gmail.com>
140
141 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
142 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
143 versions of macros to support ELFv2 ABI.
144 (LOCALENTRY): New macro.
145 (ENTRY, EALIGN): Use it.
146 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
147 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
148 fall through into ENTRY entry point.
149 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
150 Only define if _CALL_ELF != 2.
151
152 (elf_machine_matches_host): Verify ABI version matches.
153 (RTLD_START): Use LOCALENTRY.
154 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
155 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
156 (PLT_ENTRY_WORDS): New macro.
157 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
158 (elf_machine_runtime_setup): Support ELFv2 ABI.
159 (elf_machine_fixup_plt): Likewise.
160 (elf_machine_plt_conflict): Likewise.
161 (resolve_ifunc): Likewise.
162 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
164 Likewise.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
166 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
168 (makecontext): Support ELFv2 ABI.
169 * elf/elf.h (EF_PPC64_ABI): Define.
170
d31beafa
UW
1712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
172
173 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
174 New assembler macro.
175 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
176 [ASSEMBLER] (ENTRY): ... but instead here ...
177 [ASSEMBLER] (EALIGN): ... and here.
178 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
179 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
180 [!ASSEMBLER] (ENTRY_2): Use it.
181 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
182 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
184 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
185 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
187 Use PPC64_LOAD_FUNCPTR.
188
b525166b
UW
1892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
190
191 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
192
7ec07d9a
AM
1932013-12-04 Alan Modra <amodra@gmail.com>
194
195 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
196 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
197 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
198 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
199
200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
201 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
202 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
203 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
204 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
205 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
206
5162e7dd
UW
2072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
208
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
210 (__makecontext): Fix incorrect CFI when backtracing out of
211 context created via makecontext.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
213 (__setcontext): Fix incorrect CFI during switch to new context.
214 (__novec_setcontext): Likewise.
215
19e3372b
OB
2162013-12-04 Ondřej Bílka <neleai@seznam.cz>
217
218 [BZ #4772]
219 * time/strptime_l.c (__strptime_internal): Allow modifiers
220 in strptime.
221 * time/tst-strptime.c (day_tests): Add testcase.
222
223
ecaf142d
SP
2242013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
225
226 * scripts/bench.pl: Skip over blank lines.
227
fbf964ae
PE
2282013-12-04 Paul Eggert <eggert@cs.ucla.edu>
229
230 [BZ #926]
231 * manual/time.texi (Calendar Time): Clarify what timezone functions
232 use.
233
fa60a674
AZ
2342013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
237
d674f0ef
OB
2382013-12-04 Ondřej Bílka <neleai@seznam.cz>
239
240 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
241 implementation.
242 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
243 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
244 * debug/memset_chk.c (__memset_chk): Likewise.
245 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
246 * debug/strncpy_chk.c: Likewise.
247
17dea188
JM
2482013-12-03 Joseph Myers <joseph@codesourcery.com>
249
749008ff
JM
250 [BZ #15268]
251 [BZ #15425]
252 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
253 (__ieee754_exp): For possibly underflowing results, check size of
254 result and force underflow exception if required.
255 * math/auto-libm-test-in: Add more tests of exp.
256 * math/auto-libm-test-out: Regenerated.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
259
17dea188
JM
260 [BZ #16283]
261 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
262 * math/w_exp2f.c (__exp2f): Likewise.
263 * math/w_exp2l.c (__exp2l): Likewise.
264 * math/auto-libm-test-in: Do not allow missing errno on exp2
265 underflow.
266 * math/auto-libm-test-out: Regenerated.
267
b20de2c3
OB
2682013-12-03 Ondřej Bílka <neleai@seznam.cz>
269
270 [BZ #16274]
271 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
272 handle filename validation.
273 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
274 (do_open): Delete.
275
d8e2dbe3
JM
2762013-12-03 Joseph Myers <joseph@codesourcery.com>
277
34e16df5
JM
278 [BZ #6786]
279 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
280 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
281 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
282 <float.h>.
283 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
285 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
287 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
288 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
289 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
290 * math/auto-libm-test-in: Don't allow missing errno from erfc.
291 Add more erfc tests.
292 * math/auto-libm-test-out: Regenerated.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
d8e2dbe3
JM
296 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
297 exp2, expm1, j0 and j1.
298 * math/auto-libm-test-out: Regenerated.
299 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
300 (erfc_test_data): Likewise.
301 (exp_test_data): Likewise.
302 (exp_tonearest_test_data): Likewise.
303 (exp_towardzero_test_data): Likewise.
304 (exp_downward_test_data): Likewise.
305 (exp_upward_test_data): Likewise.
306 (exp10_test_data): Likewise.
307 (exp2_test_data): Likewise.
308 (expm1_test_data): Likewise.
309 (j0_test_data): Likewise.
310 (j1_test_data): Likewise.
311 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
312 (input_flag_type): Add flag_xfail_rounding.
313 (input_flags): Add xfail-rounding.
314 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
315 (output_for_one_input_case): Handle flag_xfail_rounding.
316 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
318
18d14251
AJ
3192013-12-03 Aurelien Jarno <aurelien@aurel32.net>
320
3d2e6075 321 [BZ #16289]
18d14251
AJ
322 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
323 division by 0.
324
520d437b
SP
3252013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 [BZ #16195]
328 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
329 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
330 (STAP_PROBE0): New macro.
331 (STAP_PROBE1): Likewise.
332 (STAP_PROBE2): Likewise.
333 (STAP_PROBE3): Likewise.
334 (STAP_PROBE4): Likewise.
335
416e0145
OB
3362013-12-02 Ondřej Bílka <neleai@seznam.cz>
337
338 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
339
9d17796a
SE
3402013-12-02 Steve Ellcey <sellcey@mips.com>
341
342 * benchtests/Makefile (bench): Add sqrt.
343 (LDLIBS-bench-sqrt): New.
344 * benchtests/sqrt-input: New.
345
f524d6a8
PS
3462013-12-02 Pavel Simerda <psimerda@redhat.com>
347
639a0ef8
PS
348 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
349 (GAIH_EAI): Likewise.
350 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
351 (gaih_inet): Likewise.
352 (getaddrinfo): Don't use GAIH_EAI.
353
f524d6a8
PS
354 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
355 (struct gaih): Remove definition.
356
df3aedaf
SP
3572013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
358
359 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
360 Use HERRNOP directly.
361
1ab19dec
AZ
3622013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
363
b42ad38d 364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 365
176b0c79
JM
3662013-11-30 Joseph Myers <joseph@codesourcery.com>
367
368 * math/gen-auto-libm-tests.c (test_functions): Add more
369 single-argument functions.
370 (special_fill_pi_2): New function.
371 (special_fill_minus_pi_2): Likewise.
372 (special_fill_pi_6): Likewise.
373 (special_fill_minus_pi_6): Likewise.
374 (special_fill_pi_3): Likewise.
375 (special_fill_2pi_3): Likewise.
376 (special_fill_e): Likewise.
377 (special_fill_1_e): Likewise.
378 (special_fill_e_minus_1): Likewise.
379 (special_real_inputs): Add more special inputs.
380 (output_for_one_input_case): Do not require ERANGE on underflow to
381 zero if round-to-nearest result does not underflow to zero, unless
382 exact results required.
383 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
384 atan, atanh, cbrt, cos and cosh.
385 * math/auto-libm-test-out: Regenerated.
386 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
387 (acos_tonearest_test_data): Likewise.
388 (acos_towardzero_test_data): Likewise.
389 (acos_downward_test_data): Likewise.
390 (acos_upward_test_data): Likewise.
391 (acosh_test_data): Likewise.
392 (asin_test_data): Likewise.
393 (asin_tonearest_test_data): Likewise.
394 (asin_towardzero_test_data): Likewise.
395 (asin_upward_test_data): Likewise.
396 (asinh_test_data): Likewise.
397 (atan_test_data): Likewise.
398 (atanh_test_data): Likewise.
399 (cbrt_test_data): Likewise.
400 (cos_test_data): Likewise.
401 (cos_tonearest_test_data): Likewise.
402 (cos_towardzero_test_data): Likewise.
403 (cos_downward_test_data): Likewise.
404 (cos_upward_test_data): Likewise.
405 (cosh_test_data): Likewise.
406 (cosh_tonearest_test_data): Likewise.
407 (cosh_towardzero_test_data): Likewise.
408 (cosh_downward_test_data): Likewise.
409 (cosh_upward_test_data): Likewise.
410 * sysdeps/i386/fpu/libm-test-ulps: Update.
411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412
ffb536d0
JM
4132013-11-29 Joseph Myers <joseph@codesourcery.com>
414
2a77a467
JM
415 [BZ #6787]
416 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
417 * math/w_exp10f.c (__exp10f): Likewise.
418 * math/w_exp10l.c (__exp10l): Likewise.
419 * math/libm-test.inc (exp10_test_data): Add more tests and expect
420 errno settings in existing tests.
421
ea3bc4e8
JM
422 [BZ #14032]
423 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
424 precision control set to double precision.
425 * sysdeps/i386/fpu/w_sqrt.c: New file.
426 * math/auto-libm-test-in: Add more tests.
427 * math/auto-libm-test-out: Update.
428
0712c9d8
JM
429 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
430 (sqrt_test_tonearest): New function.
431 (sqrt_towardzero_test_data): New variable.
432 (sqrt_test_towardzero): New function.
433 (sqrt_downward_test_data): New variable.
434 (sqrt_test_downward): New function.
435 (sqrt_upward_test_data): New variable.
436 (sqrt_test_upward): New function.
437 (main): Call the new functions.
438
ffb536d0
JM
439 * math/gen-auto-libm-tests.c: New file.
440 * math/auto-libm-test-in: Likewise.
441 * math/auto-libm-test-out: New generated file.
442 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
443 variables.
444 (%beautify): Add generated representations of zero.
445 (top level): Set $auto_input and call parse_auto_input.
446 (beautify): Remove trailing "f" from hex float constants.
447 (parse_args): Handle XFAIL_TEST.
448 (convert_condition): New function.
449 (or_value): Likewise.
450 (or_cond_value): Likewise.
451 (generate_testfile): Handle AUTO_TESTS_* lines.
452 (parse_auto_input): New function.
453 * math/libm-test.inc (XFAIL_TEST): New macro.
454 (ERRNO_UNCHANGED): Update value.
455 (ERRNO_EDOM): Likewise.
456 (ERRNO_ERANGE): Likewise.
457 (IGNORE_RESULT): Likewise.
458 (TEST_COND_flt_32): New macro.
459 (TEST_COND_dbl_64): Likewise.
460 (TEST_COND_ldbl_96_intel): Likewise.
461 (TEST_COND_ldbl_96_m68k): Likewise.
462 (TEST_COND_ldbl_128): Likewise.
463 (TEST_COND_ldbl_128ibm): Likewise.
464 (TEST_COND_long32): Likewise.
465 (TEST_COND_long64): Likewise.
466 (TEST_COND_before_rounding): Likewise.
467 (TEST_COND_after_rounding): Likewise.
468 (enable_test): Handle XFAIL_TEST flag.
469 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
470 with finite results.
471 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
472 auto-libm-test-out.
473
acd98a8e
AK
4742013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
475 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
476
477 [BZ #16214]
478 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
479 __tls_get_addr_internal instead of __tls_get_offset in order to
480 avoid GOT pointer dependency. Make rtld export
481 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
482 __tls_get_addr since we are a __tls_get_offset platform.
483 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
484 GOT pointer being set up before.
485 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
486
3c1c46a6
JM
4872013-11-28 Joseph Myers <joseph@codesourcery.com>
488
7475aef5
JM
489 * manual/math.texi (Errors in Math Functions): Document accuracy
490 goals.
491
8bca7cd8
JM
492 [BZ #15004]
493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
494 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
496 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
497 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
498 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
499 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
500 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
501 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
502 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
503 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
504 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
505 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
506 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
508 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
509
91a1f3fe
JM
510 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
511 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
512 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
513 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
514 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
515 Likewise.
516 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
517 Likewise.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
519 Likewise.
520 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
521 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
522 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
523 atomic-feupdateenv and flt-rounds.
524 * sysdeps/powerpc/nofpu/Versions (libc): Add
525 __atomic_feholdexcept, __atomic_feclearexcept,
526 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
527 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
528 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
529 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
530 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
531 here.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
533 Update.
534
c5df7609
JM
535 * manual/arith.texi (FP Exceptions): Document that exceptions may
536 not be raised when matherr is used.
537 (Math Error Reporting): Document overflow in directed rounding
538 modes. Document that errno may not be set when finite values are
539 returned on overflow. Document intent to set errno on underflow
540 only for underflow to zero.
541
3c1c46a6
JM
542 [BZ #16271]
543 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
544 round-to-nearest then adjust result for other rounding modes.
545 * include/fenv.h (fegetround): Use libm_hidden_proto.
546 * math/fegetround.c (fegetround): Use libm_hidden_def.
547 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
548 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
549 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
550 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
551 Likewise.
552 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
553 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
554 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
555 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
556
5a4c6d53
SP
5572013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
558
559 [BZ #16077]
560 * nss/Versions (libnss_files): Add
561 _nss_files_gethostbyname3_r.
562 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
563 New function.
564 (HOST_DB_LOOKUP): Remove macro.
565 (_nss_files_gethostbyname_r): Implement function without the
566 HOST_DB_LOOKUP macro.
567 (_nss_files_gethostbyname2_r): Likewise.
568
897b98ba
OB
5692013-11-28 Ondřej Bílka <neleai@seznam.cz>
570
571 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
572
6f476861
UB
5732013-11-26 Uros Bizjak <ubizjak@gmail.com>
574
575 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
576 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
577 warning.
578
bd12ab55
AZ
5792013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580
581 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
582 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
583 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
584 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
585 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
586 __fe_nomask_env_priv and attribute_hidden.
587 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
588 (libc_feupdateenv_test_ppc): Likewise.
589 (libc_feresetround_ppc): Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
591 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
592 compat_symbol macro.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
594 (__fe_nomask_env): Likewise.
595 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
596
52bb6543
OB
5972013-11-26 Ondřej Bílka <neleai@seznam.cz>
598
599 * string/Makefile: Remove ifunc tests.
600 * string/test-string.h: Define TEST_IFUNC.
601 * string/test-bcopy-ifunc.c: Remove.
602 * string/test-bzero-ifunc.c: Likewise.
603 * string/test-memccpy-ifunc.c: Likewise.
604 * string/test-memchr-ifunc.c: Likewise.
605 * string/test-memcmp-ifunc.c: Likewise.
606 * string/test-memcpy-ifunc.c: Likewise.
607 * string/test-memmem-ifunc.c: Likewise.
608 * string/test-memmove-ifunc.c: Likewise.
609 * string/test-mempcpy-ifunc.c: Likewise.
610 * string/test-memrchr-ifunc.c: Likewise.
611 * string/test-memset-ifunc.c: Likewise.
612 * string/test-rawmemchr-ifunc.c: Likewise.
613 * string/test-stpcpy-ifunc.c: Likewise.
614 * string/test-stpncpy-ifunc.c: Likewise.
615 * string/test-strcasecmp-ifunc.c: Likewise.
616 * string/test-strcasestr-ifunc.c: Likewise.
617 * string/test-strcat-ifunc.c: Likewise.
618 * string/test-strchr-ifunc.c: Likewise.
619 * string/test-strchrnul-ifunc.c: Likewise.
620 * string/test-strcmp-ifunc.c: Likewise.
621 * string/test-strcpy-ifunc.c: Likewise.
622 * string/test-strcspn-ifunc.c: Likewise.
623 * string/test-strlen-ifunc.c: Likewise.
624 * string/test-strncasecmp-ifunc.c: Likewise.
625 * string/test-strncat-ifunc.c: Likewise.
626 * string/test-strncmp-ifunc.c: Likewise.
627 * string/test-strncpy-ifunc.c: Likewise.
628 * string/test-strnlen-ifunc.c: Likewise.
629 * string/test-strpbrk-ifunc.c: Likewise.
630 * string/test-strrchr-ifunc.c: Likewise.
631 * string/test-strspn-ifunc.c: Likewise.
632 * string/test-strstr-ifunc.c: Likewise.
633
ab260039 6342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
635
636 * benchtests/Makefile: Remove ifunc tests.
637 * benchtests/bench-string.h: Define TEST_IFUNC.
638 * benchtests/bench-bcopy-ifunc.c: Remove.
639 * benchtests/bench-bzero-ifunc.c: Likewise.
640 * benchtests/bench-memccpy-ifunc.c: Likewise.
641 * benchtests/bench-memchr-ifunc.c: Likewise.
642 * benchtests/bench-memcmp-ifunc.c: Likewise.
643 * benchtests/bench-memcpy-ifunc.c: Likewise.
644 * benchtests/bench-memmem-ifunc.c: Likewise.
645 * benchtests/bench-memmove-ifunc.c: Likewise.
646 * benchtests/bench-mempcpy-ifunc.c: Likewise.
647 * benchtests/bench-memrchr-ifunc.c: Likewise.
648 * benchtests/bench-memset-ifunc.c: Likewise.
649 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
650 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
651 * benchtests/bench-stpcpy-ifunc.c: Likewise.
652 * benchtests/bench-stpncpy-ifunc.c: Likewise.
653 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
654 * benchtests/bench-strcasestr-ifunc.c: Likewise.
655 * benchtests/bench-strcat-ifunc.c: Likewise.
656 * benchtests/bench-strchr-ifunc.c: Likewise.
657 * benchtests/bench-strchrnul-ifunc.c: Likewise.
658 * benchtests/bench-strcmp-ifunc.c: Likewise.
659 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
660 * benchtests/bench-strcpy-ifunc.c: Likewise.
661 * benchtests/bench-strcspn-ifunc.c: Likewise.
662 * benchtests/bench-strlen-ifunc.c: Likewise.
663 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
664 * benchtests/bench-strncat-ifunc.c: Likewise.
665 * benchtests/bench-strncmp-ifunc.c: Likewise.
666 * benchtests/bench-strncpy-ifunc.c: Likewise.
667 * benchtests/bench-strnlen-ifunc.c: Likewise.
668 * benchtests/bench-strpbrk-ifunc.c: Likewise.
669 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 670 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
671 * benchtests/bench-strspn-ifunc.c: Likewise.
672 * benchtests/bench-strstr-ifunc.c: Likewise.
673
6742013-11-26 Ondřej Bílka <neleai@seznam.cz>
675
ab260039
OB
676 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
677
d1d9eaf4 6782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 679
d1d9eaf4
OB
680 * resolv/netdb.h: Use __glibc_reserved instead __unused.
681 * rt/aio.h: Likewise.
682 * sysdeps/gnu/bits/utmp.h: Likewise.
683 * sysdeps/gnu/bits/utmpx.h: Likewise.
684 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
685 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
686 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
687 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
688 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
689 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
690 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
691 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
699 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
700 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
701 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
702 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
703 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
704 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
705 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
708 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
717 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
719 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
720 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
721 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
722 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
723 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
724 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
725 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
726
a7624ed9
CD
7272013-11-25 Carlos O'Donell <carlos@redhat.com>
728
729 [BZ #16245]
730 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
731 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
732
63cfe52b
JM
7332013-11-25 Joseph Myers <joseph@codesourcery.com>
734
735 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
736 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
737 Likewise.
738
41e8926a
AZ
7392013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740
741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
742 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
743 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
744 (__fesetround): Remove define.
745 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
746 rounding and exceptions handling.
747 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
748 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
749 (__fe_nomask_env): Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
751 __fegetround instead of fegetround.
752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
754
6851bd4d
RM
7552013-11-21 Roland McGrath <roland@hack.frob.com>
756
070906ff
RM
757 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
758 it's there.
759
6851bd4d
RM
760 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
761
84ae135d
MI
7622013-11-21 Meador Inge <meadori@codesourcery.com>
763
764 [BZ #11157]
765 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
766 (encrypt_r): Likewise.
767 * malloc/obstack.h (obstack_free): Likewise.
768 * posix/unistd.h (encrypt): Likewise.
769
daf75146
GM
7702013-11-21 Guy Martin <gmsoft@tuxicoman.be>
771
772 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
773 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
774 DL_CALL_DT_FINI() that call the functions directly.
775 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
776 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
777 * elf/dl-fini.c: Likewise.
778
10ad46bc
OB
7792013-11-20 Ondřej Bílka <neleai@seznam.cz>
780
781 * malloc/hooks.c (memalign_check): Add alignment rounding.
782 * malloc/malloc.c (_mid_memalign): New function.
783 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
784 Implement by calling _mid_memalign.
785 * manual/probes.texi (Memory Allocation Probes): Remove
786 memory_valloc_retry and memory_pvalloc_retry.
787
f3fd2628
SP
7882013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
789
4712799f
SP
790 * locale/programs/locarchive.c (open_archive): Add const
791 qualifier to ARCHIVEFNAME and copy default fname to
792 DEFAULT_FNAME.
793
0417b20f
SP
794 [BZ #15601]
795 * libio/tst-widetext.input: Rename Oriya to Odia.
796 * locale/iso-639.def: Likewise.
797
f3fd2628
SP
798 * manual/probes.texi (Mathematical Function Probes): Add
799 documentation for sin, cos, asin and acos probes.
800 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
801 (__sin32): Add slowasin probe.
802 (__cos32): Add slowacos probe.
803 (__mpsin): Add slowsin probe.
804 (__mpcos): Add slowcos probe.
805
73c1ce4f
JM
8062013-11-19 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #15483]
809 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
810 thread-local __sim_exceptions_thread and global
811 __sim_exceptions_global.
812 (__sim_disabled_exceptions): Change to thread-local
813 __sim_disabled_exceptions_thread and global
814 __sim_disabled_exceptions_global.
815 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
816 and global __sim_round_mode_global.
817 (__simulate_exceptions): Use thread-local floating-point state and
818 set global state from it as needed.
819 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
820 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
821 __sim_round_mode_thread.
822 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
823 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
824 and global __sim_exceptions_global.
825 (__sim_disabled_exceptions): Change to thread-local
826 __sim_disabled_exceptions_thread and global
827 __sim_disabled_exceptions_global.
828 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
829 and global __sim_round_mode_global.
830 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
831 (SIM_SET_GLOBAL): Likewise.
832 * sysdeps/powerpc/soft-fp/sfp-machine.h
833 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
834 __sim_round_mode_thread.
835 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
836 __sim_disabled_exceptions_thread.
837 (__sim_exceptions): Change to __sim_exceptions_thread.
838 (__sim_disabled_exceptions): Change to
839 __sim_disabled_exceptions_thread.
840 (__sim_round_mode): Change to __sim_round_mode_thread.
841 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
842 thread-local floating-point state and set global state from it as
843 needed.
844 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
845 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
846 (__sim_disabled_exceptions): Remove extern declaration.
847 (feenableexcept): Use thread-local floating-point state and set
848 global state from it as needed.
849 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
850 extern declaration.
851 (__sim_disabled_exceptions): Likewise.
852 (__sim_round_mode): Likewise.
853 (__fegetenv): Use thread-local floating-point state.
854 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
855 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
856 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
857 floating-point state and set global state from it as needed.
858 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
859 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
860 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
861 Likewise.
862 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
863 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
864 Likewise.
865 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
866 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
867 Use __sim_round_mode_thread.
868 * math/test-fenv-tls.c: New file.
869 * math/Makefile (tests): Add test-fenv-tls.
870 ($(objpfx)test-fenv-tls): Depend on
871 $(common-objpfx)nptl/libpthread.so.
872
b5449b12
AS
8732013-11-19 Andreas Schwab <schwab@suse.de>
874
875 * locale/programs/locale.c (show_info): Decode wordarray elements.
876 * locale/categories.def (LC_MONETARY): Add element for
877 _NL_MONETARY_CRNCYSTR.
878 * locale/C-monetary.c (conversion_rate): New variable.
879 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
880 element.
881
e186536b
CM
8822013-11-18 Chris Metcalf <cmetcalf@tilera.com>
883
884 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
885 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
886
5c349950
PP
8872013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
888
889 * elf/Makefile (tst-auxv): New test.
890 * elf/tst-auxv.c: New
891 * elf/rtld.c (dl_main): Adjust AT_EXECFN
892
699df45b
JM
8932013-11-18 Joseph Myers <joseph@codesourcery.com>
894
895 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
896 (hidden_proto): Caller changed.
897 (hidden_tls_proto): New macro.
898 (libc_hidden_tls_proto): Likewise.
899 (rtld_hidden_tls_proto): Likewise.
900 (libm_hidden_tls_proto): Likewise.
901 (libresolv_hidden_tls_proto): Likewise.
902 (librt_hidden_tls_proto): Likewise.
903 (libdl_hidden_tls_proto): Likewise.
904 (libnss_files_hidden_tls_proto): Likewise.
905 (libnsl_hidden_tls_proto): Likewise.
906 (libnss_nisplus_hidden_tls_proto): Likewise.
907 (libutil_hidden_tls_proto): Likewise.
908
b7589107
OB
9092013-11-18 Ondřej Bílka <neleai@seznam.cz>
910
911 [BZ #10253]
912 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
913 (decompose_rpath): Defer expansion to fillin_rpath.
914 (_dl_init_paths): Pass linkmap to fillin_rpath.
915
250c23bd
RS
9162013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
917
918 * benchtests/Makefile: Add strsep.
919 * benchtests/bench-strsep.c: New file: strsep benchtest.
920 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
921
a7931fcf
AS
9222013-11-18 Andreas Schwab <schwab@suse.de>
923
924 * locale/programs/locale.c (show_info) [case byte]: Check for
925 '\377' instead of '\177'.
926 * locale/C-monetary.c (not_available): Always use "\377".
927 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
928 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
929 detect unavailable sign_posn locale elements.
930 * locale/localeconv.c (__localeconv): For grouping and
931 mon_grouping handle "\177" and "\377" like no grouping.
932 (INT_ELEM): New macro. Use it to set all numeric members.
933 * locale/programs/ld-monetary.c (monetary_read)
934 <tok_mon_grouping>: Normalize single -1 to the empty string.
935 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
936 Likewise.
937
728dab0e
OB
9382013-11-07 Ondřej Bílka <neleai@seznam.cz>
939
940 [BZ #16055]
941 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
942 when we match (nil).
943 * stdio-common/tst-sscanf.c (struct test): Add testcase.
944
66294491
JM
9452013-11-16 Joseph Myers <joseph@codesourcery.com>
946
ce665817
JM
947 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
948 (NO_TEST_INLINE): Update value.
949 (ERRNO_UNCHANGED): Likewise.
950 (ERRNO_EDOM): Likewise.
951 (ERRNO_ERANGE): Likewise.
952 (IGNORE_RESULT): Likewise.
953 (check_float_internal): Check signs of NaN results if
954 TEST_NAN_SIGN used.
955 (check_complex): Pass TEST_NAN_SIGN flag through to second
956 check_float_internal call.
957 (copysign_test_data): Add tests with quiet NaNs as second
958 argument. Use TEST_NAN_SIGN.
959 (fabs_test_data): Add test of negative quiet NaN argument. Use
960 TEST_NAN_SIGN.
961 (signbit_test_data): Add tests of quiet NaN argument.
962 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
963
ee1466a9
JM
964 * math/gen-libm-test.pl (show_exceptions): Take extra argument
965 $ignore_result.
966 (parse_args): Handle function results specified as IGNORE.
967 * math/libm-test.inc (IGNORE_RESULT): New macro.
968 (check_float_internal): Do not check numerical result if flag
969 IGNORE_RESULT set.
970 (check_complex): Pass through IGNORE_RESULT to second
971 check_float_internal call.
972 (check_int): Do not check numerical result if flag IGNORE_RESULT
973 set.
974 (check_long): Likewise.
975 (check_bool): Likewise.
976 (check_longlong): Likewise.
977 (lrint_test_data): Add tests of infinite and NaN arguments.
978 (lrint_tonearest_test_data): Likewise.
979 (lrint_towardzero_test_data): Likewise.
980 (lrint_downward_test_data): Likewise.
981 (lrint_upward_test_data): Likewise.
982 (llrint_test_data): Likewise.
983 (llrint_tonearest_test_data): Likewise.
984 (llrint_towardzero_test_data): Likewise.
985 (llrint_downward_test_data): Likewise.
986 (llrint_upward_test_data): Likewise.
987 (lround_test_data): Likewise.
988 (llround_test_data): Likewise.
989
14407b7e
JM
990 * math/libm-test.inc (NO_TEST_INLINE): New macro.
991 (ERRNO_UNCHANGED): Update value.
992 (ERRNO_EDOM): Likewise.
993 (ERRNO_ERANGE): Likewise.
994 (NO_TEST_INLINE_FLOAT): New macro.
995 (NO_TEST_INLINE_DOUBLE): Likewise.
996 (enable_test): New function.
997 (RUN_TEST_f_f): Check enable_test before running test.
998 (RUN_TEST_2_f): Likewise.
999 (RUN_TEST_fff_f): Likewise.
1000 (RUN_TEST_c_f): Likewise.
1001 (RUN_TEST_f_f1): Likewise.
1002 (RUN_TEST_fF_f1): Likewise.
1003 (RUN_TEST_fI_f1): Likewise.
1004 (RUN_TEST_ffI_f1): Likewise.
1005 (RUN_TEST_c_c): Likewise.
1006 (RUN_TEST_cc_c): Likewise.
1007 (RUN_TEST_f_i): Likewise.
1008 (RUN_TEST_f_i_tg): Likewise.
1009 (RUN_TEST_ff_i_tg): Likewise.
1010 (RUN_TEST_f_b): Likewise.
1011 (RUN_TEST_f_b_tg): Likewise.
1012 (RUN_TEST_f_l): Likewise.
1013 (RUN_TEST_f_L): Likewise.
1014 (RUN_TEST_fFF_11): Likewise.
1015 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1016 conditionals.
1017 (cosh_test_data): Likewise.
1018 (exp_test_data): Likewise.
1019 (expm1_test_data): Likewise.
1020 (hypot_test_data): Likewise.
1021 (pow_test_data): Likewise.
1022 (sinh_test_data): Likewise.
1023 (tanh_test_data): Likewise.
1024 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1025 flags argument.
1026
ca07f197
JM
1027 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1028 tests with quiet NaN input and output.
1029 (acosh_test_data): Likewise.
1030 (asin_test_data): Likewise.
1031 (asinh_test_data): Likewise.
1032 (atan_test_data): Likewise.
1033 (atanh_test_data): Likewise.
1034 (atan2_test_data): Likewise.
1035 (cbrt_test_data): Likewise.
1036 (cos_test_data): Likewise.
1037 (cosh_test_data): Likewise.
1038 (erf_test_data): Likewise.
1039 (erfc_test_data): Likewise.
1040 (exp_test_data): Likewise.
1041 (exp10_test_data): Likewise.
1042 (exp2_test_data): Likewise.
1043 (expm1_test_data): Likewise.
1044 (hypot_test_data): Likewise.
1045 (j0_test_data): Likewise.
1046 (j1_test_data): Likewise.
1047 (jn_test_data): Likewise.
1048 (lgamma_test_data): Likewise.
1049 (log_test_data): Likewise.
1050 (log10_test_data): Likewise.
1051 (log1p_test_data): Likewise.
1052 (log2_test_data): Likewise.
1053 (pow_test_data): Likewise.
1054 (scalb_test_data): Likewise.
1055 (sin_test_data): Likewise.
1056 (sincos_test_data): Likewise.
1057 (sinh_test_data): Likewise.
1058 (tan_test_data): Likewise.
1059 (tanh_test_data): Likewise.
1060 (tgamma_test_data): Likewise.
1061 (y0_test_data): Likewise.
1062 (y1_test_data): Likewise.
1063 (yn_test_data): Likewise.
1064
66294491
JM
1065 [BZ #16167]
1066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1067 argument being NaN and avoid computations with second argument in
1068 that case.
1069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1070 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1071 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1072
1820b143
CL
10732013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1074
1075 * locale/iso-639.def: Add Chitwani Tharu (the).
1076
714bd261
AS
10772013-11-14 Andreas Schwab <schwab@suse.de>
1078
1079 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1080 word instead of empty string.
1081
7ab44563
AZ
10822013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1085 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1087 (__fe_nomask_env): Likewise.
1088
e8470ea2
SE
10892013-11-13 Steve Ellcey <sellcey@mips.com>
1090
1091 * benchtests/bench-timing.h: Include time.h.
1092
17c1d9f0
L
10932013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1094
1095 [BZ #15997]
1096 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1097 to 3.4.0 for x32.
1098 * sysdeps/unix/sysv/linux/configure: Regenerated.
1099
9310c284
JM
11002013-11-13 Joseph Myers <joseph@codesourcery.com>
1101
1102 [BZ #16151]
1103 * stdlib/strtod_l.c (round_and_return): Do not consider
1104 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1105 exponent one less than half the least subnormal exponent.
1106 * stdlib/test-strtod-round-data: Add more tests.
1107 * stdlib/tst-strtod-round.c (tests): Regenerated.
1108
7a2ad8cf
AZ
11092013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 [BZ #14143]
1112 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1113 (__fe_mask_env): Likewise.
1114 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1115 libm_hidden_proto and add function prototype.
1116 (__fe_mask_env): Add function prototype.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1118 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1120 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1122 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1123
50727aa7
MS
11242013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1125
b2f386c1 1126 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1127 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1128
a615be46
MS
11292013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1130
1131 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1132 of htab_find_slot().
1133
7ddace62
DM
11342013-11-11 David S. Miller <davem@davemloft.net>
1135
1136 [BZ #16150]
1137 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1138 symbol in the non-vis3 case in static builds.
1139 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1140 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1141 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1142 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1143
9182aa67
JK
11442013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 [BZ #387]
1147 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1148 it is empty.
1149
450a2e2d
AZ
11502013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
b2f386c1
SP
1152 * benchtests/Makefile: Add bench-strtod.
1153 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1154
8ec3f656
AS
11552013-11-11 Andreas Schwab <schwab@suse.de>
1156
1157 [BZ #16153]
1158 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1159 terminating NUL in key length.
1160
76a9b998
AZ
11612013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162
1163 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1164 Add artificial ODP entry for vDSO symbol for PPC64.
1165 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1166 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1167
e4368156
OB
11682013-11-07 Ondřej Bílka <neleai@seznam.cz>
1169
1170 [BZ #15374]
1171 * nss/getent.c (services_keys): Recognize services starting with digit.
1172
8d6bb57c
DM
11732013-11-06 David S. Miller <davem@davemloft.net>
1174
1175 [BZ #15985]
1176 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1177 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1178
e256c421
WN
11792013-11-06 Will Newton <will.newton@linaro.org>
1180
1181 * manual/memory.texi (Malloc Examples): Remove register
1182 keyword from examples.
1183
f6e12daa 11842013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1185
f6e12daa 1186 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1187
9d880655
AS
11882013-11-04 Joseph Myers <joseph@codesourcery.com>
1189
1190 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1191 depending on [__GCC_IEC_559 > 0].
1192 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1193 depending on [__GCC_IEC_559_COMPLEX > 0].
1194
ae129d3c
CL
11952013-11-03 Chris Leonard <cjl@sugarlabs.org>
1196
1197 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1198 to iso-639.def.
1199
4a15c2a4 12002013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1201
1202 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1203
8b35e35d
OB
12042013-11-01 Ondřej Bílka <neleai@seznam.cz>
1205
1206 [BZ #16112]
1207 * malloc/malloc (malloc_info): Do not handle first bin as
1208 special case.
1209
1d70fd6c
CL
12102013-11-01 Chris Leonard <cjl@sugarlabs.org>
1211
1212 * locale/iso-639.def: Add Central Nahuatl (nhn).
1213
8c5c2600
BH
12142013-11-01 Bruno Haible <bruno@clisp.org>
1215
1216 [BZ #7003]
1217 * manual/math.texi (BSD Random): Specify range upper bound as
1218 in POSIX.
1219
da5579c2
CL
12202013-10-31 Chris Leonard <cjl@sugarlabs.org>
1221
1222 * locale/iso-639.def: Add Meadow Mari (mhr).
1223
5d30d853
OB
12242013-10-31 Ondřej Bílka <neleai@seznam.cz>
1225
1226 [BZ #14752], [BZ #15763]
1227 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1228 Validate name.
1229 * rt/tst_shm.c: Add test for escaping directory.
1230
a4966c61
AS
12312013-10-31 Andreas Schwab <schwab@suse.de>
1232
8a43e768 1233 [BZ #15917]
a4966c61
AS
1234 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1235 followed by 'x' as part of digit sequence.
1236 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1237
28d708c4
MAP
12382013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1239
1240 [BZ #16037]
1241 * configure.ac: allow GNU Make 4.0 and greater.
1242 * configure: Regenerated.
1243
a56ee40b
WN
12442013-10-30 Will Newton <will.newton@linaro.org>
1245
1246 [BZ #16038]
1247 * malloc/hooks.c (memalign_check): Limit alignment to the
1248 maximum representable power of two.
1249 * malloc/malloc.c (__libc_memalign): Likewise.
1250 * malloc/tst-memalign.c (do_test): Add test for very
1251 large alignment values.
1252 * malloc/tst-posix_memalign.c (do_test): Likewise.
1253
c6e4925d
OB
12542013-10-30 Ondřej Bílka <neleai@seznam.cz>
1255
1256 [BZ #11087]
1257 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1258 (munmap_chunk): Likewise.
1259 (mremap_chunk): Likewise.
1260
12612013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1262
8a43e768 1263 [BZ #15799]
bbea82f7
OB
1264 * stdlib/div.c (div): Remove obsolete code.
1265 * stdlib/ldiv.c (ldiv): Likewise.
1266 * stdlib/lldiv.c (lldiv): Likewise.
1267
977f4b31
SP
12682013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1269
1270 [BZ #16071]
1271 * nss/nss_files/files-XXX.c (get_contents_ret): New
1272 enumerator.
1273 (get_contents): New function.
1274 (internal_getent): Use it. Expand size of LINEBUFLEN.
1275
cb8a6dbd
MF
12762013-10-30 Mike Frysinger <vapier@gentoo.org>
1277
1278 * configure.in: Moved to ...
1279 * configure.ac: ... here. Change reference to configure.in
1280 to configure.ac.
1281 * sysdeps/arm/preconfigure.ac: ... here.
1282 configure.in to configure.ac.
1283 * sysdeps/gnu/configure.in: Moved to ...
1284 * sysdeps/gnu/configure.ac: ... here.
1285 * sysdeps/i386/configure.in: Moved to ...
1286 * sysdeps/i386/configure.ac: ... here.
1287 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1288 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1289 * sysdeps/mach/configure.in: Moved to ...
1290 * sysdeps/mach/configure.ac: ... here.
1291 * sysdeps/mach/hurd/configure.in: Moved to ...
1292 * sysdeps/mach/hurd/configure.ac: ... here.
1293 * sysdeps/powerpc/configure.in: Moved to ...
1294 * sysdeps/powerpc/configure.ac: ... here.
1295 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1296 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1297 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1298 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1299 * sysdeps/s390/s390-32/configure.in: Moved to ...
1300 * sysdeps/s390/s390-32/configure.ac: ... here.
1301 * sysdeps/s390/s390-64/configure.in: Moved to ...
1302 * sysdeps/s390/s390-64/configure.ac: ... here.
1303 * sysdeps/sh/configure.in: Moved to ...
1304 * sysdeps/sh/configure.ac: ... here.
1305 * sysdeps/sparc/configure.in: Moved to ...
1306 * sysdeps/sparc/configure.ac: ... here.
1307 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1308 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1309 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1310 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1311 * sysdeps/x86_64/configure.in: Moved to ...
1312 * sysdeps/x86_64/configure.ac: ... here.
1313 * sysdeps/x86_64/preconfigure.in: Moved to ...
1314 * sysdeps/x86_64/preconfigure.ac: ... here.
1315 * aclocal.m4: Change reference to configure.in to configure.ac.
1316 * config.h.in: Likewise.
1317 * manual/install.texi: Likewise.
1318 * manual/maint.texi: Likewise.
1319 * Makefile: Likewise.
1320 * malloc/Makefile: Likewise.
1321 * nscd/Makefile: Likewise.
1322 * Makeconfig: Change reference to configure.in and
1323 preconfigure.in to configure.ac and preconfigure.ac
1324 respectively.
1325 * INSTALL: Regenerated.
1326 * configure: Likewise.
1327 * sysdeps/gnu/configure: Likewise.
1328 * sysdeps/i386/configure: Likewise.
1329 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1330 * sysdeps/mach/configure: Likewise.
1331 * sysdeps/mach/hurd/configure: Likewise.
1332 * sysdeps/powerpc/configure: Likewise.
1333 * sysdeps/powerpc/powerpc32/configure: Likewise.
1334 * sysdeps/powerpc/powerpc64/configure: Likewise.
1335 * sysdeps/s390/s390-32/configure: Likewise.
1336 * sysdeps/s390/s390-64/configure: Likewise.
1337 * sysdeps/sh/configure: Likewise.
1338 * sysdeps/sparc/configure: Likewise.
1339 * sysdeps/unix/sysv/linux/configure: Likewise.
1340 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1341 * sysdeps/x86_64/configure: Likewise.
1342 * sysdeps/x86_64/preconfigure: Likewise.
1343
36a4953a
AS
13442013-10-29 Andreas Schwab <schwab@suse.de>
1345
1346 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1347
c79a1204
SP
13482013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1349
dfa1b402
SP
1350 * benchtests/pow-inputs: Add new inputs.
1351
54f73d9c
SP
1352 * benchtests/exp-inputs: Add new inputs.
1353
c79a1204
SP
1354 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1355 conditional check for return value.
1356 (__cos32): Likewise.
1357
67beb545 13582013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1359
1360 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1361 to provide a boost for large inputs with word alignment.
1362 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1363 implementation based on optimized PPC64 strcpy.
1364 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1365 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1366 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1367 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1368
151659f6
OB
13692013-10-25 Ondřej Bílka <neleai@seznam.cz>
1370
482a077e 1371 [BZ #2801]
151659f6
OB
1372 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1373
10b0f26b
OB
13742013-10-25 Ondřej Bílka <neleai@seznam.cz>
1375
1376 [BZ #14876]
1377 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1378 * time/tst-strptime.c (day_tests): Add testcase.
1379
ca42d35e
OB
13802013-10-25 Ondřej Bílka <neleai@seznam.cz>
1381
482a077e 1382 [BZ #14029]
ca42d35e
OB
1383 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1384
52e6d801
FB
13852013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1386
1387 [BZ #16074]
1388 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1389 MAP_FAILED on error.
1390
7cbcdb36
SP
13912013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1392
1393 [BZ #16072]
1394 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1395 heap for large requests.
1396
894f3f10
AM
13972013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1398
1399 [BZ #9954]
1400 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1401 result if the result has no associated interface.
1402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1403 interface for all 127.X.Y.Z addresses.
1404
b85545a6
CL
14052013-10-24 Chris Leonard <cjl@sugarlabs.org>
1406
1407 * locale/iso-639.def: Add Ligurian (lij)
1408
d1f23d46
OB
14092013-10-21 Ondřej Bílka <neleai@seznam.cz>
1410
1411 [BZ #15825]
1412 * sunrpc/rpc_main.c: Document rpcgen -5.
1413
4db5b08f
MS
14142013-10-19 Michael Stahl <mstahl@redhat.com>
1415
1416 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1417
a471e96a
OB
14182013-10-19 Ondřej Bílka <neleai@seznam.cz>
1419
d1f23d46 1420 [BZ #10278]
a471e96a
OB
1421 * posix/glob.c: Match only directories when trailing slash is present.
1422 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1423 (main): Add testcase.
1424
45c30c61
OB
14252013-10-19 Ondřej Bílka <neleai@seznam.cz>
1426
1427 [BZ #15670]
1428 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1429
484c12fb
CD
14302013-10-18 Carlos O'Donell <carlos@redhat.com>
1431
3d7dc513
CD
1432 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1433 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1434 AUTH_DES and cindex for FIPS 140-2.
1435 (DES Encryption): Add cindex FIPS 46-3.
1436
484c12fb
CD
1437 * locale/locarchive.h (struct locarhandle): Add fname.
1438 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1439 if an optional argument was specified to --list-archive,
1440 otherwise NULL.
1441 * locale/programs/locarchive.c (show_archive_content): Take new
1442 argument fname and pass it via ah.fname to open_archive.
1443 * locale/programs/localedef.h: Update decl.
1444 (open_archive): If AH->fname is non-null, open that file
1445 rather than the default file name, and don't ignore ENOENT.
1446 (create_archive): Set AH.fname to NULL.
1447 (delete_locales_from_archive): Likewise.
1448 (add_locales_to_archive): Likewise.
1449 * locale/programs/locfile.c (write_all_categories): Likewise.
1450
3c8325fb
JM
14512013-10-18 Joseph Myers <joseph@codesourcery.com>
1452 Aldy Hernandez <aldyh@redhat.com>
1453
1454 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1455 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1456 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1457 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1458 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1459 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1460 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1461 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1462 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1463 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1464 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1465 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1466 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1467 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1468 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1469 Likewise.
1470 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1471 Likewise.
1472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1473 Likewise.
1474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1475 Likewise.
1476 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1478 Likewise.
1479 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1480 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1481 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1482 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1483 Likewise.
1484 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1485 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1486 * sysdeps/powerpc/preconfigure: Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1488 Likewise.
1489 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1490 Replace contents of file by #include of <fenv_libc.h>.
1491 * sysdeps/powerpc/soft-fp/sfp-machine.h
1492 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1493 and <sys/prctl.h>.
1494 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1498 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1504 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1507 Allow copysignl PLT reference to be missing.
1508
5abe0682
RS
15092013-10-18 Richard Sandiford <richard@codesourcery.com>
1510 Joseph Myers <joseph@codesourcery.com
1511
1512 [BZ #15948]
1513 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1514 single character.
1515 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1516
c7738d08
SP
15172013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1518
1519 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1520 * elf/tst-tls1.c: Likewise.
1521 * elf/tst-tls10.h: Likewise.
1522 * elf/tst-tls14.c: Likewise.
1523 * elf/tst-tls2.c: Likewise.
1524 * elf/tst-tls3.c: Likewise.
1525 * elf/tst-tls4.c: Likewise.
1526 * elf/tst-tls5.c: Likewise.
1527 * elf/tst-tls6.c: Likewise.
1528 * elf/tst-tls7.c: Likewise.
1529 * elf/tst-tls8.c: Likewise.
1530 * elf/tst-tls9.c: Likewise.
1531 * elf/tst-tlsmod1.c: Likewise.
1532 * elf/tst-tlsmod13.c: Likewise.
1533 * elf/tst-tlsmod13a.c: Likewise.
1534 * elf/tst-tlsmod14a.c: Likewise.
1535 * elf/tst-tlsmod16a.c: Likewise.
1536 * elf/tst-tlsmod16b.c: Likewise.
1537 * elf/tst-tlsmod2.c: Likewise.
1538 * elf/tst-tlsmod3.c: Likewise.
1539 * elf/tst-tlsmod4.c: Likewise.
1540 * elf/tst-tlsmod5.c: Likewise.
1541 * elf/tst-tlsmod6.c: Likewise.
1542
0bfcf2c7
OB
15432013-10-18 Ondřej Bílka <neleai@seznam.cz>
1544
1545 [BZ #12486]
1546 * malloc/malloc.c: remove checks for statistics.
1547
264aad1e
OB
15482013-10-17 Ondřej Bílka <neleai@seznam.cz>
1549
1550 [BZ #15277]
1551 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1552 * inet/tst-network.c: Add testcase.
1553
b957ced8
AS
15542013-10-17 Andreas Schwab <schwab@suse.de>
1555
1556 [BZ #15218]
1557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1558 to determine canonical name.
1559
c5d5d574
OB
15602013-10-17 Ondřej Bílka <neleai@seznam.cz>
1561
1562 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1563 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1586 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1587 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1620
e5c2c2d0
JM
16212013-10-17 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #16041]
1624 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1625 make result into a quiet NaN.
1626
51ca9e29
JM
16272013-10-16 Joseph Myers <joseph@codesourcery.com>
1628
1629 * soft-fp/adddf3.c: Fix horizontal whitespace.
1630 * soft-fp/addsf3.c: Likewise.
1631 * soft-fp/addtf3.c: Likewise.
1632 * soft-fp/divdf3.c: Likewise.
1633 * soft-fp/divsf3.c: Likewise.
1634 * soft-fp/divtf3.c: Likewise.
1635 * soft-fp/double.h: Likewise.
1636 * soft-fp/eqdf2.c: Likewise.
1637 * soft-fp/eqsf2.c: Likewise.
1638 * soft-fp/eqtf2.c: Likewise.
1639 * soft-fp/extenddftf2.c: Likewise.
1640 * soft-fp/extended.h: Likewise.
1641 * soft-fp/extendsfdf2.c: Likewise.
1642 * soft-fp/extendsftf2.c: Likewise.
1643 * soft-fp/extendxftf2.c: Likewise.
1644 * soft-fp/fixdfdi.c: Likewise.
1645 * soft-fp/fixdfsi.c: Likewise.
1646 * soft-fp/fixdfti.c: Likewise.
1647 * soft-fp/fixsfdi.c: Likewise.
1648 * soft-fp/fixsfsi.c: Likewise.
1649 * soft-fp/fixsfti.c: Likewise.
1650 * soft-fp/fixtfdi.c: Likewise.
1651 * soft-fp/fixtfsi.c: Likewise.
1652 * soft-fp/fixtfti.c: Likewise.
1653 * soft-fp/fixunsdfdi.c: Likewise.
1654 * soft-fp/fixunsdfsi.c: Likewise.
1655 * soft-fp/fixunsdfti.c: Likewise.
1656 * soft-fp/fixunssfdi.c: Likewise.
1657 * soft-fp/fixunssfsi.c: Likewise.
1658 * soft-fp/fixunssfti.c: Likewise.
1659 * soft-fp/fixunstfdi.c: Likewise.
1660 * soft-fp/fixunstfsi.c: Likewise.
1661 * soft-fp/fixunstfti.c: Likewise.
1662 * soft-fp/floatdidf.c: Likewise.
1663 * soft-fp/floatdisf.c: Likewise.
1664 * soft-fp/floatditf.c: Likewise.
1665 * soft-fp/floatsidf.c: Likewise.
1666 * soft-fp/floatsisf.c: Likewise.
1667 * soft-fp/floatsitf.c: Likewise.
1668 * soft-fp/floattidf.c: Likewise.
1669 * soft-fp/floattisf.c: Likewise.
1670 * soft-fp/floattitf.c: Likewise.
1671 * soft-fp/floatundidf.c: Likewise.
1672 * soft-fp/floatundisf.c: Likewise.
1673 * soft-fp/floatunditf.c: Likewise.
1674 * soft-fp/floatunsidf.c: Likewise.
1675 * soft-fp/floatunsisf.c: Likewise.
1676 * soft-fp/floatunsitf.c: Likewise.
1677 * soft-fp/floatuntidf.c: Likewise.
1678 * soft-fp/floatuntisf.c: Likewise.
1679 * soft-fp/floatuntitf.c: Likewise.
1680 * soft-fp/fmadf4.c: Likewise.
1681 * soft-fp/fmasf4.c: Likewise.
1682 * soft-fp/fmatf4.c: Likewise.
1683 * soft-fp/gedf2.c: Likewise.
1684 * soft-fp/gesf2.c: Likewise.
1685 * soft-fp/getf2.c: Likewise.
1686 * soft-fp/ledf2.c: Likewise.
1687 * soft-fp/lesf2.c: Likewise.
1688 * soft-fp/letf2.c: Likewise.
1689 * soft-fp/muldf3.c: Likewise.
1690 * soft-fp/mulsf3.c: Likewise.
1691 * soft-fp/multf3.c: Likewise.
1692 * soft-fp/negdf2.c: Likewise.
1693 * soft-fp/negsf2.c: Likewise.
1694 * soft-fp/negtf2.c: Likewise.
1695 * soft-fp/op-1.h: Likewise.
1696 * soft-fp/op-2.h: Likewise.
1697 * soft-fp/op-4.h: Likewise.
1698 * soft-fp/op-8.h: Likewise.
1699 * soft-fp/op-common.h: Likewise.
1700 * soft-fp/quad.h: Likewise.
1701 * soft-fp/single.h: Likewise.
1702 * soft-fp/soft-fp.h: Likewise.
1703 * soft-fp/sqrtdf2.c: Likewise.
1704 * soft-fp/sqrtsf2.c: Likewise.
1705 * soft-fp/sqrttf2.c: Likewise.
1706 * soft-fp/subdf3.c: Likewise.
1707 * soft-fp/subsf3.c: Likewise.
1708 * soft-fp/subtf3.c: Likewise.
1709 * soft-fp/truncdfsf2.c: Likewise.
1710 * soft-fp/trunctfdf2.c: Likewise.
1711 * soft-fp/trunctfsf2.c: Likewise.
1712 * soft-fp/trunctfxf2.c: Likewise.
1713 * soft-fp/unorddf2.c: Likewise.
1714 * soft-fp/unordsf2.c: Likewise.
1715 * soft-fp/unordtf2.c: Likewise.
1716
9ebb0332
JM
17172013-10-15 Joseph Myers <joseph@codesourcery.com>
1718
1719 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1720 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1721
4b1a6d8b
OB
17222013-10-15 Ondřej Bílka <neleai@seznam.cz>
1723
1724 * elf/dl-libc.c: Clear initfini list after freeing.
1725
1e145589
JM
17262013-10-14 Joseph Myers <joseph@codesourcery.com>
1727
1728 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1729 * soft-fp/addsf3.c: Likewise.
1730 * soft-fp/addtf3.c: Likewise.
1731 * soft-fp/divdf3.c: Likewise.
1732 * soft-fp/divsf3.c: Likewise.
1733 * soft-fp/divtf3.c: Likewise.
1734 * soft-fp/double.h: Likewise.
1735 * soft-fp/eqdf2.c: Likewise.
1736 * soft-fp/eqsf2.c: Likewise.
1737 * soft-fp/eqtf2.c: Likewise.
1738 * soft-fp/extenddftf2.c: Likewise.
1739 * soft-fp/extended.h: Likewise.
1740 * soft-fp/extendsfdf2.c: Likewise.
1741 * soft-fp/extendsftf2.c: Likewise.
1742 * soft-fp/extendxftf2.c: Likewise.
1743 * soft-fp/fixdfdi.c: Likewise.
1744 * soft-fp/fixdfsi.c: Likewise.
1745 * soft-fp/fixdfti.c: Likewise.
1746 * soft-fp/fixsfdi.c: Likewise.
1747 * soft-fp/fixsfsi.c: Likewise.
1748 * soft-fp/fixsfti.c: Likewise.
1749 * soft-fp/fixtfdi.c: Likewise.
1750 * soft-fp/fixtfsi.c: Likewise.
1751 * soft-fp/fixtfti.c: Likewise.
1752 * soft-fp/fixunsdfdi.c: Likewise.
1753 * soft-fp/fixunsdfsi.c: Likewise.
1754 * soft-fp/fixunsdfti.c: Likewise.
1755 * soft-fp/fixunssfdi.c: Likewise.
1756 * soft-fp/fixunssfsi.c: Likewise.
1757 * soft-fp/fixunssfti.c: Likewise.
1758 * soft-fp/fixunstfdi.c: Likewise.
1759 * soft-fp/fixunstfsi.c: Likewise.
1760 * soft-fp/fixunstfti.c: Likewise.
1761 * soft-fp/floatdidf.c: Likewise.
1762 * soft-fp/floatdisf.c: Likewise.
1763 * soft-fp/floatditf.c: Likewise.
1764 * soft-fp/floatsidf.c: Likewise.
1765 * soft-fp/floatsisf.c: Likewise.
1766 * soft-fp/floatsitf.c: Likewise.
1767 * soft-fp/floattidf.c: Likewise.
1768 * soft-fp/floattisf.c: Likewise.
1769 * soft-fp/floattitf.c: Likewise.
1770 * soft-fp/floatundidf.c: Likewise.
1771 * soft-fp/floatundisf.c: Likewise.
1772 * soft-fp/floatunsidf.c: Likewise.
1773 * soft-fp/floatunsisf.c: Likewise.
1774 * soft-fp/floatuntidf.c: Likewise.
1775 * soft-fp/floatuntisf.c: Likewise.
1776 * soft-fp/floatuntitf.c: Likewise.
1777 * soft-fp/fmadf4.c: Likewise.
1778 * soft-fp/fmasf4.c: Likewise.
1779 * soft-fp/fmatf4.c: Likewise.
1780 * soft-fp/gedf2.c: Likewise.
1781 * soft-fp/gesf2.c: Likewise.
1782 * soft-fp/getf2.c: Likewise.
1783 * soft-fp/ledf2.c: Likewise.
1784 * soft-fp/lesf2.c: Likewise.
1785 * soft-fp/letf2.c: Likewise.
1786 * soft-fp/muldf3.c: Likewise.
1787 * soft-fp/mulsf3.c: Likewise.
1788 * soft-fp/multf3.c: Likewise.
1789 * soft-fp/negdf2.c: Likewise.
1790 * soft-fp/negsf2.c: Likewise.
1791 * soft-fp/negtf2.c: Likewise.
1792 * soft-fp/op-1.h: Likewise.
1793 * soft-fp/op-2.h: Likewise.
1794 * soft-fp/op-4.h: Likewise.
1795 * soft-fp/op-8.h: Likewise.
1796 * soft-fp/op-common.h: Likewise.
1797 * soft-fp/quad.h: Likewise.
1798 * soft-fp/single.h: Likewise.
1799 * soft-fp/soft-fp.h: Likewise.
1800 * soft-fp/sqrtdf2.c: Likewise.
1801 * soft-fp/sqrtsf2.c: Likewise.
1802 * soft-fp/sqrttf2.c: Likewise.
1803 * soft-fp/subdf3.c: Likewise.
1804 * soft-fp/subsf3.c: Likewise.
1805 * soft-fp/subtf3.c: Likewise.
1806 * soft-fp/truncdfsf2.c: Likewise.
1807 * soft-fp/trunctfdf2.c: Likewise.
1808 * soft-fp/trunctfsf2.c: Likewise.
1809 * soft-fp/trunctfxf2.c: Likewise.
1810 * soft-fp/unorddf2.c: Likewise.
1811 * soft-fp/unordsf2.c: Likewise.
1812 * soft-fp/unordtf2.c: Likewise.
1813
17c48a60
OB
18142013-10-14 Ondřej Bílka <neleai@seznam.cz>
1815
1816 [BZ #15672]
1817 * misc/error.c (error_tail): Fix possible buffer overflow.
1818
cabba934
OB
18192013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1820
1821 [BZ #13028]
1822 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1823 address.
1824
94bf958a
PM
18252013-10-14 P. J. McDermott <pj@pehjota.net>
1826
1827 [BZ #832]
1828 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1829 testing pipefail option.
1830
71b4dea7
JM
18312013-10-12 Joseph Myers <joseph@codesourcery.com>
1832
1833 * soft-fp/double.h: Indent preprocessor directives inside #if.
1834 * soft-fp/extended.h: Likewise.
1835 * soft-fp/op-2.h: Likewise.
1836 * soft-fp/op-4.h: Likewise.
1837 * soft-fp/op-common.h: Likewise.
1838 * soft-fp/quad.h: Likewise.
1839 * soft-fp/single.h: Likewise.
1840 * soft-fp/soft-fp.h: Likewise.
1841
55602758
YC
18422013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1843
1844 * iconv/iconv_prog.c: Fix typos.
1845 * stdio-common/psiginfo-data.h: Likewise.
1846
9cd83302
RT
18472013-10-12 Reuben Thomas <rrt@sc3d.org>
1848
1849 [BZ #15764]
1850 * locale/setlocale.c: Fix typo.
1851
99fd9f47
JM
18522013-10-12 Joseph Myers <joseph@codesourcery.com>
1853
b7ea74f0
JM
1854 [BZ #16036]
1855 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1856 signaling NaN arguments.
1857 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1858 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1859
8a509447
JM
1860 [BZ #14910]
1861 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1862 unordered operands.
1863 * soft-fp/gesf2.c (__gesf2): Likewise.
1864 * soft-fp/getf2.c (__getf2): Likewise.
1865 * soft-fp/ledf2.c (__ledf2): Likewise.
1866 * soft-fp/lesf2.c (__lesf2): Likewise.
1867 * soft-fp/letf2.c (__letf2): Likewise.
1868
98998e9f
JM
1869 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1870 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1871 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1872 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1873 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1874 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1875 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1876 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1877 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1878 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1879 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1880 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1881 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1882 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1883 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1884 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1885 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1886 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1887 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1888 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1889 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1890 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1891 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1892 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1893 * soft-fp/floattidf.c (__floattidf): Likewise.
1894 * soft-fp/floattisf.c (__floattisf): Likewise.
1895 * soft-fp/floattitf.c (__floattitf): Likewise.
1896 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1897 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1898 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1899 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1900 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1901 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1902 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1903 * soft-fp/gesf2.c (__gesf2): Likewise.
1904 * soft-fp/getf2.c (__getf2): Likewise.
1905 * soft-fp/ledf2.c (__ledf2): Likewise.
1906 * soft-fp/lesf2.c (__lesf2): Likewise.
1907 * soft-fp/letf2.c (__letf2): Likewise.
1908
8edc4a11
JM
1909 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1910 Undefine and redefine.
1911 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1912 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1913 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1914 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1915 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1916 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1917 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1918 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1919 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1920 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1921 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1922 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1923 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1924 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1925 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1926
8399acaf
JM
1927 [BZ #16032]
1928 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1929 without decrementing exponent if mantissa >= that for the
1930 denominator, not >.
1931 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1932 denominator, not >. Decrement exponent in < case instead of
1933 incrementing in >= case.
1934 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1935 without decrementing exponent if mantissa >= that for the
1936 denominator, not >.
1937
99fd9f47
JM
1938 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1939 computing saturated result for unsigned overflow.
1940
10e1cf6b
SP
19412013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1942 Jeff Law <law@redhat.com>
1943
1944 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1945 (atan2Mp): Add systemtap probe marker.
1946 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1947 (__ieee754_log): Add systemtap probe marker.
1948 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1949 (atanMp): Add systemtap probe marker.
1950 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1951 (tanMp): Add systemtap probe marker.
1952 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1953 (__slowexp): Add systemtap probe marker.
1954 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1955 (__slowpow): Add systemtap probe marker.
1956 * manual/probes.texi: Document probes.
1957
3d110c7c
EB
19582013-10-11 Eric Biggers <ebiggers3@gmail.com>
1959
1960 [BZ #15362]
1961 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1962 written.
1963 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1964 written.
1965 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1966 written to buffer but not flushed.
1967 * libio/iofwrite_u.c: Likewise.
1968 * libio/iopadn.c: Return bytes returned even if EOF was
1969 encountered.
1970 * libio/iowpadn.c: Likewise.
1971 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1972 if _IO_padn does not write the whole buffer.
1973 [!COMPILE_WPRINTF] (PAD): Likewise.
1974
75b4202a
DM
19752013-10-10 David S. Miller <davem@davemloft.net>
1976
1977 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1978 directory block.
1979
6c6352e6
JM
19802013-10-10 Joseph Myers <joseph@codesourcery.com>
1981
33b853c3
JM
1982 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1983 instead of FSF address.
1984 * soft-fp/fixdfti.c: Likewise.
1985 * soft-fp/fixsfti.c: Likewise.
1986 * soft-fp/fixtfti.c: Likewise.
1987 * soft-fp/fixunsdfti.c: Likewise.
1988 * soft-fp/fixunssfti.c: Likewise.
1989 * soft-fp/fixunstfti.c: Likewise.
1990 * soft-fp/floattidf.c: Likewise.
1991 * soft-fp/floattisf.c: Likewise.
1992 * soft-fp/floattitf.c: Likewise.
1993 * soft-fp/floatuntidf.c: Likewise.
1994 * soft-fp/floatuntisf.c: Likewise.
1995 * soft-fp/floatuntitf.c: Likewise.
1996 * soft-fp/trunctfxf2.c: Likewise.
1997
6c6352e6
JM
1998 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1999 * soft-fp/fixdfti.c: Likewise.
2000 * soft-fp/fixsfti.c: Likewise.
2001 * soft-fp/fixtfti.c: Likewise.
2002 * soft-fp/fixunsdfti.c: Likewise.
2003 * soft-fp/fixunssfti.c: Likewise.
2004 * soft-fp/fixunstfti.c: Likewise.
2005 * soft-fp/floattidf.c: Likewise.
2006 * soft-fp/floattisf.c: Likewise.
2007 * soft-fp/floattitf.c: Likewise.
2008 * soft-fp/floatuntidf.c: Likewise.
2009 * soft-fp/floatuntisf.c: Likewise.
2010 * soft-fp/floatuntitf.c: Likewise.
2011 * soft-fp/trunctfxf2.c: Likewise.
2012
3bf78b71
DM
20132013-10-10 David S. Miller <davem@davemloft.net>
2014
2015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2016
6f10289e
JM
20172013-10-10 Joseph Myers <joseph@codsourcery.com>
2018
bd878fc0
JM
2019 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2020 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2021 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2022 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2023 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2024 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2025 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2026
6f10289e
JM
2027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2028 for NaNs before doing comparisons on argument.
2029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2030 Likewise.
2031
321e2684
WN
20322013-10-10 Will Newton <will.newton@linaro.org>
2033
2034 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2035 passed to _int_memalign does not overflow.
2036
40fefba1
TR
20372013-10-10 Torvald Riegel <triegel@redhat.com>
2038
2039 * scripts/bench.pl: Add include-sources directive.
2040 * benchtests/README: Update documentation.
2041
2ae21ed2
JM
20422013-10-10 Joseph Myers <joseph@codesourcery.com>
2043
dcc2dd3f
JM
2044 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2045 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2046 instead of FP_INIT_ROUNDMODE.
2047 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2048 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2049
2ae21ed2
JM
2050 [BZ #16034]
2051 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2052 copy class of input value.
2053 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2054 not handle exceptions.
2055 * soft-fp/negsf2.c (__negsf2): Likewise.
2056 * soft-fp/negtf2.c (__negtf2): Likewise.
2057 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2058
cb8f9562
JM
20592013-10-09 Joseph Myers <joseph@codesourcery.com>
2060
2061 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2062 semicolon. From Linux kernel.
2063
5b60c59d
AB
20642013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2065
2066 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2067
b86835ca
YC
20682013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2069
2070 [BZ #156]
2071 * manual/socket.texi: Added statement about buffer
2072 for gethostbyname2_r.
2073
e7044ea7
OB
20742013-10-08 Ondřej Bílka <neleai@seznam.cz>
2075
2076 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2077 Use .p2align directive instead, throughout.
2078 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2079 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2080 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2082 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2083 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2084 * sysdeps/x86_64/strchr.S: Likewise.
2085 * sysdeps/x86_64/strrchr.S: Likewise.
2086
09544cbc
SP
20872013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2088
88576635
SP
2089 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2090
e7b2d1dd
SP
2091 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2092
09544cbc
SP
2093 * sysdeps/generic/math_private.h (__mpsin1): Remove
2094 declaration.
2095 (__mpcos1): Likewise.
2096 (__mpsin): New argument __range_reduce.
2097 (__mpcos): Likewise.
2098 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2099 (slow): Use __mpsin and __mpcos.
2100 (slow1): Likewise.
2101 (slow2): Likewise.
2102 (sloww): Likewise.
2103 (sloww1): Likewise.
2104 (sloww2): Likewise.
2105 (bsloww): Likewise.
2106 (bsloww1): Likewise.
2107 (bsloww2): Likewise.
2108 (cslow2): Likewise.
2109 (csloww): Likewise.
2110 (csloww1): Likewise.
2111 (csloww2): Likewise.
2112 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2113 range_reduce. Merge in __mpsin1.
2114 (__mpcos): Likewise.
2115 (__mpsin1): Remove.
2116 (__mpcos1): Likewise.
2117
7602d070
JM
21182013-10-07 Joseph Myers <joseph@codesourcery.com>
2119
2120 * locale/loadlocale.c (_nl_intern_locale_data): Use
2121 LOCFILE_ALIGNED_P.
2122 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2123 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2124 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2125 obstack data is appropriately aligned.
2126 (obstack_int32_grow_fast): Likewise.
2127 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2128 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2129 (add_locale_uint32_array): Likewise.
2130
a357259b
SP
21312013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2132
2133 * benchtests/Makefile: Remove ARGLIST and RET variables.
2134 ($(objpfx)bench-%.c): Pass only function name to the script.
2135 * benchtests/README: Update documentation.
2136 * benchtests/acos-inputs: Add new directives.
2137 * benchtests/acosh-inputs: Likewise.
2138 * benchtests/asin-inputs: Likewise.
2139 * benchtests/asinh-inputs: Likewise.
2140 * benchtests/atan-inputs: Likewise.
2141 * benchtests/atanh-inputs: Likewise.
2142 * benchtests/cos-inputs: Likewise.
2143 * benchtests/cosh-inputs: Likewise.
2144 * benchtests/exp-inputs: Likewise.
2145 * benchtests/log-inputs: Likewise.
2146 * benchtests/pow-inputs: Likewise.
2147 * benchtests/rint-inputs: Likewise.
2148 * benchtests/sin-inputs: Likewise.
2149 * benchtests/sinh-inputs: Likewise.
2150 * benchtests/tan-inputs: Likewise.
2151 * benchtests/tanh-inputs: Likewise.
2152 * scripts/bench.pl: Add support for new directives.
2153
9ec1b13d
AM
21542013-10-07 Alan Modra <amodra@gmail.com>
2155
2156 * README: Fix careless merge.
2157
8b7d57cd
AM
21582013-10-05 Alan Modra <amodra@gmail.com>
2159
2160 * NEWS: Mention powerpc64le support and bugs fixed.
2161 * README: Both big-endian and little-endian powerpc64 supported.
2162
7b7bab13
ST
21632013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2164
2165 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2166 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2167 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2168 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2169
d39baad1
RA
21702013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2171
2172 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2173 match prototype.
2174
cd78f7e7
JM
21752013-10-04 Joseph Myers <joseph@codesourcery.com>
2176
29d73d86
JM
2177 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2178 Move -mhard-float appending from
2179 ports/sysdeps/powerpc/powerpc32/Makefile.
2180 [$(with-fp) = yes] (ASFLAGS): Likewise.
2181 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2182 * sysdeps/powerpc/nofpu: Move directory from
2183 ports/sysdeps/powerpc/nofpu.
2184 * sysdeps/powerpc/soft-fp: Move directory from
2185 ports/sysdeps/powerpc/soft-fp.
2186 * sysdeps/powerpc/powerpc32/405: Move directory from
2187 ports/sysdeps/powerpc/powerpc32/405.
2188 * sysdeps/powerpc/powerpc32/440: Move directory from
2189 ports/sysdeps/powerpc/powerpc32/440.
2190 * sysdeps/powerpc/powerpc32/464: Move directory from
2191 ports/sysdeps/powerpc/powerpc32/464.
2192 * sysdeps/powerpc/powerpc32/476: Move directory from
2193 ports/sysdeps/powerpc/powerpc32/476.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2195 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2197 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2204 * README: Update for powerpc-*-linux-gnu software floating point
2205 support in libc.
2206
e246b347
JM
2207 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2208 case to powerpc/powerpc32*.
2209 * sysdeps/unix/sysv/linux/configure: Regenerated.
2210
89c2003e
JM
2211 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2212 (_FPU_MASK_OM): Define as 0x04.
2213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2215 0x00c10080.
2216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2217 0x0000003c.
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2219
cd78f7e7
JM
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2221 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2222 getcontext_e500.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2224 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2225 setcontext_e500.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2227 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2228 and setcontext_e500.
2229
c755294d
CL
22302013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2231
2232 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2233
e16d221c
SP
22342013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2235
2236 * manual/threads.texi (Default Thread Attributes): Fix typo.
2237
215c7d43
WN
22382013-10-04 Will Newton <will.newton@linaro.org>
2239
2240 * malloc/Makefile: Add tst-memalign.
2241 * malloc/tst-memalign.c: New file.
2242
27d0461b
WN
2243 * malloc/tst-posix_memalign.c: Add comments.
2244 (do_test): Add comments and call free on all potentially
2245 allocated pointers. Add space after cast.
2246
1bc92709
WN
2247 * malloc/tst-pvalloc.c: Add comments.
2248 (do_test): Add comments and call free on all potentially
2249 allocated pointers. Remove duplicate check for NULL pointer.
2250 Add space after cast.
2251
66a9be9d
WN
2252 * malloc/tst-valloc.c: Add comments.
2253 (do_test): Add comments and call free on all potentially
2254 allocated pointers. Remove duplicate check for NULL pointer.
2255 Add space after cast.
2256
4cb81307
AM
22572013-10-04 Alan Modra <amodra@gmail.com>
2258
2259 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2260 Use stdint types in rather than __attribute__((mode())).
2261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2262
f8e3e9f3
AM
22632013-10-04 Alan Modra <amodra@gmail.com>
2264
2265 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2266 Correct handling of unaligned relocs for little-endian.
2267 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2268
8f9ebb08
AM
22692013-10-04 Alan Modra <amodra@gmail.com>
2270
2271 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2272 * configure: Regenerate.
2273 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2274 * shlib-versions: Likewise.
2275
0edf96c2
AM
22762013-10-04 Alan Modra <amodra@gmail.com>
2277
2278 * string/tester.c (test_memrchr): Increment reported test cycle.
2279
e0f7a380
AM
22802013-10-04 Alan Modra <amodra@gmail.com>
2281
2282 * string/test-memcpy.c (do_one_test): When reporting errors, print
2283 string address and don't overrun end of string.
2284
466b0393
AM
22852013-10-04 Alan Modra <amodra@gmail.com>
2286
2287 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2288 insrdi. Make better use of reg selection to speed exit slightly.
2289 Schedule entry path a little better. Remove useless "are we done"
2290 checks on entry to main loop. Handle wrapping around zero address.
2291 Correct main loop count. Handle single left-over word from main
2292 loop inline rather than by using loop_small. Remove extra word
2293 case in loop_small caused by wrong loop count. Add little-endian
2294 support.
2295 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2297 cache hint.
2298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2300 support. Avoid rlwimi.
2301 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2302
3be87c77
AM
23032013-10-04 Alan Modra <amodra@gmail.com>
2304
2305 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2306 insrdi. Formatting.
3be87c77
AM
2307 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2308 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2309 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2311 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2312 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2313
759cfef3
AM
23142013-10-04 Alan Modra <amodra@gmail.com>
2315
2316 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2318 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2319 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2325 use of regs. Use power7 mtocrf. Tidy function tails.
2326
fe6e95d7
AM
23272013-10-04 Alan Modra <amodra@gmail.com>
2328
2329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2330 Formatting. Consistently use rXXX register defines or rN defines.
2331 Use early exit labels that avoid restoring unused non-volatile regs.
2332 Make cr field use more consistent with rWORDn compares. Rename
2333 regs used as shift registers for unaligned loop, using rN defines
2334 for short lifetime/multiple use regs.
2335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2337 addi 1,1,64 to pop stack frame. Simplify return value code.
2338 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2339
664318c3
AM
23402013-10-04 Alan Modra <amodra@gmail.com>
2341
2342 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2343 support. Correct typos, formatting. Optimize tail. Use insrdi
2344 rather than rlwimi.
2345 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2346 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2347 little-endian support. Correct typos.
2348 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2349 rather than rlwimi.
2350 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2351 in loop and entry code to keep "and." results.
2352 (strchr): Add little-endian support. Comment. Move cntlzd
2353 earlier in tail.
2354 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2355
43b84013
AM
23562013-10-04 Alan Modra <amodra@gmail.com>
2357
2358 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2359 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2362
8a7413f9
AM
23632013-10-04 Alan Modra <amodra@gmail.com>
2364
2365 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2366 (rTMP): Define as r11.
2367 (strcmp): Add little-endian support. Optimise tail.
2368 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2370 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2375
33ee81de
AM
23762013-10-04 Alan Modra <amodra@gmail.com>
2377
2378 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2379 little-endian support. Remove unnecessary "are we done" tests.
2380 Handle "s" wrapping around zero and extremely large "size".
2381 Correct main loop count. Handle single left-over word from main
2382 loop inline rather than by using small_loop. Correct comments.
2383 Delete "zero" tail, use "end_max" instead.
2384 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2385
db9b4570
AM
23862013-10-04 Alan Modra <amodra@gmail.com>
2387
2388 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2389 support. Don't branch over align.
2390 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2392 support. Rearrange tmp reg use to suit. Comment.
2393 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2394
f7c399cf
AM
23952013-10-04 Alan Modra <amodra@gmail.com>
2396
2397 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2398
0b2c2ace
AM
23992013-10-04 Alan Modra <amodra@gmail.com>
2400
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2402 conditional form of branch and link when obtaining pc.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2404
02f04a6c
AM
24052013-10-04 Alan Modra <amodra@gmail.com>
2406
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2408 HIWORD/LOWORD.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2411
9b874b2f
AM
24122013-10-04 Alan Modra <amodra@gmail.com>
2413
2414 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2415 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2416 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2417 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2418 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2419 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2420 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2421 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2423 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2424
be1e5d31
AB
24252013-10-04 Anton Blanchard <anton@au1.ibm.com>
2426 Alistair Popple <alistair@ozlabs.au.ibm.com>
2427 Alan Modra <amodra@gmail.com>
2428
2429 [BZ #15723]
2430 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2431 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2432 _dl_hwcap access for little-endian.
2433 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2434 destroy vmx regs when saving unaligned.
2435 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2437 destroy vmx regs when saving unaligned.
2438
fef13a78
AM
24392013-10-04 Alan Modra <amodra@gmail.com>
2440
2441 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2442 Don't use a union to pack hi/low value.
2443
76a66d51
AB
24442013-10-04 Anton Blanchard <anton@au1.ibm.com>
2445
2446 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2447 for little-endian.
2448 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2450 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2453
6a31fe7f
AM
24542013-10-04 Alan Modra <amodra@gmail.com>
2455
2456 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2457 constants to usual value for .cst8 section, and remove redundant
2458 high address load.
2459 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2460 constant for 0x1p52. Load little-endian words of double from
2461 correct stack offsets.
2462
7b88401f
AM
24632013-10-04 Alan Modra <amodra@gmail.com>
2464
2465 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2466 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2467 words of double from correct stack offsets.
2468 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2470 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2483 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2484 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2485
9c008155
AM
24862013-10-04 Alan Modra <amodra@gmail.com>
2487
2488 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2489 64-bit int/double union.
2490 (_FPU_SETCW): Likewise.
2491 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2492 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2493
da13146d
AM
24942013-10-04 Alan Modra <amodra@gmail.com>
2495
2496 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2497 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2498
603e8410
AM
24992013-10-04 Alan Modra <amodra@gmail.com>
2500
2501 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2502 use vector int constants.
2503 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2504
4a28b3ca
AB
25052013-10-04 Anton Blanchard <anton@au1.ibm.com>
2506
2507 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2508 array with long long.
2509 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2510 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2511 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2512 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2513 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2514 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2515 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2516 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2517 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2518 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2519 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2520 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2521 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2522
2ca85d2b
AB
25232013-10-04 Anton Blanchard <anton@au1.ibm.com>
2524
2525 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2526 (__signbit): Likewise. Correct for little-endian.
2527 (__signbitl): Call __signbit.
2528 (lrint): Correct for little-endian.
2529 (lrintf): Call lrint.
2530
62a728ae
AM
25312013-10-04 Alan Modra <amodra@gmail.com>
2532
2533 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2534 union 32-bit int array member with 64-bit int array.
2535 (t515, tm256): Double rather than long double.
2536 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2537
32c301df
AM
25382013-10-04 Alan Modra <amodra@gmail.com>
2539
2540 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2541 Delete.
2542 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2544 version of math_ldbl.h.
2545
650ef4bd
AM
25462013-10-04 Alan Modra <amodra@gmail.com>
2547
2548 [BZ #15734], [BZ #15735]
2549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2550 all uses of ieee875 long double macros and unions. Simplify test
2551 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2552 ldbl_extract_mantissa value for ix,iy exponents. Properly
2553 normalize after ldbl_extract_mantissa, and don't add hidden bit
2554 already handled. Don't treat low word of ieee854 mantissa like
2555 low word of IBM long double and mask off bit when testing for
2556 zero.
2557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2558 all uses of ieee875 long double macros and unions. Simplify tests
2559 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2560 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2561 two1022, instead use their values. Recognise that tests for large
2562 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2564 Rewrite all uses of ieee875 long double macros and unions. Simplify
2565 test for 0.0L and nan. Correct negation.
2566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2567 ieee875 long double macros and unions. Correct output for large
2568 magnitude x. Correct absolute value calculation.
2569 (__erfcl): Likewise.
2570 * math/libm-test.inc: Add tests for errors discovered in IBM long
2571 double versions of fmodl, remainderl, erfl and erfcl.
2572
765714ca
AM
25732013-10-04 Alan Modra <amodra@gmail.com>
2574
2575 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2576 all uses of ieee854 long double macros and unions. Simplify tests
2577 for long doubles that are fully specified by the high double.
2578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2579 Likewise.
2580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2581 Remove dead code too.
2582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2583 (__ieee754_ynl): Likewise.
2584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2587 Remove dead code too.
2588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2589 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2592 Simplify.
2593 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2594 Simplify.
2595 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2596 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2597 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2598 Comment on variable precision.
2599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2601 Likewise.
2602 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2604 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2607
4ebd120c
AM
26082013-10-04 Alan Modra <amodra@gmail.com>
2609
2610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2612 all uses of ieee854 long double macros and unions.
2613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2619 Likewise.
2620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2621 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2622 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2623 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2624 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2625 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2626 Simplify sign and nan test too.
2627 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2628 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2629 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2631 Likewise.
2632 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2633 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2634 Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2636 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2637 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2638 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2641
1b6adf88
AM
26422013-10-04 Alan Modra <amodra@gmail.com>
2643
2644 * stdio-common/printf_size.c (__printf_size): Don't use
2645 union ieee854_long_double in fpnum union.
2646 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2647 signbit macro to retrieve sign from long double.
2648 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2649 retrieve sign from long double.
2650 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2651 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2652 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2653 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2654 * math/test-misc.c (main): Don't use union ieee854_long_double.
2655
4cf69995
AM
26562013-10-04 Alan Modra <amodra@gmail.com>
2657
2658 [BZ #15680]
2659 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2660 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2661 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2662 calculation. Remove unnecessary test for denormal exponent.
2663 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2664 Correct handling of denormals. Avoid undefined shift behaviour.
2665 Correct normalisation of low mantissa when low double is denormal.
2666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2667 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2668 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2669 Correct normalisation of low mantissa. Test for overflow of high
2670 mantissa and normalise.
2671 (ldbl_nearbyint): Use more readable constant for two52.
2672 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2673 (__mpn_construct_long_double): Fix test for overflow of high
2674 mantissa and correct normalisation. Avoid undefined shift.
2675
9605ca6c
AM
26762013-10-04 Alan Modra <amodra@gmail.com>
2677
2678 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2679 (union ibm_extended_long_double): Define as an array of ieee754_double.
2680 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2681 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2682 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2683 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2687 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2691
975569d0
JM
26922013-10-03 Joseph Myers <joseph@codesourcery.com>
2693
d3d23756
JM
2694 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2695 page size instead of calling getpagesize.
2696
975569d0
JM
2697 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2698 (LOCFILE_ALIGN_MASK): Likewise.
2699 (LOCFILE_ALIGN_UP): Likewise.
2700 (LOCFILE_ALIGNED_P): Likewise.
2701 * locale/programs/ld-collate.c (collate_output): Use the new
2702 macros instead of __alignof__ (int32_t).
2703 * locale/weight.h (findidx): Likewise.
2704
b1fe1f2b
OB
27052013-10-03 Ondřej Bílka <neleai@seznam.cz>
2706
2707 [BZ #431]
2708 * manual/string.texi: Fix strncat and wcsncat.
2709
5f855e35
BM
27102013-10-03 Brooks Moses <bmoses@google.com>
2711
2712 [BZ #15915]
2713 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2714 * Makerules: ...here, and adjust associated comments.
2715
3cef6009
WN
27162013-10-02 Will Newton <will.newton@linaro.org>
2717
2718 * malloc/Makefile: Add tst-pvalloc.
2719 * malloc/tst-pvalloc.c: New file.
2720
7815420b
WN
27212013-10-02 Will Newton <will.newton@linaro.org>
2722
2723 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2724 improve test coverage.
2725
4868b204
WN
27262013-10-02 Will Newton <will.newton@linaro.org>
2727
2728 * malloc/Makefile: Add tst-posix_memalign.
2729 * malloc/tst-posix_memalign.c: New file.
2730
29c793b3
EB
27312013-10-01 Eric Blake <eblake@redhat.com>
2732
2733 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2734 Use __THROWNL rather than __THROW on static functions.
2735
fd967522
PM
27362013-09-30 Petr Machata <pmachata@redhat.com>
2737
2738 * elf/elf.h (R_AARCH64_ABS16): New macro.
2739 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2740 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2741 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2742 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2743 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2744 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2745 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2746 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2747 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2748 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2749 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2750 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2751 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2752 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2753 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2754 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2755 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2756 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2757 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2758 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2759 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2760 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2761 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2762 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2763 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2764 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2765 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2766 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2767 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2768 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2769 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2770 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2771 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2772 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2773 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2774 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2775 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2776 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2777 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2778 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2779 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2780 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2781 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2782 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2783 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2784 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2785 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2786 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2787 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2788 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2789 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2790 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2791 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2792 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2793 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2794 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2795 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2796 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2797 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2798 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2799 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2800 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2801 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2802 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2803 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2804 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2805 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2806 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2807 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2808 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2809 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2810 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2811 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2812 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2813 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2814 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2815 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2816 (R_AARCH64_TLSDESC_LDR): Likewise.
2817 (R_AARCH64_TLSDESC_ADD): Likewise.
2818 (R_AARCH64_TLSDESC_CALL): Likewise.
2819
b2179107
AS
28202013-09-30 Andreas Schwab <schwab@suse.de>
2821
2822 [BZ #15048]
2823 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2824 the nss database lookup.
2825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2827
47f28d0a
MF
28282013-09-28 Mike Frysinger <vapier@gentoo.org>
2829
2830 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2831
28322013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2833
2834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2835 ${Bash-specific parameter/pattern/string} parameter expansion.
2836 * sysdeps/unix/make-syscalls.sh: Likewise.
2837
f4518a17
KK
28382013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2839
2840 * sysdeps/sh/stackguard-macros.h: New file.
2841
dc1a95c7
OB
28422013-09-26 Ondřej Bílka <neleai@seznam.cz>
2843
2844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2845 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2846 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2847 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2848 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2849 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2850
5ebbff8f
AZ
28512013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
2853 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2854 Fix thread ID register.
2855
4fd2cf9f
JM
28562013-09-25 Joseph Myers <joseph@codesourcery.com>
2857
2858 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2859 [POSIX || UNIX98]: Require rather than permitting all symbols from
2860 <time.h>.
2861 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2862 element of struct sched_param.
2863 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2864 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2865 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2866 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2867 constant.
2868
12c22bc4
OL
28692013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2870
2871 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2872 argument calculation.
2873
a03d8ea7
JM
28742013-09-24 Joseph Myers <joseph@codesourcery.com>
2875
2876 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2877 Expect macro.
2878 [POSIX] (pthread_attr_t): Do not require type.
2879 [POSIX] (pthread_cond_t): Likewise.
2880 [POSIX] (pthread_condattr_t): Likewise.
2881 [POSIX] (pthread_key_t): Likewise.
2882 [POSIX] (pthread_mutex_t): Likewise.
2883 [POSIX] (pthread_mutexattr_t): Likewise.
2884 [POSIX] (pthread_once_t): Likewise.
2885 [POSIX] (pthread_t): Likewise.
2886 [POSIX-based standards] (pthread_atfork): Expect function.
2887
6055173a
JM
28882013-09-24 Joseph Myers <joseph@codesourcery.com>
2889 Richard Sandiford <richard@codesourcery.com>
2890
2891 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2892 (swap_endianness_p): New extern variable.
2893 (set_big_endian): New inline function.
2894 (maybe_swap_uint32): Likewise.
2895 (maybe_swap_uint32_array): Likewise.
2896 (maybe_swap_uint32_obstack): Likewise.
2897 * locale/programs/locfile.c: Include <stdbool.h>.
2898 (swap_endianness_p): New variable.
2899 (add_locale_uint32): Call maybe_swap_uint32.
2900 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2901 (write_locale_data): Call maybe_swap_uint32_array.
2902 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2903 maybe_swap_uint32.
2904 (obstack_int32_grow_fast): Likewise.
2905 (output_weightwc): Call maybe_swap_uint32_obstack.
2906 (collate_output): Likewise.
2907 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2908 (OPT_LITTLE_ENDIAN): Likewise.
2909 (options): Add --little-endian and --big-endian options.
2910 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2911 * locale/programs/locarchive.c: Include "locfile.h".
2912 (GET): New macro.
2913 (SET): Likewise.
2914 (INC): Likewise.
2915 (create_archive): Use the new macros to access fields of
2916 structures directly mapped from or written to locale archives.
2917 (oldlocrecentcmp): Likewise.
2918 (enlarge_archive): Likewise.
2919 (insert_name): Likewise.
2920 (add_alias): Likewise.
2921 (add_locale): Likewise.
2922 (delete_locales_from_archive): Likewise.
2923 (show_archive_content): Likewise.
2924 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2925 locale data.
2926
39bf0bb4
RM
29272013-09-24 Roland McGrath <roland@hack.frob.com>
2928
2929 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2930 http://www.gnu.org/doc/freemanuals.texi.
2931 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2932
f02eed10
WN
29332013-09-24 Will Newton <will.newton@linaro.org>
2934
2935 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2936 macro.
2937
a3a6c312
JM
29382013-09-23 Joseph Myers <joseph@codesourcery.com>
2939
2940 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2941 unsigned char.
2942
107375ac
MR
29432013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2944
2945 * manual/threads.texi (POSIX Threads): Fix a typo.
2946
141f3a77
SP
29472013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2948
303e567a
SP
2949 [BZ #14547]
2950 * string/tst-strcoll-overflow.c: New test case.
2951 * string/Makefile (xtests): Add tst-strcoll-overflow.
2952 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2953 cache if string sizes may cause integer overflow.
2954
141f3a77
SP
2955 [BZ #14547]
2956 * string/strcoll_l.c (coll_seq): New members rule, idx,
2957 save_idx and back_us.
2958 (get_next_seq_nocache): New function.
2959 (do_compare_nocache): New function.
2960 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2961 when malloc fails.
2962
c61b4d41
CD
29632013-09-23 Carlos O'Donell <carlos@redhat.com>
2964
0b1f8e35
CD
2965 [BZ #15754]
2966 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2967 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2968 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2969
c61b4d41
CD
2970 [BZ #15754]
2971 * elf/Makefile (tests): Add tst-ptrguard1.
2972 (tests-static): Add tst-ptrguard1-static.
2973 (tst-ptrguard1-ARGS): Define.
2974 (tst-ptrguard1-static-ARGS): Define.
2975 * elf/tst-ptrguard1.c: New file.
2976 * elf/tst-ptrguard1-static.c: New file.
2977 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2978 * sysdeps/i386/stackguard-macros.h: Likewise.
2979 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2980 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2981 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2982 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2983 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2984 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2985
29862013-09-23 Hector Marco <hecmargi@upv.es>
2987 Ismael Ripoll <iripoll@disca.upv.es>
2988 Carlos O'Donell <carlos@redhat.com>
2989
2990 [BZ #15754]
2991 * sysdeps/generic/stackguard-macros.h: Define
2992 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2993 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2994 Define __pointer_chk_guard_local.
2995 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2996 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2997
f5f4e7b4
VV
29982013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2999
3000 [BZ #15859]
3001 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3002
5bb43a43
AS
30032013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3004
3005 * include/string.h (__ffs): Declare as hidden.
3006 * string/ffs.c (__ffs): Define as hidden.
3007 * sysdeps/i386/ffs.c (__ffs): Likewise.
3008 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3009 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3010 * sysdeps/s390/ffs.c (__ffs): Likewise.
3011 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3012
3ea5be54
AO
30132013-09-20 Alexandre Oliva <aoliva@redhat.com>
3014
ffb89e53
AO
3015 * NEWS: Mention malloc probes.
3016
322dea08
AO
3017 * malloc/arena.c (new_heap): New memory_heap_new probe.
3018 (grow_heap): New memory_heap_more probe.
3019 (shrink_heap): New memory_heap_less probe.
3020 (heap_trim): New memory_heap_free probe.
3021 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3022 (systrim): New memory_sbrk_less probe.
3023 * manual/probes.texi: Document them.
3024
655673f3
AO
3025 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3026 * manual/probes.texi: Document it.
3027
35fed6f1
AO
3028 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3029 (__libc_realloc): Add memory_realloc_retry probe.
3030 (__libc_memalign): Add memory_memalign_retry probe.
3031 (__libc_valloc): Add memory_valloc_retry probe.
3032 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3033 (__libc_calloc): Add memory_calloc_retry probe.
3034 * manual/probes.texi: Document them.
3035
6999d38c
AO
3036 * malloc/arena.c (get_free_list): Add probe
3037 memory_arena_reuse_free_list.
3038 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3039 and memory_arena_reuse.
3040 (arena_get2) [!PER_THREAD]: Likewise.
3041 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3042 memory_arena_reuse_realloc.
3043 * manual/probes.texi: Document them.
3044
0653427f
AO
3045 * malloc/malloc.c (__libc_free): Add
3046 memory_mallopt_free_dyn_thresholds probe.
3047 (__libc_mallopt): Add multiple memory_mallopt probes.
3048 * manual/probes.texi: Document them.
3049
3ea5be54
AO
3050 * malloc/malloc.c: Include stap-probe.h.
3051 (__libc_mallopt): Add memory_mallopt probe.
3052 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3053 * manual/probes.texi: New.
3054 * manual/Makefile (chapters): Add probes.
3055 * manual/threads.texi: Set next node.
3056
e35696c3 30572013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3058
e35696c3
CL
3059 [BZ #15963, #13985]
3060 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3061 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3062 Add `Chinese' to `nan' entry name.
3063
4aafb73c
SP
30642013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3065
3066 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3067 (POLYNOMIAL): Likewise.
3068 (TAYLOR_SINCOS): Likewise.
3069 (TAYLOR_SLOW): Likewise.
3070 (__sin): Use TAYLOR_SINCOS.
3071 (__cos): Likewise.
3072 (slow): Use TAYLOR_SLOW.
3073 (sloww): Likewise.
3074 (bsloww): Likewise.
3075 (csloww): Likewise.
3076
d84f25c7
LD
30772013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3078
3079 * stdlib/strtod_l.c: Fix buffer overrun.
3080
5eea0404
SP
30812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3082
7849ff93
SP
3083 * benchtests/Makefile (bench): Add sincos.
3084 * benchtests/bench-sincos.c: New file.
3085
cfa3c886
SP
3086 * math/libm-test.inc (cos_test_data): New test inputs.
3087 (sin_test_data): Likewise.
3088
b348e1e3
SP
3089 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3090 macro.
3091 (__sin): Use it.
3092 (__cos): Likewise.
3093 (slow1): Likewise.
3094 (slow2): Likewise.
3095 (sloww1): Likewise.
3096 (sloww2): Likewise.
3097 (bsloww1): Likewise.
3098 (bsloww2): Likewise.
3099 (cslow2): Likewise.
3100 (csloww1): Likewise.
3101 (csloww2): Likewise.
3102
6cce25f8
SP
3103 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3104 function.
3105 (__sin): Use it.
3106 (__cos): Likewise.
3107
5eea0404
SP
3108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3109 gotos.
3110 (__cos): Likewise.
3111
9c21573c
MR
31122013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3113
3114 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3115 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3116 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3117 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3118 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3119 * elf/cache.c (print_entry): Handle the new cache flags.
3120
24d22e65
JM
31212013-09-18 Joseph Myers <joseph@codesourcery.com>
3122 Aldy Hernandez <aldyh@redhat.com>
3123
3124 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3125 Change condition to [_SOFT_FLOAT].
3126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3138 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3141 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3142 declaration.
3143
d13ef066
JM
31442013-09-18 Joseph Myers <joseph@codesourcery.com>
3145
2e071de0
JM
3146 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3147 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3148 (__longjmp): Use LOAD_GP to load saved GPRs.
3149 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3150 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3151 (__sigsetjmp): Use SAVE_GP to save GPRs.
3152
d13ef066
JM
3153 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3154 Do not append -msoft-float.
3155 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3156
97a0650b
SP
31572013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3158
3159 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3160
11ca09e9
JM
31612013-09-17 Joseph Myers <joseph@codesourcery.com>
3162
3163 [BZ #15966]
3164 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3165 (_FPU_GETCW): Use initial "__" on variable and field names but not
3166 on macro parameter name.
3167 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3168 parentheses around reference to macro parameter.
3169
08ffcf34
RS
31702013-09-13 Richard Sandiford <richard@codesourcery.com>
3171
3172 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3173 prototype.
3174 (ctype_startup): Use uint32_t in cast and sizeof for
3175 ctype->charnames.
3176
ae7080d3
JL
31772013-09-11 Jia Liu <proljc@gmail.com>
3178
3179 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3180 __daddr_t_defined.
3181 [__FreeBSD__]: Likewise.
3182
5905e7b3
OB
31832013-09-11 Ondřej Bílka <neleai@seznam.cz>
3184
3185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3186 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3187 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3188 (strchr): Remove __strchr_sse42 ifunc selection.
3189 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3190 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3191
b987c776
WN
31922013-09-11 Will Newton <will.newton@linaro.org>
3193
3194 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3195 parameter to RES. Remove hardcoded 1000 value.
3196 * benchtests/bench-skeleton.c (main): Pass RES parameter
3197 to TIMING_INIT and multiply result by 1000.
3198
ddf985af
AZ
31992013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3202
ffdd3181
AS
32032013-09-11 Andreas Schwab <schwab@suse.de>
3204
3205 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3206 if not defined.
3207 (O_TMPFILE) [__USE_GNU]: Define.
3208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3209 Define.
3210
b73ed247
WN
32112013-09-11 Will Newton <will.newton@linaro.org>
3212
3213 [BZ #15857]
3214 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3215 does not overflow.
3216
55e17aad
WN
32172013-09-11 Will Newton <will.newton@linaro.org>
3218
3219 [BZ #15856]
3220 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3221 does not overflow.
3222
1159a193
WN
32232013-09-11 Will Newton <will.newton@linaro.org>
3224
3225 [BZ #15855]
3226 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3227 does not overflow.
3228
5905e7b3 32292013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3230
3231 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3236
cdfc721b
AM
32372013-09-10 Allan McRae <allan@archlinux.org>
3238
aa04af00
AM
3239 [BZ #15748]
3240 * manual/arith.texi (Parsing of Floats): Clarify
3241 cross-reference.
3242
cdfc721b
AM
3243 [BZ #15849]
3244 * manual/install.texi (Running make install): Mention
3245 --enable-pt-chown.
3246 * INSTALL: Regenerated.
3247
95e7cf29
MR
32482013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3249
3250 * csu/init-first.c (_init): Remove the !SHARED condition around
3251 FPU control word initialization.
3252 * elf/dl-support.c (_dl_fpu_control): New variable.
3253 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3254 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3255 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3256 * math/test-fpucw-static.c: New file.
3257 * math/test-fpucw-ieee.c: New file.
3258 * math/test-fpucw-ieee-static.c: New file.
3259 * math/Makefile (tests): Add `test-fpucw-ieee' and
3260 `$(tests-static)'.
3261 (tests-static): New variable.
3262 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3263 dependency to...
3264 [($(build-shared),yes)]
3265 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3266 ... this.
3267 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3268 New dependency.
3269
83e43bf0
AM
32702013-09-09 Allan McRae <allan@archlinux.org>
3271
a9f5ce09
AM
3272 [BZ #15939]
3273 * manual/string.texi (Collation Functions): Fix typo in
3274 strcoll example.
3275 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3276
34829bc2
AM
3277 [BZ #15893]
3278 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3279
3932737d
AM
3280 [BZ #15892]
3281 * libio/memstream.c (open_memstream): Fix memory leak.
3282 * libio/wmemstream.c (open_wmemstream): Likewise.
3283
83e43bf0
AM
3284 [BZ #15895]
3285 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3286
0c66b8e9
WN
32872013-09-09 Will Newton <will.newton@linaro.org>
3288
3289 * malloc/Makefile: Add tst-realloc to tests.
3290 * malloc/tst-realloc.c: New file.
3291
f6b00fd1
AM
32922013-09-09 Allan McRae <allan@archlinux.org>
3293
3294 [BZ #15844]
3295 * COPYING: Update from GNU website to fix FSF address.
3296 * COPYING.LIB: Likewise.
3297
eec55e16
DM
32982013-09-06 David S. Miller <davem@davemloft.net>
3299
3300 * po/zh_TW.po: Update Chinese (traditional) translation from
3301 translation project.
3302
1ecbb381
RS
33032013-09-06 Richard Sandiford <richard@codesourcery.com>
3304 Joseph Myers <joseph@codesourcery.com>
3305
3306 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3307 "localeinfo.h".
3308 (obstack_chunk_alloc): New macro.
3309 (obstack_chunk_free): Likewise.
3310 (record_offset): New function.
3311 (init_locale_data): Likewise.
3312 (align_locale_data): Likewise.
3313 (add_locale_empty): Likewise.
3314 (add_locale_raw_data): Likewise.
3315 (add_locale_raw_obstack): Likewise.
3316 (add_locale_string): Likewise.
3317 (add_locale_wstring): Likewise.
3318 (add_locale_uint32): Likewise.
3319 (add_locale_uint32_array): Likewise.
3320 (add_locale_char): Likewise.
3321 (start_locale_structure): Likewise.
3322 (end_locale_structure): Likewise.
3323 (start_locale_prelude): Likewise.
3324 (end_locale_prelude): Likewise.
3325 (write_locale_data): Take locale_file structure rather than an
3326 iovec.
3327 * locale/programs/locfile.h: Include "obstack.h".
3328 (struct locale_file): Change to store locale file contents instead
3329 of header.
3330 (init_locale_data): New prototype.
3331 (align_locale_data): Likewise.
3332 (add_locale_empty): Likewise.
3333 (add_locale_raw_data): Likewise.
3334 (add_locale_raw_obstack): Likewise.
3335 (add_locale_string): Likewise.
3336 (add_locale_wstring): Likewise.
3337 (add_locale_uint32): Likewise.
3338 (add_locale_uint32_array): Likewise.
3339 (add_locale_char): Likewise.
3340 (start_locale_structure): Likewise.
3341 (end_locale_structure): Likewise.
3342 (start_locale_prelude): Likewise.
3343 (end_locale_prelude): Likewise.
3344 (write_locale_data): Update prototype.
3345 * locale/programs/3level.h (struct TABLE): Remove result field.
3346 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3347 Use new locale_file interface.
3348 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3349 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3350 * locale/programs/ld-address.c (address_output): Use new
3351 locale_file interface.
3352 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3353 NO_ADD_LOCALE.
3354 (collate_finish): Don't call collseq_table_finalize.
3355 (collate_output): Use new locale_file interface.
3356 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3357 in file.
3358 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3359 (TABLE): Move defines earlier in file.
3360 (ELEMENT): Likewise.
3361 (DEFAULT): Likewise.
3362 (wctrans_table_add): Move macro and inline function earlier in
3363 file.
3364 (struct wctype_table): Move type earlier in file.
3365 (add_locale_wctype_table): New static prototype.
3366 (struct locale_ctype_t): Use logical types instead of struct iovec
3367 pointers for members.
3368 (ctype_output): Use new locale_file interface.
3369 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3370 new locale_file interface.
3371 (allocate_arrays): Update for use of new locale_file interface.
3372 * locale/programs/ld-identification.c (identification_output): Use
3373 new locale_file interface.
3374 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3375 * locale/programs/ld-messages.c (messages_output): Likewise.
3376 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3377 * locale/programs/ld-name.c (name_output): Likewise.
3378 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3379 * locale/programs/ld-paper.c (paper_output): Likewise.
3380 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3381 * locale/programs/ld-time.c (time_output): Likewise.
3382
e029e2e5
AZ
33832013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384
3385 * benchtests/Makefile: Add memrchr benchmark.
3386 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3387 benchmark as memrchr.
3388 * benchtests/bench-memrchr-ifunc.c: New file.
3389 * benchtests/bench-memrchr.c: New file.
3390
bbf6e8e4
WN
33912013-09-06 Will Newton <will.newton@linaro.org>
3392
3393 * benchtests/Makefile (string-bench): Add memcpy.
3394
6c82a2f8
CD
33952013-09-05 Carlos O'Donell <carlos@redhat.com>
3396 Cong Wang <amwang@redhat.com>
3397
3398 * sysdeps/unix/sysv/linux/bits/in.h
3399 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3400 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3401 before __USE_KERNEL_IPV6_DEFS uses.
3402 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3403 IPPROTO_BEETPH.
3404 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3405 sockaddr_in6, or ipv6_mreq.
3406
5430fc65
AZ
34072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408
3409 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3410 memory access for final bytes in some large inputs.
3411 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3412
4660856c
AZ
34132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3414
3415 * string/test-memrchr.c: New file.
3416 * string/test-memrchr-ifunc.c: New file.
3417 * string/Makefile: Add new memrchr testcase.
3418
bb8ea713
MF
34192013-09-05 Mike Frysinger <vapier@gentoo.org>
3420
3421 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3422 fanotify_init returns EPERM.
3423
b92a20b5
JM
34242013-09-04 Joseph Myers <joseph@codesourcery.com>
3425
3426 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3427 errors.
3428 (top level): Treat second token from macro or constant entries for
3429 allowed headers as allowed.
3430 * include/complex.h: Condition internal declarations on
3431 [!_ISOMAC].
3432 * include/fenv.h: Condition include of <stdbool.h> and internal
3433 declarations on [!_ISOMAC].
7447ccd9
CL
3434
34352013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3436
3e181dda 3437 [BZ #15923]
7447ccd9
CL
3438 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3439
3f2e46a4
JM
34402013-09-04 Joseph Myers <joseph@codesourcery.com>
3441
3442 * configure.in (--enable-versioning): Remove configure option.
3443 (libc_cv_asm_symver_directive): Remove configure test.
3444 (libc_cv_ld_version_script_option): Likewise.
3445 (VERSIONING): Remove variable and AC_SUBST.
3446 (DO_VERSIONING): Remove AC_DEFINE.
3447 * configure: Regenerated.
3448 * config.h.in (DO_VERSIONING): Remove macro.
3449 * Makerules [$(versioning) = yes]: Change conditionals to
3450 [$(build-shared) = yes].
3451 * config.make.in (versioning): Remove variable.
3452 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3453 [$(build-shared) = yes].
3454 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3455 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3456 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3457 [$(build-shared) = yes].
3458 * extra-lib.mk [$(versioning) = yes]: Likewise.
3459 * hurd/Makefile [$(versioning) = yes]: Likewise.
3460 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3461 [SHARED].
3462 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3463 [SHARED].
3464 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3465 [SHARED && !NO_HIDDEN].
3466 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3467 [SHARED].
3468 [SHARED && DO_VERSIONING]: Likewise..
3469 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3470 [$(build-shared) = yes].
3471 * manual/install.texi (--disable-versioning): Remove
3472 documentation.
3473 * INSTALL: Regenerated.
3474 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3475 to [SHARED].
3476 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3477 [$(build-shared) = yes].
3478 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3479 * sysdeps/i386/i686/multiarch/strstr-c.c
3480 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3481 [SHARED && !NO_HIDDEN].
3482 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3483 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3484 * sysdeps/powerpc/powerpc32/dl-machine.c
3485 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3486 * sysdeps/powerpc/powerpc32/sysdep.h
3487 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3488 to [SHARED && PIC && !NO_HIDDEN].
3489 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3490 conditional to [SHARED].
3491
44558701
WN
34922013-09-04 Will Newton <will.newton@linaro.org>
3493
3494 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3495 * benchtests/bench-string.h: Include bench-timing.h instead
3496 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3497 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3498 call to HP_TIMING_DIFF_INIT.
3499 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3500 instead of hp-timing.h macros.
3501 * benchtests/bench-memchr.c: Likewise.
3502 * benchtests/bench-memcmp.c: Likewise.
3503 * benchtests/bench-memcpy.c: Likewise.
3504 * benchtests/bench-memmem.c: Likewise.
3505 * benchtests/bench-memmove.c: Likewise.
3506 * benchtests/bench-memset.c: Likewise.
3507 * benchtests/bench-rawmemchr.c: Likewise.
3508 * benchtests/bench-strcasecmp.c: Likewise.
3509 * benchtests/bench-strcasestr.c: Likewise.
3510 * benchtests/bench-strcat.c: Likewise.
3511 * benchtests/bench-strchr.c: Likewise.
3512 * benchtests/bench-strcmp.c: Likewise.
3513 * benchtests/bench-strcpy.c: Likewise.
3514 * benchtests/bench-strcpy_chk.c: Likewise.
3515 * benchtests/bench-strlen.c: Likewise.
3516 * benchtests/bench-strncasecmp.c: Likewise.
3517 * benchtests/bench-strncat.c: Likewise.
3518 * benchtests/bench-strncmp.c: Likewise.
3519 * benchtests/bench-strncpy.c: Likewise.
3520 * benchtests/bench-strnlen.c: Likewise.
3521 * benchtests/bench-strpbrk.c: Likewise.
3522 * benchtests/bench-strrchr.c: Likewise.
3523 * benchtests/bench-strspn.c: Likewise.
3524 * benchtests/bench-strstr.c: Likewise.
3525
cae16d66
WN
35262013-09-04 Will Newton <will.newton@linaro.org>
3527
3528 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3529
ffa3cd7f
JM
35302013-09-03 Joseph Myers <joseph@codesourcery.com>
3531
3532 [BZ #15427]
3533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3534 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3535 * math/libm-test.inc (lgamma_test_data): Add more tests.
3536 * sysdeps/i386/fpu/libm-test-ulps: Update.
3537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3538
8f02859f
OB
35392013-09-03 Ondřej Bílka <neleai@seznam.cz>
3540
3541 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3543 Add ifunc.
3544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3545 Add strcmp-sse2-unaligned
3546 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3547
18d43716
MF
35482013-09-02 Mike Frysinger <vapier@gentoo.org>
3549
3550 * Versions.def (libc): Add GLIBC_2.19.
3551
ac444012
MF
35522013-09-02 Mike Frysinger <vapier@gentoo.org>
3553
3554 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3555 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3556
b7835e32
JM
35572013-09-02 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #14155]
3560 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3561 intermediate calculations in recurrence.
3562 (__ieee754_ynf): Likewise.
3563 * math/libm-test.inc (jn_test_data): Do not allow spurious
3564 underflow exception. Add more tests.
3565 (yn_test_data): Add more tests.
3566 * sysdeps/i386/fpu/libm-test-ulps: Update.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
8220f4f0
OB
35692013-09-02 Ondřej Bílka <neleai@seznam.cz>
3570
3571 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3572
f24a6d08
OB
35732013-08-30 Ondřej Bílka <neleai@seznam.cz>
3574
3575 * csu/init-first.c: Fix then/than typos.
3576 * locale/programs/ld-collate.c: Likewise.
3577 * locale/programs/linereader.h: Likewise.
3578 * manual/charset.texi: Likewise.
3579 * manual/filesys.texi: Likewise.
3580 * manual/stdio.texi: Likewise.
3581 * manual/string.texi: Likewise.
3582 * stdlib/fmtmsg.c: Likewise.
3583 * sysdeps/i386/stpncpy.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3587 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3588
382466e0
OB
35892013-08-30 Ondřej Bílka <neleai@seznam.cz>
3590
3591 * elf/dl-open.c: Fix typos.
3592 * iconvdata/gbbig5.c: Likewise.
3593 * iconvdata/iso-2022-jp.c: Likewise.
3594 * iconv/gconv_int.h: Likewise.
3595 * iconv/loop.c: Likewise.
3596 * nis/rpcsvc/nis.h: Likewise.
3597 * resolv/ns_name.c: Likewise.
3598 * stdio-common/vfscanf.c: Likewise.
3599 * streams/stropts.h: Likewise.
3600 * sunrpc/rpc_thread.c: Likewise.
3601 * sysdeps/i386/strpbrk.S: Likewise.
3602 * sysdeps/ieee754/k_standard.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3605 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3606 * sysdeps/mach/hurd/profil.c: Likewise.
3607 * sysdeps/s390/dl-procinfo.h: Likewise.
3608 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3609 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3610 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3611 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3613
0186c6e9
OB
36142013-08-30 Ondřej Bílka <neleai@seznam.cz>
3615
3616 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3618
d4e16af1
OB
36192013-08-29 Ondřej Bílka <neleai@seznam.cz>
3620
3621 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3622 aix specific files.
3623 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3624 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3625 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3631
88335980
TS
36322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3633 Roland McGrath <roland@hack.frob.com>
3634
3635 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3636 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3637
ed479b02
ST
36382013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3639
3640 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3641 __executable_start symbol instead of _start.
3642
f1cc4c86
TS
36432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3644
d821f07c
TS
3645 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3646 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3647 Move macros to...
3648 * sysdeps/gnu/ldsodefs.h: ... this new file.
3649
c54290cf
TS
3650 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3651 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3652 instead of ELFOSABI_LINUX.
3653
0007fc9b 3654 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3655 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3656 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3657 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3658 Likewise.
3659 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3660 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3662 Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3664 (ibm_extended_long_double): Add ieee_nan member.
3665 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3666 (do_test): New function.
3667
f1cc4c86
TS
3668 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3669 TEST_TRUNC.
3670 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3671 functions, renamed from truncdfsf_test, trunctfsf_test,
3672 trunctfdf_test.
3673 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3674 functions.
3675 (do_test): Run all these.
3676
6f65e668
OB
36772013-08-29 Ondřej Bílka <neleai@seznam.cz>
3678
3679 * argp/argp-help.c: Fix typos.
3680 * argp/argp-parse.c: Likewise.
3681 * debug/backtracesyms.c: Likewise.
3682 * elf/elf.h: Likewise.
3683 * malloc/malloc.c: Likewise.
3684 * nis/nis_print.c: Likewise.
3685 * resolv/res_comp.c: Likewise.
3686 * stdlib/stdlib.h: Likewise.
3687 * sunrpc/clnt_tcp.c: Likewise.
3688 * sunrpc/clnt_udp.c: Likewise.
3689 * sunrpc/clnt_unix.c: Likewise.
3690 * sysdeps/unix/bsd/ptsname.c: Likewise.
3691 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3694 Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3696 Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3698 Likewise.
6f65e668
OB
3699 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3700
3a309239
SP
37012013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3702
3703 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3705
3b813b29
MF
37062013-08-27 Mike Frysinger <vapier@gentoo.org>
3707
3708 [BZ #15897]
3709 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3710 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3711 ($(objpfx)bug-dl-leaf): New rule.
3712 ($(objpfx)bug-dl-leaf.so): Likewise.
3713 ($(objpfx)bug-dl-leaf.out): Likewise.
3714 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3715 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3716 * dlfcn/bug-dl-leaf.c: New test.
3717 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3718 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3719 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3720 (dlclose): Likewise.
3721 (dlmopen): Likewise.
3722
8cc3269f
RM
37232013-08-27 Roland McGrath <roland@hack.frob.com>
3724
7f9d0034
RM
3725 * include/netdb.h [!_ISOMAC]:
3726 Don't include <tls.h>.
3727 (h_errno, __libc_h_errno): Move declaration and macros out of
3728 [_LIBC_REENTRANT].
3729
fb431262
RM
3730 * include/resolv.h [_RESOLV_H_]:
3731 Don't include <tls.h>.
3732 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3733 * resolv/res_libc.c: Don't include <tls.h>.
3734 (_res): Use __attribute__ ((nocommon)) in place of
3735 __attribute__ ((section (".bss"))).
3736
bd81123a
RM
3737 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3738 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3739
c4e42566
RM
3740 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3741
f890a59b
RM
3742 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3743 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3744
3745 * resolv/res_mkquery.c: Include <sys/time.h>.
3746
5d1f0a09
RM
3747 * inet/ifreq.c: Moved to ...
3748 * sysdeps/unix/ifreq.c: ... here.
3749 * inet/ifreq.c: New file, true stub version.
3750
6fcf28b3
RM
3751 * socket/sa_len.c: New file.
3752 * socket/Makefile (aux): Add it.
3753 * sysdeps/unix/sysv/linux/Makefile
3754 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3755 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3756 and #include <socket/sa_len.c>.
3757 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3758 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3759
e041fb8b
RM
3760 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3761 * bits/socket.h: ... here.
3762
8cc3269f
RM
3763 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3764 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3765 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3766
5d228a43
AS
37672013-08-27 Andreas Schwab <schwab@suse.de>
3768
45b8accc
AS
3769 [BZ #15736]
3770 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3771 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3772 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3773 * string/test-strcasecmp.c (test_main): Run tests in several
3774 locales.
3775 * string/test-strncasecmp.c (test_main): Likewise.
3776
5d228a43
AS
3777 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3778 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3779 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3781 (__strncasecmp_ssse3) [PIC]: Likewise.
3782
59d112a4
RM
37832013-08-26 Roland McGrath <roland@hack.frob.com>
3784
53234cc3
RM
3785 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3786
59d112a4
RM
3787 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3788 instead of explicitly declaring xdecrypt.
3789 * nis/nss_nis/nis-publickey.c: Likewise.
3790
595aba70
SP
37912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3793 [BZ #15890]
3794 * nscd/aicache.c: Include res_hconf.h.
3795 (addhstaiX): Initialize res_hconf.
3796
ffabd393
AS
37972013-08-26 Andreas Schwab <schwab@suse.de>
3798
3799 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3800 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3801
e0a69f5c
SP
38022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3803
3804 * nscd/aicache.c (addhstaiX): Fix indentation.
3805
8c12f01d
MF
38062013-08-25 Mike Frysinger <vapier@gentoo.org>
3807
3808 * configure.ac: Quote $build_pt_chown test.
3809 * configure: Regenerated.
3810
8fe89494
JM
38112013-08-23 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #15532]
3814 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3815 * math/s_cexpf.c (__cexpf): Likewise.
3816 * math/s_cexpl.c (__cexpl): Likewise.
3817 * math/libm-test.inc (cexp_test_data): Correct expected return
3818 value for NaN + i0. Add another test.
3819
75b181d6
DM
38202013-08-22 David S. Miller <davem@davemloft.net>
3821
3822 * po/ca.po: Update Catalan translation from translation project.
936241e4 3823 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3824
acd06bb1
JM
38252013-08-21 Joseph Myers <joseph@codesourcery.com>
3826
3827 [BZ #15797]
3828 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3829 is infinite, not alongside NaN test.
3830 * math/s_fdimf.c (__fdimf): Likewise.
3831 * math/s_fdiml.c (__fdiml): Likewise.
3832 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3833 errno is unchanged.
3834
c0c3f78a
OB
38352013-08-21 Ondřej Bílka <neleai@seznam.cz>
3836
3837 * argp/argp-help.c: Fix typos.
3838 * crypt/speeds.c: Likewise.
3839 * csu/check_fds.c: Likewise.
3840 * elf/dl-load.c: Likewise.
3841 * elf/dl-open.c: Likewise.
3842 * elf/reldep3.c: Likewise.
3843 * elf/reldep.c: Likewise.
3844 * elf/sprof.c: Likewise.
3845 * iconv/iconv_charmap.c: Likewise.
3846 * iconv/skeleton.c: Likewise.
3847 * iconv/strtab.c: Likewise.
3848 * io/lockf64.c: Likewise.
3849 * libio/libioP.h: Likewise.
3850 * resolv/gai_notify.c: Likewise.
3851 * resolv/ns_name.c: Likewise.
3852 * resolv/ns_samedomain.c: Likewise.
3853 * resolv/res_send.c: Likewise.
3854 * stdlib/random.c: Likewise.
3855 * sunrpc/rpc/xdr.h: Likewise.
3856 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3864 * sysdeps/mach/hurd/check_fds.c: Likewise.
3865 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3866 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3871 * sysdeps/pthread/aio_notify.c: Likewise.
3872 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3873 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3875 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3876 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3877
46ed1038
LD
38782013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3879
3880 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3881 version if bit_Slow_SSE4_2 is set.
3882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3884
d400dcac
AZ
38852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886
3887 [BZ #15867]
3888 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3889 trampoline stack frame information.
3890 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3892 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3893 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3894 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3895 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3896 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3897 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3898 sa_flags value.
3899 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3900 interrupting a syscall and set with option SA_SIGINFO.
3901
42c8fdd8
JM
39022013-08-20 Joseph Myers <joseph@codesourcery.com>
3903
c980f2f4
JM
3904 [BZ #15531]
3905 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3906 argument is infinite.
3907 * math/s_cprojf.c (__cprojf): Likewise.
3908 * math/s_cprojl.c (__cprojl): Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3910 * math/libm-test.inc (cproj_test_data): Add more tests.
3911
0716c4fc
JM
3912 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3913
42c8fdd8
JM
3914 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3915 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3916 size. Use __ffs to determine corresponding shift.
3917
b31469d0
JM
39182013-08-20 Joseph Myers <joseph@codesourcery.com>
3919 Roland McGrath <roland@hack.frob.com>
3920
3921 * Makefile (INSTALL): Remove trailing blank lines from output of
3922 makeinfo.
3923
4e39af6e
AK
39242013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3925
3926 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3927 Align 32 bit compat elf_greg to 8 bytes.
3928
f315524e
AA
39292013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3930
3931 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3932
1326ba1a
SP
39332013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3934
3935 * string/strcoll_l.c (coll_seq): New structure.
3936 (get_next_seq_cached): New function.
3937 (get_next_seq): New function.
3938 (do_compare): New function.
3939 (STRCOLL): Use GNU style definition. Simplify implementation
3940 by using get_next_seq, get_next_seq_cached and do_compare.
3941
91ce4085
FW
39422013-08-16 Florian Weimer <fweimer@redhat.com>
3943
3944 [BZ #14699]
3945 CVE-2013-4237
3946 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3947 member.
3948 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3949 member.
3950 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3951 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3952 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3953 conditional.
3954 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3955 GETDENTS_64BIT_ALIGNED.
3956 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3957 * manual/filesys.texi (Reading/Closing Directory): Document
3958 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3959 strongly.
3960 * manual/conf.texi (Limits for Files): Add portability note to
3961 NAME_MAX, PATH_MAX.
3962 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3963
ca0a6bc4
AS
39642013-08-13 Andreas Schwab <schwab@suse.de>
3965
3966 [BZ #15749]
3967 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3968 of fabs.
3969 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3970 LDBL_MAX_EXP >= 16384]: Add tests for it.
3971
6c1fd795
DM
39722013-08-12 David S. Miller <davem@davemloft.net>
3973
3974 * version.h (RELEASE): Set to "development".
3975 (VERSION): Set to "2.18.90".
3976 * NEWS: Add 2.19 section.
3977
31ad488d
DM
39782013-08-03 David S. Miller <davem@davemloft.net>
3979
3980 * po/ko.po: Update Korean translation from translation project.
3981
db24e684
DM
39822013-08-01 David S. Miller <davem@davemloft.net>
3983
3984 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3985 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3986 Bilka.
3987
f723285b
DM
39882013-07-30 David S. Miller <davem@davemloft.net>
3989
3990 * po/fr.po: Update French translation from translation project.
3991
3cbc52db
DM
39922013-07-28 David S. Miller <davem@davemloft.net>
3993
30bbc0cc
DM
3994 * po/cs.po: Update Czech translation from translation project.
3995
3cbc52db
DM
3996 * po/sv.po: Update Swedish translation from translation project.
3997
d492e6d0
DM
39982013-07-27 David S. Miller <davem@davemloft.net>
3999
f1a7f492
DM
4000 * po/eo.po: Update Esperanto translation from translation project.
4001
90e62a4a
DM
4002 * po/vi.po: Update Vietnamese translation from translation project.
4003
d492e6d0
DM
4004 * po/de.po: Update German translation from translation project.
4005
d4baa62d
DM
40062013-07-26 David S. Miller <davem@davemloft.net>
4007
641aa7b4
DM
4008 * po/bg.po: Update Bulgarian translation from translation project.
4009
d4baa62d
DM
4010 * po/nl.po: Update Dutch translation from translation project.
4011 * po/pl.po: Update Polish translation from translation project.
4012 * po/ru.po: Update Russian translation from translation project.
4013
61a9dcb9
DM
40142013-07-24 David S. Miller <davem@davemloft.net>
4015
4016 * po/libc.pot: Update.
4017
7b1f8b58
AZ
40182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019
4020 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4021 variable page size.
4022 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4024 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4025
a8fc7a03
AK
40262013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4027
4028 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4029
e4608715
CD
40302013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4031 Andreas Schwab <schwab@suse.de>
4032 Roland McGrath <roland@hack.frob.com>
4033 Joseph Myers <joseph@codesourcery.com>
4034 Carlos O'Donell <carlos@redhat.com>
4035
4036 [BZ #15755]
4037 * config.h.in: Define HAVE_PT_CHOWN.
4038 * config.make.in (build-pt-chown): New variable.
4039 * configure.in (--enable-pt_chown): New configure option.
4040 * configure: Regenerate.
4041 * login/Makefile: Include Makeconfig. Build pt_chown only if
4042 build-pt-chown is enabled.
4043 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4044 pt_chown to fix pty ownership.
4045 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4046 CLOSE_ALL_FDS.
4047 * manual/install.texi (Configuring and compiling): Mention
4048 --enable-pt_chown. Add @findex for grantpt.
4049 * INSTALL: Regenerate.
4050
da2d62df
DM
40512013-07-20 David S. Miller <davem@davemloft.net>
4052
4053 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4054 difference between 32-bit and 64-bit.
4055
d7e06450
CD
40562013-07-15 Carlos O'Donell <carlos@redhat.com>
4057
4058 [BZ #15711]
4059 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4060 Avoid system header dependency with -ffreestanding.
4061 ($(objpfx)bits/syscall%d): Likewise.
4062
f959cfd7
DM
40632013-07-13 David S. Miller <davem@davemloft.net>
4064
4065 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4066 underflows from atanl/atan2l due to bug 15319.
4067 (casinh_test_data): Likewise.
4068
c61f8513
DM
40692013-07-07 David S. Miller <davem@davemloft.net>
4070
4071 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4072
72c90ed0
JA
40732013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4074
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4077
52dfbe13
SP
40782013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4079
4080 * configure.in (--enable-lock-elision): Fix message text.
4081 * INSTALL: Regenerate.
4082 * configure: Regenerate.
4083
3f169543
AZ
40842013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085
4086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4087
521c6785
AJ
40882013-07-03 Andreas Jaeger <aj@suse.de>
4089
4090 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4091 define.
4092 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4093 (ptrace_peeksiginfo_args): Add.
4094 (__ptrace_peeksiginfo_flags): Add.
4095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4098
d2cc15cb
AM
40992013-07-03 Allan McRae <allan@archlinux.org>
4100
4101 * sysdeps/i386/fpu/libm-test-ulps: Update.
4102
3aaeeca7
DM
41032013-07-02 David S. Miller <davem@davemloft.net>
4104
4105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4106
5314ed1a
MT
41072013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4108
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4110
67338156
JM
41112013-07-02 Joseph Myers <joseph@codesourcery.com>
4112
4113 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115
1717da59
AK
41162013-07-02 Andi Kleen <ak@linux.intel.com>
4117
4118 * config.h.in (ENABLE_LOCK_ELISION): Add.
4119 * configure.in (--enable-lock-elision): Add option.
4120 * manual/install.texi: Document --enable lock elision.
4121 * configure: Regenerate
4122 * INSTALL: Regenerate.
4123
1c81621c
L
41242013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4125
4126 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4127 SSE4.2 strcasecmp for libc.a.
4128 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4129
77f01ab5
JM
41302013-07-02 Joseph Myers <joseph@codesourcery.com>
4131
4132 [BZ #13304]
4133 * soft-fp/op-common.h (_FP_FMA): New macro.
4134 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4135 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4136 (_FP_MUL_MEAT_1_imm): ... here.
4137 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4138 (_FP_MUL_MEAT_1_wide): ... here.
4139 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4140 (_FP_MUL_MEAT_1_hard): ... here.
4141 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4142 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4143 (_FP_MUL_MEAT_2_wide): ... here.
4144 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4145 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4146 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4147 (_FP_MUL_MEAT_2_gmp): ... here.
4148 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4149 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4150 (_FP_MUL_MEAT_4_wide): ... here.
4151 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4152 (_FP_MUL_MEAT_4_gmp): ... here.
4153 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4154 (_FP_WFRACBITS_DW_S): Likewise.
4155 (_FP_WFRACXBITS_DW_S): Likewise.
4156 (_FP_HIGHBIT_DW_S): Likewise.
4157 (FP_FMA_S): Likewise.
4158 (_FP_FRAC_HIGH_DW_S): Likewise.
4159 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4160 (_FP_WFRACBITS_DW_D): Likewise.
4161 (_FP_WFRACXBITS_DW_D): Likewise.
4162 (_FP_HIGHBIT_DW_D): Likewise.
4163 (FP_FMA_D): Likewise.
4164 (_FP_FRAC_HIGH_DW_D): Likewise.
4165 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4166 (_FP_WFRACBITS_DW_E): Likewise.
4167 (_FP_WFRACXBITS_DW_E): Likewise.
4168 (_FP_HIGHBIT_DW_E): Likewise.
4169 (FP_FMA_E): Likewise.
4170 (_FP_FRAC_HIGH_DW_E): Likewise.
4171 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4172 (_FP_WFRACBITS_DW_Q): Likewise.
4173 (_FP_WFRACXBITS_DW_Q): Likewise.
4174 (_FP_HIGHBIT_DW_Q): Likewise.
4175 (FP_FMA_Q): Likewise.
4176 (_FP_FRAC_HIGH_DW_Q): Likewise.
4177 * soft-fp/fmasf4.c: New file.
4178 * soft-fp/fmadf4.c: Likewise.
4179 * soft-fp/fmatf4.c: Likewise.
4180
6308fd9a
LD
41812013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4182
4183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4184 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4185 Silvermont.
4186 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4187 macro.
4188 (index_Slow_SSE4_2): Likewise.
4189 (index_Prefer_PMINUB_for_stringop): Likewise.
4190 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4191 bit_Slow_SSE4_2 is set.
4192 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4193 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4194
89cd9569
RA
41952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4196
4197 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4198 rtld_global._dl_hwcap2.
4199 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4200 POWER8.
4201 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4202 POWER8 feature descriptions defined in _dl_hwcap2.
4203 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4204 string handling for POWER8 feature bits.
4205 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4206 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4207 _dl_powerpc_cap_flags.
4208 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4209 * sysdeps/powerpc/rtld-global-offsets.sym
4210 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4211 _dl_hwcap2 in the rtld_global_ro structure.
4212
1ae8bfe0
RA
42132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4214
4215 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4216 hardware capabilities in support of AT_HWCAP2.
4217 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4218 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4219 GLRO(dl_hwcap2).
4220 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4221 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4222 explicitly the unknown a_type display mechanism is used.
4223 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4224 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4225 struct member.
4226 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4227 to macro prototype for AT_HWCAP2 support.
4228 * sysdeps/i386/dl-procinfo.h: Likewise.
4229 * sysdeps/s390/dl-procinfo.h: Likewise.
4230 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4231 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4232 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4233 return -1 for unknown a_type display fallback.
4234 * sysdeps/sparc/dl-procinfo.h: Likewise.
4235 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4236 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4237
8fbec010
JM
42382013-06-28 Joseph Myers <joseph@codesourcery.com>
4239
4240 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4241 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4242
0432680e
PY
42432013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4244
4245 [BZ #12492]
4246 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4247 mprotect making __stack_prot writable.
4248
ce61a2ad
NF
42492013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4250 Joseph Myers <joseph@codesourcery.com>
4251
4252 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4253 as being properly aligned.
4254
f91f1c0f
MR
42552013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4256
3d0f5d0c
MR
4257 * dlfcn/modstatic5.c: New file.
4258 * dlfcn/tststatic5.c: New file.
4259 * dlfcn/Makefile (tests): Add tststatic5.
4260 (tests-static): Likewise.
4261 (modules-names): Add modstatic5.
4262 (tststatic5-ENV): New variable.
4263 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4264
f91f1c0f
MR
4265 [BZ #15022]
4266 * elf/dl-support.c (_dl_main_map): New variable.
4267 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4268 (_dl_nns, _dl_load_adds): Set to 1.
4269 (_dl_initial_searchlist): Refer to _dl_main_map.
4270 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4271 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4272 call to _dl_get_origin.
4273 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4274 around call_map.
4275 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4276 * dlfcn/modstatic3.c: New file.
4277 * dlfcn/tststatic3.c: New file.
4278 * dlfcn/tststatic4.c: New file.
4279 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4280 (tests-static): Likewise.
4281 (modules-names): Add modstatic3.
4282 (tststatic3-ENV, tststatic4-ENV): New variables.
4283 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4284 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4285
cbe7d24b
JM
42862013-06-26 Joseph Myers <joseph@codesourcery.com>
4287
4288 * configure.in (CC): Require GCC version 4.4 or later.
4289 * configure: Regenerated.
4290 * manual/install.texi (Tools for Compilation): Update GCC version
4291 requirement.
4292 * INSTALL: Regenerated.
4293
11b8a0e1
LD
42942013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4295
4296 [BZ #15674]
bb5bb87c
L
4297 * string/test-memcmp.c (check2): New.
4298 (main): Call check2.
4299
11b8a0e1
LD
4300 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4301
b0037103
MR
43022013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4303
4304 [BZ #15022]
4305 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4306 over to...
4307 (dl_open_worker) [!SHARED]: ... here.
4308
c18c701d
RA
43092013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4310
4311 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4312
1d17fa5f
RH
43132013-06-25 Richard Henderson <rth@redhat.com>
4314
4315 * locale/programs/locarchive.c: Include <libc-internal.h>
4316
8fcb833a
JM
43172013-06-25 Joseph Myers <joseph@codesourcery.com>
4318
4319 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4320 trailing whitespace removed.
4321
17db6e8d
MF
43222013-06-24 Mike Frysinger <vapier@gentoo.org>
4323
4324 [BZ #10283]
17db6e8d
MF
4325 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4326 * locale/programs/locarchive.c: Include libc-mmap.h.
4327 (prepare_address_space): Take two new outputs (the mmap base and len).
4328 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4329 values.
4330 (create_archive): Declare new mmap base and len values for
4331 prepare_address_space, and store the result in ah.
4332 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4333 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4334 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4335 Declare new mmap base and len values for
4336 prepare_address_space, and store the result in new_ah.
4337 (open_archive): Declare new mmap base and len values for
4338 prepare_address_space, and store the result in ah.
4339 (close_archive): If ah->mmap_base is not NULL, use that and
4340 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4341 * sysdeps/generic/libc-mmap.h: New file.
4342
d605071e
MF
43432013-06-24 Mike Frysinger <vapier@gentoo.org>
4344
4345 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4346 (ALIGN_UP): Likewise.
4347 (PTR_ALIGN_DOWN): Likewise.
4348 (PTR_ALIGN_UP): Likewise.
4349
2f063a6e
RA
43502013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4351
4352 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4353 entry mapped to PPC_PLATFORM_POWER8.
4354 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4355 POWER8.
4356 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4357 (_dl_string_platform): Add case for exporting platform position for
4358 POWER8.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4360 search path to sysdeps/powerpc/powerpc32/power8 directory.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4362 search path to sysdeps/powerpc/powerpc64/power8 directory.
4363 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4364 power7 directories.
4365 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4366 power7 directories.
4367
a31ee4b3
SP
43682013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4369
a74ca98f
SP
4370 * INSTALL: Regenerate.
4371
a31ee4b3
SP
4372 * nscd/connections.c (nscd_init): Fix comment.
4373
695c378f
JM
43742013-06-22 Joseph Myers <joseph@codesourcery.com>
4375
d8412221
JM
4376 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4377
695c378f
JM
4378 [BZ #15667]
4379 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4380 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4381
d1d54715
MR
43822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4383
4384 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4385 DL_DST_REQ_STATIC.
4386 (DL_DST_REQ_STATIC): Remove macro.
4387
8fdda7af
JM
43882013-06-21 Joseph Myers <joseph@codesourcery.com>
4389
4390 [BZ #7006]
4391 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4392 with a shift of 0 bits.
4393
f3bc5e5a
MR
43942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4395
4396 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4397 $(tststatic-ENV).
4398
be09e8c9
KK
43992013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4400
4401 [BZ #15655]
4402 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4403
85c2e611
AZ
44042013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4405
4406 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4407 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4408 accepts -fno-tree-loop-distribute-patterns.
4409 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4410 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4411 recursive call.
4412 * string/memset.c (memset): Likewise.
4413 * string/test-memmove.c (simple_memmove): Disable loop transformation
4414 to library calls.
4415 * string/test-memset.c (simple_memset): Likewise.
4416 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4417 * benchtests/bench-memset.c (simple_memset): Likewise.
4418 * configure: Regenerated.
4419
c91e0825
JM
44202013-06-20 Joseph Myers <joseph@codesourcery.com>
4421
b8c792af
JM
4422 * math/test-misc.c (main): Ignore fesetround failure when failures
4423 of subsequent rounding tests would be ignored.
4424
c91e0825
JM
4425 [BZ #15654]
4426 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4427 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4428 * math/fegetenv.c (__fegetenv): Return 0.
4429 * math/fegetexcept.c (fegetexcept): Return 0.
4430 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4431 FE_TONEAREST.
4432 * math/feholdexcpt.c (feholdexcept): Return 0.
4433 * math/fesetenv.c (__fesetenv): Return 0.
4434 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4435 argument FE_TONEAREST.
4436 * math/feupdateenv.c (__feupdateenv): Return 0.
4437 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4438
bfcacbde
RM
44392013-06-18 Roland McGrath <roland@hack.frob.com>
4440
4441 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4442 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4443 ($(objpfx)rtld-%.os rules): Use them.
4444
e55a9b25
AZ
44452013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446
4447 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4448 fields.
4449
346d65b3
RM
44502013-06-17 Roland McGrath <roland@hack.frob.com>
4451
12086fb4
RM
4452 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4453 length of target pattern, then descending length of dependency pattern.
4454 * configure.in (AWK): Require gawk 3.1.2 or newer.
4455 * manual/install.texi (Tools for Compilation): Say that we do.
4456 * configure: Regenerated.
4457
346d65b3
RM
4458 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4459 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4460 * scripts/sysd-rules.awk: ... this new script.
4461 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4462 than a glob-style pattern.
4463
1a846317
JM
44642013-06-17 Joseph Myers <joseph@codesourcery.com>
4465
4466 * math/test-misc.c (main): Do not treat incorrectly rounded
4467 conversions as failure unless ROUNDING_TESTS passes.
4468
8fc75e6f
JM
44692013-06-15 Joseph Myers <joseph@codesourcery.com>
4470
3711a167
JM
4471 [BZ #15631]
4472 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4473 restore exception state around main square root computation, then
4474 check for inexactness explicitly.
4475
8fc75e6f
JM
4476 * math/libm-test.inc (fma_test_data): Add another test.
4477
61dd6208
SP
44782013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4479
adf23d2c
SP
4480 * manual/threads.texi (Non-POSIX Extensions): New document
4481 node. Document pthread_getattr_default_np and
4482 pthread_setattr_default_np.
4483
61dd6208
SP
4484 * Versions.def (libpthread): Add GLIBC_2.18.
4485 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4487 Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4489 Likewise.
4490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4491 Likewise.
4492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4493 Likewise.
4494 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4495 Likewise.
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4497 Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4499 Likewise.
4500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4503 Likewise.
4504
d086fc7b
LD
45052013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4506
4507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4508 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4509
747ef469
SP
45102013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4511 H.J. Lu <hjl.tools@gmail.com>
4512
4513 [BZ #15627]
4514 * sysdeps/x86_64/rtld-memset.c: Remove file.
4515 * sysdeps/x86_64/rtld-memset.S: New file.
4516
1b2feed2
JM
45172013-06-14 Joseph Myers <joseph@codesourcery.com>
4518
4519 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4520 (test_in_one_mode): Take arguments for whether the rounding mode
4521 is supported for each floating-point type.
4522 (do_test): Pass new arguments to test_in_one_mode using
4523 ROUNDING_TESTS.
4524
a58ad3f8
RM
45252013-06-13 Roland McGrath <roland@hack.frob.com>
4526
4527 * posix/tst-waitid.c (do_test): Distinguish different instances of
4528 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4529 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4530 before entering the kernel for waitpid.
4531
c204ab28
SP
45322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4533
4534 * NEWS: Fix note on clock function precision. Text by Roland
4535 McGrath.
4536
f4a29fba
RM
45372013-06-13 Roland McGrath <roland@hack.frob.com>
4538
4539 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4540 it into place only when and if the sanity check passes.
4541
1f24b9ad
JM
45422013-06-13 Joseph Myers <joseph@codesourcery.com>
4543
4544 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4545 output for whether conversion result is exact. Take argument
4546 indicating whether type is IBM long double.
4547 (round_for_all): Change need_exact field to ibm_ld.
4548 * stdlib/tst-strtod-round.c (struct exactness): New type.
4549 (struct test): Change bool ld_ok field to struct exactness exact.
4550 (TEST): Update all definitions for change to field.
4551 (tests): Regenerate array contents.
4552 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4553 field value. Check for IBM long double here.
4554 (do_test): Update calls to test_in_one_mode.
4555
58206c68
SP
45562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4557
4558 [BZ #12515]
4559 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4560 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4561
2d6f4c5b 45622013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4563
4564 [BZ #15605]
4565 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4566 generated by the compiler on loop optimizations.
4567 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4568 general definitions.
4569
94f2c076
JM
45702013-06-12 Joseph Myers <joseph@codesourcery.com>
4571
4572 * math/bug-nextafter.c: Include <math-tests.h>.
4573 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4574 the relevant type.
4575 * math/bug-nexttoward.c: Include <math-tests.h>.
4576 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4577 the relevant type.
4578 * math/test-misc.c: Include <math-tests.h>.
4579 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4580 the relevant type.
4581
e0e50a0a
AJ
45822013-06-12 Andreas Jaeger <aj@suse.de>
4583
4584 * po/ia.po: Update Interlingua translation from translation
4585 project.
4586
25061094
SP
45872013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4588
4589 * include/fenv.h: Include stdbool.h.
4590 (struct rm_ctx): New structure.
4591 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4592 Define macro.
4593 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4594 (SET_RESTORE_ROUNDF): Likewise.
4595 (SET_RESTORE_ROUNDL): Likewise.
4596 (SET_RESTORE_ROUND_NOEX): Likewise.
4597 (SET_RESTORE_ROUND_NOEXF): Likewise.
4598 (SET_RESTORE_ROUND_NOEXL): Likewise.
4599 (SET_RESTORE_ROUND_53BIT): Likewise.
4600 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4601 (libc_feresetround_noexf_ctx): Likewise.
4602 (libc_feresetround_noexl_ctx): Likewise.
4603 (libc_feholdsetround_53bit_ctx): Likewise.
4604 (libc_feresetround_53bit_ctx): Likewise.
4605 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4606 (libc_feholdexcept_setround_sse_ctx): New function.
4607 (libc_fesetenv_sse_ctx): Likewise.
4608 (libc_feupdateenv_sse_ctx): Likewise.
4609 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4610 (libc_feholdexcept_setround_387_ctx): Likewise.
4611 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4612 (libc_feholdsetround_387_prec_ctx): Likewise.
4613 (libc_feholdsetround_387_ctx): Likewise.
4614 (libc_feholdsetround_387_53bit_ctx): Likewise.
4615 (libc_feholdsetround_sse_ctx): Likewise.
4616 (libc_feresetround_sse_ctx): Likewise.
4617 (libc_feresetround_387_ctx): Likewise.
4618 (libc_feupdateenv_387_ctx): Likewise.
4619 (libc_feholdexcept_setroundf_ctx): Define macro.
4620 (libc_fesetenvf_ctx): Likewise.
4621 (libc_feupdateenvf_ctx): Likewise.
4622 (libc_feholdsetroundf_ctx): Likewise.
4623 (libc_feresetroundf_ctx): Likewise.
4624 (libc_feholdexcept_setround_ctx): Likewise.
4625 (libc_fesetenv_ctx): Likewise.
4626 (libc_feupdateenv_ctx): Likewise.
4627 (libc_feholdsetround_ctx): Likewise.
4628 (libc_feresetround_ctx): Likewise.
4629 (libc_feholdexcept_setroundl_ctx): Likewise.
4630 (libc_feupdateenvl_ctx): Likewise.
4631 (libc_feholdsetroundl_ctx): Likewise.
4632 (libc_feresetroundl_ctx): Likewise.
4633 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4634 (libc_feresetround_53bit_ctx): Likewise.
4635
59b30555
SP
46362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4637
4638 * locale/iso-639.def: Convert to UTF-8.
4639
f1d73d30
JM
46402013-06-11 Joseph Myers <joseph@codesourcery.com>
4641
4642 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4643 (EXCEPTION_TESTS_double): Likewise.
4644 (EXCEPTION_TESTS_long_double): Likewise.
4645 (EXCEPTION_TESTS): Likewise.
4646 * math/libm-test.inc (test_exceptions): Only test exceptions if
4647 EXCEPTION_TESTS (FLOAT).
4648
94aca5e7
SP
46492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 * benchtests/Makefile (string-bench): Add strcpy_chk and
4652 stpcpy_chk.
4653 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4654 * benchtests/bench-stpcpy_chk.c: New file.
4655 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4656 * benchtests/bench-strcpy_chk.c: New file.
4657 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4658 code.
4659 (do_test): Likewise.
4660
fac0c5f2
RA
46612013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4662
4663 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4664 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4665 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4666 with tabs where appropriate.
4667 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4668 dl-procinfo.h.
4669 [PPC_PLATFORM_PPC440]: Likewise.
4670 [PPC_PLATFORM_PPC464]: Likewise.
4671 [PPC_PLATFORM_PPC476]: Likewise.
4672 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4673 ppc464, and ppc476 platform strings merging from ports/
4674 dl-procinfo.h.
4675
f22bc486
AS
46762013-06-11 Andreas Schwab <schwab@suse.de>
4677
4678 [BZ #14991]
4679 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4680 (from_ucs4_idx): Regenerate.
4681 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4682 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4683 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4684 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4685 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4686 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4687 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4688 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4689 from FROM_LOOP and TO_LOOP specific macros.
4690 (BODY): Handle combining characters.
4691 * iconvdata/BIG5HKSCS.irreversible: Update.
4692 * iconvdata/BIG5HKSCS.precomposed: New file.
4693 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4694 characters.
4695 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4696
c1f75dc3
SP
46972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4698
4eacded2
SP
4699 * include/sys/time.h: Fix indentation and add copyright header.
4700
fec799f8
SP
4701 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4702 (do_test): Likewise.
4703 * string/test-memchr.c (do_one_test): Likewise.
4704 (do_test): Likewise.
4705 * string/test-memcmp.c (do_one_test): Likewise.
4706 (do_test): Likewise.
4707 * string/test-memcpy.c (do_one_test): Likewise.
4708 (do_test): Likewise.
4709 * string/test-memmem.c (do_one_test): Likewise.
4710 (do_test): Likewise.
4711 (do_random_tests): Likewise.
4712 * string/test-memmove.c (do_one_test): Likewise.
4713 (do_test): Likewise.
4714 * string/test-memset.c (do_one_test): Likewise.
4715 (do_test): Likewise.
4716 * string/test-rawmemchr.c (do_one_test): Likewise.
4717 (do_test): Likewise.
4718 * string/test-strcasecmp.c (do_one_test): Likewise.
4719 (do_test): Likewise.
4720 * string/test-strcasestr.c (do_one_test): Likewise.
4721 (do_test): Likewise.
4722 * string/test-strcat.c (do_one_test): Likewise.
4723 (do_test): Likewise.
4724 * string/test-strchr.c (do_one_test): Likewise.
4725 (do_test): Likewise.
4726 * string/test-strcmp.c (do_one_test): Likewise.
4727 (do_test): Likewise.
4728 * string/test-strcpy.c (do_one_test): Likewise.
4729 (do_test): Likewise.
4730 * string/test-string.h: Likewise.
4731 (test_init): Likewise.
4732 * string/test-strlen.c (do_one_test): Likewise.
4733 (do_test): Likewise.
4734 * string/test-strncasecmp.c (do_one_test): Likewise.
4735 (do_test): Likewise.
4736 * string/test-strncat.c (do_one_test): Likewise.
4737 (do_test): Likewise.
4738 * string/test-strncmp.c (do_one_test): Likewise.
4739 (do_test_limit): Likewise.
4740 (do_test): Likewise.
4741 * string/test-strncpy.c (do_one_test): Likewise.
4742 (do_test): Likewise.
4743 * string/test-strnlen.c (do_one_test): Likewise.
4744 (do_test): Likewise.
4745 * string/test-strpbrk.c (do_one_test): Likewise.
4746 (do_test): Likewise.
4747 * string/test-strrchr.c (do_one_test): Likewise.
4748 (do_test): Likewise.
4749 * string/test-strspn.c (do_one_test): Likewise.
4750 (do_test): Likewise.
4751 * string/test-strstr.c (do_one_test): Likewise.
4752 (do_test): Likewise.
4753
97020474
SP
4754 * benchtests/Makefile (string-bench): Add string benchmarks.
4755 * benchtests/bench-bcopy-ifunc.c: New file.
4756 * benchtests/bench-bcopy.c: New file.
4757 * benchtests/bench-bzero-ifunc.c: New file.
4758 * benchtests/bench-bzero.c: New file.
4759 * benchtests/bench-memccpy-ifunc.c: New file.
4760 * benchtests/bench-memccpy.c: New file.
4761 * benchtests/bench-memchr-ifunc.c: New file.
4762 * benchtests/bench-memchr.c: New file.
4763 * benchtests/bench-memcmp-ifunc.c: New file.
4764 * benchtests/bench-memcmp.c: New file.
4765 * benchtests/bench-memmem-ifunc.c: New file.
4766 * benchtests/bench-memmem.c: New file.
4767 * benchtests/bench-memmove-ifunc.c: New file.
4768 * benchtests/bench-memmove.c: New file.
4769 * benchtests/bench-mempcpy-ifunc.c: New file.
4770 * benchtests/bench-mempcpy.c: New file.
4771 * benchtests/bench-memset-ifunc.c: New file.
4772 * benchtests/bench-memset.c: New file.
4773 * benchtests/bench-rawmemchr-ifunc.c: New file.
4774 * benchtests/bench-rawmemchr.c: New file.
4775 * benchtests/bench-stpcpy-ifunc.c: New file.
4776 * benchtests/bench-stpcpy.c: New file.
4777 * benchtests/bench-stpncpy-ifunc.c: New file.
4778 * benchtests/bench-stpncpy.c: New file.
4779 * benchtests/bench-strcasecmp-ifunc.c: New file.
4780 * benchtests/bench-strcasecmp.c: New file.
4781 * benchtests/bench-strcasestr-ifunc.c: New file.
4782 * benchtests/bench-strcasestr.c: New file.
4783 * benchtests/bench-strcat-ifunc.c: New file.
4784 * benchtests/bench-strcat.c: New file.
4785 * benchtests/bench-strchr-ifunc.c: New file.
4786 * benchtests/bench-strchr.c: New file.
4787 * benchtests/bench-strchrnul-ifunc.c: New file.
4788 * benchtests/bench-strchrnul.c: New file.
4789 * benchtests/bench-strcmp-ifunc.c: New file.
4790 * benchtests/bench-strcmp.c: New file.
4791 * benchtests/bench-strcpy-ifunc.c: New file.
4792 * benchtests/bench-strcpy.c: New file.
4793 * benchtests/bench-strcspn-ifunc.c: New file.
4794 * benchtests/bench-strcspn.c: New file.
4795 * benchtests/bench-strlen-ifunc.c: New file.
4796 * benchtests/bench-strlen.c: New file.
4797 * benchtests/bench-strncasecmp-ifunc.c: New file.
4798 * benchtests/bench-strncasecmp.c: New file.
4799 * benchtests/bench-strncat-ifunc.c: New file.
4800 * benchtests/bench-strncat.c: New file.
4801 * benchtests/bench-strncmp-ifunc.c: New file.
4802 * benchtests/bench-strncmp.c: New file.
4803 * benchtests/bench-strncpy-ifunc.c: New file.
4804 * benchtests/bench-strncpy.c: New file.
4805 * benchtests/bench-strnlen-ifunc.c: New file.
4806 * benchtests/bench-strnlen.c: New file.
4807 * benchtests/bench-strpbrk-ifunc.c: New file.
4808 * benchtests/bench-strpbrk.c: New file.
4809 * benchtests/bench-strrchr-ifunc.c: New file.
4810 * benchtests/bench-strrchr.c: New file.
4811 * benchtests/bench-strspn-ifunc.c: New file.
4812 * benchtests/bench-strspn.c: New file.
4813 * benchtests/bench-strstr-ifunc.c: New file.
4814 * benchtests/bench-strstr.c: New file.
4815
c1f75dc3
SP
4816 * benchtests/Makefile: Disable parallel execution of targets.
4817 (string-bench): Add memcpy.
4818 (benchset): New variable to store a list of benchmark sets.
4819 (bench-func): Renamed from bench.
4820 (bench-set): New target.
4821 (bench): Depend on bench-func and bench-set.
4822 * benchtests/README: Add section on benchmark sets.
4823 * benchtests/bench-memcpy-ifunc.c: New file.
4824 * benchtests/bench-memcpy.c: New file.
4825 * benchtests/bench-string.h: New file.
4826
50fd745b
AS
48272013-06-11 Andreas Schwab <schwab@suse.de>
4828
4829 [BZ #15577]
4830 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4831 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4832 values in the triple.
4833 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4834 terminator in the group key.
4835
3ee7e9fe
AJ
48362013-06-11 Andreas Jaeger <aj@suse.de>
4837
4838 * po/zh_TW.po: Update Chinese (traditional) translation from
4839 translation project.
4840
89fb6835
SP
48412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4844 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4845 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4847 (clock_getcpuclockid): Likewise.
4848 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4849 Add weak_alias and libc_hidden_def.
4850 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4851 * rt/clock_gettime.c (clock_gettime): Rename to
4852 __clock_gettime. Add weak_alias and libc_hidden_def.
4853 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4854 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4855 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4856 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4857 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4858 Likewise.
4859 * rt/clock_settime.c (clock_settime): Rename to
4860 __clock_settime. Add weak_alias and libc_hidden_def.
4861 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4862
0efa6f8b
JM
48632013-06-10 Joseph Myers <joseph@codesourcery.com>
4864
b8c61b4b
JM
4865 * mach/err_boot.sub: Remove trailing whitespace.
4866 * mach/err_ipc.sub: Likewise.
4867 * mach/err_mach.sub: Likewise.
4868
0efa6f8b
JM
4869 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4870 (ROUNDING_TESTS_double): Likewise.
4871 (ROUNDING_TESTS_long_double): Likewise.
4872 (ROUNDING_TESTS): Likewise.
4873 * math/libm-test.inc: Include <math-tests.h>.
4874 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4875 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4876 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4877 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4878
50b818bf
SP
48792013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4880
4881 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4882 of assigning.
4883
60d2f8f3
JM
48842013-06-08 Joseph Myers <joseph@codesourcery.com>
4885
4902d2c3
JM
4886 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4887 otherwise empty TRANS lines.
4888 * sysdeps/gnu/errlist.c: Regenerated.
4889
60d2f8f3
JM
4890 * catgets/gencat.c (error_print): Use (void) in function
4891 definition.
4892 * crypt/crypt_util.c (__init_des): Likewise.
4893 * crypt/speeds.c (Stop): Likewise.
4894 (main): Likewise.
4895 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4896 * inet/ruserpass.c (token): Likewise.
4897 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4898 * intl/localealias.c (extend_alias_table): Likewise.
4899 * intl/plural-exp.c (init_germanic_plural): Likewise.
4900 * libio/fcloseall.c (__fcloseall): Likewise.
4901 * libio/genops.c (_IO_flush_all): Likewise.
4902 (_IO_flush_all_linebuffered): Likewise.
4903 (_IO_cleanup): Likewise.
4904 (_IO_iter_begin): Likewise.
4905 (_IO_iter_end): Likewise.
4906 (_IO_list_lock): Likewise.
4907 (_IO_list_unlock): Likewise.
4908 (_IO_list_resetlock): Likewise.
4909 * libio/getchar.c (getchar): Likewise.
4910 * libio/getchar_u.c (getchar_unlocked): Likewise.
4911 * libio/getwchar.c (getwchar): Likewise.
4912 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4913 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4914 * login/getpt.c (__getpt): Likewise.
4915 * login/tst-utmp.c (main): Likewise.
4916 * malloc/hooks.c (__malloc_check_init): Likewise.
4917 * malloc/malloc.c (__malloc_stats): Likewise.
4918 * malloc/mtrace.c (tr_break): Likewise.
4919 (mtrace): Likewise.
4920 (muntrace): Likewise.
4921 * misc/fstab.c (endfsent): Likewise.
4922 * misc/getclktck.c (__getclktck): Likewise.
4923 * misc/getdtsz.c (__getdtablesize): Likewise.
4924 * misc/gethostid.c (gethostid): Likewise.
4925 * misc/getpagesize.c (__getpagesize): Likewise.
4926 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4927 (__get_nprocs): Likewise.
4928 (__get_phys_pages): Likewise.
4929 (__get_avphys_pages): Likewise.
4930 * misc/getttyent.c (getttyent): Likewise.
4931 (setttyent): Likewise.
4932 (endttyent): Likewise.
4933 * misc/getusershell.c (getusershell): Likewise.
4934 (endusershell): Likewise.
4935 (setusershell): Likewise.
4936 (initshells): Likewise.
4937 * misc/hsearch.c (__hdestroy): Likewise.
4938 * misc/sync.c (sync): Likewise.
4939 * misc/syslog.c (closelog_internal): Likewise.
4940 (closelog): Likewise.
4941 * misc/ttyslot.c (ttyslot): Likewise.
4942 * misc/vhangup.c (vhangup): Likewise.
4943 * posix/fork.c (__fork): Likewise.
4944 * posix/getegid.c (__getegid): Likewise.
4945 * posix/geteuid.c (__geteuid): Likewise.
4946 * posix/getgid.c (__getgid): Likewise.
4947 * posix/getpid.c (__getpid): Likewise.
4948 * posix/getppid.c (__getppid): Likewise.
4949 * posix/getuid.c (__getuid): Likewise.
4950 * posix/pause.c (pause): Likewise.
4951 * posix/setpgrp.c (setpgrp): Likewise.
4952 * posix/setsid.c (__setsid): Likewise.
4953 * posix/test-vfork.c (noop): Likewise.
4954 * resolv/gethnamaddr.c (_endhtent): Likewise.
4955 (_gethtent): Likewise.
4956 (ht_endhostent): Likewise.
4957 (gethostent): Likewise.
4958 (dns_service): Likewise.
4959 * stdlib/drand48.c (drand48): Likewise.
4960 * stdlib/lrand48.c (lrand48): Likewise.
4961 * stdlib/mrand48.c (mrand48): Likewise.
4962 * stdlib/rand.c (rand): Likewise.
4963 * stdlib/random.c (__random): Likewise.
4964 * stdlib/setenv.c (clearenv): Likewise.
4965 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4966 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4967 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4968 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4969 (__get_nprocs): Likewise.
4970 (__get_phys_pages): Likewise.
4971 (__get_avphys_pages): Likewise.
4972 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4973 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4974 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4975 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4976 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4977 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4978 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4979 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4980 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4981 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4982 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4983 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4984 * sysdeps/posix/clock.c (clock): Likewise.
4985 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4986 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4987 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4988 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4989 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4991 (__get_nprocs_conf): Likewise.
4992 (__get_phys_pages): Likewise.
4993 (__get_avphys_pages): Likewise.
4994 * time/clock.c (clock): Likewise.
4995 * time/tzset.c (__tzname_max): Likewise.
4996
2e09a79a
JM
49972013-06-07 Joseph Myers <joseph@codesourcery.com>
4998
4999 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5000 (__bswap_32): Do not use "register".
5001 * crypt/crypt.c (_ufc_doit_r): Likewise.
5002 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5003 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5004 * gmon/gmon.c (__monstartup): Likewise.
5005 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5006 * hurd/hurdmalloc.c (more_memory): Likewise.
5007 (malloc): Likewise.
5008 (free): Likewise.
5009 (realloc): Likewise.
5010 (malloc_fork_prepare): Likewise.
5011 (malloc_fork_parent): Likewise.
5012 (malloc_fork_child): Likewise.
5013 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5014 (_svcauth_des): Likewise.
5015 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5016 * inet/inet_net.c (inet_network): Likewise.
5017 * inet/inet_netof.c (inet_netof): Likewise.
5018 * inet/rcmd.c (__validuser2_sa): Likewise.
5019 * io/fts.c (fts_open): Likewise.
5020 (fts_load): Likewise.
5021 (fts_close): Likewise.
5022 (fts_read): Likewise.
5023 (fts_children): Likewise.
5024 (fts_build): Likewise.
5025 (fts_stat): Likewise.
5026 (fts_sort): Likewise.
5027 (fts_alloc): Likewise.
5028 (fts_lfree): Likewise.
5029 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5030 (_IO_file_xsgetn): Likewise.
5031 (_IO_file_xsgetn_mmap): Likewise.
5032 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5033 (_IO_cookie_write): Likewise.
5034 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5035 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5036 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5037 * malloc/obstack.c (_obstack_begin): Likewise.
5038 (_obstack_begin_1): Likewise.
5039 (_obstack_newchunk): Likewise.
5040 (_obstack_allocated_p): Likewise.
5041 (obstack_free): Likewise.
5042 (_obstack_memory_used): Likewise.
5043 * misc/getttyent.c (getttynam): Likewise.
5044 (getttyent): Likewise.
5045 (skip): Likewise.
5046 (value): Likewise.
5047 * misc/getusershell.c (initshells): Likewise.
5048 * misc/syslog.c (__vsyslog_chk): Likewise.
5049 * misc/ttyslot.c (ttyslot): Likewise.
5050 * nis/nis_hash.c (__nis_hash): Likewise.
5051 * posix/fnmatch_loop.c (FCT): Likewise.
5052 * posix/getconf.c (print_all): Likewise.
5053 (main): Likewise.
5054 * posix/getopt.c (exchange): Likewise.
5055 * posix/glob.c (globfree): Likewise.
5056 (prefix_array): Likewise.
5057 (__glob_pattern_type): Likewise.
5058 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5059 (NS_GET32): Likewise.
5060 (NS_PUT16): Likewise.
5061 (NS_PUT32): Likewise.
5062 * resolv/gethnamaddr.c (getanswer): Likewise.
5063 (gethostbyname2): Likewise.
5064 (gethostbyaddr): Likewise.
5065 (_gethtent): Likewise.
5066 (_gethtbyname2): Likewise.
5067 (_gethtbyaddr): Likewise.
5068 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5069 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5070 * resolv/res_init.c (__res_vinit): Likewise.
5071 (net_mask): Likewise.
5072 * resolv/res_mkquery.c (outchar): Likewise.
5073 (PRINT): Likewise.
5074 * stdio-common/printf_fp.c (outchar): Likewise.
5075 (PRINT): Likewise.
5076 * stdio-common/printf_fphex.c (outchar): Likewise.
5077 (PRINT): Likewise.
5078 * stdio-common/printf_size.c (outchar): Likewise.
5079 (PRINT): Likewise.
5080 * stdio-common/test_rdwr.c (main): Likewise.
5081 * stdio-common/tfformat.c (matches): Likewise.
5082 * stdio-common/vfprintf.c (outchar): Likewise.
5083 (printf_unknown): Likewise.
5084 (buffered_vfprintf): Likewise.
5085 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5086 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5087 (ReadFile): Likewise.
5088 * stdlib/qsort.c (SWAP): Likewise.
5089 (_quicksort): Likewise.
5090 * stdlib/setenv.c (__add_to_environ): Likewise.
5091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5092 * stdlib/strtol_l.c (__strtol_l): Likewise.
5093 * stdlib/tst-strtod.c (main): Likewise.
5094 * stdlib/tst-strtol.c (main): Likewise.
5095 * stdlib/tst-strtoll.c (main): Likewise.
5096 * string/bits/string2.h (__strcmp_cc): Likewise.
5097 (__strcmp_cg): Likewise.
5098 (__strcspn_c1): Likewise.
5099 (__strcspn_c2): Likewise.
5100 (__strcspn_c3): Likewise.
5101 (__strspn_c1): Likewise.
5102 (__strspn_c2): Likewise.
5103 (__strspn_c3): Likewise.
5104 (__strsep_1c): Likewise.
5105 (__strsep_2c): Likewise.
5106 (__strsep_3c): Likewise.
5107 * string/memccpy.c (__memccpy): Likewise.
5108 * string/stpcpy.c (__stpcpy): Likewise.
5109 * string/strcmp.c (strcmp): Likewise.
5110 * string/strrchr.c (strrchr): Likewise.
5111 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5112 Likewise.
5113 * sysdeps/mach/hurd/getcwd.c
5114 (_hurd_canonicalize_directory_name_internal): Likewise.
5115 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5116 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5117 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5118 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5119 Likewise, in both definitions.
5120 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5121 definitions.
5122 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5123 64] (__bswap_64): Likewise.
5124 * time/test_time.c (main): Likewise.
5125 * time/tzfile.c (__tzfile_read): Likewise.
5126 (__tzfile_compute): Likewise.
5127 * time/tzset.c (__tzset_parse_tz): Likewise.
5128 (tzset_internal): Likewise.
5129 (compute_change): Likewise.
5130 * wcsmbs/wcscat.c (__wcscat): Likewise.
5131 * wcsmbs/wcschr.c (wcschr): Likewise.
5132 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5133 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5134 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5135 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5136 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5137 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5138 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5139 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5140 * wcsmbs/wmemset.c (wmemset): Likewise.
5141
9e54314b
JM
51422013-06-06 Joseph Myers <joseph@codesourcery.com>
5143
5144 * scripts/config.guess: Update to version 2013-05-16.
5145 * scripts/config.sub: Update to version 2013-04-24.
5146 * scripts/install-sh: Update to version 2011-11-20.07.
5147 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5148 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5149
350635a5
OB
51502013-06-06 Ondřej Bílka <neleai@seznam.cz>
5151
5152 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5153 * elf/sln.c: Likewise.
5154 * hurd/hurd/ioctl.h: Likewise.
5155 * hurd/hurdmalloc.c: Likewise.
5156 * hurd/xattr.c: Likewise.
5157 * include/shlib-compat.h: Likewise.
5158 * inet/ruserpass.c: Likewise.
5159 * libio/iofgets_u.c: Likewise.
5160 * libio/iofgetws_u.c: Likewise.
5161 * locale/programs/ld-identification.c: Likewise.
5162 * locale/programs/ld-time.c: Likewise.
5163 * mach/msg-destroy.c: Likewise.
5164 * nss/nss_files/files-netgrp.c: Likewise.
5165 * resolv/res_data.c: Likewise.
5166 * soft-fp/op-1.h: Likewise.
5167 * soft-fp/op-2.h: Likewise.
5168 * soft-fp/op-4.h: Likewise.
5169 * soft-fp/op-common.h: Likewise.
5170 * stdio-common/printf_fphex.c: Likewise.
5171 * stdlib/strtod_l.c: Likewise.
5172 * sunrpc/rpc/clnt.h: Likewise.
5173 * sysdeps/generic/framestate.c: Likewise.
5174 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5175 * sysdeps/i386/bsd-setjmp.S: Likewise.
5176 * sysdeps/i386/__longjmp.S: Likewise.
5177 * sysdeps/i386/setjmp.S: Likewise.
5178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5179 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5196 * sysdeps/ieee754/support.c: Likewise.
5197 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5198 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5199 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5200 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5201 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5202 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5203 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5204 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5205 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5206 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5207 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5208 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5209 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5210 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5211 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5212 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5213 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5215
44a988af
OB
52162013-06-05 Ondřej Bílka <neleai@seznam.cz>
5217
25506f09 5218 * posix/transbug.c: Remove executable mode.
44a988af 5219
9c84384c
JM
52202013-06-05 Joseph Myers <joseph@codesourcery.com>
5221
5222 * crypt/speeds.c: Remove trailing whitespace.
5223 * dlfcn/default.c: Likewise.
5224 * elf/ifuncdep2.c: Likewise.
5225 * elf/ifuncmain1.c: Likewise.
5226 * elf/ifuncmain1vis.c: Likewise.
5227 * elf/testobj.h: Likewise.
5228 * elf/tst-stackguard1.c: Likewise.
5229 * gmon/sys/gmon.h: Likewise.
5230 * hurd/hurdmsg.c: Likewise.
5231 * hurd/new-fd.c: Likewise.
5232 * hurd/ports-get.c: Likewise.
5233 * iconvdata/ibm1008_420.c: Likewise.
5234 * inet/tst-getni1.c: Likewise.
5235 * inet/tst-getni2.c: Likewise.
5236 * libio/ioungetc.c: Likewise.
5237 * libio/wfiledoalloc.c: Likewise.
5238 * manual/libm-err-tab.pl: Likewise.
5239 * math/w_dremf.c: Likewise.
5240 * misc/ftruncate.c: Likewise.
5241 * posix/bug-glob2.c: Likewise.
5242 * posix/tst-pcre.c: Likewise.
5243 * posix/wait4.c: Likewise.
5244 * resolv/README: Likewise.
5245 * resolv/res_debug.h: Likewise.
5246 * resolv/tst-inet_ntop.c: Likewise.
5247 * setjmp/bug269-setjmp.c: Likewise.
5248 * soft-fp/extended.h: Likewise.
5249 * soft-fp/op-1.h: Likewise.
5250 * soft-fp/op-2.h: Likewise.
5251 * soft-fp/op-4.h: Likewise.
5252 * soft-fp/op-8.h: Likewise.
5253 * soft-fp/testit.c: Likewise.
5254 * stdio-common/bug16.c: Likewise.
5255 * stdlib/random.c: Likewise.
5256 * sunrpc/rpcsvc/rquota.x: Likewise.
5257 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5262 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5264 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5265 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5266 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5267 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5286 * sysdeps/ieee754/s_lib_version.c: Likewise.
5287 * sysdeps/mach/hurd/check_fds.c: Likewise.
5288 * sysdeps/mach/hurd/getsockname.c: Likewise.
5289 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5290 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5291 * sysdeps/powerpc/bits/link.h: Likewise.
5292 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5293 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5294 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5295 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5296 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5297 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5298 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5299 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5300 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5305 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5307 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5311 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5316 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5317 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5325 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5326 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5332 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5333 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5336 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5337 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5338 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5339 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5340 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5341 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5344 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5345 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5348 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5349 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5351 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5353 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5356 * sysdeps/powerpc/sysdep.h: Likewise.
5357 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5358 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5359 * sysdeps/sh/dl-trampoline.S: Likewise.
5360 * sysdeps/sh/memset.S: Likewise.
5361 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5362 * sysdeps/sh/strlen.S: Likewise.
5363 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5364 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5365 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5366 * sysdeps/sparc/sparc32/rem.S: Likewise.
5367 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5368 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5369 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5370 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5371 * sysdeps/sparc/sparc32/urem.S: Likewise.
5372 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5373 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5374 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5375 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5376 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5377 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5378 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5379 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5380 * sysdeps/unix/bsd/times.c: Likewise.
5381 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5382 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5386 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5387 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5388 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5390 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5391 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5393 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5396 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5399 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5400 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5401 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5402 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5403 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5404 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5405 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5406 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5407 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5409 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5410 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5411 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5412 * sysdeps/x86_64/strcspn.S: Likewise.
5413
869378a5
RA
54142013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5415
5416 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5417 generated file. Regenerate properly from gen-translit.pl.
5418 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5419 locale/C-translit.h.
5420
840e2943
AS
54212013-06-05 Andreas Schwab <schwab@suse.de>
5422
5423 [BZ #15100]
5424 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5425 week as 6 instead of -1.
5426 * time/tst-strptime.c (day_tests): Add test case.
5427
4c60cb0c
SP
54282013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5429
5430 * sysdeps/generic/math_private.h
5431 (libc_feholdexcept_setround_53bit): Replace with
5432 libc_feholdsetround_53bit.
5433 (libc_feupdateenv_53bit): Replace with
5434 libc_feresetround_53bit.
5435 (SET_RESTORE_ROUND_53BIT): Adjust.
5436
d180203e
SP
54372013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5438
96df079a
SP
5439 * string/test-strchrnul.c: Add copyright header.
5440
d180203e
SP
5441 * posix/tst-getaddrinfo4.c: Increase test timeout.
5442
8b0ccb2d
CD
54432013-06-03 Carlos O'Donell <carlos@redhat.com>
5444
5445 [BZ #15536]
5446 * math/libm-test.inc (MAX_EXP): Remove
5447 (MIN_EXP): Define.
5448 (ulp): Use MIN_EXP - MANT_DIG.
5449 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5450
3b3c4d40
CD
54512013-05-31 Carlos O'Donell <carlos@redhat.com>
5452
5453 * po/be.po: Revert last change.
5454 * po/zh_CN.po: Likewise.
5455 * po/header.pot: Likewise.
5456
fab7ce3f
JM
54572013-05-31 Joseph Myers <joseph@codesourcery.com>
5458
5459 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5460 link-libc-deps to empty as target-specific variable.
5461 * Makerules (link-libc-args): New variable.
5462 (libc-for-link): Likewise.
5463 (link-libc-deps): Likewise.
5464 (lib%.so): Depend on $(link-libc-deps). Link with
5465 $(link-libc-args).
5466 (build-module): Link with $(link-libc-args).
5467 (build-module-asneeded): Likewise.
5468 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5469 list of objects.
5470 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5471 target-specific variable.
5472 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5473 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5474 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5475 libc.
5476 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5477 libc and ld.so.
5478 ($(objpfx)libpcprofile.so): Likewise.
5479 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5480 libc_nonshared.a.
5481 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5482 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5483 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5484 $(link-libc-deps).
5485 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5486 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5487 * login/Makefile ($(objpfx)libutil.so): Likewise.
5488 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5489 * math/Makefile ($(objpfx)libm.so): Likewise.
5490 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5491 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5492 variable instead of depending directly on libc.
5493 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5494 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5495 $(link-libc-deps).
5496 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5497 libc.
5498 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5499 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5500 ($(objpfx)libanl.so): Likewise.
5501 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5502 ld.so.
5503 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5504 $(link-libc-deps).
5505 * sysdeps/i386/fpu/Makefile: Remove file.
5506 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5507 ($(objpfx)libm.so): Remove dependency on ld.so.
5508
eca5920c
PF
55092013-05-30 Patsy Franklin <pfrankli@redhat.com>
5510
5511 [BZ # 15553]
5512 * nis/yp_xdr.c (XDRMAXNAME): Define.
5513 (XDRMAXRECORD): Define.
5514 (xdr_domainname): Use XDRMAXNAME.
5515 (xdr_mapname): Likewise.
5516 (xdr_peername): Likewise.
5517 (xdr_keydat): Use XDRMAXRECORD.
5518 (xdr_valdat): Likewise.
5519
55202013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5521
5522 [BZ #14256]
5523 * manual/errno.texi (ESTALE): Update to account for more than
5524 just NFS file systems.
5525 * sysdeps/gnu/errlist.c: Regenerated.
5526
b9375348
SP
55272013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5528
5529 [BZ #15465]
5530 * elf/Makefile (tests): Add tst-null-argv.
5531 (modules-names): Add tst-null-argv-lib.
5532 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5533 (tst-null-argv-ENV): Set environment for tst-null-argv.
5534 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5535 (RTLD_PROGNAME): New macro.
5536 * elf/tst-null-argv.c: New test case.
5537 * elf/tst-null-argv-lib.c: Library for test case.
5538 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5539 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5540 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5541 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5542 * elf/dl-init.c (call_init): Likewise.
5543 (_dl_init): Likewise.
5544 * elf/dl-load.c (print_search_path): Likewise.
5545 (_dl_map_object): Likewise.
5546 * elf/dl-lookup.c (do_lookup_x): Likewise.
5547 (add_dependency): Likewise.
5548 (_dl_lookup_symbol_x): Likewise.
5549 (_dl_debug_bindings): Likewise.
5550 * elf/dl-open.c (_dl_show_scope): Likewise.
5551 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5552 * elf/dl-version.c (match_symbol): Likewise.
5553 (_dl_check_map_versions): Likewise.
5554 * elf/rtld.c (dl_main): Likewise.
5555 (print_unresolved): Use RTLD_PROGNAME.
5556 (print_missing_version): Likewise.
5557 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5558 (elf_machine_rela): Likewise.
5559 * sysdeps/powerpc/powerpc32/dl-machine.c
5560 (__process_machine_rela): Likewise.
5561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5562 Likewise.
5563 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5564 Likewise.
5565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5566 Likewise.
5567 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5569 Likewise.
5570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5571 Likewise.
5572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5573
8a9f20c8
CD
55742013-05-28 Carlos O'Donell <carlos@redhat.com>
5575
5576 * po/be.po: Add descriptive title.
5577 * po/zh_CN.po: Likewise.
5578 * po/header.pot: Likewise.
5579
0e60d68e
MF
55802013-05-28 Mike Frysinger <vapier@gentoo.org>
5581
5582 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5583 error message.
5584 (enlarge_archive): Likewise.
5585
56b672e9
BN
55862013-05-28 Ben North <ben@redfrontdoor.org>
5587
5588 * manual/arith.texi (frexp): It is the magnitude of the return
5589 value which lies in [0.5, 1), not the return value itself.
5590
5e056687
AZ
55912013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5592
5593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5594
2b66ef5d
TS
55952013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5596
528c2405
TS
5597 * stdio-common/bug26.c (main): Correct fscanf template.
5598
07b4c13d
TS
5599 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5600 declare _dl_skip_args.
5601
ec9dd97c
TS
5602 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5603 Don't declare.
5604
2b66ef5d
TS
5605 * manual/platform.texi: Add missing @end deftypefun.
5606
4f8dfe27
JM
56072013-05-24 Joseph Myers <joseph@codesourcery.com>
5608
0323d086
JM
5609 [BZ #15529]
5610 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5611 bit of mantissa of 2^16382.
5612 * math/libm-test.inc (hypot_test_data): Add more tests.
5613
dd4259b9
JM
5614 * math/libm-test.inc: Add drem and pow10 to list of tested
5615 functions.
5616 (pow10_test): New function.
5617 (drem_test): Likewise.
5618 (drem_test_tonearest): Likewise.
5619 (drem_test_towardzero): Likewise.
5620 (drem_test_downward): Likewise.
5621 (drem_test_upward): Likewise.
5622 (main): Call the new functions.
5623
4f8dfe27
JM
5624 * math/libm-test.inc (finite_test_data): Remove.
5625 (finite_test): Run tests from isfinite_test_data.
5626 (gamma_test_data): Remove.
5627 (gamma_test): Run tests from lgamma_test_data.
5628 * sysdeps/i386/fpu/libm-test-ulps: Update.
5629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5630
d116b7c4
AZ
56312013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * manual/platform.texi: Add PowerPC PPR function set documentation.
5634 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5635 implementation.
5636
e96e3767
CD
56372013-05-24 Carlos O'Donell <carlos@redhat.com>
5638
5639 * math/libm-test.inc (MAX_EXP): Define.
5640 (ULPDIFF): Define.
5641 (ulp): New function.
5642 (check_float_internal): Use ULPDIFF.
5643 (cpow_test): Disable failing test.
5644 (check_ulp): Test ulp() implemetnation.
5645 (main): Call check_ulp before starting tests.
5646
b679a606
JM
56472013-05-24 Joseph Myers <joseph@codesourcery.com>
5648
e8bdba36
JM
5649 * math/gen-libm-test.pl (generate_testfile): Do not handle
5650 START_DATA and END_DATA.
5651 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5652 END_DATA.
5653 (acos_tonearest_test_data): Likewise.
5654 (acos_towardzero_test_data): Likewise.
5655 (acos_downward_test_data): Likewise.
5656 (acos_upward_test_data): Likewise.
5657 (acosh_test_data): Likewise.
5658 (asin_test_data): Likewise.
5659 (asin_tonearest_test_data): Likewise.
5660 (asin_towardzero_test_data): Likewise.
5661 (asin_downward_test_data): Likewise.
5662 (asin_upward_test_data): Likewise.
5663 (asinh_test_data): Likewise.
5664 (atan_test_data): Likewise.
5665 (atanh_test_data): Likewise.
5666 (atan2_test_data): Likewise.
5667 (cabs_test_data): Likewise.
5668 (cacos_test_data): Likewise.
5669 (cacosh_test_data): Likewise.
5670 (carg_test_data): Likewise.
5671 (casin_test_data): Likewise.
5672 (casinh_test_data): Likewise.
5673 (catan_test_data): Likewise.
5674 (catanh_test_data): Likewise.
5675 (cbrt_test_data): Likewise.
5676 (ccos_test_data): Likewise.
5677 (ccosh_test_data): Likewise.
5678 (ceil_test_data): Likewise.
5679 (cexp_test_data): Likewise.
5680 (cimag_test_data): Likewise.
5681 (clog_test_data): Likewise.
5682 (clog10_test_data): Likewise.
5683 (conj_test_data): Likewise.
5684 (copysign_test_data): Likewise.
5685 (cos_test_data): Likewise.
5686 (cos_tonearest_test_data): Likewise.
5687 (cos_towardzero_test_data): Likewise.
5688 (cos_downward_test_data): Likewise.
5689 (cos_upward_test_data): Likewise.
5690 (cosh_test_data): Likewise.
5691 (cosh_tonearest_test_data): Likewise.
5692 (cosh_towardzero_test_data): Likewise.
5693 (cosh_downward_test_data): Likewise.
5694 (cosh_upward_test_data): Likewise.
5695 (cpow_test_data): Likewise.
5696 (cproj_test_data): Likewise.
5697 (creal_test_data): Likewise.
5698 (csin_test_data): Likewise.
5699 (csinh_test_data): Likewise.
5700 (csqrt_test_data): Likewise.
5701 (ctan_test_data): Likewise.
5702 (ctan_tonearest_test_data): Likewise.
5703 (ctan_towardzero_test_data): Likewise.
5704 (ctan_downward_test_data): Likewise.
5705 (ctan_upward_test_data): Likewise.
5706 (ctanh_test_data): Likewise.
5707 (ctanh_tonearest_test_data): Likewise.
5708 (ctanh_towardzero_test_data): Likewise.
5709 (ctanh_downward_test_data): Likewise.
5710 (ctanh_upward_test_data): Likewise.
5711 (erf_test_data): Likewise.
5712 (erfc_test_data): Likewise.
5713 (exp_test_data): Likewise.
5714 (exp_tonearest_test_data): Likewise.
5715 (exp_towardzero_test_data): Likewise.
5716 (exp_downward_test_data): Likewise.
5717 (exp_upward_test_data): Likewise.
5718 (exp10_test_data): Likewise.
5719 (exp2_test_data): Likewise.
5720 (expm1_test_data): Likewise.
5721 (fabs_test_data): Likewise.
5722 (fdim_test_data): Likewise.
5723 (finite_test_data): Likewise.
5724 (floor_test_data): Likewise.
5725 (fma_test_data): Likewise.
5726 (fma_towardzero_test_data): Likewise.
5727 (fma_downward_test_data): Likewise.
5728 (fma_upward_test_data): Likewise.
5729 (fmax_test_data): Likewise.
5730 (fmin_test_data): Likewise.
5731 (fmod_test_data): Likewise.
5732 (fpclassify_test_data): Likewise.
5733 (frexp_test_data): Likewise.
5734 (gamma_test_data): Likewise.
5735 (hypot_test_data): Likewise.
5736 (ilogb_test_data): Likewise.
5737 (isfinite_test_data): Likewise.
5738 (isgreater_test_data): Likewise.
5739 (isgreaterequal_test_data): Likewise.
5740 (isinf_test_data): Likewise.
5741 (isless_test_data): Likewise.
5742 (islessequal_test_data): Likewise.
5743 (islessgreater_test_data): Likewise.
5744 (isnan_test_data): Likewise.
5745 (isnormal_test_data): Likewise.
5746 (issignaling_test_data): Likewise.
5747 (isunordered_test_data): Likewise.
5748 (j0_test_data): Likewise.
5749 (j1_test_data): Likewise.
5750 (jn_test_data): Likewise.
5751 (ldexp_test_data): Likewise.
5752 (lgamma_test_data): Likewise.
5753 (lrint_test_data): Likewise.
5754 (lrint_tonearest_test_data): Likewise.
5755 (lrint_towardzero_test_data): Likewise.
5756 (lrint_downward_test_data): Likewise.
5757 (lrint_upward_test_data): Likewise.
5758 (llrint_test_data): Likewise.
5759 (llrint_tonearest_test_data): Likewise.
5760 (llrint_towardzero_test_data): Likewise.
5761 (llrint_downward_test_data): Likewise.
5762 (llrint_upward_test_data): Likewise.
5763 (log_test_data): Likewise.
5764 (log10_test_data): Likewise.
5765 (log1p_test_data): Likewise.
5766 (log2_test_data): Likewise.
5767 (logb_test_data): Likewise.
5768 (logb_downward_test_data): Likewise.
5769 (lround_test_data): Likewise.
5770 (llround_test_data): Likewise.
5771 (modf_test_data): Likewise.
5772 (nearbyint_test_data): Likewise.
5773 (nextafter_test_data): Likewise.
5774 (nexttoward_test_data): Likewise.
5775 (pow_test_data): Likewise.
5776 (pow_tonearest_test_data): Likewise.
5777 (pow_towardzero_test_data): Likewise.
5778 (pow_downward_test_data): Likewise.
5779 (pow_upward_test_data): Likewise.
5780 (remainder_test_data): Likewise.
5781 (remainder_tonearest_test_data): Likewise.
5782 (remainder_towardzero_test_data): Likewise.
5783 (remainder_downward_test_data): Likewise.
5784 (remainder_upward_test_data): Likewise.
5785 (remquo_test_data): Likewise.
5786 (rint_test_data): Likewise.
5787 (rint_tonearest_test_data): Likewise.
5788 (rint_towardzero_test_data): Likewise.
5789 (rint_downward_test_data): Likewise.
5790 (rint_upward_test_data): Likewise.
5791 (round_test_data): Likewise.
5792 (scalb_test_data): Likewise.
5793 (scalbn_test_data): Likewise.
5794 (scalbln_test_data): Likewise.
5795 (signbit_test_data): Likewise.
5796 (sin_test_data): Likewise.
5797 (sin_tonearest_test_data): Likewise.
5798 (sin_towardzero_test_data): Likewise.
5799 (sin_downward_test_data): Likewise.
5800 (sin_upward_test_data): Likewise.
5801 (sincos_test_data): Likewise.
5802 (sinh_test_data): Likewise.
5803 (sinh_tonearest_test_data): Likewise.
5804 (sinh_towardzero_test_data): Likewise.
5805 (sinh_downward_test_data): Likewise.
5806 (sinh_upward_test_data): Likewise.
5807 (sqrt_test_data): Likewise.
5808 (tan_test_data): Likewise.
5809 (tan_tonearest_test_data): Likewise.
5810 (tan_towardzero_test_data): Likewise.
5811 (tan_downward_test_data): Likewise.
5812 (tan_upward_test_data): Likewise.
5813 (tanh_test_data): Likewise.
5814 (tgamma_test_data): Likewise.
5815 (trunc_test_data): Likewise.
5816 (y0_test_data): Likewise.
5817 (y1_test_data): Likewise.
5818 (yn_test_data): Likewise.
5819 (significand_test_data): Likewise.
5820
b679a606
JM
5821 * math/gen-libm-test.pl (@functions): Remove variable.
5822 (generate_testfile): Don't handle START and END lines.
5823 * math/libm-test.inc (START): New macro.
5824 (END): Likewise.
5825 (END_COMPLEX): Likewise.
5826 (acos_test): Use END macro without arguments.
5827 (acos_test_tonearest): Likewise.
5828 (acos_test_towardzero): Likewise.
5829 (acos_test_downward): Likewise.
5830 (acos_test_upward): Likewise.
5831 (acosh_test): Likewise.
5832 (asin_test): Likewise.
5833 (asin_test_tonearest): Likewise.
5834 (asin_test_towardzero): Likewise.
5835 (asin_test_downward): Likewise.
5836 (asin_test_upward): Likewise.
5837 (asinh_test): Likewise.
5838 (atan_test): Likewise.
5839 (atanh_test): Likewise.
5840 (atan2_test): Likewise.
5841 (cabs_test): Likewise.
5842 (cacos_test): Use END_COMPLEX macro without arguments.
5843 (cacosh_test): Likewise.
5844 (carg_test): Use END macro without arguments.
5845 (casin_test): Use END_COMPLEX macro without arguments.
5846 (casinh_test): Likewise.
5847 (catan_test): Likewise.
5848 (catanh_test): Likewise.
5849 (cbrt_test): Use END macro without arguments.
5850 (ccos_test): Use END_COMPLEX macro without arguments.
5851 (ccosh_test): Likewise.
5852 (ceil_test): Use END macro without arguments.
5853 (cexp_test): Use END_COMPLEX macro without arguments.
5854 (cimag_test): Use END macro without arguments.
5855 (clog_test): Use END_COMPLEX macro without arguments.
5856 (clog10_test): Likewise.
5857 (conj_test): Likewise.
5858 (copysign_test): Use END macro without arguments.
5859 (cos_test): Likewise.
5860 (cos_test_tonearest): Likewise.
5861 (cos_test_towardzero): Likewise.
5862 (cos_test_downward): Likewise.
5863 (cos_test_upward): Likewise.
5864 (cosh_test): Likewise.
5865 (cosh_test_tonearest): Likewise.
5866 (cosh_test_towardzero): Likewise.
5867 (cosh_test_downward): Likewise.
5868 (cosh_test_upward): Likewise.
5869 (cpow_test): Use END_COMPLEX macro without arguments.
5870 (cproj_test): Likewise.
5871 (creal_test): Use END macro without arguments.
5872 (csin_test): Use END_COMPLEX macro without arguments.
5873 (csinh_test): Likewise.
5874 (csqrt_test): Likewise.
5875 (ctan_test): Likewise.
5876 (ctan_test_tonearest): Likewise.
5877 (ctan_test_towardzero): Likewise.
5878 (ctan_test_downward): Likewise.
5879 (ctan_test_upward): Likewise.
5880 (ctanh_test): Likewise.
5881 (ctanh_test_tonearest): Likewise.
5882 (ctanh_test_towardzero): Likewise.
5883 (ctanh_test_downward): Likewise.
5884 (ctanh_test_upward): Likewise.
5885 (erf_test): Use END macro without arguments.
5886 (erfc_test): Likewise.
5887 (exp_test): Likewise.
5888 (exp_test_tonearest): Likewise.
5889 (exp_test_towardzero): Likewise.
5890 (exp_test_downward): Likewise.
5891 (exp_test_upward): Likewise.
5892 (exp10_test): Likewise.
5893 (exp2_test): Likewise.
5894 (expm1_test): Likewise.
5895 (fabs_test): Likewise.
5896 (fdim_test): Likewise.
5897 (finite_test): Likewise.
5898 (floor_test): Likewise.
5899 (fma_test): Likewise.
5900 (fma_test_towardzero): Likewise.
5901 (fma_test_downward): Likewise.
5902 (fma_test_upward): Likewise.
5903 (fmax_test): Likewise.
5904 (fmin_test): Likewise.
5905 (fmod_test): Likewise.
5906 (fpclassify_test): Likewise.
5907 (frexp_test): Likewise.
5908 (gamma_test): Likewise.
5909 (hypot_test): Likewise.
5910 (ilogb_test): Likewise.
5911 (isfinite_test): Likewise.
5912 (isgreater_test): Likewise.
5913 (isgreaterequal_test): Likewise.
5914 (isinf_test): Likewise.
5915 (isless_test): Likewise.
5916 (islessequal_test): Likewise.
5917 (islessgreater_test): Likewise.
5918 (isnan_test): Likewise.
5919 (isnormal_test): Likewise.
5920 (issignaling_test): Likewise.
5921 (isunordered_test): Likewise.
5922 (j0_test): Likewise.
5923 (j1_test): Likewise.
5924 (jn_test): Likewise.
5925 (ldexp_test): Likewise.
5926 (lgamma_test): Likewise.
5927 (lrint_test): Likewise.
5928 (lrint_test_tonearest): Likewise.
5929 (lrint_test_towardzero): Likewise.
5930 (lrint_test_downward): Likewise.
5931 (lrint_test_upward): Likewise.
5932 (llrint_test): Likewise.
5933 (llrint_test_tonearest): Likewise.
5934 (llrint_test_towardzero): Likewise.
5935 (llrint_test_downward): Likewise.
5936 (llrint_test_upward): Likewise.
5937 (log_test): Likewise.
5938 (log10_test): Likewise.
5939 (log1p_test): Likewise.
5940 (log2_test): Likewise.
5941 (logb_test): Likewise.
5942 (logb_test_downward): Likewise.
5943 (lround_test): Likewise.
5944 (llround_test): Likewise.
5945 (modf_test): Likewise.
5946 (nearbyint_test): Likewise.
5947 (nextafter_test): Likewise.
5948 (nexttoward_test): Likewise.
5949 (pow_test): Likewise.
5950 (pow_test_tonearest): Likewise.
5951 (pow_test_towardzero): Likewise.
5952 (pow_test_downward): Likewise.
5953 (pow_test_upward): Likewise.
5954 (remainder_test): Likewise.
5955 (remainder_test_tonearest): Likewise.
5956 (remainder_test_towardzero): Likewise.
5957 (remainder_test_downward): Likewise.
5958 (remainder_test_upward): Likewise.
5959 (remquo_test): Likewise.
5960 (rint_test): Likewise.
5961 (rint_test_tonearest): Likewise.
5962 (rint_test_towardzero): Likewise.
5963 (rint_test_downward): Likewise.
5964 (rint_test_upward): Likewise.
5965 (round_test): Likewise.
5966 (scalb_test): Likewise.
5967 (scalbn_test): Likewise.
5968 (scalbln_test): Likewise.
5969 (signbit_test): Likewise.
5970 (sin_test): Likewise.
5971 (sin_test_tonearest): Likewise.
5972 (sin_test_towardzero): Likewise.
5973 (sin_test_downward): Likewise.
5974 (sin_test_upward): Likewise.
5975 (sincos_test): Likewise.
5976 (sinh_test): Likewise.
5977 (sinh_test_tonearest): Likewise.
5978 (sinh_test_towardzero): Likewise.
5979 (sinh_test_downward): Likewise.
5980 (sinh_test_upward): Likewise.
5981 (sqrt_test): Likewise.
5982 (tan_test): Likewise.
5983 (tan_test_tonearest): Likewise.
5984 (tan_test_towardzero): Likewise.
5985 (tan_test_downward): Likewise.
5986 (tan_test_upward): Likewise.
5987 (tanh_test): Likewise.
5988 (tgamma_test): Likewise.
5989 (trunc_test): Likewise.
5990 (y0_test): Likewise.
5991 (y1_test): Likewise.
5992 (yn_test): Likewise.
5993 (significand_test): Likewise.
5994
bae143d2
OB
59952013-05-24 Ondřej Bílka <neleai@seznam.cz>
5996
5997 [BZ #15381]
5998 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5999
9323d39b
EM
60002013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6001
d4ea44a0 6002 [BZ #14894]
9323d39b
EM
6003 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6004 __ppc_mdoio and __ppc_mdoom.
6005 * manual/platform.texi: Document new functions __ppc_yield,
6006 __ppc_mdoio and __ppc_mdoom.
6007
13e23af7
CD
60082013-05-22 Carlos O'Donell <carlos@redhat.com>
6009
6010 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6011 (main): Mention "tls" pseudo-hwcap is legacy.
6012 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6013
351fe550
JM
60142013-05-22 Joseph Myers <joseph@codesourcery.com>
6015
6016 * math/gen-libm-test.pl (parse_args): Output only string of
6017 arguments as text for test name, not full call or descriptions of
6018 tests for extra outputs.
6019 (generate_testfile): Do not pass function name to parse_args.
6020 Generate this_func variable from START.
6021 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6022 field to arg_str.
6023 (struct test_ff_f_data): Likewise.
6024 (test_ff_f_data_nexttoward): Likewise.
6025 (struct test_fi_f_data): Likewise.
6026 (struct test_fl_f_data): Likewise.
6027 (struct test_if_f_data): Likewise.
6028 (struct test_fff_f_data): Likewise.
6029 (struct test_c_f_data): Likewise.
6030 (struct test_f_f1_data): Likewise. Remove field extra_name.
6031 (struct test_fF_f1_data): Likewise.
6032 (struct test_ffI_f1_data): Likewise.
6033 (struct test_c_c_data): Rename test_name field to arg_str.
6034 (struct test_cc_c_data): Likewise.
6035 (struct test_f_i_data): Likewise.
6036 (struct test_ff_i_data): Likewise.
6037 (struct test_f_l_data): Likewise.
6038 (struct test_f_L_data): Likewise.
6039 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6040 and extra2_name.
6041 (COMMON_TEST_SETUP): New macro.
6042 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6043 (COMMON_TEST_CLEANUP): Likewise.
6044 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6045 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6046 macros.
6047 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6048 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6049 macros.
6050 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6051 (RUN_TEST_fff_f): Take argument string. Call new setup and
6052 cleanup macros.
6053 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6054 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6055 macros.
6056 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6057 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6058 macros.
6059 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6060 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6061 cleanup macros.
6062 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6063 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6064 cleanup macros.
6065 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6066 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6067 cleanup macros.
6068 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6069 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6070 macros.
6071 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6072 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6073 macros.
6074 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6075 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6076 macros.
6077 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6078 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6079 cleanup macros.
6080 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6081 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6082 cleanup macros.
6083 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6084 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6085 macros.
6086 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6087 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6088 cleanup macros.
6089 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6090 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6091 macros.
6092 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6093 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6094 macros.
6095 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6096 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6097 cleanup macros.
6098 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6099
85118d4d
EBM
61002013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6101
6102 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6103 to _sifields.sigfault.
6104 (si_addr_lsb): Define new macro.
6105 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6106 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6107 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6108
7a44c18f
CD
61092013-05-03 Carlos O'Donell <carlos at redhat.com>
6110
6111 [BZ #15441]
6112 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6113 returns -1.
6114 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6115 null return -1.
6116 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6117 loading the domain.
6118
b50a7181
JM
61192013-05-22 Joseph Myers <joseph@codesourcery.com>
6120
6121 * math/gen-libm-test.pl (parse_args): Do not include expected
6122 result in test name.
6123 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6124 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6125 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6126 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6127 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6129
051063c8
SP
61302013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
3ce9e010
SP
6132 * benchtests/Makefile: Sort function entries.
6133
051063c8
SP
6134 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6135 tanh, asinh, acosh, atanh.
6136 * benchtests/acos-inputs: New file.
6137 * benchtests/acosh-inputs: New file.
6138 * benchtests/asin-inputs: New file.
6139 * benchtests/asinh-inputs: New file.
6140 * benchtests/atanh-inputs: New file.
6141 * benchtests/cosh-inputs: New file.
6142 * benchtests/log-inputs: New file.
6143 * benchtests/sinh-inputs: New file.
6144 * benchtests/tanh-inputs: New file.
6145
47c22455
DL
61462013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6147
6148 [BZ #15339]
6149 * posix/tst-getaddrinfo4.c: New test.
6150 * posix/Makefile (tests): Add it.
6151
3d04f5db
SP
61522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6153
6154 [BZ #15339]
6155 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6156 when no services were used.
6157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6158 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6159
d5dd6189
AS
61602013-05-21 Andreas Schwab <schwab@suse.de>
6161
6162 [BZ #15014]
6163 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6164 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6165 successful.
6166 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6167 redundant variable declarations and reallocation of buffer when
6168 parsing as IPv6 address. Always set NSS status when called from
6169 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6170 buffer too small. Correct computation of needed size.
6171 * nss/Makefile (tests): Add test-digits-dots.
6172 * nss/test-digits-dots.c: New test.
6173
fef94eab
SP
61742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6175
6176 * benchtests/Makefile: Remove instructions for adding
6177 benchmark tests.
6178 * benchtests/README: New file to explain how to execute and
6179 enhance the benchmark tests.
6180
e39adf43
AS
61812013-05-21 Andreas Schwab <schwab@suse.de>
6182
6183 [BZ #15493]
6184 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6185 * setjmp/tst-sigsetjmp.c: New test.
6186
b2b671b6
OB
61872013-05-20 Ondřej Bílka <neleai@seznam.cz>
6188
6189 * sysdeps/x86_64/memset.S (memset): New implementation.
6190 (__bzero): Likewise.
6191 (__memset_tail): New function.
6192
2d48b41c
OB
61932013-05-20 Ondřej Bílka <neleai@seznam.cz>
6194
6195 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6196 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6197 __memcpy_sse2_unaligned ifunc selection.
6198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6199 Add memcpy-sse2-unaligned.S.
6200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6201 Add: __memcpy_sse2_unaligned.
6202
f16cc3eb
JM
62032013-05-19 Joseph Myers <joseph@codesourcery.com>
6204
3e694268
JM
6205 [BZ #15490]
6206 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6207 math_force_eval before restoring floating-point envrionment.
6208 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6210 Likewise.
6211 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6212 <math_private.h>.
6213 (__nearbyintl): Use math_force_eval before restoring
6214 floating-point environment.
6215 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6216
db62a907
JM
6217 * math/gen-libm-test.pl (special_functions): Remove.
6218 (parse_args): Don't handle TEST_extra. Handle functions with no
6219 return value.
6220 * math/libm-test.inc (struct test_sincos_data): Replace with
6221 struct test_fFF_11_data.
6222 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6223 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6224 (sincos_test_data): Change element type to struct
6225 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6226 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6227 RUN_TEST_LOOP_sincos.
6228 * math/README.libm-test: Don't mention special handling of
6229 individual functions.
6230 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6232 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6233 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236
f16cc3eb
JM
6237 * math/gen-libm-test.pl (get_variable): Remove function.
6238 (parse_args): Don't show pointer parameters to call in test
6239 names. Use "extra output N" in test names for extra outputs
6240 rather than naming variables.
6241
3779b5b6
JM
62422013-05-18 Joseph Myers <joseph@codesourcery.com>
6243
2ee094ff
JM
6244 [BZ #15488]
6245 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6246 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6247 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6248 double tests.
6249 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6250 disable.
6251 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6252 check_long_double.
6253
3779b5b6
JM
6254 * math/gen-libm-test.pl (@tests): Remove variable.
6255 ($count): Likewise.
6256 (new_test): Remove function.
6257 (show_exceptions): New function.
6258 (special_functions): Use show_exceptions instead of new_test.
6259 (parse_args): Likewise.
6260 (generate_testfile): Pass only function name in generated call to
6261 print_max_error or print_complex_max_error.
6262 (get_ulps): Do not handle complex tests specially.
6263 (output_test): Rename to ...
6264 (get_all_ulps_for_test): ... this. Return a string rather than
6265 printing to a file. Require ulps to be present.
6266 (output_ulps): Generate arrays rather than #defines.
6267 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6268 (struct ulp_data): New type.
6269 (BUILD_COMPLEX_ULP): Remove macro.
6270 (compare_ulp_data): New function.
6271 (find_ulps): Likewise.
6272 (find_test_ulps): Likewise.
6273 (find_function_ulps): Likewise.
6274 (find_complex_function_ulps): Likewise.
6275 (print_max_error): Determine allowed ulps using
6276 find_function_ulps.
6277 (print_complex_max_error): Determine allowed ulps using
6278 find_complex_function_ulps.
6279 (check_float_internal): Determine max ulps using find_test_ulps.
6280 (check_float): Do not take max_ulp parameter. Update call to
6281 check_float_internal.
6282 (check_complex): Likewise.
6283 (check_int): Do not take max_ulp parameter.
6284 (check_long): Likewise.
6285 (check_bool): Likewise.
6286 (check_longlong): Likewise.
6287 (struct test_f_f_data): Remove max_ulp field.
6288 (struct test_ff_f_data): Likewise.
6289 (struct test_ff_f_data_nexttoward): Likewise.
6290 (struct test_fi_f_data): Likewise.
6291 (struct test_fl_f_data): Likewise.
6292 (struct test_if_f_data): Likewise.
6293 (struct test_fff_f_data): Likewise.
6294 (struct test_c_f_data): Likewise.
6295 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6296 (struct test_fF_f1_data): Likewise.
6297 (struct test_ffI_f1_data): Likewise.
6298 (struct test_c_c_data): Remove max_ulp field.
6299 (struct test_cc_c_data): Likewise.
6300 (struct test_f_i_data): Likewise.
6301 (struct test_ff_i_data): Likewise.
6302 (struct test_f_l_data): Likewise.
6303 (struct test_f_L_data): Likewise.
6304 (struct test_sincos_data): Likewise.
6305 (RUN_TEST_f_f): Do not handle ulps.
6306 (RUN_TEST_LOOP_f_f): Likewise.
6307 (RUN_TEST_2_f): Likewise.
6308 (RUN_TEST_LOOP_2_f): Likewise.
6309 (RUN_TEST_fff_f): Likewise.
6310 (RUN_TEST_LOOP_fff_f): Likewise.
6311 (RUN_TEST_c_f): Likewise.
6312 (RUN_TEST_LOOP_c_f): Likewise.
6313 (RUN_TEST_f_f1): Likewise.
6314 (RUN_TEST_LOOP_f_f1): Likewise.
6315 (RUN_TEST_fF_f1): Likewise.
6316 (RUN_TEST_LOOP_fF_f1): Likewise.
6317 (RUN_TEST_fI_f1): Likewise.
6318 (RUN_TEST_LOOP_fI_f1): Likewise.
6319 (RUN_TEST_ffI_f1): Likewise.
6320 (RUN_TEST_LOOP_ffI_f1): Likewise.
6321 (RUN_TEST_c_c): Likewise.
6322 (RUN_TEST_LOOP_c_c): Likewise.
6323 (RUN_TEST_cc_c): Likewise.
6324 (RUN_TEST_LOOP_cc_c): Likewise.
6325 (RUN_TEST_f_i): Likewise.
6326 (RUN_TEST_LOOP_f_i): Likewise.
6327 (RUN_TEST_f_i_tg): Likewise.
6328 (RUN_TEST_LOOP_f_i_tg): Likewise.
6329 (RUN_TEST_ff_i_tg): Likewise.
6330 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6331 (RUN_TEST_f_b): Likewise.
6332 (RUN_TEST_LOOP_f_b): Likewise.
6333 (RUN_TEST_f_b_tg): Likewise.
6334 (RUN_TEST_LOOP_f_b_tg): Likewise.
6335 (RUN_TEST_f_l): Likewise.
6336 (RUN_TEST_LOOP_f_l): Likewise.
6337 (RUN_TEST_f_L): Likewise.
6338 (RUN_TEST_LOOP_f_L): Likewise.
6339 (RUN_TEST_sincos): Likewise.
6340 (RUN_TEST_LOOP_sincos): Likewise.
6341
8269107f
JM
63422013-05-17 Joseph Myers <joseph@codesourcery.com>
6343
bb38759d
JM
6344 [BZ #15480]
6345 [BZ #15485]
6346 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6347 main case of finite arguments, set rounding mode to FE_TONEAREST
6348 and discard exceptions.
6349 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6350 exceptions.
6351 (remainder_tonearest_test_data): New variable.
6352 (remainder_test_tonearest): New function.
6353 (remainder_towardzero_test_data): New variable.
6354 (remainder_test_towardzero): New function.
6355 (remainder_downward_test_data): New variable.
6356 (remainder_test_downward): New function.
6357 (remainder_upward_test_data): New variable.
6358 (remainder_test_upward): New function.
6359 (main): Call the new test functions.
6360
a00bdcf0
JM
6361 * math/libm-test.inc (struct test_f_f1_data): Remove field
6362 extra_init.
6363 (struct test_fF_f1_data): Likewise.
6364 (struct test_ffI_f1_data): Likewise.
6365 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6366 based on value of EXTRA_EXPECTED.
6367 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6368 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6369 EXTRA_VAR based on value of EXTRA_EXPECTED.
6370 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6371 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6372 EXTRA_VAR based on value of EXTRA_EXPECTED.
6373 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6374 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6375 EXTRA_VAR based on value of EXTRA_EXPECTED.
6376 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6377 * math/gen-libm-test.pl (parse_args): Don't output initializers
6378 for extra output values.
6379
de407f79
JM
6380 * math/libm-test.inc (check_int): Expect result to be exactly
6381 equal to expected value and do not handle ulps.
6382 (check_long): Likewise.
6383 (check_longlong): Likewise.
6384
8269107f
JM
6385 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6386 exceptions.
6387 (cimag_test_data): Likewise.
6388 (conj_test_data): Likewise.
6389 (copysign_test_data): Likewise.
6390 (cproj_test_data): Likewise.
6391 (creal_test_data): Likewise.
6392 (fabs_test_data): Likewise.
6393 (fdim_test_data): Likewise.
6394 (finite_test_data): Likewise.
6395 (floor_test_data): Likewise.
6396 (fmax_test_data): Likewise.
6397 (fmin_test_data): Likewise.
6398 (fmod_test_data): Likewise.
6399 (fpclassify_test_data): Likewise.
6400 (frexp_test_data): Likewise.
6401 (ilogb_test_data): Likewise.
6402 (isfinite_test_data): Likewise.
6403 (isgreater_test_data): Likewise.
6404 (isgreaterequal_test_data): Likewise.
6405 (isinf_test_data): Likewise.
6406 (isless_test_data): Likewise.
6407 (islessequal_test_data): Likewise.
6408 (islessgreater_test_data): Likewise.
6409 (isnan_test_data): Likewise.
6410 (isnormal_test_data): Likewise.
6411 (issignaling_test_data): Likewise.
6412 (isunordered_test_data): Likewise.
6413 (ldexp_test_data): Likewise.
6414 (lrint_test_data): Likewise.
6415 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6416 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6417 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6418 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6419 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6420 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6421 test input.
6422 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6423 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6424 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6425 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6426 that test input.
6427 (lrint_downward_test_data): Test for "inexact" exceptions.
6428 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6429 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6430 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6431 test input.
6432 (lrint_upward_test_data): Test for "inexact" exceptions.
6433 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6434 test input.
6435 (llrint_test_data): Test for "inexact" exceptions.
6436 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6437 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6438 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6439 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6440 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6441 (llrint_downward_test_data): Test for "inexact" exceptions.
6442 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6443 (llrint_upward_test_data): Test for "inexact" exceptions.
6444 (logb_test_data): Likewise.
6445 (logb_downward_test_data): Likewise.
6446 (nextafter_test_data): Likewise.
6447 (nexttoward_test_data): Likewise.
6448 (remainder_test_data): Likewise.
6449 (remquo_test_data): Likewise.
6450 (scalbn_test_data): Likewise.
6451 (scalbln_test_data): Likewise.
6452 (signbit_test_data): Likewise.
6453 (sqrt_test_data): Likewise.
6454 (significand_test_data): Likewise.
6455
48a18de1
SP
64562013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6457
6458 [BZ #15424]
6459 * benchtests/bench-modf.c (struct args): Mark arg0 as
6460 volatile.
6461 * scripts/bench.pl: Mark members of struct args as volatile.
6462
13d3b41a
AZ
64632013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464
68191c1d 6465 [BZ # 15497]
13d3b41a
AZ
6466 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6467 negative infinity on POWER6 or lower.
6468 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6469
2848b105
MR
64702013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6471
6472 [BZ #15442]
6473 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6474 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6475 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6476 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6477 (_FP_SETQNAN): New macro.
6478 (_FP_SETQNAN_SEMIRAW): Likewise.
6479 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6480 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6481 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6482 (FP_EXTEND): Use _FP_FRAC_SNANP.
6483 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6484 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6485 into account.
6486 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6487 New macro.
6488 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6489 Likewise.
6490
323e5cb7
JM
64912013-05-16 Joseph Myers <joseph@codesourcery.com>
6492
c58b274f
JM
6493 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6494 with DIVIDE_BY_ZERO_EXCEPTION.
6495 (gamma_test_data): Likewise.
6496 (lgamma_test_data): Likewise.
6497 (log_test_data): Likewise.
6498 (log10_test_data): Likewise.
6499 (log2_test_data): Likewise.
6500 (tgamma_test_data): Likewise.
6501
0ab34904
JM
6502 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6503 (acos_test_tonearest): Likewise.
6504 (acos_test_towardzero): Likewise.
6505 (acos_test_downward): Likewise.
6506 (acos_test_upward): Likewise.
6507 (acosh_test): Likewise.
6508 (asin_test): Likewise.
6509 (asin_test_tonearest): Likewise.
6510 (asin_test_towardzero): Likewise.
6511 (asin_test_downward): Likewise.
6512 (asin_test_upward): Likewise.
6513 (asinh_test): Likewise.
6514 (atan_test): Likewise.
6515 (atanh_test): Likewise.
6516 (atan2_test): Likewise.
6517 (cabs_test): Likewise.
6518 (cacos_test): Likewise.
6519 (cacosh_test): Likewise.
6520 (casin_test): Likewise.
6521 (casinh_test): Likewise.
6522 (catan_test): Likewise.
6523 (catanh_test): Likewise.
6524 (cbrt_test): Likewise.
6525 (ccos_test): Likewise.
6526 (ccosh_test): Likewise.
6527 (cexp_test): Likewise.
6528 (clog_test): Likewise.
6529 (clog10_test): Likewise.
6530 (cos_test): Likewise.
6531 (cos_test_tonearest): Likewise.
6532 (cos_test_towardzero): Likewise.
6533 (cos_test_downward): Likewise.
6534 (cos_test_upward): Likewise.
6535 (cosh_test): Likewise.
6536 (cosh_test_tonearest): Likewise.
6537 (cosh_test_towardzero): Likewise.
6538 (cosh_test_downward): Likewise.
6539 (cosh_test_upward): Likewise.
6540 (cpow_test): Likewise.
6541 (csin_test): Likewise.
6542 (csinh_test): Likewise.
6543 (csqrt_test): Likewise.
6544 (ctan_test): Likewise.
6545 (ctan_test_tonearest): Likewise.
6546 (ctan_test_towardzero): Likewise.
6547 (ctan_test_downward): Likewise.
6548 (ctan_test_upward): Likewise.
6549 (ctanh_test): Likewise.
6550 (ctanh_test_tonearest): Likewise.
6551 (ctanh_test_towardzero): Likewise.
6552 (ctanh_test_downward): Likewise.
6553 (ctanh_test_upward): Likewise.
6554 (erf_test): Likewise.
6555 (erfc_test): Likewise.
6556 (exp_test): Likewise.
6557 (exp_test_tonearest): Likewise.
6558 (exp_test_towardzero): Likewise.
6559 (exp_test_downward): Likewise.
6560 (exp_test_upward): Likewise.
6561 (exp10_test): Likewise.
6562 (exp2_test): Likewise.
6563 (expm1_test): Likewise.
6564 (fmod_test): Likewise.
6565 (gamma_test): Likewise.
6566 (hypot_test): Likewise.
6567 (j0_test): Likewise.
6568 (j1_test): Likewise.
6569 (jn_test): Likewise.
6570 (lgamma_test): Likewise.
6571 (log_test): Likewise.
6572 (log10_test): Likewise.
6573 (log1p_test): Likewise.
6574 (log2_test): Likewise.
6575 (logb_test_downward): Likewise.
6576 (pow_test): Likewise.
6577 (pow_test_tonearest): Likewise.
6578 (pow_test_towardzero): Likewise.
6579 (pow_test_downward): Likewise.
6580 (pow_test_upward): Likewise.
6581 (remainder_test): Likewise.
6582 (remquo_test): Likewise.
6583 (sin_test): Likewise.
6584 (sin_test_tonearest): Likewise.
6585 (sin_test_towardzero): Likewise.
6586 (sin_test_downward): Likewise.
6587 (sin_test_upward): Likewise.
6588 (sincos_test): Likewise.
6589 (sinh_test): Likewise.
6590 (sinh_test_tonearest): Likewise.
6591 (sinh_test_towardzero): Likewise.
6592 (sinh_test_downward): Likewise.
6593 (sinh_test_upward): Likewise.
6594 (sqrt_test): Likewise.
6595 (tan_test): Likewise.
6596 (tan_test_tonearest): Likewise.
6597 (tan_test_towardzero): Likewise.
6598 (tan_test_downward): Likewise.
6599 (tan_test_upward): Likewise.
6600 (tanh_test): Likewise.
6601 (tgamma_test): Likewise.
6602 (y0_test): Likewise.
6603 (y1_test): Likewise.
6604 (yn_test): Likewise.
6605
323e5cb7
JM
6606 * math/gen-libm-test.pl (adjust_arg): Remove function.
6607 (special_function): Remove argument $in_func. Only handle
6608 generating output for tables of tests, not inside functions.
6609 (parse_args): Likewise.
6610 (generate_testfile): Remove variable $in_func. Update call to
6611 parse_args.
6612 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6613 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6614 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6615 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6616 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6617 (MAX_VALUE_INIT): Rename macro to max_value.
6618 (MIN_VALUE_INIT): Rename macro to min_value.
6619 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6620 (plus_zero): Remove variable.
6621 (minus_zero): Likewise.
6622 (plus_infty): Likewise.
6623 (minus_infty): Likewise.
6624 (qnan_value): Likewise.
6625 (max_value): Likewise.
6626 (min_value): Likewise.
6627 (min_subnorm_value): Likewise.
6628
e054f494
RA
66292013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6630
6631 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6632 uint64_t or uint32_t usage.
6633 * crypt/sha256-block.c: Likewise.
6634 * crypt/sha256-crypt.c: Likewise.
6635 * crypt/sha256.c: Likewise.
6636 * crypt/sha512-block.c: Likewise.
6637 * crypt/sha512-crypt.c: Likewise.
6638 * crypt/sha512.c: Likewise.
6639 * debug/backtrace-tst.c: Likewise.
6640 * debug/pcprofiledump.c: Likewise.
6641 * elf/cache.c: Likewise.
6642 * elf/dl-cache.c: Likewise.
6643 * elf/dl-misc.c: Likewise.
6644 * elf/dl-profile.c: Likewise.
6645 * elf/dl-support.c: Likewise.
6646 * elf/ldconfig.c: Likewise.
6647 * elf/sprof.c: Likewise.
6648 * iconv/dummy-repertoire.c: Likewise.
6649 * iconv/iconv_charmap.c: Likewise.
6650 * iconv/skeleton.c: Likewise.
6651 * iconvdata/8bit-generic.c: Likewise.
6652 * iconvdata/cp737.h: Likewise.
6653 * iconvdata/cp775.h: Likewise.
6654 * iconvdata/ibm1008.h: Likewise.
6655 * iconvdata/ibm1025.h: Likewise.
6656 * iconvdata/ibm1046.h: Likewise.
6657 * iconvdata/ibm1097.h: Likewise.
6658 * iconvdata/ibm1112.h: Likewise.
6659 * iconvdata/ibm1122.h: Likewise.
6660 * iconvdata/ibm1123.h: Likewise.
6661 * iconvdata/ibm1124.h: Likewise.
6662 * iconvdata/ibm1129.h: Likewise.
6663 * iconvdata/ibm1130.h: Likewise.
6664 * iconvdata/ibm1132.h: Likewise.
6665 * iconvdata/ibm1133.h: Likewise.
6666 * iconvdata/ibm1137.h: Likewise.
6667 * iconvdata/ibm1140.h: Likewise.
6668 * iconvdata/ibm1141.h: Likewise.
6669 * iconvdata/ibm1142.h: Likewise.
6670 * iconvdata/ibm1143.h: Likewise.
6671 * iconvdata/ibm1144.h: Likewise.
6672 * iconvdata/ibm1145.h: Likewise.
6673 * iconvdata/ibm1146.h: Likewise.
6674 * iconvdata/ibm1147.h: Likewise.
6675 * iconvdata/ibm1148.h: Likewise.
6676 * iconvdata/ibm1149.h: Likewise.
6677 * iconvdata/ibm1153.h: Likewise.
6678 * iconvdata/ibm1154.h: Likewise.
6679 * iconvdata/ibm1155.h: Likewise.
6680 * iconvdata/ibm1156.h: Likewise.
6681 * iconvdata/ibm1157.h: Likewise.
6682 * iconvdata/ibm1158.h: Likewise.
6683 * iconvdata/ibm1160.h: Likewise.
6684 * iconvdata/ibm1161.h: Likewise.
6685 * iconvdata/ibm1162.h: Likewise.
6686 * iconvdata/ibm1163.h: Likewise.
6687 * iconvdata/ibm1164.h: Likewise.
6688 * iconvdata/ibm1166.h: Likewise.
6689 * iconvdata/ibm1167.h: Likewise.
6690 * iconvdata/ibm12712.h: Likewise.
6691 * iconvdata/ibm1390.h: Likewise.
6692 * iconvdata/ibm1399.h: Likewise.
6693 * iconvdata/ibm16804.h: Likewise.
6694 * iconvdata/ibm4517.h: Likewise.
6695 * iconvdata/ibm4899.h: Likewise.
6696 * iconvdata/ibm4909.h: Likewise.
6697 * iconvdata/ibm4971.h: Likewise.
6698 * iconvdata/ibm5347.h: Likewise.
6699 * iconvdata/ibm803.h: Likewise.
6700 * iconvdata/ibm856.h: Likewise.
6701 * iconvdata/ibm901.h: Likewise.
6702 * iconvdata/ibm902.h: Likewise.
6703 * iconvdata/ibm9030.h: Likewise.
6704 * iconvdata/ibm9066.h: Likewise.
6705 * iconvdata/ibm921.h: Likewise.
6706 * iconvdata/ibm922.h: Likewise.
6707 * iconvdata/ibm9448.h: Likewise.
6708 * iconvdata/isiri-3342.h: Likewise.
6709 * iconvdata/jis0201.h: Likewise.
6710 * include/link.h: Likewise.
6711 * include/netdb.h: Likewise.
6712 * inet/check_native.c: Likewise.
6713 * inet/check_pf.c: Likewise.
6714 * inet/getipv4sourcefilter.c: Likewise.
6715 * inet/getnameinfo.c: Likewise.
6716 * inet/getsourcefilter.c: Likewise.
6717 * inet/htonl.c: Likewise.
6718 * inet/setipv4sourcefilter.c: Likewise.
6719 * inet/setsourcefilter.c: Likewise.
6720 * inet/test-inet6_opt.c: Likewise.
6721 * inet/tst-network.c: Likewise.
6722 * locale/C-collate.c: Likewise.
6723 * locale/C-ctype.c: Likewise.
6724 * locale/C-time.c: Likewise.
6725 * locale/C-translit.h: Likewise.
6726 * locale/loadarchive.c: Likewise.
6727 * locale/programs/3level.h: Likewise.
6728 * locale/programs/charmap.c: Likewise.
6729 * locale/programs/charmap.h: Likewise.
6730 * locale/programs/ld-address.c: Likewise.
6731 * locale/programs/ld-collate.c: Likewise.
6732 * locale/programs/ld-ctype.c: Likewise.
6733 * locale/programs/ld-identification.c: Likewise.
6734 * locale/programs/ld-measurement.c: Likewise.
6735 * locale/programs/ld-messages.c: Likewise.
6736 * locale/programs/ld-monetary.c: Likewise.
6737 * locale/programs/ld-name.c: Likewise.
6738 * locale/programs/ld-numeric.c: Likewise.
6739 * locale/programs/ld-paper.c: Likewise.
6740 * locale/programs/ld-telephone.c: Likewise.
6741 * locale/programs/ld-time.c: Likewise.
6742 * locale/programs/linereader.c: Likewise.
6743 * locale/programs/locale.c: Likewise.
6744 * locale/programs/locarchive.c: Likewise.
6745 * locale/programs/locfile.h: Likewise.
6746 * locale/programs/repertoire.c: Likewise.
6747 * locale/programs/simple-hash.c: Likewise.
6748 * locale/programs/simple-hash.h: Likewise.
6749 * malloc/memusage.c: Likewise.
6750 * malloc/memusagestat.c: Likewise.
6751 * nis/nis_defaults.c: Likewise.
6752 * nis/nis_hash.c: Likewise.
6753 * nis/nis_print.c: Likewise.
6754 * nis/nis_xdr.c: Likewise.
6755 * nscd/connections.c: Likewise.
6756 * nscd/hstcache.c: Likewise.
6757 * nscd/nscd_gethst_r.c: Likewise.
6758 * nscd/nscd_getserv_r.c: Likewise.
6759 * nscd/nscd_helper.c: Likewise.
6760 * nscd/servicescache.c: Likewise.
6761 * nss/makedb.c: Likewise.
6762 * nss/nss_db/db-XXX.c: Likewise.
6763 * nss/nss_db/db-initgroups.c: Likewise.
6764 * nss/nss_db/db-netgrp.c: Likewise.
6765 * nss/nss_files/files-network.c: Likewise.
6766 * nss/nss_files/files-parse.c: Likewise.
6767 * posix/bug-regex5.c: Likewise.
6768 * posix/fnmatch_loop.c: Likewise.
6769 * posix/regcomp.c: Likewise.
6770 * posix/regexec.c: Likewise.
6771 * posix/tst-rfc3484-2.c: Likewise.
6772 * posix/tst-rfc3484-3.c: Likewise.
6773 * posix/tst-rfc3484.c: Likewise.
6774 * resolv/nss_dns/dns-canon.c: Likewise.
6775 * resolv/nss_dns/dns-network.c: Likewise.
6776 * resolv/res_init.c: Likewise.
6777 * resolv/res_mkquery.c: Likewise.
6778 * resolv/tst-aton.c: Likewise.
6779 * stdlib/cxa_atexit.c: Likewise.
6780 * stdlib/cxa_finalize.c: Likewise.
6781 * stdlib/gen-fpioconst.c: Likewise.
6782 * stdlib/strtol_l.c: Likewise.
6783 * string/tst-endian.c: Likewise.
6784 * sunrpc/auth_des.c: Likewise.
6785 * sunrpc/clnt_udp.c: Likewise.
6786 * sunrpc/rtime.c: Likewise.
6787 * sunrpc/svcauth_des.c: Likewise.
6788 * sunrpc/xdr.c: Likewise.
6789 * sunrpc/xdr_intXX_t.c: Likewise.
6790 * sunrpc/xdr_rec.c: Likewise.
6791 * sysdeps/generic/ldconfig.h: Likewise.
6792 * sysdeps/generic/ldsodefs.h: Likewise.
6793 * sysdeps/generic/memusage.h: Likewise.
6794 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6797 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6804 * sysdeps/posix/getaddrinfo.c: Likewise.
6805 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6806 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6807 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6808 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6809 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6810 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6811 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6812 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6813 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6814 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6815 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6816 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6817 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6818 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6819 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6820 * sysdeps/x86_64/dl-tls.h: Likewise.
6821 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6822 * time/alt_digit.c: Likewise.
6823 * time/era.c: Likewise.
6824 * wcsmbs/tst-c16c32-1.c: Likewise.
6825
8c75f674
JM
68262013-05-16 Joseph Myers <joseph@codesourcery.com>
6827
6828 * math/libm-test.inc (struct test_sincos_data): New type.
6829 (RUN_TEST_LOOP_sincos): New macro.
6830 (sincos_test_data): New variable.
6831 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6832
e6e49e59
RH
68332013-05-16 Richard Henderson <rth@redhat.com>
6834
6835 * math/atest-exp2.c (LIMB64): New macro.
6836 (CONSTSZ): New macro.
6837 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6838 (hexdig): Move ...
6839 (print_mpn_fp): ... to function scope.
6840 (read_mpn_hex): Remove.
6841 (get_log2): Remove.
6842 (exp2_mpn): Use mp_log2.
6843 (main): Use mp_exp1.
6844
15c7c18d
JM
68452013-05-16 Joseph Myers <joseph@codesourcery.com>
6846
105a07df
JM
6847 * math/libm-test.inc: Remove comment about not testing "inexact"
6848 exceptions.
6849 (INEXACT_EXCEPTION): New macro.
6850 (NO_INEXACT_EXCEPTION): Likewise.
6851 (INVALID_EXCEPTION_OK): Update value.
6852 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6853 (OVERFLOW_EXCEPTION_OK): Likewise.
6854 (UNDERFLOW_EXCEPTION_OK): Likewise.
6855 (IGNORE_ZERO_INF_SIGN): Likewise.
6856 (ERRNO_UNCHANGED): Likewise.
6857 (ERRNO_EDOM): Likewise.
6858 (ERRNO_ERANGE): Likewise.
6859 (test_exceptions): Handle testing "inexact" exceptions.
6860 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6861 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6862 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6863 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6864 INEXACT_EXCEPTION.
6865 (rint_towardzero_test_data): Likewise.
6866 (rint_downward_test_data): Likewise.
6867 (rint_upward_test_data): Likewise.
6868
e9eee333
JM
6869 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6870 with OVERFLOW_EXCEPTION.
6871 (exp10_test_data): Likewise.
6872 (exp2_test_data): Likewise.
6873 (expm1_test_data): Likewise.
6874 (lgamma_test_data): Likewise.
6875 (pow_test_data): Likewise.
6876 (tgamma_test_data): Likewise.
6877 (yn_test_data): Remove duplicate test of overflow.
6878
1c38ff73
JM
6879 * math/libm-test.inc (struct test_cc_c_data): New type.
6880 (RUN_TEST_LOOP_cc_c): New macro.
6881 (cpow_test_data): New variable.
6882 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6883
15c7c18d
JM
6884 * math/libm-test.inc (struct test_f_L_data): New type.
6885 (RUN_TEST_LOOP_f_L): New macro.
6886 (llrint_test_data): New variable.
6887 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6888 (llrint_tonearest_test_data): New variable.
6889 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6890 (llrint_towardzero_test_data): New variable.
6891 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6892 (llrint_downward_test_data): New variable.
6893 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6894 (llrint_upward_test_data): New variable.
6895 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6896 (llround_test_data): New variable.
6897 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6898
f137ff13
PC
68992013-05-13 Peter Collingbourne <pcc@google.com>
6900
6901 * math/atest-exp2.c (get_log2): Remove const attribute.
6902
3608cb24
JM
69032013-05-15 Joseph Myers <joseph@codesourcery.com>
6904
6905 * math/libm-test.inc (struct test_f_l_data): New type.
6906 (RUN_TEST_LOOP_f_l): New macro.
6907 (lrint_test_data): New variable.
6908 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6909 (lrint_tonearest_test_data): New variable.
6910 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6911 (lrint_towardzero_test_data): New variable.
6912 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6913 (lrint_downward_test_data): New variable.
6914 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6915 (lrint_upward_test_data): New variable.
6916 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6917 (lround_test_data): New variable.
6918 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6919
39b1f617
PC
69202013-05-15 Peter Collingbourne <pcc@google.com>
6921
1deff3dc
PC
6922 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6923 (EXTRACT_WORDS64) Use where appropriate.
6924 (INSERT_WORDS64) Likewise.
6925
791f3ba0
PC
6926 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6927 constraints with x constraints.
6928 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6929
39b1f617
PC
6930 * malloc/obstack.c (_obstack_compat): Add initializer.
6931
12fba011
EM
69322013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6933
6934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6935 si_trapno and add si_addr_lsb to _sifields.sigfault.
6936 (si_trapno): Remove macro.
6937 (si_addr_lsb): Define new macro.
6938 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6939
d369f531
JM
69402013-05-15 Joseph Myers <joseph@codesourcery.com>
6941
b861c6c4
JM
6942 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6943 instead of TEST_f_l.
6944 (llrint_test_tonearest): Likewise.
6945 (llrint_test_towardzero): Likewise.
6946 (llrint_test_downward): Likewise.
6947 (llrint_test_upward): Likewise.
6948 (llround_test): Likewise.
6949
7abeee12
JM
6950 * math/libm-test.inc (struct test_f_i_data): Add comment.
6951 (RUN_TEST_LOOP_f_b): New macro.
6952 (RUN_TEST_LOOP_f_b_tg): Likewise.
6953 (finite_test_data): New variable.
6954 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6955 (isfinite_test_data): New variable.
6956 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6957 (isinf_test_data): New variable.
6958 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6959 (isnan_test_data): New variable.
6960 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6961 (isnormal_test_data): New variable.
6962 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6963 (issignaling_test_data): New variable.
6964 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6965 (signbit_test_data): New variable.
6966 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6967
cbe8c4d3
JM
6968 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6969 with INVALID_EXCEPTION.
6970 (acosh_test_data): Likewise.
6971 (asin_test_data): Likewise.
6972 (atanh_test_data): Likewise.
6973 (fmod_test_data): Likewise.
6974 (log_test_data): Likewise.
6975 (log10_test_data): Likewise.
6976 (log2_test_data): Likewise.
6977 (pow_test_data): Likewise.
6978 (sqrt_test_data): Likewise.
6979 (y0_test_data): Likewise.
6980 (y1_test_data): Likewise.
6981 (yn_test_data): Likewise.
6982
5575c0e5
JM
6983 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6984 function contents.
6985
d369f531
JM
6986 * math/libm-test.inc (struct test_ff_i_data): New type.
6987 (RUN_TEST_LOOP_ff_i_tg): New macro.
6988 (isgreater_test_data): New variable.
6989 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6990 (isgreaterequal_test_data): New variable.
6991 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6992 (isless_test_data): New variable.
6993 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6994 (islessequal_test_data): New variable.
6995 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6996 (islessgreater_test_data): New variable.
6997 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6998 (isunordered_test_data): New variable.
6999 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7000
781fd748
DM
70012013-05-14 David S. Miller <davem@davemloft.net>
7002
7003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7004
87aa21df
JM
70052013-05-14 Joseph Myers <joseph@codesourcery.com>
7006
5e908270
JM
7007 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7008
f71172e5
JM
7009 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7010 extra_test to int.
7011 (struct test_f_i_data): Change type of max_ulp to int.
7012
8cfa635a
JM
7013 * math/libm-test.inc (test_ffI_f1_data): New type.
7014 (RUN_TEST_LOOP_ffI_f1): New macro.
7015 (remquo_test_data): New variable.
7016 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7017
2bcb36b2
JM
7018 * setjmp/tst-setjmp-fp.c: New file.
7019 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7020 (link-libm): New variable.
7021 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7022
acbd839a
JM
7023 * math/libm-test.inc (struct test_f_i_data): New type.
7024 (RUN_TEST_LOOP_f_i): New macro.
7025 (RUN_TEST_LOOP_f_i_tg): Likewise.
7026 (fpclassify_test_data): New variable.
7027 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7028 (ilogb_test_data): New variable.
7029 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7030
e414d745
JM
7031 * math/libm-test.inc (scalbln_test): Correct function name in END
7032 call.
7033
d9c2a0fd
JM
7034 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7035 (RUN_TEST_LOOP_fI_f1): New macro.
7036 (frexp_test_data): New variable.
7037 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7038
9dc9095d
JM
7039 * math/libm-test.inc (struct test_fF_f1_data): New type.
7040 (RUN_TEST_LOOP_fF_f1): New macro.
7041 (modf_test_data): New variable.
7042 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7043
87aa21df
JM
7044 * math/libm-test.inc (struct test_f_f1_data): New type.
7045 (RUN_TEST_LOOP_f_f1): New macro.
7046 (gamma_test_data): New variable.
7047 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7048 (lgamma_test_data): New variable.
7049 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7050
141af660
CD
70512013-05-13 Carlos O'Donell <carlos@redhat.com>
7052
7053 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7054 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7055 (main): Comment "tls" pseudo-hwcap.
7056
6d33265c
JM
70572013-05-13 Joseph Myers <joseph@codesourcery.com>
7058
68fc074c
JM
7059 * math/libm-test.inc (struct test_fl_f_data): New type.
7060 (RUN_TEST_LOOP_fl_f): New variable.
7061 (scalbln_test_data): New variable.
7062 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7063
243216e1
JM
7064 * math/libm-test.inc (struct test_fi_f_data): New type.
7065 (RUN_TEST_LOOP_fi_f): New macro.
7066 (ldexp_test_data): New variable.
7067 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7068 (scalbn_test_data): New variable.
7069 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7070
6a1992e2
JM
7071 * math/libm-test.inc (struct test_c_f_data): New type.
7072 (RUN_TEST_LOOP_c_f): New macro.
7073 (cabs_test_data): New variable.
7074 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7075 (carg_test_data): New variable.
7076 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7077 (cimag_test_data): New variable.
7078 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7079 (creal_test_data): New variable.
7080 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7081
0e400df5
JM
7082 * math/libm-test.inc (struct test_if_f_data): New type.
7083 (RUN_TEST_LOOP_if_f): New macro.
7084 (jn_test_data): New variable.
7085 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7086 (yn_test_data): New variable.
7087 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7088
6d33265c
JM
7089 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7090
f98ece5f
AZ
70912013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092
7093 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7094 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7095
0f7d347b
SP
70962013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7097
43fe811b
SP
7098 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7099 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7100 (bench-deps): Add bench-timing.h.
7101 * benchtests-bench-skeleton.c: Include bench-timing.h.
7102 (main): Use TIMING_* macros instead of clock_gettime.
7103 * benchtests/bench-timing.h: New file.
7104
0f7d347b
SP
7105 [BZ #14582]
7106 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7107 Renamed from _LIB_VERSION.
7108 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7109
601a3a5f
JM
71102013-05-12 Joseph Myers <joseph@codesourcery.com>
7111
4f184d30
JM
7112 * math/libm-test.inc (struct test_fff_f_data): New type.
7113 (RUN_TEST_LOOP_fff_f): New macro.
7114 (fma_test_data): New variable.
7115 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7116 (fma_towardzero_test_data): New variable.
7117 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7118 (fma_downward_test_data): New variable.
7119 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7120 (fma_upward_test_data): New variable.
7121 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7122
08198877
JM
7123 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7124 (struct test_c_c_data): New type.
7125 (RUN_TEST_LOOP_c_c): New macro.
7126 (cacos_test_data): New variable.
7127 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7128 (cacosh_test_data): New variable.
7129 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7130 (casin_test_data): New variable.
7131 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7132 (casinh_test_data): New variable.
7133 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7134 (catan_test_data): New variable.
7135 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7136 (catanh_test_data): New variable.
7137 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7138 (ccos_test_data): New variable.
7139 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7140 (ccosh_test_data): New variable.
7141 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7142 (cexp_test_data): New variable.
7143 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7144 (clog_test_data): New variable.
7145 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7146 (clog10_test_data): New variable.
7147 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7148 (conj_test_data): New variable.
7149 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7150 (cproj_test_data): New variable.
7151 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7152 (csin_test_data): New variable.
7153 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7154 (csinh_test_data): New variable.
7155 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7156 (csqrt_test_data): New variable.
7157 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7158 (ctan_test_data): New variable.
7159 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7160 (ctan_tonearest_test_data): New variable.
7161 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7162 (ctan_towardzero_test_data): New variable.
7163 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7164 (ctan_downward_test_data): New variable.
7165 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7166 (ctan_upward_test_data): New variable.
7167 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7168 (ctanh_test_data): New variable.
7169 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7170 (ctanh_tonearest_test_data): New variable.
7171 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7172 (ctanh_towardzero_test_data): New variable.
7173 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7174 (ctanh_downward_test_data): New variable.
7175 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7176 (ctanh_upward_test_data): New variable.
7177 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7178 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7179 of BUILD_COMPLEX.
7180
601a3a5f
JM
7181 * math/libm-test.inc (struct test_ff_f_data): New type.
7182 (struct test_ff_f_data_nexttoward): Likewise.
7183 (RUN_TEST_LOOP_2_f): New macro.
7184 (RUN_TEST_LOOP_ff_f): Likewise.
7185 (atan2_test_data): New variable.
7186 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7187 (copysign_test_data): New variable.
7188 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7189 (fdim_test_data): New variable.
7190 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7191 (fmax_test_data): New variable.
7192 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7193 (fmin_test_data): New variable.
7194 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7195 (fmod_test_data): New variable.
7196 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7197 (hypot_test_data): New variable.
7198 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7199 (nextafter_test_data): New variable.
7200 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7201 (nexttoward_test_data): New variable.
7202 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7203 (pow_test_data): New variable.
7204 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7205 (pow_tonearest_test_data): New variable.
7206 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7207 (pow_towardzero_test_data): New variable.
7208 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7209 (pow_downward_test_data): New variable.
7210 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7211 (pow_upward_test_data): New variable.
7212 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7213 (remainder_test_data): New variable.
7214 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7215 (scalb_test_data): New variable.
7216 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7217 * sysdeps/i386/fpu/libm-test-ulps: Update.
7218
74c57478
JM
72192013-05-11 Joseph Myers <joseph@codesourcery.com>
7220
8329e4da
JM
7221 * math/libm-test.inc (fma_test): Use max_value instead of local
7222 variable fltmax.
7223 (nextafter_test): Likewise.
7224
74c57478
JM
7225 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7226 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7227 (acos_downward_test_data): New variable.
7228 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7229 (acos_upward_test_data): New variable.
7230 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7231 (acosh_test_data): New variable.
7232 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7233 (asin_test_data): New variable.
7234 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7235 (asin_tonearest_test_data): New variable.
7236 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7237 (asin_towardzero_test_data): New variable.
7238 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7239 (asin_downward_test_data): New variable.
7240 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7241 (asin_upward_test_data): New variable.
7242 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7243 (asinh_test_data): New variable.
7244 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7245 (atan_test_data): New variable.
7246 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7247 (atanh_test_data): New variable.
7248 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7249 (cbrt_test_data): New variable.
7250 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7251 (ceil_test_data): New variable.
7252 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7253 (cos_test_data): New variable.
7254 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7255 (cos_tonearest_test_data): New variable.
7256 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7257 (cos_towardzero_test_data): New variable.
7258 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7259 (cos_downward_test_data): New variable.
7260 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7261 (cos_upward_test_data): New variable.
7262 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7263 (cosh_test_data): New variable.
7264 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7265 (cosh_tonearest_test_data): New variable.
7266 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7267 (cosh_towardzero_test_data): New variable.
7268 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7269 (cosh_downward_test_data): New variable.
7270 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7271 (cosh_upward_test_data): New variable.
7272 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7273 (erf_test_data): New variable.
7274 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7275 (erfc_test_data): New variable.
7276 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7277 (exp_test_data): New variable.
7278 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7279 (exp_tonearest_test_data): New variable.
7280 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7281 (exp_towardzero_test_data): New variable.
7282 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7283 (exp_downward_test_data): New variable.
7284 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7285 (exp_upward_test_data): New variable.
7286 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7287 (exp10_test_data): New variable.
7288 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7289 (exp2_test_data): New variable.
7290 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7291 (expm1_test_data): New variable.
7292 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7293 (fabs_test_data): New variable.
7294 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7295 (floor_test_data): New variable.
7296 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7297 (j0_test_data): New variable.
7298 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7299 (j1_test_data): New variable.
7300 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7301 (log_test_data): New variable.
7302 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7303 (log10_test_data): New variable.
7304 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7305 (log1p_test_data): New variable.
7306 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7307 (log2_test_data): New variable.
7308 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7309 (logb_test_data): New variable.
7310 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7311 (logb_downward_test_data): New variable.
7312 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7313 (nearbyint_test_data): New variable.
7314 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7315 (rint_test_data): New variable.
7316 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7317 (rint_tonearest_test_data): New variable.
7318 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7319 (rint_towardzero_test_data): New variable.
7320 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7321 (rint_downward_test_data): New variable.
7322 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7323 (rint_upward_test_data): New variable.
7324 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7325 (round_test_data): New variable.
7326 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7327 (sin_test_data): New variable.
7328 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7329 (sin_tonearest_test_data): New variable.
7330 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7331 (sin_towardzero_test_data): New variable.
7332 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7333 (sin_downward_test_data): New variable.
7334 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7335 (sin_upward_test_data): New variable.
7336 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7337 (sinh_test_data): New variable.
7338 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7339 (sinh_tonearest_test_data): New variable.
7340 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7341 (sinh_towardzero_test_data): New variable.
7342 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7343 (sinh_downward_test_data): New variable.
7344 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7345 (sinh_upward_test_data): New variable.
7346 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7347 (sqrt_test_data): New variable.
7348 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7349 (tan_test_data): New variable.
7350 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7351 (tan_tonearest_test_data): New variable.
7352 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7353 (tan_towardzero_test_data): New variable.
7354 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7355 (tan_downward_test_data): New variable.
7356 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7357 (tan_upward_test_data): New variable.
7358 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7359 (tanh_test_data): New variable.
7360 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7361 (tgamma_test_data): New variable.
7362 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7363 (trunc_test_data): New variable.
7364 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7365 (y0_test_data): New variable.
7366 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7367 (y1_test_data): New variable.
7368 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7369 (significand_test_data): New variable.
7370 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7371
7187d844
CG
73722013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7373
7374 [BZ #12387]
7375 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7376
f63fae73
PT
73772013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7378
7379 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7380
8a67a4b3
AJ
73812013-05-10 Andreas Jaeger <aj@suse.de>
7382
7383 [BZ #15448]
7384 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7385 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7386
51df539d
JM
73872013-05-10 Joseph Myers <joseph@codesourcery.com>
7388
7389 * math/gen-libm-test.pl (adjust_arg): New function.
7390 (special_functions): Handle generating output in both functions
7391 and arrays.
7392 (parse_args): Likewise.
7393 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7394 $in_func argument to parse_args.
7395 * math/libm-test.inc (struct test_f_f_data): New type.
7396 (IF_ROUND_INIT_): New macro.
7397 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7398 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7399 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7400 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7401 (ROUND_RESTORE_): Likewise.
7402 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7403 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7404 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7405 (ROUND_RESTORE_FE_UPWARD): Likewise.
7406 (RUN_TEST_LOOP_f_f): New macro.
7407 (acos_test_data): New variable.
7408 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7409 (acos_tonearest_test_data): New variable.
7410 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7411
5c637fe5
SP
74122013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
7414 * benchtests/bench-skeleton.c (startup): Fix coding style.
7415
ab2b9461
JM
74162013-05-10 Joseph Myers <joseph@codesourcery.com>
7417
7418 [BZ #6809]
7419 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7420 negative infinity argument.
7421 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7422 negative infinity argument.
7423 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7424 negative infinity argument.
7425 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7426 domain errors.
7427
4c0fe6fe
FW
74282013-05-10 Florian Weimer <fweimer@redhat.com>
7429
7430 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7431 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7432 * iconv/iconv_prog.c (main): Likewise.
7433 * locale/programs/charmap-dir.c (charmap_readdir)
7434 (fopen_uncompressed): Likewise.
7435 * locale/programs/locfile.c (siblings_uncached)
7436 (write_locale_data): Use lstat64 instead of lstat.
7437 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7438 stat.
7439
a3375d29
AJ
74402013-05-10 Andreas Jaeger <aj@suse.de>
7441
7442 [BZ #15395]
7443 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7444 localization.
7445 Include <locale.h>.
7446
36129722
CD
74472013-05-09 Carlos O'Donell <carlos@redhat.com>
7448
7449 * elf/dl-close.c (_dl_close_worker): Add comments.
7450
faa7f811
JM
74512013-05-09 Joseph Myers <joseph@codesourcery.com>
7452
ed41ffef
JM
7453 [BZ #15359]
7454 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7455 high part of pi/2.
7456 (__ieee754_rem_pio2l): Update comments.
7457
d0213cd0
JM
7458 [BZ #15429]
7459 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7460 high part of pi/2.
7461 (__ieee754_rem_pio2l): Update comments.
7462
0d3e777a
JM
7463 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7464 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7465
24f56066
JM
7466 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7467 M_PI_4l.
7468
faa7f811
JM
7469 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7470 (M_PI_34_LOG10El): Likewise.
7471 (M_PI2_LOG10El): Likewise.
7472 (M_PI4_LOG10El): Likewise.
7473 (M_PI_LOG10El): Likewise.
7474
e9a5e0fd
AZ
74752013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7476
7477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7478
d8cd06db
JM
74792013-05-08 Joseph Myers <joseph@codesourcery.com>
7480
a0d9f9d7
JM
7481 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7482 (MINUS_ZERO_INIT): Likewise.
7483 (PLUS_INFTY_INIT): Likewise.
7484 (MINUS_INFTY_INIT): Likewise.
7485 (QNAN_VALUE_INIT): Likewise.
7486 (MAX_VALUE_INIT): Likewise.
7487 (MIN_VALUE_INIT): Likewise.
7488 (MIN_SUBNORM_VALUE_INIT): Likewise.
7489 (plus_zero): Initialize with PLUS_ZERO_INIT.
7490 (minus_zero): Initialize with MINUS_ZERO_INIT.
7491 (plus_infty): Initialize with PLUS_INFTY_INIT.
7492 (minus_infty): Initialize with MINUS_INFTY_INIT.
7493 (qnan_value): Initialize with QNAN_VALUE_INIT.
7494 (max_value): Initialize with MAX_VALUE_INIT.
7495 (min_value): Initialize with MIN_VALUE_INIT.
7496 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7497
ae08db3b
JM
7498 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7499 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7500 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7501 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7502
f44bf14a
JM
7503 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7504 (RUN_TEST_2_f): Likewise.
7505 (RUN_TEST_ff_f): Likewise.
7506 (RUN_TEST_fi_f): Likewise.
7507 (RUN_TEST_fl_f): Likewise.
7508 (RUN_TEST_fff_f): Likewise.
7509 (RUN_TEST_c_f): Likewise.
7510 (RUN_TEST_f_f1): Likewise.
7511 (RUN_TEST_fF_f1): Likewise.
7512 (RUN_TEST_fI_f1): Likewise.
7513 (RUN_TEST_ffI_f1): Likewise.
7514 (RUN_TEST_c_c): Likewise.
7515 (RUN_TEST_cc_c): Likewise.
7516 (RUN_TEST_f_i): Likewise.
7517 (RUN_TEST_f_i_tg): Likewise.
7518 (RUN_TEST_ff_i_tg): Likewise.
7519 (RUN_TEST_f_b): Likewise.
7520 (RUN_TEST_f_b_tg): Likewise.
7521 (RUN_TEST_f_l): Likewise.
7522 (RUN_TEST_f_L): Likewise.
7523 (RUN_TEST_sincos): Likewise.
7524 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7525 whether to show exceptions. Do not include ");\n" in return
7526 value.
7527 (special_functions): Output call to RUN_TEST_sincos instead of
7528 check_float calls. Update calls to new_test.
7529 (parse_args): Output call to single RUN_TEST_* macro instead of
7530 check_* calls and other assignments. Update calls to new_test.
7531
d8cd06db
JM
7532 [BZ #2546]
7533 [BZ #2560]
7534 [BZ #5159]
7535 [BZ #15426]
7536 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7537 input to result for tgamma overflow.
7538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7539 (gamma_coeff): New variable.
7540 (NCOEFF): New macro.
7541 (gamma_positive): New function.
7542 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7543 underflow here. Use gamma_positive instead of exp (lgamma) for
7544 other arguments.
7545 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7546 (gamma_coeff): New variable.
7547 (NCOEFF): New macro.
7548 (gammaf_positive): New function.
7549 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7550 underflow here. Use gamma_positive instead of exp (lgamma) for
7551 other arguments.
7552 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7553 (gamma_coeff): New variable.
7554 (NCOEFF): New macro.
7555 (gammal_positive): New function.
7556 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7557 underflow here. Use gamma_positive instead of exp (lgamma) for
7558 other arguments.
7559 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7560 (gamma_coeff): New variable.
7561 (NCOEFF): New macro.
7562 (gammal_positive): New function.
7563 (__ieee754_gammal_r): Handle positive infinity, overflow and
7564 underflow here. Handle NaN the same as positive infinity. Remove
7565 check x < 0xffffffff for negative integers. Use gamma_positive
7566 instead of exp (lgamma) for other arguments.
7567 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7568 (gamma_coeff): New variable.
7569 (NCOEFF): New macro.
7570 (gammal_positive): New function.
7571 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7572 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7576 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7577 * sysdeps/generic/math_private.h (__gamma_productf): New
7578 prototype.
7579 (__gamma_product): Likewise.
7580 (__gamma_productl): Likewise.
7581 * math/Makefile (libm-calls): Add gamma_product.
7582 * math/libm-test.inc (tgamma_test): Add more tests.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585
bb7cf681
OB
75862013-05-08 Ondřej Bílka <neleai@seznam.cz>
7587
7588 * benchtests/bench-skeleton.c (main): Preheat CPU.
7589
ba853947
AJ
75902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7591
7592 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7593
8347c74c
RM
75942013-05-07 Roland McGrath <roland@hack.frob.com>
7595
7596 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7597 and _dl_skip_args_internal.
7598
e8dd4791
CD
75992013-05-07 Carlos O'Donell <carlos@redhat.com>
7600
7601 * manual/message.texi (Message Translation): Talk about users.
7602 Message to key mapping impacts design.
7603
c7405830
RM
76042013-05-06 Roland McGrath <roland@hack.frob.com>
7605
a9173057
RM
7606 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7607
976e2f03
RM
7608 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7609
9723ffc5
RM
7610 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7611 * sysdeps/wordsize-64/glob64.c: ... here.
7612
962e6658
RM
7613 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7614 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7615 New macros.
7616
ee586a6d
RM
7617 * debug/getlogin_r_chk.c: Moved to ...
7618 * login/getlogin_r_chk.c: ... here.
7619 * debug/Makefile (routines): Move getlogin_r_chk to ...
7620 * login/Makefile (routines): ... here.
7621 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7622 * login/Versions (libc: GLIBC_2.4): ... here.
7623
355f9165
RM
7624 * io/poll.c (__poll): Renamed from poll.
7625 Add libc_hidden_def.
7626 (poll): Define as weak alias.
7627
bd9ffde6
RM
7628 * debug/ptsname_r_chk.c: Moved to ...
7629 * login/ptsname_r_chk.c: ... here.
7630 * debug/Makefile (routines): Move ptsname_r_chk to ...
7631 * login/Makefile (routines): ... here.
7632 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7633 * login/Versions (libc: GLIBC_2.4): ... here.
7634
8fb16a04
RM
7635 * posix/getlogin.c: Moved to ...
7636 * login/getlogin.c: ... here.
7637 * posix/getlogin_r.c: Moved to ...
7638 * login/getlogin_r.c: ... here.
7639 * posix/getlogin_r.c: Moved to ...
7640 * login/getlogin_r.c: ... here.
7641 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7642 * login/Makefile (routines): ... here.
7643 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7644 * login/Versions (libc: GLIBC_2.0): ... here.
7645
b99b892f
RM
7646 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7647 (setrlimit): Define as weak alias.
7648
c7405830
RM
7649 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7650 Call __ names for open, ftruncate, and close.
7651 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7652 (truncate): Define as weak alias.
7653
5bf96de5
JM
76542013-05-06 Joseph Myers <joseph@codesourcery.com>
7655
9ea3513c
JM
7656 * math/gen-libm-test.pl (parse_args): Initialize x before each
7657 test of frexp, modf and remquo.
7658
5bf96de5
JM
7659 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7660 test signgam value.
7661
16e616a7
AZ
76622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7663
7664 [BZ #15418]
7665 [BZ #15419]
7666 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7667 internal tests.
7668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7669
d5e82754
RM
76702013-05-06 Roland McGrath <roland@hack.frob.com>
7671
7672 * elf/dl-writev.h: New file.
7673 * elf/dl-misc.c: Include it.
7674 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7675 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7676
a7548d41
JM
76772013-05-04 Joseph Myers <joseph@codesourcery.com>
7678
b7dab1e4
JM
7679 * math/libm-test.inc (noXFails): Remove variable.
7680 (noXPasses): Likewise.
7681 (BUILD_COMPLEX_INT): Remove macro.
7682 (print_screen): Remove xfail argument.
7683 (print_screen_max_error): Likewise.
7684 (update_stats): Likewise.
7685 (print_max_error): Likewise. Update calls to other affected
7686 functions.
7687 (print_complex_max_error): Likewise.
7688 (test_single_exception): Update calls to print_screen.
7689 (test_single_errno): Likewise.
7690 (check_float_internal): Remove xfail argument. Update calls to
7691 other affected functions.
7692 (check_float): Likewise.
7693 (check_complex): Likewise.
7694 (check_int): Likewise.
7695 (check_long): Likewise.
7696 (check_bool): Likewise.
7697 (check_longlong): Likewise.
7698 (main): Don't print noXFails and noXPasses.
7699 * math/gen-libm-test.pl (top level): Don't mention expected
7700 failure handling in comment.
7701 (new_test): Don't handle expected failures.
7702 (parse_args): Don't mention expected failure handling in comment.
7703 (generate_testfile): Don't handle expected failures.
7704 (parse_ulps): Likewise.
7705 (print_ulps_file): Likewise.
7706 (get_failure): Remove function.
7707 (output_test): Don't handle expected failures.
7708 * make/README.libm-test: Don't mention expected failure handling.
7709
a7548d41
JM
7710 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7711 (minus_zero): Likewise.
7712 (plus_infty): Likewise.
7713 (minus_infty): Likewise.
7714 (qnan_value): Likewise.
7715 (max_value): Likewise.
7716 (min_value): Likewise.
7717 (min_subnorm_value): Likewise.
7718 (initialize): Do not initialize those variables dynamically.
7719
60bfd54c
RM
77202013-05-03 Roland McGrath <roland@hack.frob.com>
7721
cc0e6ed8
RM
7722 * io/open.c (__open_2): Moved to ...
7723 * io/open_2.c: ... this new file.
7724 * io/open64.c (__open64_2): Moved to ...
7725 * io/open64_2.c: ... this new file.
7726 * io/openat.c (__openat_2): Moved to ...
7727 * io/openat_2.c: ... this new file.
7728 * io/openat64.c (__openat64_2): Moved to ...
7729 * io/openat64_2.c: ... this new file.
7730 * io/Makefile (routines): Add them.
7731 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7732 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7733 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7734 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7735 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7736 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7737 (__openat64): Add hidden_ver.
7738 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7739 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7740
60bfd54c
RM
7741 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7742 Separately conditionalize setting of GLRO(dl_sysinfo) so
7743 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7744 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7745
83e7640f
AZ
77462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7747
7748 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7750 definition.
7751 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7752 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7753 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7754 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7755 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7756
d5dc2af3
JM
77572013-05-03 Joseph Myers <joseph@codesourcery.com>
7758
c31a5b1e
JM
7759 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7760 test signgam value.
7761
d5dc2af3
JM
7762 * math/libm-test.inc (hypot_test): Do not use
7763 IGNORE_ZERO_INF_SIGN.
7764
164fd39d
AJ
77652013-05-03 Andreas Jaeger <aj@suse.de>
7766
7767 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7768 Linux 3.9.
7769 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7770 (PF_MAX): Adjust for VSOCK change.
7771
8237f48c
AZ
77722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7773
7774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7775
9df02941
CD
77762013-05-02 Carlos O'Donell <carlos@redhat.com>
7777
7778 [BZ #15264]
7779 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7780 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7781 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7782
d422395e
DM
77832013-05-02 David S. Miller <davem@davemloft.net>
7784
7785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7786
a07c5731
OB
77872013-05-01 Ondřej Bílka <neleai@seznam.cz>
7788
7789 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7790
1324e37f
RM
77912013-05-01 Roland McGrath <roland@hack.frob.com>
7792
7793 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7794
0695940b
RS
77952013-05-01 Richard Smith <richard@metafoo.co.uk>
7796
bb5f27ad 7797 [BZ #14952]
0695940b
RS
7798 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7799 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7800 Use __attribute__ ((__gnu_inline__)).
7801 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7802 Don't use __attribute__ ((__gnu_inline__)).
7803
10de07f5
JM
78042013-05-01 Joseph Myers <joseph@codesourcery.com>
7805
7806 [BZ #15423]
7807 * math/s_catan.c (__catan): Handle small real or imaginary part of
7808 input specially to avoid spurious underflow.
7809 * math/s_catanf.c (__catanf): Likewise.
7810 * math/s_catanh.c (__catanh): Likewise.
7811 * math/s_catanhf.c (__catanhf): Likewise.
7812 * math/s_catanhl.c (__catanhl): Likewise.
7813 * math/s_catanl.c (__catanl): Likewise.
7814 * math/libm-test.inc (catan_test): Add more tests.
7815 (catanh_test): Likewise.
7816 * sysdeps/i386/fpu/libm-test-ulps: Update.
7817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818
cb4d5414
AZ
78192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7820
7821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7822
caf84319
JM
78232013-04-30 Joseph Myers <joseph@codesourcery.com>
7824
7825 [BZ #15416]
7826 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7827 accurately for denominator in atan2.
7828 * math/s_catanf.c (__catanf): Likewise.
7829 * math/s_catanh.c (__catanh): Likewise.
7830 * math/s_catanhf.c (__catanhf): Likewise.
7831 * math/s_catanhl.c (__catanhl): Likewise.
7832 * math/s_catanl.c (__catanl): Likewise.
7833 * math/libm-test.inc (catan_test): Add more tests.
7834 (catanh_test): Likewise.
7835 * sysdeps/i386/fpu/libm-test-ulps: Update.
7836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7837
d569c6ee
SP
78382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7839
6dbe713d
SP
7840 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7841
f0ee064b
SP
7842 * benchtests/Makefile (bench): Remove slow benchmarks.
7843 * benchtests/atan-inputs: Add slow benchmark inputs.
7844 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7845 (BENCH_FUNC): Accept variant offset.
7846 (VARIANT): Define.
7847 * benchtests/bench-skeleton.c (main): Run benchmark for each
7848 variant.
7849 * benchtests/cos-inputs: Add slow benchmark inputs.
7850 * benchtests/exp-inputs: Likewise.
7851 * benchtests/pow-inputs: Likewise.
7852 * benchtests/sin-inputs: Likewise.
7853 * benchtests/slowatan-inputs: Remove.
7854 * benchtests/slowatan.c: Remove.
7855 * benchtests/slowcos-inputs: Remove.
7856 * benchtests/slowcos.c: Remove.
7857 * benchtests/slowexp-inputs: Remove.
7858 * benchtests/slowexp.c: Remove.
7859 * benchtests/slowpow-inputs: Remove.
7860 * benchtests/slowpow.c: Remove.
7861 * benchtests/slowsin-inputs: Remove.
7862 * benchtests/slowsin.c: Remove.
7863 * benchtests/slowtan-inputs: Remove.
7864 * benchtests/slowtan.c: Remove.
7865 * benchtests/tan-inputs: Add slow benchmark inputs.
7866 * scripts/bench.pl: Parse comments and directives.
7867
d569c6ee
SP
7868 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7869 in CPPFLAGS.
7870 ($(objpfx)bench-%.c): Remove *-ITER.
7871 * benchtests/bench-modf.c: Remove definition of ITER.
7872 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7873 (main): Loop for DURATION seconds instead of fixed number of
7874 iterations.
7875 * scripts/bench.pl: Don't expect iterations in parameters.
7876
a6a242fe
RM
78772013-04-29 Roland McGrath <roland@hack.frob.com>
7878
7879 * io/fchdir.c (__fchdir): Renamed from fchdir.
7880 (fchdir): Define as weak alias.
7881
f2da7793
JM
78822013-04-29 Joseph Myers <joseph@codesourcery.com>
7883
7884 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7885 (ERRNO_EDOM): Likewise.
7886 (ERRNO_ERANGE): Likewise.
7887 (noErrnoTests): New variable.
7888 (init_max_error): Set errno to 0.
7889 (test_single_errno): New function.
7890 (test_errno): Likewise.
7891 (check_float_internal): Call test_errno. Set errno to 0.
7892 (check_complex): Refer to errno tests in comment.
7893 (check_int): Call test_errno. Set errno to 0.
7894 (check_long): Likewise.
7895 (check_bool): Likewise.
7896 (check_longlong): Likewise.
7897 (cos_test): Use ERRNO_* flags for errno tests instead of
7898 check_int.
7899 (expm1_test): Likewise.
7900 (fmod_test): Likewise.
7901 (ilogb_test): Likewise.
7902 (lgamma_test): Likewise.
7903 (pow_test): Likewise.
7904 (remainder_test): Likewise.
7905 (sin_test): Likewise.
7906 (tan_test): Likewise.
7907 (yn_test): Likewise.
7908 (initialize): Set errno to 0.
7909 (main): Print number of errno tests.
7910 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7911
b1a36ceb
AJ
79122013-04-29 Andreas Jaeger <aj@suse.de>
7913
c3ed8088
AJ
7914 [BZ #15084]
7915 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7916 and RES_USEVC.
7917
f1a24198
AJ
7918 [BZ #15085]
7919 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7920 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7921 unimplemented.
7922
9ce3b2cb
AJ
7923 [BZ #15380]
7924 * stdlib/random.c (__initstate): Return NULL if
7925 __initstate fails.
7926
f1a24198 7927 [BZ #15086]
b1a36ceb
AJ
7928 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7929 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7930 RES_SNGLKUPREOP.
7931
7e7b6f36
AZ
79322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933
7934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7935
4d14f449
JM
79362013-04-29 Joseph Myers <joseph@codesourcery.com>
7937
7938 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7939 of individual tests.
7940 (casin_test): Likewise.
7941 (casinh_test): Likewise.
7942
5b4217d7
JM
79432013-04-27 Joseph Myers <joseph@codesourcery.com>
7944
7945 [BZ #15409]
7946 * math/s_catan.c (__catan): Handle arguments with large real or
7947 imaginary part separately without squaring.
7948 * math/s_catanf.c (__catanf): Likewise.
7949 * math/s_catanh.c (__catanh): Likewise.
7950 * math/s_catanhf.c (__catanhf): Likewise.
7951 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7952 and redefine.
7953 (__catanhl): Handle arguments with large real or imaginary part
7954 separately without squaring.
7955 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7956 and redefine.
7957 (__catanl): Handle arguments with large real or imaginary part
7958 separately without squaring.
7959 * math/libm-test.inc (catan_test): Add more tests.
7960 (catanh_test): Likewise.
7961 * sysdeps/i386/fpu/libm-test-ulps: Update.
7962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7963
4220c3ef
AJ
79642013-04-27 Andreas Jaeger <aj@suse.de>
7965
7966 [BZ #15007]
7967 * stdlib/stdlib.h: Update guards for qecvt.
7968 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7969 <stdlib.h>.
7970
4721b2d1
AM
79712013-04-27 Allan McRae <allan@archlinux.org>
7972
7973 * sysdeps/i386/fpu/libm-test-ulps: Update.
7974
f0302940
JM
79752013-04-26 Joseph Myers <joseph@codesourcery.com>
7976
9457fd95
JM
7977 [BZ #15406]
7978 * math/s_catan.c: Include <float.h>.
7979 (__catan): Ensure underflow exception occurs for underflowed
7980 result.
7981 * math/s_catanf.c: Include <float.h>.
7982 (__catanf): Ensure underflow exception occurs for underflowed
7983 result.
7984 * math/s_catanh.c: Include <float.h>.
7985 (__catanh): Ensure underflow exception occurs for underflowed
7986 result.
7987 * math/s_catanhf.c: Include <float.h>.
7988 (__catanhf): Ensure underflow exception occurs for underflowed
7989 result.
7990 * math/s_catanhl.c: Include <float.h>.
7991 (__catanhl): Ensure underflow exception occurs for underflowed
7992 result.
7993 * math/s_catanl.c: Include <float.h>.
7994 (__catanl): Ensure underflow exception occurs for underflowed
7995 result.
7996 * math/libm-test.inc (catan_test): Add more tests.
7997 (catanh_test): Likewise.
7998
f0302940
JM
7999 [BZ #15405]
8000 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8001 underflowed result.
8002 * math/s_ccoshf.c (__ccoshf): Likewise.
8003 * math/s_ccoshl.c (__ccoshl): Likewise.
8004 * math/s_csin.c (__csin): Likewise.
8005 * math/s_csinf.c (__csinf): Likewise.
8006 * math/s_csinh.c (__csinh): Likewise.
8007 * math/s_csinhf.c (__csinhf): Likewise.
8008 * math/s_csinhl.c (__csinhl): Likewise.
8009 * math/s_csinl.c (__csinl): Likewise.
8010 * math/libm-test.inc (ccos_test): Add more tests.
8011 (ccosh_test): Likewise.
8012 (csin_test): Likewise.
8013 (csinh_test): Likewise.
8014
aa630f59
AZ
80152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8016
8017 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8018 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8019 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8020 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8021 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8022 powerpc/power5+/fpu folders.
8023 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8024
8025
1b835983
MT
80262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8027
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8029
73709b26
JM
80302013-04-25 Joseph Myers <joseph@codesourcery.com>
8031
8032 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8033 additions to variable.
8034 [$(config-machine) = x86_64] (modules-names): Likewise.
8035 ($(objpfx)tst-audit3): Remove dependency.
8036 ($(objpfx)tst-audit3.out): Likewise.
8037 ($(objpfx)tst-audit4): Likewise.
8038 ($(objpfx)tst-audit4.out): Likewise.
8039 ($(objpfx)tst-audit5): Likewise.
8040 ($(objpfx)tst-audit5.out): Likewise.
8041 ($(objpfx)tst-audit6): Likewise.
8042 ($(objpfx)tst-audit6.out): Likewise.
8043 ($(objpfx)tst-audit7): Likewise.
8044 ($(objpfx)tst-audit7.out): Likewise.
8045 (tst-audit3-ENV): Remove variable.
8046 (tst-audit4-ENV): Likewise.
8047 (tst-audit5-ENV): Likewise.
8048 (tst-audit6-ENV): Likewise.
8049 (tst-audit7-ENV): Likewise.
8050 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8051 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8052 addition to variable.
8053 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8054 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8055 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8056 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8057 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8058 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8059 tst-audit3, tst-audit4 and tst-audit5.
8060 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8061 tst-audit6 and tst-audit7.
8062 [$(subdir) = elf] (modules-names): Add audit modules for those
8063 tests.
8064 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8065 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8066 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8067 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8068 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8069 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8070 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8071 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8072 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8073 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8074 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8075 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8076 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8077 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8078 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8079 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8080 Likewise.
8081 [$(subdir) = elf && $(config-cflags-avx) = yes]
8082 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8083 [$(subdir) = elf && $(config-cflags-avx) = yes]
8084 (CFLAGS-tst-auditmod4a.c): Likewise.
8085 [$(subdir) = elf && $(config-cflags-avx) = yes]
8086 (CFLAGS-tst-auditmod4b.c): Likewise.
8087 [$(subdir) = elf && $(config-cflags-avx) = yes]
8088 (CFLAGS-tst-auditmod6b.c): Likewise.
8089 [$(subdir) = elf && $(config-cflags-avx) = yes]
8090 (CFLAGS-tst-auditmod6c.c): Likewise.
8091 [$(subdir) = elf && $(config-cflags-avx) = yes]
8092 (CFLAGS-tst-auditmod7b.c): Likewise.
8093 * elf/tst-audit3.c: Move to ...
8094 * sysdeps/x86_64/tst-audit3.c: ... here.
8095 * elf/tst-audit4.c: Move to ...
8096 * sysdeps/x86_64/tst-audit4.c: ... here.
8097 * elf/tst-audit5.c: Move to ...
8098 * sysdeps/x86_64/tst-audit5.c: ... here.
8099 * elf/tst-audit6.c: Move to ...
8100 * sysdeps/x86_64/tst-audit6.c: ... here.
8101 * elf/tst-audit7.c: Move to ...
8102 * sysdeps/x86_64/tst-audit7.c: ... here.
8103 * elf/tst-auditmod3a.c: Move to ...
8104 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8105 * elf/tst-auditmod3b.c: Move to ...
8106 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8107 * elf/tst-auditmod4a.c: Move to ...
8108 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8109 * elf/tst-auditmod4b.c: Move to ...
8110 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8111 * elf/tst-auditmod5a.c: Move to ...
8112 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8113 * elf/tst-auditmod5b.c: Move to ...
8114 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8115 * elf/tst-auditmod6a.c: Move to ...
8116 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8117 * elf/tst-auditmod6b.c: Move to ...
8118 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8119 * elf/tst-auditmod6c.c: Move to ...
8120 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8121 * elf/tst-auditmod7a.c: Move to ...
8122 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8123 * elf/tst-auditmod7b.c: Move to ...
8124 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8125
1ef74943
PP
81262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8127
8128 [BZ #15366]
8129 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8130 define unconditionally.
8131 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8132 define unconditionally.
8133 (INT8_C, INT16_C, etc.): Likewise.
8134
93fd48c5
MR
81352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8136
ae9552cf
MR
8137 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8138 __ehdr_start with hidden visibility.
8139
93fd48c5
MR
8140 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8141
418601aa
CD
81422013-04-24 Carlos O'Donell <carlos@redhat.com>
8143
8144 * math/libm-test.inc (cos_test): Use accurate hex constants.
8145 (sincost_test): Likewise.
8146
2f38fbfe
JM
81472013-04-24 Joseph Myers <joseph@codesourcery.com>
8148
5e221800
JM
8149 * math/libm-test.inc (catan_test): Add more tests.
8150 (catanh_test): Likewise.
8151
77f143fd
JM
8152 * math/s_catanf.c (__catanf): Use suffixed floating-point
8153 constants.
8154 * math/s_catanhf.c (__catanhf): Likewise.
8155 * math/s_catanhl.c (__catanhl): Likewise.
8156 * math/s_catanl.c (__catanl): Likewise.
8157
2f38fbfe
JM
8158 [BZ #15394]
8159 * math/s_catan.c (__catan): Calculate imaginary part of result
8160 with log1p not log unless computing log of number close to 0.
8161 * math/s_catanf.c (__catanf): Likewise.
8162 * math/s_catanl.c (__catanl): Likewise.
8163 * math/s_catanh.c (__catanh): Calculate real part of result with
8164 log1p not log unless computing log of number close to 0.
8165 * math/s_catanhf.c (__catanhf): Likewise.
8166 * math/s_catanhl.c (__catanhl): Likewise.
8167 * math/libm-test.inc (catan_test): Add more tests.
8168 (catanh_test): Likewise.
8169 * sysdeps/i386/fpu/libm-test-ulps: Update.
8170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8171
45d69176
SP
81722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8173
8174 * benchtests/Makefile: Mention files in which fast and slow
8175 paths of math functions are implemented.
8176
87f51853
RM
81772013-04-23 Roland McGrath <roland@hack.frob.com>
8178
8179 * sysdeps/posix/timespec_get.c: New file.
8180
3c026539
AZ
81812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
8183 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8184 POWER.
8185 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8186 for POWER.
8187 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8188 powerpc/power5/fpu folders.
8189 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8190 * benchtests/Makefile: Add modf testcase.
8191 * benchtests/bench-modf.c: New file: Benchmark test for mo
8192
ff491d14
SP
81932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8194
8195 [BZ #14888]
8196 * time/Makefile (tests): Add tst-strptime-whitespace.
8197 * time/strptime_l.c (get_number): Use ISSPACE.
8198 (__strptime_internal): Likewise.
8199 * time/tst-strptime-whitespace.c: New test case.
8200
7ed3f4e8
AS
82012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8202
8203 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8204 member.
8205 (_nss_files_init): Set it here.
8206
5c95f7b6
HC
82072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8208
8209 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8210 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8211 unsigned.
8212
d34c9158
JBG
82132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8214
8215 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8216
2169712d
SP
82172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8218
8219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8220 size just once.
8221
29c5de99
DM
82222013-04-21 David S. Miller <davem@davemloft.net>
8223
8224 * po/ru.po: Update Russion translation from translation project.
8225
ccdad15d
AC
82262013-04-17 Adam Conrad <adconrad@0c3.net>
8227
8228 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8229 and setfsgid.
8230
0f122b8d
CD
82312013-04-17 Carlos O'Donell <carlos@redhat.com>
8232
5c5b07da 8233 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8234 * configure: Regenerate.
5c5b07da 8235 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8236 Add example to error message.
8237 * sysdeps/i386/configure: Regenerate.
8238
037714dd
SP
82392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8240
8241 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8242 slowtan.
8243 * benchtests/cos-inputs: New file.
8244 * benchtests/slowcos-inputs: New file.
8245 * benchtests/slowcos.c: New file.
8246 * benchtests/slowtan-inputs: New file.
8247 * benchtests/slowtan.c: New file.
8248 * benchtests/tan-inputs: New file.
8249
e913141d
RM
82502013-04-16 Roland McGrath <roland@hack.frob.com>
8251
8252 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8253 considered kosher.
8254
a2964074
SP
82552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8256
4856bcd2
SP
8257 * benchtests/Makefile: Include cppflags-iterator.mk to add
8258 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8259
a2964074
SP
8260 * Makefile.in (bench-clean): New target.
8261 * benchtests/Makefile (bench-clean): Likewise.
8262
9fbf9aca
DH
82632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8264
8265 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8266
207d1e2a
TS
82672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8268
8269 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8270
306dfba9
AS
82712013-04-15 Andreas Schwab <schwab@suse.de>
8272
8273 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8275 * nscd/pwdcache.c (cache_addpw): Likewise.
8276 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8277 more than recsize.
8278
206a6699
SP
82792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8280
8281 * benchtests/Makefile (bench): Write all output to
8282 bench-out.tmp together.
8283
0582f6b3
AS
82842013-04-15 Andreas Schwab <schwab@suse.de>
8285
8286 * nscd/nscd.c (main): Don't fork again after closing files.
8287
acb4325f
SP
82882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8289
5cb26d0a
SP
8290 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8291
acb4325f
SP
8292 * benchtests/Rules (bench-deps): Collect dependencies into a
8293 single variable. Add Makefile to dependencies.
8294 ($(objpfx)bench-%.c): Depend on bench-deps.
8295
47792506
RM
82962013-04-12 Roland McGrath <roland@hack.frob.com>
8297 Xavier Roche <roche+kml2@exalead.com>
8298
8299 [BZ #15361]
8300 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8301 just that it's a file descriptor.
8302 * manual/llio.texi (Synchronizing AIO Operations): Update description
8303 for EBADF error from aio_fsync.
8304
8fc1bee5
SP
83052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8306
8307 * Rules (bench): Move target definition...
8308 * benchtests/Makefile: ... here.
8309
aba5e333
CD
83102013-04-11 Carlos O'Donell <carlos@redhat.com>
8311
8312 * math/libm-test.inc (cos_test): Fix PI/2 test.
8313 (sincos_test): Likewise.
8314 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8315 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8316
273cdee8
AS
83172013-04-11 Andreas Schwab <schwab@suse.de>
8318
6ecec3b6
AS
8319 [BZ #13988]
8320 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8321 accept exponent character only when digits were seen.
8322 * stdio-common/Makefile (tests): Add bug26.
8323 * stdio-common/bug26.c: New file.
8324
273cdee8
AS
8325 [BZ #14293]
8326 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8327 non-freeable.
8328
8da491f5
SP
83292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8330
01dc6df9
SP
8331 * Makeconfig (rtld-prefix): Define built linker prefix.
8332 * Rules (run-bench): Use it.
8333 * math/Makefile (run-regen-ulps): Likewise.
8334
8da491f5
SP
8335 * Rules (bench): Remove eval.
8336
abe7f530
SP
83372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8338 Roland McGrath <roland@hack.frob.com>
8339 Ondrej Bilka <neleai@seznam.cz>
8340
8341 [BZ #15346]
8342 * time/getdate.c: Include ctype.h and alloca.h.
8343 (__getdate_r): Trim leading and trailing spaces of input.
8344 * time/tst-getdate.c (tests): Add tests with leading and
8345 trailing spaces.
8346
61c23e62
RM
83472013-04-08 Roland McGrath <roland@hack.frob.com>
8348
8349 [BZ #14280]
8350 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8351 when computing value.
8352
7208a313
CD
83532013-04-06 Carlos O'Donell <carlos@redhat.com>
8354
085b2d41
CD
8355 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8356 Use testrun.sh to run libm tests.
8357
7208a313
CD
8358 [BZ #15309]
8359 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8360
872c0acd
MM
83612013-04-06 Marko Myllynen <myllynen@redhat.com>
8362
8363 [BZ #15264]
8364 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8365
26510bdd
CD
83662013-04-06 Carlos O'Donell <carlos@redhat.com>
8367
8368 * Makefile.in (regen-ulps): New target.
8369 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8370 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8371 [ifneq (no,$(PERL)] (regen-ulps): New target.
8372 [ifeq (no,$(PERL)] (regen-ulps): New target.
8373 * math/libm-test.inc (ulps_file_name): Define.
8374 (output_dir): New variable.
8375 (options): Add "output-dir" option.
8376 (parse_opt): Handle 'o' case.
8377 (main): If output_dir is non-NULL use it as a prefix
8378 otherwise use "".
8379 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8380
a01f19c8
CD
83812013-04-06 Carlos O'Donell <carlos@redhat.com>
8382
8383 [BZ #10060, #10062]
8384 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8385 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8386 fail configure if __sync_val_compare_and_swap is not inlined.
8387 * sysdeps/i386/configure: Regenerate.
8388 * configure.in: Build for i686 when configured for i386.
8389 * configure: Regenerate.
8390 * README: Remove i386 reference.
8391
b7a329a5
CD
83922013-04-06 Carlos O'Donell <carlos@redhat.com>
8393
8394 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8396
bf0f50df
TS
83972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8398
ee091edf
TS
8399 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8400 (lmsnanval): New variables.
8401 (F): Add conversion tests.
8402 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8403 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8404
a8b792d6
TS
8405 * stdio-common/tstdiomisc.c (F): Properly collect individual
8406 tests' results.
8407
a1cbf437
TS
8408 [BZ #14686, #15336]
8409 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8410 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8411 Instead, use input NaN values or generate a qNaN by arithmetic
8412 operation. Also fix bugs to comply with the standard.
8413 * math/libm-test.inc (remainder_test): Add more tests.
8414
8b43a0c9
TS
8415 [BZ #15335, #15342]
8416 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8418 input NaN values or generate a qNaN by arithmetic operation.
8419
d91da4ce
TS
8420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8421 unreachable code.
8422
bf0f50df
TS
8423 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8424 definitions.
8425
05e166c8
JM
84262013-04-03 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #14478]
8429 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8430 underflowed result.
8431 * math/s_cexpf.c (__cexpf): Likewise.
8432 * math/s_cexpl.c (__cexpl): Likewise.
8433 * math/libm-test.inc (cexp_test): Add more tests.
8434
1cef1b19
AS
84352013-04-03 Andreas Schwab <schwab@suse.de>
8436
8437 [BZ #15330]
8438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8439 order arrays from heap if bigger than alloca cutoff.
8440
74d87055
TS
84412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8442
8443 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8444 (SNAN_TESTS_double): Refer to GCC PR56831.
8445 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8446 GCC PR56828.
8447
d755bba4
SP
84482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
90d5d5bb
SP
8450 * Rules (bench): Move bench.out after the run is complete.
8451
73e0cd5d
SP
8452 * Rules (bench): Echo currently running benchmark.
8453
64aabd4b
SP
8454 * benchtests/Makefile (bench): Add atan and slowatan.
8455 * benchtests/atan-inputs: New file.
8456 * benchtests/slowatan-inputs: New file.
8457 * benchtests/slowatan.c: New file.
8458
c871eccd
SP
8459 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8460 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8461 its value.
8462
d755bba4
SP
8463 [BZ #15305]
8464 * sysdeps/unix/sysv/linux/kernel-features.h
8465 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8466 __ASSUME_XFS_RESTRICTED_CHOWN.
8467 * sysdeps/unix/sysv/linux/pathconf.c
8468 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8469 Save and restore errno.
8470
52ce4860
JM
84712013-04-02 Joseph Myers <joseph@codesourcery.com>
8472
8473 [BZ #15327]
8474 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8475 arguments using __kernel_casinh.
8476 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8477 arguments using __kernel_casinhf.
8478 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8479 arguments using __kernel_casinhl.
8480 * math/libm-test.inc (cacosh_test): Add more tests.
8481 * sysdeps/i386/fpu/libm-test-ulps: Update.
8482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8483
81f311c2
SP
84842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8485
e7906a47
SP
8486 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8488
92e3664b
SP
8489 * bench/Makefile (bench): Add sin and slowsin.
8490 * benchtests/sin-inputs: New file.
8491 * benchtests/slowsin-inputs: New file.
8492 * benchtests/slowsin.c: New file.
8493
81f311c2
SP
8494 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8495 (bench): Add slowexp and slowpow.
8496 (exp-ITER): Increase iterations.
8497 (pow-ITER): Likewise.
8498 * benchtests/exp-inputs: Change input.
8499 * benchtests/pow-inputs: Likewise.
8500 * benchtests/slowexp-inputs: New file.
8501 * benchtests/slowexp.c: New file.
8502 * benchtests/slowpow-inputs: New file.
8503 * benchtests/slowpow.c: New file.
8504
ab0f1aa9
AZ
85052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8506
8507 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8508 instructions.
8509 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8510 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8511 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8512 * benchtests/Makefile: Add rint benchtest.
8513 * benchtests/rint-inputs: Input for rint benchtest.
8514
57267616
TS
85152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8516
8517 * Versions.def (libm): Add GLIBC_2.18.
8518 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8519 hidden libm prototypes.
8520 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8521 * math/Makefile (libm-calls): Add s_issignaling.
8522 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8523 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8524 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8525 declaration.
8526 * math/math.h [__USE_GNU] (issignaling): New macro.
8527 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8528 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8533 * manual/arith.texi (issignaling): New section.
8534 * manual/libm-err-tab.pl (@all_functions): Update comment.
8535 * math/gen-libm-test.pl (parse_args): Apply special handling for
8536 issignaling.
8537 * math/libm-test.inc (print_float, issignaling_test): New
8538 functions.
8539 (check_float_internal): Add issignaling checks.
8540 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8541 default definition.
8542 * sysdeps/powerpc/math-tests.h: New file.
8543 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8544 tests.
8545 * math/test-snan.c (TEST_FUNC): Likewise.
8546
6142896d
DM
85472013-03-30 David S. Miller <davem@davemloft.net>
8548
8549 * po/de.po: Update from translation team.
8550
ccc8cadf
JM
85512013-03-30 Joseph Myers <joseph@codesourcery.com>
8552
8553 [BZ #10357]
8554 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8555 imaginary part less than 1.0 and real part less than 0.5
8556 specially.
8557 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8558 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8559 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8560 (cacos_test): Add more tests.
8561 (casin_test): Likewise.
8562 (casinh_test): Likewise.
8563 * sysdeps/i386/fpu/libm-test-ulps: Update.
8564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8565
0f6a8d4b
SP
85662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8567
0d1029de
SP
8568 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8569 ONE with its value.
8570
c2d94018
SP
8571 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8572 (__pow_mp): Replace ONE and MONE with their values.
8573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8574 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8575 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8576 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8577 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8578 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8579
27ec37f1
SP
8580 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8581
a64d7e0e
SP
8582 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8583 (__pow_mp): Replace ZERO and MZERO with their values.
8584 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8586 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8588 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8589 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8590 (__sqr): Likewise.
8591
d26dd3eb
SP
8592 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8593
0f6a8d4b
SP
8594 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8595
e57b0c61
RM
85962013-03-28 Roland McGrath <roland@hack.frob.com>
8597
8598 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8599 Declare with __attribute__ ((weak)).
8600 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8601 Call __call_tls_dtors only if it's not NULL.
8602
356b3480
RM
86032013-03-28 Roland McGrath <roland@hack.frob.com>
8604
288f7d79
RM
8605 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8606 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8607 magic __ehdr_start linker symbol if it's defined.
8608 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8609 them up here if it was already done.
8610
dc0a0263
RM
8611 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8612 (_dl_aux_init): Use const in cast when setting it.
8613 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8614 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8615 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8616
3d3436ae
RM
8617 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8618 Declare them here.
8619 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8620 * csu/libc-tls.c: Nor here.
8621 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8622
356b3480
RM
8623 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8624 (__libc_message): Never call vsyslog.
8625
b0f1246a
AM
86262013-03-28 Alan Modra <amodra@gmail.com>
8627
8628 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8629 Define as empty.
8630 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8631 Likewise.
8632
fbbe2b9a
AZ
86332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634
8635 [BZ #15214]
8636 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8637 underflow.
8638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8639
1728ab37
SP
86402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8641
7a86be6e
SP
8642 [BZ #15304]
8643 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8644 Don't add gid passed as argument.
8645
1728ab37
SP
8646 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8647
3a7182a1
JM
86482013-03-27 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #15307]
8651 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8652 imaginary part between 1.0 and 1.5 and real part less than 0.5
8653 specially.
8654 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8655 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8656 * math/libm-test.inc (cacos_test): Add more tests.
8657 (casin_test): Likewise.
8658 (casinh_test): Likewise.
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661
6f2e90e7
SP
86622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8663
5739f705
SP
8664 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8665 constants.
8666 (norm): Likewise.
8667 (denorm): Likewise.
8668 (__dbl_mp): Likewise.
8669 (add_magnitudes): Likewise.
8670 (sub_magnitudes): Likewise.
8671 (__add): Likewise.
8672 (__sub): Likewise.
8673 (__mul): Likewise.
8674 (__sqr): Likewise.
8675 (__inv): Likewise.
8676 (__dvd): Likewise.
8677
e375e83d
SP
8678 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8679 commented code.
8680 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8681 (__dubcos): Likewise.
8682 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8683 (__ieee754_acos): Likewise.
8684 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8686 (__exp1): Likewise.
8687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8689 (log1): Likewise.
8690 (my_log2): Likewise.
8691 (checkint): Likewise.
8692 * sysdeps/ieee754/dbl-64/e_remainder.c
8693 (__ieee754_remainder): Likewise.
8694 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8696 (bsloww): Likewise.
8697 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8698
6f2e90e7
SP
8699 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8700 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8701 MANTISSA_STORE_T to store computations on mantissa. Use
8702 macros for rounding and division.
8703 (denorm): Likewise.
8704 (__dbl_mp): Likewise.
8705 (add_magnitudes): Likewise.
8706 (sub_magnitudes): Likewise.
8707 (__mul): Likewise.
8708 (__sqr): Likewise.
8709 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8710 powers of two in terms of TWOPOW macro.
8711 (mp_no): Make type of mantissa as MANTISSA_T.
8712 [!RADIXI]: Define RADIXI.
8713 [!TWO52]: Define TWO52.
8714 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8715
fce14d4e
AZ
87162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717
8718 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8719 llroundl symbol when building for PPC32.
8720
9ad027fb
MW
87212013-03-24 Mark H Weaver <mhw@netris.org>
8722
8723 * manual/arith.texi (Normalization Functions): Fix prototypes for
8724 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8725
e42a38dd
AZ
87262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727
8728 [BZ #13889]
8729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8730 high value to check if expl overflow.
8731 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8732 to check for underflow and overflow.
8733 * math/libm-test.inc: Add exp test.
8734
2e0fb521
DL
87352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8736
8737 [BZ #11120]
8738 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8739 with NOT_IN_libc.
8740
b5784d95
AZ
87412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8742
8743 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8744 symbol.
8745
5aa4a1a1
TS
87462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8747
bdef0be7
TS
8748 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8749 wrap blocks consisting of several statements.
8750
5aa4a1a1
TS
8751 * sysdeps/generic/math-tests.h: New file.
8752 * sysdeps/i386/fpu/math-tests.h: Likewise.
8753 * math/test-snan.c: Include it.
8754 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8755
98c48fe5
JM
87562013-03-21 Joseph Myers <joseph@codesourcery.com>
8757
8758 [BZ #15285]
8759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8760 (__ieee754_j0l): Do not improve calculations using cos of twice
8761 input for inputs above LDBL_MAX / 2.0L.
8762 (__ieee754_y0l): Likewise.
8763 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8764 (__ieee754_j1l): Do not improve calculations using cos of twice
8765 input for inputs above LDBL_MAX / 2.0L.
8766 (__ieee754_y1l): Likewise.
8767 * math/libm-test.inc (j0_test): Add another test.
8768 (j1_test): Likewise.
8769 (y0_test): Likewise.
8770 (y1_test): Likewise.
8771 * sysdeps/i386/fpu/libm-test-ulps: Update.
8772
3775a8bc
SP
87732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8774
8775 * Rules ($(objpfx)bench-%.c): Include code from a C source
8776 file.
8777
0a1b2ae6
JM
87782013-03-21 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #15287]
8781 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8782 imaginary part 1.0 and real part less than 0.5 specially.
8783 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8784 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8785 * math/libm-test.inc (cacos_test): Add more tests.
8786 (casin_test): Likewise.
8787 (casinh_test): Likewise.
8788 * sysdeps/i386/fpu/libm-test-ulps: Update.
8789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8790
b33d4ce4
SP
87912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
8793 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8794 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8795
bef0b507
JM
87962013-03-20 Joseph Myers <joseph@codesourcery.com>
8797
8798 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8799 * config.make.in (config-cflags-sse4): Remove variable.
8800 (config-cflags-avx): Likewise.
8801 (config-cflags-sse2avx): Likewise.
8802 (config-cflags-novzeroupper): Likewise.
8803 (config-asflags-i686): Likewise.
8804 (have-mfma4): Likewise.
8805 (have-as-vis3): Likewise.
8806 (MIG): Likewise.
8807 * configure.in (MIG): Do not AC_SUBST.
8808 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8809 (libc_cv_cc_sse4): Do not AC_SUBST.
8810 (libc_cv_cc_avx): Likewise.
8811 (libc_cv_cc_sse2avx): Likewise.
8812 (libc_cv_cc_novzeroupper): Likewise.
8813 (libc_cv_cc_fma4): Likewise.
8814 (libc_cv_as_i686): Likewise.
8815 (libc_cv_sparc_as_vis3): Likewise.
8816 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8817 LIBC_CONFIG_VAR.
8818 (config-asflags-i686): Likewise.
8819 (config-cflags-avx): Likewise.
8820 (config-cflags-sse2avx): Likewise.
8821 (have-mfma4): Likewise.
8822 (config-cflags-novzeroupper): Likewise.
8823 * sysdeps/mach/configure.in (MIG): Likewise.
8824 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8825 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8826 LIBC_CONFIG_VAR.
8827 (config-cflags-avx): Likewise.
8828 (config-cflags-sse2avx): Likewise.
8829 (have-mfma4): Likewise.
8830 (config-cflags-novzeroupper): Likewise.
8831 * configure: Regenerated.
8832 * sysdeps/i386/configure: Likewise.
8833 * sysdeps/mach/configure: Likewise.
8834 * sysdeps/sparc/configure: Likewise.
8835 * sysdeps/x86_64/configure: Likewise.
8836
912cc4b3
RM
88372013-03-20 Roland McGrath <roland@hack.frob.com>
8838
8839 [BZ #14812]
8840 * locale/programs/localedef.c (options): Put N_ translation marker
8841 on argument names, not just descriptions.
8842
04eed2b0
MS
88432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8844
8845 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8846
a065ceff
OB
88472013-03-20 Ondřej Bílka <neleai@seznam.cz>
8848
9bb2a810 8849 [BZ #14176]
a065ceff
OB
8850 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8851
a600e5ce
RM
88522013-03-19 Roland McGrath <roland@hack.frob.com>
8853
8854 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8855 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8856 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8857 [!BEFORE_ABORT] (before_abort): New function.
8858 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8859 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8860 (writev_for_fatal): New function.
8861 (WRITEV_FOR_FATAL): New macro; call that.
8862 (backtrace_and_maps): New function.
8863 (BEFORE_ABORT): New macro; call that.
8864 (struct str_list): Type removed.
8865 (__libc_message, __libc_fatal): Functions removed.
8866 Include <sysdeps/posix/libc_fatal.c> instead.
8867
6b18bea6
JM
88682013-03-19 Joseph Myers <joseph@codesourcery.com>
8869
8870 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8871 constants.
8872 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8873 double constants.
8874
aaa8cb4b
AS
88752013-03-19 Andreas Schwab <schwab@suse.de>
8876
44673770
AS
8877 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8878 * sysdeps/gnu/configure: Regenerate.
8879
aaa8cb4b
AS
8880 * configure.in: Substitute libc_cv_rtlddir.
8881 * configure: Regenerate.
8882 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8883 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8884 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8885 * elf/Makefile (install-others, CFLAGS-interp.c)
8886 (ldso_install, common-ldd-rewrite): Likewise.
8887 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8888 $(inst_slibdir)/$(rtld-installed-name).
8889 * scripts/rellns-sh: Add -p option.
8890 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8891 for source.
8892
d3cfc668
SP
88932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8894
8895 * manual/nptl.texi: Renamed to ...
8896 * manual/threads.texi: ... this.
8897 * manual/Makefile (chapters): Update.
8898
0e2b9cdd
RM
88992013-03-18 Roland McGrath <roland@hack.frob.com>
8900
8901 [BZ #14812]
8902 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8903 on argument names, not just descriptions.
0e2b9cdd
RM
8904 * malloc/memusagestat.c (options): Likewise.
8905 * nss/getent.c (options): Likewise.
63270c24
RM
8906
89072013-03-18 Benno Schulenberg <bensberg@justemail.net>
8908
8909 [BZ #14812]
8910 * iconv/iconv_prog.c (options): Put N_ translation marker
8911 on argument names, not just descriptions.
8912 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8913
b2e1393c
OB
89142013-03-18 Ondrej Bilka <neleai@seznam.cz>
8915
8916 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8917 implementation which is faster on all x86_64 architectures.
8918 Tested on AMD, Intel Nehalem, SNB, IVB.
8919 * sysdeps/x86_64/strnlen.S: Likewise.
8920
8921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8922 Remove all multiarch strlen and strnlen versions.
8923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8924 Remove strlen and strnlen related parts.
8925
8926 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8927 Inline strlen part.
8928 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8929
8930 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8931 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8932 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8933 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8934 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8935 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8936
ec4ff04d
CD
89372013-03-17 Carlos O'Donell <carlos@redhat.com>
8938
8939 * manual/memory.texi (Malloc Tunable Parameters):
8940 Sort parameters alphabetically. Add comments for missing entries.
8941
cd18e90a
DM
89422013-03-17 David S. Miller <davem@davemloft.net>
8943
8944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8945
2a185d32
JM
89462013-03-16 Joseph Myers <joseph@codesourcery.com>
8947
d2f9799e
JM
8948 [BZ #15283]
8949 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8950 for arguments at most half maximum finite value.
8951 * math/libm-test.inc (j0_test): Add more tests.
8952 (j1_test): Likewise.
8953 (y0_test): Likewise.
8954 (y1_test): Likewise.
8955 * sysdeps/i386/fpu/libm-test-ulps: Update.
8956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8957
2a185d32
JM
8958 [BZ #14155]
8959 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8960 1 / x and functions P and Q for arguments above 0x1p256L.
8961 (__ieee754_y0l): Likewise.
8962 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8963 (__ieee754_y1l): Likewise.
8964 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8965 (j1_test): Likewise.
8966 (y0_test): Likewise.
8967 (y1_test): Likewise.
8968
6cbec759
TS
89692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8970
8971 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8972 variable.
8973
bc16e260
RM
89742013-03-15 Roland McGrath <roland@hack.frob.com>
8975
aefc9b8c
RM
8976 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8977 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8978 zero since it's initialized to EXEC_PAGESIZE.
8979
bc16e260
RM
8980 * sysdeps/unix/sysv/linux/ldsodefs.h
8981 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8982 * sysdeps/generic/ldsodefs.h: ... here.
8983
a57da955
TS
89842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8985
af00a34d
TS
8986 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8987
495ded2c
TS
8988 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8989 math/test-snan.c.
8990 * math/test-snan.c: Renamed from
8991 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8992 * math/Makefile (tests): Add test-snan.
8993 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8994 test-powerpc-snan.
8995
777b0332
TS
8996 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8997 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8998 functions.
8999 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9000 __builtin_nan family of functions.
9001 * math/libm-test.inc (initialize): Initialize qnan_value with
9002 __builtin_nan family of functions.
9003 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9004 Remove variables.
9005 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9006 Remove functions.
9007 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9008 storage class. Initialize qNaN_var and sNaN_var with
9009 __builtin_nan and __builtin_nans families of functions,
9010 respectively.
9011
64d063b8
TS
9012 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9013 (sqrt_test): Remove duplicate test with qNaN input.
9014 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9015 (round_test, signbit_test, significand_test): Note missing +/-Inf
9016 as well as qNaN tests.
9017
67e971f1
TS
9018 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9019 qNaN_var. Fix a few strings, too.
9020 * math/libm-test.inc (nan_value): Rename to qnan_value.
9021 * math/gen-libm-test.pl (%beautify): Adjust to that.
9022 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9023 * math/test-misc.c (main): Likewise.
9024 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9025 to __qnan_bytes, and __qnan_union, respectively.
9026 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9027 Likewise.
9028 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9029 and lqnanval, respectively.
9030 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9031 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9032 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9033 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9034
64487e12
TS
9035 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9036 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9037 doubles.
9038
e015e27b
TS
9039 * math/test-misc.c (main): Fix copy'n'pastos.
9040 * misc/tst-efgcvt.c (special): Likewise.
9041
a57da955
TS
9042 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9043 Remove declarations.
9044
1e380345
SP
90452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9048 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9049 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9050 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9051
ef26eece
AZ
90522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9053
9054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9055 macro to return vdso values correctly in IFUNC implementations.
9056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9057 Optimization by using IFUNC.
9058
8cfdb7e0
SP
90592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9060 Richard Henderson <rth@redhat.com>
9061 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9062
9063 * Makefile.in (bench): New target.
9064 * NEWS: Mention the benchmark framework.
9065 * Rules (bench): Likewise.
9066 (binaries-bench): Generate binaries for functions to
9067 benchmark.
9068 * benchtests/Makefile: New makefile for benchmark tests.
9069 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9070 programs.
9071 * benchtests/exp-inputs: New input file for EXP function.
9072 * benchtests/pow-inputs: New input file for POW function.
9073 * scripts/bench.pl: New script to generate source files for
9074 benchmark programs.
9075
bcda9880
SP
90762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9077
d22ca8cd
SP
9078 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9080 computations on mantissa. Use macros for rounding and
9081 division.
9082 (denorm): Likewise.
9083 (__dbl_mp): Likewise.
9084 (add_magnitudes): Likewise.
9085 (sub_magnitudes): Likewise.
9086 (__mul): Likewise.
9087 (__sqr): Likewise.
9088 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9089 powers of two in terms of TWOPOW macro.
9090 (mp_no): Make type of mantissa as MANTISSA_T.
9091 [!RADIXI]: Define RADIXI.
9092 [!TWO52]: Define TWO52.
9093 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9094
bcda9880
SP
9095 * manual/nptl.texi (cindex): Modify threads to pthreads.
9096
06d5adfb
JM
90972013-03-15 Joseph Myers <joseph@codesourcery.com>
9098
9099 * sysdeps/x86_64/preconfigure: Regenerated.
9100
41c7328e
JM
91012013-03-14 Joseph Myers <joseph@codesourcery.com>
9102
9103 [BZ #14155]
9104 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9105 0x1p28 and above.
9106 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9107 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9108 0x1p28 and above.
9109 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9110 * math/libm-test.inc (j0_test): Do not allow one spurious
9111 underflow exception.
9112 (y1_test): Likewise.
9113
e25cfa60
SP
91142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9115
0409959c
SP
9116 * manual/Makefile (chapters): Add nptl.
9117 * manual/debug.texi (Debugging Support): Add link to Threads
9118 chapter.
9119 * manual/nptl.texi: New file.
9120
e25cfa60
SP
9121 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9122
58a1335e
PB
91232013-03-14 Petr Baudis <pasky@ucw.cz>
9124
9125 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9126 for non-NULL pointer before the memory validity test. Pointed
9127 out by Holger Brunck <holger.brunck@keymile.com>.
9128
9dc7c64f
AS
91292013-03-13 Andreas Schwab <schwab@suse.de>
9130
9131 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9132 instead of .os.
9133
54206aa6
JM
91342013-03-13 Joseph Myers <joseph@codesourcery.com>
9135
9136 * timezone/zic.c: Update from tzcode 2013b.
9137
e98cdb38
CD
91382013-03-12 Carlos O'Donell <carlos@redhat.com>
9139
9140 * manual/install.texi (Configuring and compiling):
9141 Mention i686 and i586.
9142 * INSTALL: Regenerate.
9143
9967e003
RM
91442013-03-12 Roland McGrath <roland@hack.frob.com>
9145
9146 * sysdeps/init_array/elf-init.c: New file.
9147 * csu/elf-init.c
9148 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9149 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9150
9151 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9152 __gmon_start__ as global, but as static with a .preinit_array pointer.
9153 * sysdeps/init_array/gmon-start.c: New file. Use that.
9154 * sysdeps/init_array/crti.S: New file, empty except for comments.
9155 * sysdeps/init_array/crtn.S: Likewise.
9156
e6b5a293 91572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9158
9159 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9160 definining bcopy.
80f844c9
OB
9161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9162 Remove Prefer_SSE_for_memop.
9163 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9164 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9165 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9167 memset-x86-64.
80f844c9 9168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9169 Remove bzero, memset ifunc support.
80f844c9
OB
9170 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9172 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9173 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9174
fb6b0fcb
AS
91752013-03-11 Andreas Schwab <schwab@suse.de>
9176
9177 [BZ #15234]
9178 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9179 by SHLIB_COMPAT.
9180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9181 (GLIBC_2.16): Remove pthread_atfork.
9182
3e6bd4b1
PP
91832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9184
9185 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9186 (ptestcases.h): Likewise.
9187
222d7f00
RM
91882013-03-08 Roland McGrath <roland@hack.frob.com>
9189
9190 * Makeconfig ($(common-objpfx)config.status): Depend on
9191 sysdeps/*/preconfigure{,.in} too.
9192
1ba4f030
JM
91932013-03-08 Joseph Myers <joseph@codesourcery.com>
9194
a222d91a
JM
9195 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9196 (__free_hook): Use void * instead of __malloc_ptr_t.
9197 (__malloc_hook): Likewise.
9198 (__realloc_hook): Likewise.
9199 (__memalign_hook): Likewise.
9200 (__after_morecore_hook): Likewise.
9201 * malloc/arena.c (save_malloc_hook): Likewise.
9202 (save_free_hook): Likewise.
9203 * malloc/hooks.c (malloc_hook_ini): Likewise.
9204 (realloc_hook_ini): Likewise.
9205 (memalign_hook_ini): Likewise.
9206 * malloc/malloc.c (malloc_hook_ini): Likewise.
9207 (realloc_hook_ini): Likewise.
9208 (memalign_hook_ini): Likewise.
9209 (__free_hook): Likewise.
9210 (__malloc_hook): Likewise.
9211 (__realloc_hook): Likewise.
9212 (__memalign_hook): Likewise.
9213 (__libc_malloc): Likewise.
9214 (__libc_free): Likewise.
9215 (__libc_realloc): Likewise.
9216 (__libc_memalign): Likewise.
9217 (__libc_valloc): Likewise.
9218 (__libc_pvalloc): Likewise.
9219 (__libc_calloc): Likewise.
9220 (__posix_memalign): Likewise.
9221 * malloc/morecore.c (__sbrk): Likewise.
9222 (__default_morecore): Likewise.
9223
5cc45e10
JM
9224 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9225
dd54b864
JM
9226 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9227 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9228 __malloc_ptrdiff_t.
9229
1ba4f030
JM
9230 * malloc/malloc.h (__malloc_size_t): Remove macro.
9231 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9232 __malloc_size_t.
9233 (old_memalign_hook): Likewise.
9234 (old_realloc_hook): Likewise.
9235 (struct hdr): Likewise.
9236 (flood): Likewise.
9237 (mallochook): Likewise.
9238 (memalignhook): Likewise.
9239 (reallochook): Likewise.
9240 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9241 (tr_old_realloc_hook): Likewise.
9242 (tr_old_memalign_hook): Likewise.
9243 (tr_mallochook): Likewise.
9244 (tr_reallochook): Likewise.
9245 (tr_memalignhook): Likewise.
9246
edf66e57
AZ
92472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9248
9249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9250 default_ldbl_pack and using as default implementation.
9251 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9252 implementation.
9253 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9254 redundant definition.
9255 (ldbl_insert_mantissa): Likewise.
9256 (ldbl_canonicalize): Likewise.
9257 (ldbl_nearbyint): Likewise.
9258 (ldbl_pack): Rename to ldbl_pack_ppc.
9259 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9260 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9261 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9262
6d9145d8
SP
92632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9264
9265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9266 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9267 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9268 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9271 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9272 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9273
4dd4e157
AJ
92742013-03-07 Andreas Jaeger <aj@suse.de>
9275
9276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9277 bits/mman-linux.h.
9278
adbb8027
SP
92792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9280
ce544b5b
SP
9281 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9282 Include mpa.h and declare __MPEXP.
9283 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9285 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9286 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9288 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9289 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9290
4cc149fd
SP
9291 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9292 (__slowpow): Use long double EXPL and LOGL functions to
9293 compute POW.
9294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9295 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9296 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9298 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9300
e6ebd4a7
SP
9301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9302 intermediate variable to calculate exponent.
9303 (__sqr): Likewise.
9304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9305 Likewise.
9306 (__sqr): Likewise.
9307
82a9811d
SP
9308 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9309 [!NO__SQR]: Define __sqr.
9310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9311 and NO__SQR. Remove all code except __mul and __sqr. Include
9312 sysdeps/ieee754/dbl-64/mpa.c.
9313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9314
adbb8027
SP
9315 [BZ #12723]
9316 * posix/Makefile (tests): Add tst-pathconf.
9317 * posix/tst-pathconf.c: New test case.
9318 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9319 _PC_PIPE_BUF.
9320 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9321
39120df9
PF
93222013-03-06 Patsy Franklin <pfrankli@redhat.com>
9323
9324 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9325
67525cb8
AJ
93262013-03-06 Andreas Jaeger <aj@suse.de>
9327
664a9ce4
AJ
9328 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9329 definition via __MAP_ANONYMOUS.
9330
8e39047d
AJ
9331 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9332 it's not part of Linux headers.
9333
67525cb8
AJ
9334 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9335 (MAP_HUGE_MASK): Define.
9336
9337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9338 Define.
9339 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9341 Define.
9342 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9343 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9344 Define.
9345 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9346 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9347 Define.
9348 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9349
9350 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9351 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9352 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9353 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9354 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9355 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9356
9357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9358 Handle f2fs.
9359
9360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9361 Handle f2fs and efivarfs.
9362
9363 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9364 f2fs.
9365
9366 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9367 (EFIVARFS_MAGIC): Add.
9368 (F2FS_LINK_MAX): Add.
9369
e1b42695
PP
93702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9371
9372 * stdio-common/vfprintf.c: Replace __builtin_expect with
9373 __glibc_unlikely.
9374
2d67d91a
JM
93752013-03-06 Joseph Myers <joseph@codesourcery.com>
9376
9377 [BZ #13550]
9378 * sysdeps/generic/bp-sym.h: Remove file.
9379 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9380 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9381 <bp-sym.h> and <bp-asm.h>.
9382 (__longjmp): Don't use BP_SYM.
9383 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9384 and <bp-asm.h>.
9385 (memcpy): Don't use BP_SYM.
9386 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9387 <bp-sym.h> and <bp-asm.h>.
9388 (memcpy): Don't use BP_SYM.
9389 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9390 <bp-asm.h>.
9391 (memcpy): Don't use BP_SYM.
9392 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9393 <bp-asm.h>.
9394 (memset): Don't use BP_SYM.
9395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9397 (__bzero): Don't use BP_SYM.
9398 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9399 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9400 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9401 <bp-sym.h> and <bp-asm.h>.
9402 (memcmp): Don't use BP_SYM. Remove comment about bounded
9403 pointers.
9404 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9405 <bp-sym.h> and <bp-asm.h>.
9406 (memcpy): Don't use BP_SYM.
9407 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9408 <bp-sym.h> and <bp-asm.h>.
9409 (memset): Don't use BP_SYM.
9410 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9411 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9412 (__bzero): Don't use BP_SYM.
9413 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9414 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9415 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9416 <bp-sym.h> and <bp-asm.h>.
9417 (strncmp): Don't use BP_SYM. Remove comment about bounded
9418 pointers.
9419 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9420 <bp-sym.h> and <bp-asm.h>.
9421 (memcpy): Don't use BP_SYM.
9422 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9423 <bp-sym.h> and <bp-asm.h>.
9424 (memset): Don't use BP_SYM.
9425 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9426 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9427 (__bzero): Don't use BP_SYM.
9428 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9429 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9431 <bp-sym.h> and <bp-asm.h>.
9432 (__memchr): Don't use BP_SYM.
9433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9434 <bp-sym.h> and <bp-asm.h>.
9435 (memcmp): Don't use BP_SYM. Remove comment about bounded
9436 pointers.
9437 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9438 <bp-sym.h> and <bp-asm.h>.
9439 (memcpy): Don't use BP_SYM.
9440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9441 <bp-sym.h> and <bp-asm.h>.
9442 (__mempcpy): Don't use BP_SYM.
9443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9444 <bp-sym.h> and <bp-asm.h>.
9445 (__memrchr): Don't use BP_SYM.
9446 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9447 <bp-sym.h> and <bp-asm.h>.
9448 (memset): Don't use BP_SYM.
9449 (__bzero): Likewise.
9450 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9451 <bp-sym.h> and <bp-asm.h>.
9452 (__rawmemchr): Don't use BP_SYM.
9453 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9454 <bp-sym.h> and <bp-asm.h>.
9455 (__STRCMP): Don't use BP_SYM.
9456 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9457 <bp-sym.h> and <bp-asm.h>.
9458 (strchr): Don't use BP_SYM.
9459 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9460 <bp-sym.h> and <bp-asm.h>.
9461 (__strchrnul): Don't use BP_SYM.
9462 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9463 <bp-sym.h> and <bp-asm.h>.
9464 (strlen): Don't use BP_SYM.
9465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9466 <bp-sym.h> and <bp-asm.h>.
9467 (strncmp): Don't use BP_SYM. Remove comment about bounded
9468 pointers.
9469 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9470 <bp-sym.h> and <bp-asm.h>.
9471 (__strnlen): Don't use BP_SYM.
9472 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9473 <bp-sym.h> and <bp-asm.h>.
9474 (__GI__setjmp): Don't use BP_SYM.
9475 (_setjmp): Likewise.
9476 (__sigsetjmp): Likewise.
9477 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9478 (L(start_addresses)): Don't use BP_SYM.
9479 (_start): Likewise.
9480 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9481 <bp-asm.h>.
9482 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9483 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9484 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9486 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9487 <bp-asm.h>.
9488 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9489 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9490 about bounded pointers.
9491 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9492 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9493 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9494 <bp-asm.h>.
9495 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9496 about bounded pointers. Remove GKM FIXME comments.
9497 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9498 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9499 <bp-asm.h>.
9500 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9501 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9502 Remove GKM FIXME comments.
9503 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9504 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9505 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9506 <bp-asm.h>.
9507 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9508 about bounded pointers. Remove GKM FIXME comment.
9509 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9510 and <bp-asm.h>.
9511 (strncmp): Don't use BP_SYM. Remove comment about bounded
9512 pointers.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9514 <bp-sym.h> and <bp-asm.h>.
9515 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9517 <bp-sym.h> and <bp-asm.h>.
9518 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9519 comment.
9520
cdcf361f
PP
95212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9522
9523 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9524 call free(NULL).
9525
3c4a2b15
DM
95262013-03-05 David S. Miller <davem@davemloft.net>
9527
9528 * po/es.po: Update from translation team.
9529
cdcf361f 95302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9531
9532 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9533 <bits/mman-linux.h>.
9534 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9535 is fine.
9536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9537 <bits/mman-linux.h> to end of file.
9538 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9539 is fine.
9540 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9541 <bits/mman-linux.h> to end of file.
9542 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9543 is fine.
9544 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9545 <bits/mman-linux.h> to end of file.
9546
9547 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9548 (MCL_CURRENT, MCL_FUTURE): Define here.
9549
5f67c04f
AK
95502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9551
8a4473cc 9552 [BZ #15232]
5f67c04f
AK
9553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9554 attribute_hidden.
9555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9556
c3e94a95
AK
95572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9558
9559 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9560 fourth parameter needed for rt_sigprocmask syscall.
9561 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9562 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9564 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9567
cfb6382a
JM
95682013-03-04 Joseph Myers <joseph@codesourcery.com>
9569
9570 [BZ #13550]
9571 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9572 comment about bounded pointers.
9573 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9574 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9575
539d8e01
AJ
95762013-03-04 Andreas Jaeger <aj@suse.de>
9577
9578 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9579 common definitions.
9580
9581 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9582 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9587
2e167a70 95882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9589
9590 [BZ #15055]
9591 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9592 __ieee754_sqrl instead of __sqrl.
9593
68508633
JM
95942013-03-01 Joseph Myers <joseph@codesourcery.com>
9595
9596 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9597 * sysdeps/powerpc/fpu_control.h: ... here.
9598 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9599 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9600 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9601 * sysdeps/powerpc/bits/mathinline.h: ... here.
9602
7775448e
RM
96032013-03-01 Roland McGrath <roland@hack.frob.com>
9604
9605 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9606 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9607 to just [NEED_DL_SYSINFO_DSO].
9608 * elf/dl-support.c: Likewise.
9609 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9610 * elf/rtld.c (dl_main): Likewise.
9611 * elf/setup-vdso.h (setup_vdso): Likewise.
9612 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9613 * sysdeps/unix/sysv/linux/dl-sysdep.c
9614 (_dl_discover_osversion): Likewise.
9615
4e9b5995
CD
96162013-03-01 Carlos O'Donell <carlos@redhat.com>
9617
9618 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9619 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9620
e23872c8
SP
96212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9622
e5c74c63
SP
9623 * NEWS: Mention libm performance improvements and non-x86 PI
9624 futex support.
9625
e23872c8
SP
9626 * csu/libc-start.c (__pthread_initialize_minimal): Change
9627 function arguments.
9628 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9629
b5510883
JM
96302013-02-28 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #13550]
9633 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9634 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9635 <bp-sym.h> and <bp-asm.h>.
9636 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9638 and <bp-asm.h>.
9639 (memcpy): Don't use BP_SYM.
9640 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9641 <bp-asm.h>.
9642 (__mpn_add_n): Don't use BP_SYM.
9643 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9644 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9645 and <bp-asm.h>.
9646 (__mpn_addmul_1): Don't use BP_SYM.
9647 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9648 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9649 <bp-sym.h>.
9650 (_setjmp): Don't use BP_SYM.
9651 (__novmx_setjmp): Likewise.
9652 (__GI__setjmp): Likewise.
9653 (__vmx_setjmp): Likewise.
9654 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9655 <bp-sym.h>.
9656 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9657 (__bzero): Don't use BP_SYM.
9658 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9659 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9660 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9661 <bp-sym.h> and <bp-asm.h>.
9662 (memcpy): Don't use BP_SYM.
9663 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9664 <bp-sym.h> and <bp-asm.h>.
9665 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9666 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9667 <bp-sym.h> and <bp-asm.h>.
9668 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9669 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9670 <bp-asm.h>.
9671 (__mpn_lshift): Don't use BP_SYM.
9672 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9673 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9674 <bp-asm.h>.
9675 (memset): Don't use BP_SYM.
9676 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9677 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9678 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9679 <bp-asm.h>.
9680 (__mpn_mul_1): Don't use BP_SYM.
9681 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9682 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9683 <bp-sym.h> and <bp-asm.h>.
9684 (memcmp): Don't use BP_SYM.
9685 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9686 <bp-sym.h> and <bp-asm.h>.
9687 (memcpy): Don't use BP_SYM.
9688 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9689 <bp-sym.h> and <bp-asm.h>.
9690 (memset): Don't use BP_SYM.
9691 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9692 <bp-sym.h> and <bp-asm.h>.
9693 (strncmp): Don't use BP_SYM.
9694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9695 <bp-sym.h> and <bp-asm.h>.
9696 (memcpy): Don't use BP_SYM.
9697 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9698 <bp-sym.h> and <bp-asm.h>.
9699 (memset): Don't use BP_SYM.
9700 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9701 <bp-sym.h> and <bp-asm.h>.
9702 (__memchr): Don't use BP_SYM.
9703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9704 <bp-sym.h> and <bp-asm.h>.
9705 (memcmp): Don't use BP_SYM.
9706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9707 <bp-sym.h> and <bp-asm.h>.
9708 (memcpy): Don't use BP_SYM.
9709 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9710 <bp-sym.h> and <bp-asm.h>.
9711 (__mempcpy): Don't use BP_SYM.
9712 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9713 <bp-sym.h> and <bp-asm.h>.
9714 (__memrchr): Don't use BP_SYM.
9715 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9716 <bp-sym.h> and <bp-asm.h>.
9717 (memset): Don't use BP_SYM.
9718 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9719 <bp-sym.h> and <bp-asm.h>.
9720 (__rawmemchr): Don't use BP_SYM.
9721 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9722 <bp-sym.h> and <bp-asm.h>.
9723 (__STRCMP): Don't use BP_SYM.
9724 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9725 <bp-sym.h> and <bp-asm.h>.
9726 (strchr): Don't use BP_SYM.
9727 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9728 <bp-sym.h> and <bp-asm.h>.
9729 (__strchrnul): Don't use BP_SYM.
9730 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9731 <bp-sym.h> and <bp-asm.h>.
9732 (strlen): Don't use BP_SYM.
9733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9734 <bp-sym.h> and <bp-asm.h>.
9735 (strncmp): Don't use BP_SYM.
9736 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9737 <bp-sym.h> and <bp-asm.h>.
9738 (__strnlen): Don't use BP_SYM.
9739 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9740 <bp-asm.h>.
9741 (__mpn_rshift): Don't use BP_SYM.
9742 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9743 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9744 <bp-sym.h> and <bp-asm.h>.
9745 (__sigsetjmp): Don't use BP_SYM.
9746 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9747 (L(start_addresses)): Don't use BP_SYM.
9748 (_start): Likewise.
9749 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9750 <bp-asm.h>.
9751 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9752 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9753 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9754 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9755 <bp-asm.h>.
9756 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9757 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9758 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9759 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9760 <bp-asm.h>.
9761 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9762 comments.
9763 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9764 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9765 <bp-asm.h>.
9766 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9767 FIXME comments.
9768 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9769 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9770 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9771 <bp-asm.h>.
9772 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9773 comment.
9774 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9775 and <bp-asm.h>.
9776 (strncmp): Don't use BP_SYM,
9777 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9778 <bp-asm.h>.
9779 (__mpn_sub_n): Don't use BP_SYM.
9780 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9781 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9782 and <bp-asm.h>.
9783 (__mpn_submul_1): Don't use BP_SYM.
9784 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9786 <bp-sym.h> and <bp-asm.h>.
9787 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9789 <bp-sym.h> and <bp-asm.h>.
9790 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9791 comment.
9792
8d19fe64
SP
97932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9794
9795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9796 Use ZK to minimize writes to Z.
9797 (sub_magnitudes): Simplify code a bit.
9798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9799 Use ZK to minimize writes to Z.
9800 (sub_magnitudes): Simplify code a bit.
9801
85bd816a
RM
98022013-02-27 Roland McGrath <roland@hack.frob.com>
9803
9804 * csu/gmon-start.c: Add special exception to license text.
9805
b5977bf2
RH
98062013-02-27 Richard Henderson <rth@redhat.com>
9807
9808 * scripts/config.guess: Update from config.git.
9809 * scripts/config.sub: Likewise.
9810
11d6e2f2
SP
98112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9812
09c14ed2
SP
9813 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9814
a688864e
SP
9815 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9816
6295157a
SP
9817 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9818
b8de2202
SP
9819 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9820
11d6e2f2
SP
9821 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9822
7e80ddb8
RM
98232013-02-26 Roland McGrath <roland@hack.frob.com>
9824
9825 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9826 [$(build-shared = yes].
7e80ddb8 9827
7da6d9ed
SP
98282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
45f05884
SP
9830 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9831 (__mul): Reduce iterations for calculating mantissa.
9832
2236d359
SP
9833 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9834 MPTWO.
9835 (__mpranred): Likewise.
9836
7da6d9ed
SP
9837 [BZ #15160]
9838 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9839 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9840
b7688c42
PE
98412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9842
9843 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9844 Define __attribute__.
9845
53a5c423
SP
98462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9847
9848 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9849 unused.
9850 * posix/regex_internal.h (__attribute): Remove.
9851 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9852 (re_string_context_at): Likewise.
9853 (bitset_not): Use __attribute__ and mark function as possibly
9854 unused.
9855 (bitset_merge): Likewise.
9856 (bitset_mask): Likewise.
9857 (re_string_char_size_at): Likewise.
9858 (re_string_wchar_at): Likewise.
9859 (re_string_elem_size_at): Likewise.
9860
60f5a8b5
SP
98612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9862
2a983a2e
SP
9863 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9864 code.
9865 (cc32): Likewise.
9866
e69804d1
SP
9867 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9868 (__acr): Likewise.
9869 (__cpy): Likewise.
9870 (norm): Likewise.
9871 (denorm): Likewise.
9872 (__dbl_mp): Likewise.
9873 (add_magnitudes): Likewise.
9874 (sub_magnitudes): Likewise.
9875 (__mul): Likewise.
9876 (__inv): Likewise.
9877
2f22a1e8
SP
9878 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9879 style.
9880
8930ddc7
SP
9881 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9882 style.
9883
dc60cb11
SP
9884 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9885 code.
9886
60f5a8b5
SP
9887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9888 up changes with default code.
9889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9890 Likewise.
9891
b4d1fd33
AM
98922013-02-24 Allan McRae <allan@archlinux.org>
9893
faf6f8bc
AM
9894 * manual/socket.texi (The Internet Namespace): Order menu items
9895 to match that in the file.
9896
b4d1fd33
AM
9897 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9898 node listing of the info page menu.
9899
2366713d
JM
99002013-02-21 Joseph Myers <joseph@codesourcery.com>
9901
9902 [BZ #13550]
9903 * sysdeps/i386/bp-asm.h: Remove file.
9904 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9905 (PARMS): Do not use macros from bp-asm.h.
9906 (S1): Likewise.
9907 (S2): Likewise.
9908 (SIZE): Likewise.
9909 (__mpn_add_n): Do not use BP_SYM
9910 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9911 "bp-asm.h".
9912 (PARMS): Do not use macros from bp-asm.h.
9913 (S1): Likewise.
9914 (SIZE): Likewise.
9915 (__mpn_addmul_1): Do not use BP_SYM
9916 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9917 "bp-asm.h".
9918 (PARMS): Do not use macros from bp-asm.h.
9919 (SIGMSK): Likewise.
9920 (_setjmp): Likewise. Do not use BP_SYM.
9921 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9922 "bp-asm.h".
9923 (PARMS): Do not use macros from bp-asm.h.
9924 (SIGMSK): Likewise.
9925 (setjmp): Likewise. Do not use BP_SYM.
9926 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9927 "bp-asm.h".
9928 (PARMS): Do not use macros from bp-asm.h.
9929 (__frexp): Do not use BP_SYM.
9930 (frexp): Likewise.
9931 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9932 "bp-asm.h".
9933 (PARMS): Do not use macros from bp-asm.h.
9934 (__frexpf): Do not use BP_SYM.
9935 (frexpf): Likewise.
9936 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9937 "bp-asm.h".
9938 (PARMS): Do not use macros from bp-asm.h.
9939 (__frexpl): Do not use BP_SYM.
9940 (frexpl): Likewise.
9941 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9942 "bp-asm.h".
9943 (PARMS): Do not use macros from bp-asm.h.
9944 (__remquo): Do not use BP_SYM.
9945 (remquo): Likewise.
9946 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9947 "bp-asm.h".
9948 (PARMS): Do not use macros from bp-asm.h.
9949 (__remquof): Do not use BP_SYM.
9950 (remquof): Likewise.
9951 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9952 "bp-asm.h".
9953 (PARMS): Do not use macros from bp-asm.h.
9954 (__remquol): Do not use BP_SYM.
9955 (remquol): Likewise.
9956 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9957 "bp-asm.h".
9958 (PARMS): Do not use macros from bp-asm.h.
9959 (DEST): Likewise.
9960 (SRC): Likewise.
9961 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9962 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9963 "bp-asm.h".
9964 (PARMS): Do not use macros from bp-asm.h.
9965 (strlen): Do not use BP_SYM.
9966 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9967 "bp-asm.h".
9968 (PARMS): Do not use macros from bp-asm.h.
9969 (S1): Likewise.
9970 (S2): Likewise.
9971 (SIZE): Likewise.
9972 (__mpn_add_n): Do not use BP_SYM.
9973 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9974 "bp-asm.h".
9975 (PARMS): Do not use macros from bp-asm.h.
9976 (S1): Likewise.
9977 (SIZE): Likewise.
9978 (__mpn_addmul_1): Do not use BP_SYM.
9979 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9980 weak_alias.
9981 (bzero): Likewise.
9982 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9983 "bp-asm.h".
9984 (PARMS): Do not use macros from bp-asm.h.
9985 (S): Likewise.
9986 (SIZE): Likewise.
9987 (__mpn_lshift): Do not use BP_SYM.
9988 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9989 "bp-asm.h".
9990 (PARMS): Do not use macros from bp-asm.h.
9991 (DEST): Likewise.
9992 (SRC): Likewise.
9993 (LEN): Likewise.
9994 (memcpy): Likewise. Do not use BP_SYM.
9995 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9996 libc_hidden_def and weak_alias.
9997 (mempcpy): Do not use BP_SYM in weak_alias.
9998 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9999 "bp-asm.h".
10000 (PARMS): Do not use macros from bp-asm.h.
10001 (DEST): Likewise.
10002 (LEN): Likewise.
10003 [!BZERO_P] (CHR): Likewise.
10004 (memset): Likewise. Do not use BP_SYM.
10005 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10006 "bp-asm.h".
10007 (PARMS): Do not use macros from bp-asm.h.
10008 (S1): Likewise.
10009 (SIZE): Likewise.
10010 (__mpn_mul_1): Do not use BP_SYM.
10011 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10012 "bp-asm.h".
10013 (PARMS): Do not use macros from bp-asm.h.
10014 (S): Likewise.
10015 (SIZE): Likewise.
10016 (__mpn_rshift): Do not use BP_SYM.
10017 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10018 "bp-asm.h".
10019 (PARMS): Do not use macros from bp-asm.h.
10020 (STR): Likewise.
10021 (CHR): Likewise.
10022 (strchr): Likewise. Do not use BP_SYM.
10023 (index): Do not use BP_SYM in weak_alias.
10024 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10025 "bp-asm.h".
10026 (PARMS): Do not use macros from bp-asm.h.
10027 (DEST): Likewise.
10028 (SRC): Likewise.
10029 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10030 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10031 "bp-asm.h".
10032 (PARMS): Do not use macros from bp-asm.h.
10033 (strlen): Do not use BP_SYM.
10034 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10035 "bp-asm.h".
10036 (PARMS): Do not use macros from bp-asm.h.
10037 (S1): Likewise.
10038 (S2): Likewise.
10039 (SIZE): Likewise.
10040 (__mpn_sub_n): Do not use BP_SYM.
10041 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10042 "bp-asm.h".
10043 (PARMS): Do not use macros from bp-asm.h.
10044 (S1): Likewise.
10045 (SIZE): Likewise.
10046 (__mpn_submul_1): Do not use BP_SYM.
10047 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10048 "bp-asm.h".
10049 (PARMS): Do not use macros from bp-asm.h.
10050 (S1): Likewise.
10051 (S2): Likewise.
10052 (SIZE): Likewise.
10053 (__mpn_add_n): Do not use BP_SYM.
10054 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10055 weak_alias.
10056 (bzero): Likewise.
10057 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10058 "bp-asm.h".
10059 (PARMS): Do not use macros from bp-asm.h.
10060 (BLK2): Likewise.
10061 (LEN): Likewise.
10062 (memcmp): Do not use BP_SYM.
10063 (bcmp): Do not use BP_SYM in weak_alias.
10064 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10065 "bp-asm.h".
10066 (PARMS): Do not use macros from bp-asm.h.
10067 (DEST): Likewise.
10068 (SRC): Likewise.
10069 (LEN): Likewise.
10070 (memcpy): Likewise. Do not use BP_SYM.
10071 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10072 "bp-asm.h".
10073 (PARMS): Do not use macros from bp-asm.h.
10074 (DEST): Likewise.
10075 (SRC): Likewise.
10076 (LEN): Likewise.
10077 (memmove): Likewise. Do not use BP_SYM.
10078 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10079 "bp-asm.h".
10080 (PARMS): Do not use macros from bp-asm.h.
10081 (DEST): Likewise.
10082 (SRC): Likewise.
10083 (LEN): Likewise.
10084 (__mempcpy): Likewise. Do not use BP_SYM.
10085 (mempcpy): Do not use BP_SYM in weak_alias.
10086 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10087 "bp-asm.h".
10088 (PARMS): Do not use macros from bp-asm.h.
10089 (DEST): Likewise.
10090 (LEN): Likewise.
10091 [!BZERO_P] (CHR): Likewise.
10092 (memset): Likewise. Do not use BP_SYM.
10093 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10094 "bp-asm.h".
10095 (PARMS): Do not use macros from bp-asm.h.
10096 (STR2): Likewise.
10097 (strcmp): Do not use BP_SYM.
10098 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10099 "bp-asm.h".
10100 (PARMS): Do not use macros from bp-asm.h.
10101 (STR): Likewise.
10102 (DELIM): Likewise.
10103 [USE_AS_STRTOK_R] (SAVE): Likewise.
10104 (FUNCTION): Likewise. Do not use BP_SYM.
10105 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10106 aliases.
10107 (strtok_r): Likewise.
10108 (__GI___strtok_r): Likewise.
10109 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10110 (PARMS): Do not use macros from bp-asm.h.
10111 (S): Likewise.
10112 (SIZE): Likewise.
10113 (__mpn_lshift): Do not use BP_SYM.
10114 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10115 (PARMS): Do not use macros from bp-asm.h.
10116 (STR): Likewise.
10117 (CHR): Likewise.
10118 (__memchr): Do not use BP_SYM.
10119 (memchr): Do not use BP_SYM in weak_alias.
10120 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10121 (PARMS): Do not use macros from bp-asm.h.
10122 (BLK2): Likewise.
10123 (LEN): Likewise.
10124 (memcmp): Do not use BP_SYM.
10125 (bcmp): Do not use BP_SYM in weak_alias.
10126 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10127 (PARMS): Do not use macros from bp-asm.h.
10128 (S1): Likewise.
10129 (SIZE): Likewise.
10130 (__mpn_mul_1): Do not use BP_SYM.
10131 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10132 "bp-asm.h".
10133 (PARMS): Do not use macros from bp-asm.h.
10134 (STR): Likewise.
10135 (CHR): Likewise.
10136 (__rawmemchr): Do not use BP_SYM.
10137 (rawmemchr): Do not use BP_SYM in weak_alias.
10138 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10139 (PARMS): Do not use macros from bp-asm.h.
10140 (S): Likewise.
10141 (SIZE): Likewise.
10142 (__mpn_rshift): Do not use BP_SYM.
10143 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10144 (PARMS): Do not use macros from bp-asm.h.
10145 (SIGMSK): Likewise.
10146 (__sigsetjmp): Likewise. Do not use BP_SYM.
10147 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10148 (_start): Do not use BP_SYM.
10149 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10150 (PARMS): Do not use macros from bp-asm.h.
10151 (DEST): Likewise.
10152 (SRC): Likewise.
10153 (__stpcpy): Likewise. Do not use BP_SYM.
10154 (stpcpy): Do not use BP_SYM in weak_alias.
10155 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10156 "bp-asm.h".
10157 (PARMS): Do not use macros from bp-asm.h.
10158 (DEST): Likewise.
10159 (SRC): Likewise.
10160 (LEN): Likewise.
10161 (__stpncpy): Likewise. Do not use BP_SYM.
10162 (stpncpy): Do not use BP_SYM in weak_alias.
10163 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10164 (PARMS): Do not use macros from bp-asm.h.
10165 (STR): Likewise.
10166 (CHR): Likewise.
10167 (strchr): Likewise. Do not use BP_SYM.
10168 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10169 "bp-asm.h".
10170 (PARMS): Do not use macros from bp-asm.h.
10171 (STR): Likewise.
10172 (CHR): Likewise.
10173 (__strchrnul): Likewise. Do not use BP_SYM.
10174 (strchrnul): Do not use BP_SYM in weak_alias.
10175 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10176 "bp-asm.h".
10177 (PARMS): Do not use macros from bp-asm.h.
10178 (STOP): Likewise.
10179 (strcspn): Do not use BP_SYM.
10180 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10181 "bp-asm.h".
10182 (PARMS): Do not use macros from bp-asm.h.
10183 (STR): Likewise.
10184 (STOP): Likewise.
10185 (strpbrk): Likewise. Do not use BP_SYM.
10186 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10187 "bp-asm.h".
10188 (PARMS): Do not use macros from bp-asm.h.
10189 (STR): Likewise.
10190 (CHR): Likewise.
10191 (strrchr): Likewise. Do not use BP_SYM.
10192 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10193 (PARMS): Do not use macros from bp-asm.h.
10194 (SKIP): Likewise.
10195 (strspn): Do not use BP_SYM.
10196 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10197 (PARMS): Do not use macros from bp-asm.h.
10198 (STR): Likewise.
10199 (DELIM): Likewise.
10200 (SAVE): Likewise.
10201 (FUNCTION): Likewise. Do not use BP_SYM.
10202 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10203 aliases.
10204 (strtok_r): Likewise.
10205 (__GI___strtok_r): Likewise.
10206 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10207 (PARMS): Do not use macros from bp-asm.h.
10208 (S1): Likewise.
10209 (S2): Likewise.
10210 (SIZE): Likewise.
10211 (__mpn_sub_n): Do not use BP_SYM.
10212 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10213 "bp-asm.h".
10214 (PARMS): Do not use macros from bp-asm.h.
10215 (S1): Likewise.
10216 (SIZE): Likewise.
10217 (__mpn_submul_1): Do not use BP_SYM.
10218 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10219 <bp-sym.h>.
10220 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10221 and <bp-asm.h>.
10222 (PARMS): Do not use macros from bp-asm.h.
10223 (FLAGS): Likewise.
10224 (PTID): Likewise.
10225 (TLS): Likewise.
10226 (CTID): Likewise.
10227 (__clone): Do not use BP_SYM.
10228 (clone): Do not use BP_SYM in weak_alias.
10229 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10230 and <bp-asm.h>.
10231 (PARMS): Do not use macros from bp-asm.h.
10232 (LEN): Likewise.
10233 (__mmap64): Do not use BP_SYM.
10234 (mmap64): Do not use BP_SYM in weak_alias.
10235 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10236 <bp-sym.h> and <bp-asm.h>.
10237 (PARMS): Do not use macros from bp-asm.h.
10238 (__posix_fadvise64_l64): Do not use BP_SYM.
10239 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10240 (PARMS): Do not use macros from bp-asm.h.
10241 (NSOPS): Likewise.
10242 (semtimedop): Do not use BP_SYM.
10243 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10244 and <bp-asm.h>.
10245
582a3cff
AM
102462013-02-21 Allan McRae <allan@archlinux.org>
10247
10248 * manual/message.texi (Charset conversion in gettext):
10249 Move @end statement to beginning of line.
10250
bab8a695
SP
102512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10252
80945231
SP
10253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10254 static.
10255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10256 Likewise.
10257
bab8a695
SP
10258 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10259 (denorm): Likewise.
10260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10262
e21d7aa7
AK
102632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10264
10265 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10266 tail-call to the resolved function if pltexit isn't needed.
10267
4c7a4263
SP
102682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10269
10270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10271 or Y being zero as being unlikely.
10272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10273 Likewise.
10274
41f49342
CD
102752013-02-20 Carlos O'Donell <carlos@redhat.com>
10276
10277 * manual/nss.texi (System Databases and Name Service Switch):
10278 Remove frobnicate @pxref.
10279
50022a93
TS
102802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10281
10282 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10283 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10284
08cbd996
PM
102852013-02-20 Petr Machata <pmachata@redhat.com>
10286
10287 * elf/elf.h (R_ARM_TARGET1): New macro.
10288 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10289 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10290 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10291 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10292 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10293 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10294 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10295 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10296 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10297 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10298 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10299 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10300 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10301 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10302 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10303 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10304 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10305 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10306 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10307 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10308 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10309 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10310 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10311 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10312 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10313 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10314 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10315 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10316 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10317 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10318 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10319 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10320 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10321 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10322 (R_ARM_THM_GOT_BREL12): Likewise.
10323 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10324 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10325 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10326 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10327 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10328 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10329 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10330 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10331 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10332
c7b275d6
TS
103332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10334
10335 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10336 __attribute_used__ to __attribute__ ((unused)).
10337
20cd7fb3
SP
103382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10339
10340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10341 powerpc mpa.c.
10342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10343 comment formatting.
10344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10345
92945b52
JM
103462013-02-19 Joseph Myers <joseph@codesourcery.com>
10347
10348 [BZ #13550]
10349 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10350 Remove macro.
10351 (ENTER): Remove both macro definitions.
10352 (LEAVE): Likewise.
10353 (CHECK_BOUNDS_LOW): Likewise.
10354 (CHECK_BOUNDS_HIGH): Likewise.
10355 (CHECK_BOUNDS_BOTH): Likewise.
10356 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10357 (RETURN_BOUNDED_POINTER): Likewise.
10358 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10359 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10360 (POP_ERRNO_LOCATION_RETURN): Likewise.
10361 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10362 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10363 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10364 macros.
10365 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10366 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10367 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10368 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10369 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10370 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10371 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10372 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10373 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10374 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10375 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10376 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10377 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10378 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10379 removed macros.
10380 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10381 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10382 macros.
10383 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10384 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10385 * sysdeps/i386/i586/memset.S (memset): Likewise.
10386 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10387 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10388 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10389 macros.
10390 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10391 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10392 Change uses of L(2) to L(out).
10393 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10394 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10395 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10396 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10397 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10398 removed macros.
10399 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10400 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10401 macros.
10402 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10403 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10404 (RETURN): Do not use macro LEAVE.
10405 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10406 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10407 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10408 * sysdeps/i386/i686/memset.S (memset): Likewise.
10409 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10410 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10412 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10413 Likewise.
10414 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10415 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10416 L(1_2) and L(1_3) into L(1).
10417 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10418 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10419 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10420 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10421 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10422 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10423 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10424 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10425 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10426 macros.
10427 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10428 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10429 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10430 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10431 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10432 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10433 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10434 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10435 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10436 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10437 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10438 * sysdeps/i386/strspn.S (strspn): Likewise.
10439 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10440 conditional code.
10441 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10442 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10443 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10444 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10445 L(1_3) into L(1_1).
10446 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10447 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10448 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10449 macros.
10450 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10451
2389741a
JJ
104522013-02-19 Jakub Jelinek <jakub@redhat.com>
10453
10454 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10455 macro.
10456
2016b3cd
SP
104572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10458
e4f22324
SP
10459 * math/atest-exp.c (exp_mpn): Remove ROUND.
10460 * math/atest-exp2.c (exp_mpn): Likewise.
10461 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10462
2016b3cd
SP
10463 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10464 * stdlib/tst-tls-atexit-lib.c: Likewise.
10465 * stdlib/tst-tls-atexit.c: Likewise.
10466
4be9b544
MF
104672013-02-18 Mike Frysinger <vapier@gentoo.org>
10468
10469 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10470 and __attribute_alloc_size__.
10471
2f62b9ee
MF
104722013-02-18 Mike Frysinger <vapier@gentoo.org>
10473
10474 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10475 __attribute_alloc_size__.
10476 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10477 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10478
6ff444c4
MF
104792013-02-18 Mike Frysinger <vapier@gentoo.org>
10480
10481 * include/programs/xmalloc.h: New file.
10482 * catgets/gencat.c: Include it.
10483 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10484 * elf/pldd.c: Likewise.
10485 * iconv/iconv_charmap.c: Likewise.
10486 * iconv/iconvconfig.c: Likewise.
10487 * iconv/strtab.c: Likewise.
10488 * locale/programs/locale.c: Likewise.
10489 * locale/programs/localedef.h: Likewise.
10490 * locale/programs/simple-hash.c: Likewise.
10491 * nscd/nscd.h: Likewise.
10492 * nss/makedb.c: Likewise.
10493 * sysdeps/generic/ldconfig.h: Likewise.
10494
be179c8a
SP
104952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10496
ba384f6e
SP
10497 * Versions.def: Add GLIBC_2.18.
10498 * include/link.h (struct link_map): New member l_tls_dtor_count.
10499 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10500 (__call_tls_dtors): Likewise.
10501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10502 __cxa_thread_atexit_impl.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10504 Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10506 Likewise.
10507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10508 Likewise.
10509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10510 Likewise.
10511 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10513 Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10515 Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10518 Likewise.
10519 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10520 (tests): Add test case tst-tls-atexit.
10521 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10522 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10523 (GLIBC_PRIVATE): Add __call_tls_dtors.
10524 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10525 for libstdc++.
10526 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10527 * stdlib/tst-tls-atexit.c: New test case.
10528 * stdlib/tst-tls-atexit-lib.c: New test case.
10529
ffaa74cf 10530 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10531
be179c8a
SP
10532 * elf/Versions (ld): Add _dl_find_dso_for_object.
10533 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10534 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10535 (dl_open_worker): Use _dl_find_dso_for_object.
10536 * elf/dl-sym.c (do_sym): Likewise.
10537 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10538
f78b5caa
AK
105392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10540
10541 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10542 Syntactic changes only.
10543 (_dl_runtime_profile): Do a tail-call to the resolved function.
10544
29691210
JM
105452013-02-17 Joseph Myers <joseph@codesourcery.com>
10546
10547 [BZ #13550]
10548 * sysdeps/x86_64/bp-asm.h: Remove file.
10549 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10550 <bp-sym.h> and <bp-asm.h>.
10551 (__clone): Do not use BP_SYM.
10552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10553 <bp-sym.h> and <bp-asm.h>.
10554 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10555 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10556 "bp-asm.h".
10557 (_setjmp): Do not use BP_SYM.
10558 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10559 "bp-asm.h".
10560 (setjmp): Do not use BP_SYM.
10561 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10562 libc_hidden_def.
10563 (mempcpy): Do not use BP_SYM in weak_alias.
10564 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10565 "bp-asm.h".
10566 (strchr): Do not use BP_SYM.
10567 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10568 "bp-asm.h".
10569 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10570 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10571 (_start): Do not use BP_SYM.
10572 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10573 "bp-asm.h".
10574 (strcat): Do not use BP_SYM.
10575 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10576 "bp-asm.h".
10577 (STRCMP): Do not use BP_SYM.
10578 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10579 "bp-asm.h".
10580 (STRCPY): Do not use BP_SYM.
10581 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10582 "bp-asm.h".
10583 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10584 "bp-asm.h".
10585 (FUNCTION): Do not use BP_SYM.
10586 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10587 weak_alias.
10588 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10589
f238fd19
AJ
105902013-02-17 Andreas Jaeger <aj@suse.de>
10591
10592 * time/Versions: Sort entries.
10593 * string/Versions: Likewise.
10594 * resolv/Versions: Likewise.
10595 * posix/Versions: Likewise.
10596 * iconv/Versions: Likewise.
10597 * elf/Versions: Likewise.
10598 * wcsmbs/Versions: Likewise.
10599
bd07f23c 106002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10601
22af19f9
SP
10602 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10603 loop termination condition.
10604
4709fe76
SP
10605 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10606 variable to calculate EZ.
10607 (__sqr): Likewise.
2d0e0f29
SP
10608
10609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10610 the lower precision input.
10611
daaa7713
JM
106122013-02-15 Joseph Myers <joseph@codesourcery.com>
10613
10614 [BZ #13550]
10615 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10616 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10617 (run-via-rtld-prefix): Do not handle %-bp tests.
10618 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10619 (all-object-suffixes): Remove .ob.
10620 (bppfx): Remove variable.
10621 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10622 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10623 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10624 [$(build-bounded) = yes] (libtype.ob): Likewise.
10625 * Makerules (elide-routines.ob): Remove variable.
10626 (do-tests-clean): Do not handle *-bp.out.
10627 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10628 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10629 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10630 (tests): Do not include $(tests-bp.out).
10631 (xtests): Do not include $(xtests-bp.out).
10632 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10633 [$(build-bounded) = yes] ($(addprefix
10634 $(objpfx),$(binaries-bounded))): Remove rule.
10635 ($(objpfx)%-bp.out): Remove rule.
10636 * config.make.in (build-bounded): Remove variable.
10637 * crypt/Makefile [$(build-bounded) = yes]
10638 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10639 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10640 append to variable.
10641 [$(build-bounded) = yes] (install-lib): Likewise.
10642 [$(build-bounded) = yes] (generated): Likewise.
10643 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10644 Remove rule.
10645 * intl/Makefile [$(build-bounded) = yes]
10646 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10647 * math/Makefile [$(build-bounded) = yes]
10648 ($(tests:%=$(objpfx)%-bp): Likewise.
10649 * misc/Makefile [$(build-bounded) = yes]
10650 ($(objpfx)tst-tsearch-bp): Likewise.
10651 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10652 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10653 Remove dependency.
10654 * string/Makefile (o-objects.ob): Remove variable.
10655 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10656 (CFLAGS-.ob): Remove variable.
10657 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10658 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10659 both definitions of variable.
10660 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10661 (ASFLAGS-.ob): Remove variable.
10662
e97ed6dd
JM
106632013-02-14 Joseph Myers <joseph@codesourcery.com>
10664
2bdd4ca6
JM
10665 [BZ #13550]
10666 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10667 Remove __BOUNDED_POINTERS__ from condition.
10668 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10669 * string/bits/string2.h [!__NO_STRING_INLINES &&
10670 !__BOUNDED_POINTERS__]: Likewise.
10671 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10672 Likewise.
10673 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10674 Remove conditional code.
10675 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10676 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10677 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10678 condition.
10679
e97ed6dd
JM
10680 [BZ #13550]
10681 * csu/libc-start.c: Do not include <bp-sym.h>.
10682 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10683 * elf/dl-open.c: Do not include <bp-sym.h>.
10684 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10685 * math/fegetenv.c: Do not include <bp-sym.h>.
10686 (fegetenv): Do not use BP_SYM in versioned symbols.
10687 * nptl/sysdeps/pthread/bits/libc-lockP.h
10688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10689 <bp-sym.h>.
10690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10691 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10693 (__pthread_mutex_destroy): Likewise.
10694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10695 (__pthread_mutex_lock): Likewise.
10696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10697 (__pthread_mutex_trylock): Likewise.
10698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10699 (__pthread_mutex_unlock): Likewise.
10700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10701 (__pthread_mutexattr_init): Likewise.
10702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10703 (__pthread_mutexattr_destroy): Likewise.
10704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10705 (__pthread_mutexattr_settype): Likewise.
10706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10707 (__pthread_rwlock_init): Likewise.
10708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10709 (__pthread_rwlock_destroy): Likewise.
10710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10711 (__pthread_rwlock_rdlock): Likewise.
10712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10713 (__pthread_rwlock_tryrdlock): Likewise.
10714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10715 (__pthread_rwlock_wrlock): Likewise.
10716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10717 (__pthread_rwlock_trywrlock): Likewise.
10718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10719 (__pthread_rwlock_unlock): Likewise.
10720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10721 (__pthread_key_create): Likewise.
10722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10723 (__pthread_setspecific): Likewise.
10724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10725 (__pthread_getspecific): Likewise.
10726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10727 Likewise.
10728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10729 (_pthread_cleanup_push_defer): Likewise.
10730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10731 (_pthread_cleanup_pop_restore): Likewise.
10732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10733 (pthread_setcancelstate): Likewise.
10734 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10735 <bp-sym.h>.
10736 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10737 (memchr): Do not use BP_SYM in weak_alias.
10738 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10739 (fegetenv): Do not use BP_SYM in versioned symbols.
10740 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10741 (fesetenv): Do not use BP_SYM in versioned symbols.
10742 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10743 (feupdateenv): Do not use BP_SYM in versioned symbols.
10744 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10745 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10746 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10747 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10748 (open64): Do not use BP_SYM in weak_alias.
10749 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10750 (fegetenv): Do not use BP_SYM in versioned symbols.
10751 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10752 (fesetenv): Do not use BP_SYM in versioned symbols.
10753 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10754 (feupdateenv): Do not use BP_SYM in versioned symbols.
10755 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10756 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10757 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10758 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10759 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10760 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10761 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10762 <bp-sym.h>.
10763 (__libc_start_main): Do not use BP_SYM.
10764
d6752ccd
SP
107652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10766
cb57ce60
SP
10767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10768 redundant return line.
10769 (norm): Likewise.
10770 (denorm): Likewise.
10771 (dbl_mp): Likewise.
10772 (sub_magnitudes): Likewise.
10773 (__add): Likewise.
10774 (__sub): Likewise.
10775 (__mul): Likewise.
10776 (__inv): Likewise.
10777 (__dvd): Likewise.
10778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10779 (norm): Likewise.
10780 (denorm): Likewise.
10781 (dbl_mp): Likewise.
10782 (sub_magnitudes): Likewise.
10783 (__add): Likewise.
10784 (__sub): Likewise.
10785 (__mul): Likewise.
10786 (__inv): Likewise.
10787 (__dvd): Likewise.
10788
f414520d
SP
10789 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10790 instead of __mul.
10791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10792 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10793 (cc32): Likewise.
10794
d6752ccd
SP
10795 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10796 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10798 of __mul for squares.
10799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10800 function
10801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10802 Likewise.
10803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10804 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10805
70d9946a
JM
108062013-02-13 Joseph Myers <joseph@codesourcery.com>
10807
10808 [BZ #13550]
10809 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10810 code.
10811 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10812 prototype or function definition. Rename ubp_* variables and
10813 parameters. Remove argv definitions conditional on
10814 [__BOUNDED_POINTERS__].
10815 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10816 * elf/dl-runtime.c (_dl_fixup): Likewise.
10817 * include/set-hooks.h (RUN_HOOK): Likewise.
10818 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10819 definition.
10820 * string/strcpy.c (strcpy): Do not use __unbounded.
10821 * sysdeps/generic/frame.h (struct layout): Likewise.
10822 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10823 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10824 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10825 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10826 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10827 (__backtrace): Likewise.
10828 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10829 use __ptrvalue.
10830 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10831 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10832 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10833 Likewise.
10834 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10835 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10836 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10837 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10838 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10839 Do not use __unbounded.
10840 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10841 Rename __unboundedrlimits parameter to rlimits in prototype.
10842 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10843 Do not use __unbounded.
10844 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10845 not use __ptrvalue.
10846 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10847 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10848 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10849 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10850 __ptrvalue or __unbounded.
10851 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10852 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10853 use __unbounded.
10854 (__new_msgctl): Do not use __ptrvalue.
10855 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10856 __unbounded.
10857 (__libc_msgrcv): Do not use __ptrvalue.
10858 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10859 startup_info): Do not use __unbounded.
10860 (__libc_start_main): Likewise. Rename ubp_* variables and
10861 parameters. Remove argv definitions conditional on
10862 [__BOUNDED_POINTERS__].
10863 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10864 __ptrvalue.
10865 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10866 use __unbounded.
10867 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10868 or __ptrvalue.
10869 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10870 use __unbounded.
10871 (__new_shmctl): Do not use __ptrvalue.
10872 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10873 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10874 Likewise.
10875 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10877 (__libc_sigaction): Likewise.
10878 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10879 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10880 Likewise.
10881 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10882
cc7834d6
OB
108832013-02-13 Ondřej Bílka <neleai@seznam.cz>
10884
ffb1ec7b 10885 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10886
10887 * string/mempcpy.c: Implement by calling memcpy.
10888
bdf02814
SP
108892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10890
c2af38aa
SP
10891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10892
4e92d59e
SP
10893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10894 evaluation.
10895
909279a5
SP
10896 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10897 values in the mantissa.
10898
bdf02814
SP
10899 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10900 minimize writes to Z.
10901 (sub_magnitudes): Simplify code a bit.
10902
cd525923
RM
109032013-02-12 Roland McGrath <roland@hack.frob.com>
10904
10905 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10906 from the message. The linker prefixes all warnings with that already.
10907
7e2f0d2d
AS
109082013-02-12 Andreas Schwab <schwab@suse.de>
10909
a445af0b
AS
10910 [BZ #15078]
10911 * posix/regexec.c (extend_buffers): Add parameter min_len.
10912 (check_matching): Pass minimum needed length.
10913 (clean_state_log_if_needed): Likewise.
10914 (get_subexp): Likewise.
10915 * posix/Makefile (tests): Add bug-regex34.
10916 (bug-regex34-ENV): Define.
10917 * posix/bug-regex34.c: New file.
10918
7e2f0d2d
AS
10919 [BZ #11561]
10920 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10921 elements compare against the byte sequence of it, not its name.
10922 * posix/Makefile (tests): Add bug-regex35.
10923 (bug-regex35-ENV): Define.
10924 * posix/bug-regex35.c: New file.
10925
a175b684
TV
109262013-02-11 Tom de Vries <tom@codesourcery.com>
10927
10928 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10929 comment.
10930 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10931 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10932 (CHECK_EOL): Add undef.
10933
310998fe 109342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10935
10936 * bits/stdlib-bsearch.h: New file.
10937 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10938 * stdlib/stdlib.h: Likewise.
41eda41d 10939
8ded91fb
RM
109402013-02-11 Roland McGrath <roland@hack.frob.com>
10941
10942 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10943 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10944 declaration.
10945 * manual/search.texi (Array Search Function): Add missing const in
10946 lfind prototype.
10947 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10948 declaration to use rlim_t.
10949 (Basic Scheduling Functions): Remove erroneous const from
10950 sched_getparam prototype. Remove erroneous * from
10951 sched_get_priority_max and sched_get_priority_min prototypes.
10952 (Resource Usage): Fix summary @comment on vtimes to refer to
10953 sys/vtimes.h rather than vtimes.h.
10954 Add missing *s in vtimes prototype.
10955 (Limits on Resources): Fix ulimit prototype to return long int.
10956 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10957 prototypes to use long int rather than double.
10958 (BSD Random): Fix initstate and setstate to use char *, not void *.
10959 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10960 prototype to make second argument 'struct aiocb64 *const[]'.
10961 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10962 (Status of AIO Operations): Remove erroneous const in aio_return and
10963 aio_return64 prototypes.
10964 (Synchronizing I/O): Fix sync prototype to return void.
10965 * manual/startup.texi (Suboptions): Remove an erroneous const in
10966 getsubopt prototype.
10967 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10968 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10969 use size_t rather than int.
10970 (Scanning All Users): Likewise for getpwent_r.
10971 (Setting Groups): Add missing const to setgroups prototype.
10972 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10973 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10974 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10975 'const void *' rather than 'const char *'.
10976 (Host Address Functions): Likewise for inet_ntop.
10977 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10978 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10979 ssize_t for return value.
10980 (Sending Data): Likewise for send, sendto, sendmsg.
10981 (Socket Option Functions): Add a missing const in setsockopt prototype.
10982 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10983 use wchar_t for the argument.
10984 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10985 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10986 take no arguments.
10987 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10988 double/float/long double for second argument.
10989 Fix return types of significand, significandf, significandl.
10990 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10991 argument in fchmod prototype.
10992 (File Owner): Use uid_t and gid_t in fchown prototype.
10993 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10994 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10995 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10996 use 'const struct dirent **' as argument types to CMP function pointer
10997 argument.
10998 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10999 (File Times): Fix summary magic @comment for struct utimbuf and utime
11000 to refer to utime.h, not time.h.
11001 * manual/string.texi (Argz Functions): Add missing const in
11002 argz_extract and argz_next prototypes.
11003 (Finding Tokens in a String): Likewise for basename.
11004 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11005 (Copying and Concatenation): Fix typo in wmemmove prototype.
11006 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11007 (Signal Stack): Remove erroneous const in sigstack prototype.
11008 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11009 prototype.
11010 (Simple Calendar Time): Likewise for stime.
11011 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11012 prototype.
11013 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11014 say sys/sysctl.h instead.
11015 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11016 and vsyslog prototypes.
11017
fe77fe6d
TV
110182013-02-11 Tom de Vries <tom@codesourcery.com>
11019
11020 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11021 Remove.
11022
3a09b620
RM
110232013-02-11 Roland McGrath <roland@hack.frob.com>
11024
11025 * misc/sys/mman.h: Fix typo in mremap comment.
11026
550a0b89
RM
110272013-02-08 Roland McGrath <roland@hack.frob.com>
11028
11029 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11030 the '\0' terminator.
11031
a2da1673
JM
110322013-02-08 Joseph Myers <joseph@codesourcery.com>
11033
11034 [BZ #13550]
11035 * debug/segfault.c: Don't include <bp-checks.h>.
11036 * sysdeps/generic/bp-checks.h: Remove file.
11037 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11038 (__GETDENTS): Don't use CHECK_N.
11039 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11040 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11041 (__getgroups): Don't use CHECK_N.
11042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11043 (setgroups): Don't use CHECK_N.
11044 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11045 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11046 (__libc_msgrcv): Don't use CHECK_N.
11047 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11048 (__libc_msgsnd): Don't use CHECK_N.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11050 <bp-checks.h>.
11051 (__libc_pread): Don't use CHECK_N.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11053 include <bp-checks.h>.
11054 (__libc_pread64): Don't use CHECK_N.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11056 include <bp-checks.h>.
11057 (__libc_pwrite): Don't use CHECK_N.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11059 include <bp-checks.h>.
11060 (__libc_pwrite64): Don't use CHECK_N.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11062 <bp-checks.h>.
11063 (__libc_pread): Don't use CHECK_N.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11065 include <bp-checks.h>.
11066 (__libc_pread64): Don't use CHECK_N.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11068 include <bp-checks.h>.
11069 (__libc_pwrite): Don't use CHECK_N.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11071 include <bp-checks.h>.
11072 (__libc_pwrite64): Don't use CHECK_N.
11073 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11074 (do_pread): Don't use CHECK_N.
11075 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11076 (do_pread64): Don't use CHECK_N.
11077 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11078 (do_pwrite): Don't use CHECK_N.
11079 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11080 (do_pwrite64): Don't use CHECK_N.
11081 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11082 (__libc_readv): Don't use CHECK_N.
11083 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11084 (semop): Don't use CHECK_N.
11085 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11086 <bp-checks.h>.
11087 (semtimedop): Don't use CHECK_N.
11088 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11089 (__libc_pread): Don't use CHECK_N.
11090 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11091 <bp-checks.h>.
11092 (__libc_pread64): Don't use CHECK_N.
11093 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11094 <bp-checks.h>.
11095 (__libc_pwrite): Don't use CHECK_N.
11096 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11097 <bp-checks.h>.
11098 (__libc_pwrite64): Don't use CHECK_N.
11099 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11100 <bp-checks.h>.
11101 (__libc_msgrcv): Don't use CHECK_N.
11102 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11103 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11104 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11105 (__libc_writev): Don't use CHECK_N.
11106
b84660a8
RM
111072013-02-08 Roland McGrath <roland@hack.frob.com>
11108
7f3e75f8
RM
11109 * string/strcpy.c: Removed unused variable.
11110
b84660a8
RM
11111 * Makeconfig (+sysdep-includes): Define with := rather than =.
11112 Use an existing include/ subdir of each sysdeps dir before it.
11113
471514d3
CD
111142013-02-08 Carlos O'Donell <carlos@redhat.com>
11115
11116 * nscd/connection.c (register_traced_file): Comment function.
11117 [HAVE_INOTIFY] (union __inev): Define.
11118 [HAVE_INOTIFY] (inotify_check_files): New function.
11119 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11120 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11121 clear_db_cache.
11122 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11123
b2d3c3be
CD
111242013-02-08 Carlos O'Donell <carlos@redhat.com>
11125
11126 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11127 loaded if not already and that a failure is permanent.
11128
b39949d2
CD
111292013-02-08 Carlos O'Donell <carlos@redhat.com>
11130
ddacd1db 11131 [BZ #15006]
b39949d2
CD
11132 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11133 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11134
b2c9eff4
JM
111352013-02-08 Joseph Myers <joseph@codesourcery.com>
11136
f3aae3f3
JM
11137 [BZ #13550]
11138 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11139 (CHECK_1_NULL_OK): Likewise.
11140 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11141 (__fxstat): Do not use CHECK_1.
11142 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11143 <bp-checks.h>.
11144 (___fxstat64): Do not use CHECK_1.
11145 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11146 <bp-checks.h>.
11147 (__fxstatat): Do not use CHECK_1.
11148 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11149 <bp-checks.h>.
11150 (__fxstatat64): Do not use CHECK_1.
11151 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11152 <bp-checks.h>.
11153 (__fxstat): Do not use CHECK_1.
11154 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11155 <bp-checks.h>.
11156 (__fxstatat): Do not use CHECK_1.
11157 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11158 <bp-checks.h>.
11159 (__getresgid): Do not use CHECK_1.
11160 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11161 <bp-checks.h>.
11162 (__getresuid): Do not use CHECK_1.
11163 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11164 <bp-checks.h>.
11165 (__lxstat): Do not use CHECK_1.
11166 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11167 <bp-checks.h>.
11168 (__old_msgctl): Do not use CHECK_1.
11169 (__new_msgctl): Likewise.
11170 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11171 <bp-checks.h>.
11172 (__new_setrlimit): Do not use CHECK_1.
11173 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11174 <bp-checks.h>.
11175 (__old_shmctl): Do not use CHECK_1.
11176 (__new_shmctl): Likewise.
11177 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11178 <bp-checks.h>.
11179 (__xstat): Do not use CHECK_1.
11180 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11181 (__lxstat): Do not use CHECK_1.
11182 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11183 <bp-checks.h>.
11184 (___lxstat64): Do not use CHECK_1.
11185 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11186 (__old_msgctl): Do not use CHECK_1.
11187 (__new_msgctl): Likewise.
11188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11189 <bp-checks.h>.
11190 (__gettimeofday): Do not use CHECK_1.
11191 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11192 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11193 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11194 <bp-checks.h>.
11195 (__gettimeofday): Do not use CHECK_1.
11196 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11197 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11198 (__new_shmctl): Do not use CHECK_1.
11199 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11200 <bp-checks.h>.
11201 (do_sigtimedwait): Do not use CHECK_1.
11202 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11203 <bp-checks.h>.
11204 (do_sigwaitinfo): Do not use CHECK_1.
11205 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11206 <bp-checks.h>.
11207 (msgctl): Do not use CHECK_1.
11208 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11209 <bp-checks.h>.
11210 (shmctl): Do not use CHECK_1.
11211 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11212 (ustat): Do not use CHECK_1.
11213 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11214 <bp-checks.h>.
11215 (__fxstat): Do not use CHECK_1.
11216 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11217 <bp-checks.h>.
11218 (__fxstatat): Do not use CHECK_1.
11219 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11220 <bp-checks.h>.
11221 (__lxstat): Do not use CHECK_1.
11222 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11223 <bp-checks.h>.
11224 (__xstat): Do not use CHECK_1.
11225 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11226 (__xstat): Do not use CHECK_1.
11227 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11228 (___xstat64): Do not use CHECK_1.
11229
b2c9eff4
JM
11230 [BZ #13550]
11231 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11232 definitions.
11233 (CHECK_BOUNDS_HIGH): Likewise.
11234 * string/strcpy.c: Do not include <bp-checks.h>.
11235 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11236
f1d70dad
RM
112372013-02-07 Roland McGrath <roland@hack.frob.com>
11238
11239 * nscd/nscd-client.h (__nscd_drop_map_ref):
11240 Add __attribute__ ((unused)).
11241 * nis/nss-nisplus.h (niserr2nss): Likewise.
11242
11243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11244 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11245
11246 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11247 Remove inline keyword.
11248 * include/rounding-mode.h (round_away): Likewise.
11249 * libio/wfileops.c (adjust_wide_data): Likewise.
11250 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11251 (__m128i_strloadu_tolower): Likewise.
11252 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11253 (__m128i_strloadu_tolower): Likewise.
11254 * time/mktime.c (ydhms_diff): Likewise.
11255 * locale/elem-hash.h (elem_hash): Likewise.
11256 * locale/setlocale.c (setdata): Likewise.
11257 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11258 (re_string_wchar_at): Likewise.
11259 (bitset_not, bitset_merge, bitset_mask): Likewise.
11260 [!(__GNUC__ > 3)] (inline): Remove macro.
11261 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11262 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11263 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11264 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11265 * string/memcmp.c (memcmp_bytes): Likewise.
11266 * locale/programs/locarchive.c (compute_hashval): Likewise.
11267 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11268 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11269 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11270 * nss/getent.c (print_rpc, print_protocols): Likewise.
11271 (print_passwd, print_group, print_aliases): Likewise.
11272 * nis/nss-nisplus.h (niserr2nss): Likewise.
11273 * nscd/connections.c (restart_p): Likewise.
11274 Change return type to bool.
11275
eab55bfb
RM
112762013-02-05 Roland McGrath <roland@hack.frob.com>
11277
7bd642f5
RM
11278 * Makeconfig (all-Depend-files): Add existing
11279 $(sorted-subdirs:=/Depend) files.
11280 (all-subdirs): Remove nss.
11281 * sysdeps/unix/inet/Subdirs: Add it here instead.
11282 * hesiod/Depend: New file.
11283
573c29b2
RM
11284 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11285 instead of calling alloca.
11286
b2e25af0
RM
11287 * io/lseek.c (__lseek): Rename to __libc_lseek.
11288 Define __lseek as an alias.
11289
eab55bfb
RM
11290 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11291
9a0d1941
CD
112922013-02-04 Carlos O'Donell <carlos@redhat.com>
11293
11294 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11295 else clause and remove check for non-standard endianness.
11296
b83bbec4
DM
112972013-02-04 David S. Miller <davem@davemloft.net>
11298
11299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11300
6277fdab
JM
113012013-02-04 Joseph Myers <joseph@codesourcery.com>
11302
11303 [BZ #13550]
11304 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11305 (__ubp_memchr): Remove prototype.
11306 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11307 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11308 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11309 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11310 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11311 Remove alias.
11312 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11313 (__ubp_memchr): Likewise.
11314 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11315 (__ubp_memchr): Likewise.
11316 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11317 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11318 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11319 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11320 CHECK_STRING.
11321 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11322 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11323 (__getcwd): Do not use CHECK_STRING.
11324 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11325 <bp-checks.h>.
11326 (__real_chown): Do not use CHECK_STRING.
11327 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11328 <bp-checks.h>.
11329 (fchownat): Do not use CHECK_STRING.
11330 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11331 CHECK_STRING.
11332 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11333 <bp-checks.h>.
11334 (__lchown): Do not use CHECK_STRING.
11335 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11336 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11337 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11338 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11340 include <bp-checks.h>.
11341 (truncate64): Do not use CHECK_STRING.
11342 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11343 <bp-checks.h>.
11344 (__real_chown): Do not use CHECK_STRING.
11345 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11346 <bp-checks.h>.
11347 (__lchown): Do not use CHECK_STRING.
11348 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11349 <bp-checks.h>.
11350 (__chown): Do not use CHECK_STRING.
11351 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11352 <bp-checks.h>.
11353 (truncate64): Do not use CHECK_STRING.
11354 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11355 Likewise.
11356 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11357 (__xmknod): Do not use CHECK_STRING.
11358 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11359 <bp-checks.h>.
11360 (__xmknodat): Do not use CHECK_STRING.
11361 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11362 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11363
903ae060
AS
113642013-02-04 Andreas Schwab <schwab@suse.de>
11365
11366 [BZ #14142]
11367 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11368 * include/netdb.h: Likewise for h_errno.
11369 * elf/tst-stackguard1.c: Include <tls.h>.
11370
542f9466
JK
113712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11372
11373 * elf/link.h (struct link_map): Extend the l_addr comment.
11374 * include/link.h (struct link_map): Likewise.
11375
e782a927
JM
113762013-02-01 Joseph Myers <joseph@codesourcery.com>
11377
11378 [BZ #13550]
11379 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11380 (BOUNDED_1): Remove macro.
11381 * debug/backtrace.c: Don't include <bp-checks.h>.
11382 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11383 (__backtrace): Likewise.
11384 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11385 <bp-checks.h>.
11386 (__backtrace): Don't use BOUNDED_1.
11387 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11388 <bp-checks.h>.
11389 (__backtrace): Don't use BOUNDED_1.
11390 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11391 (__backtrace): Don't use BOUNDED_1.
11392 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11393 (shmat): Don't use BOUNDED_N.
11394
8cf28c5e
JM
113952013-01-31 Joseph Myers <joseph@codesourcery.com>
11396
3a7ac8a0
JM
11397 [BZ #13550]
11398 * sysdeps/generic/bp-start.h: Remove file.
11399 * csu/libc-start.c: Don't include <bp-start.h>.
11400 (LIBC_START_MAIN): Set up __environ directly instead of using
11401 INIT_ARGV_and_ENVIRON.
11402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11403 <bp-start.h>.
11404
f3499f95
JM
11405 [BZ #13550]
11406 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11407 definitions.
11408 (CHECK_FCNTL): Likewise.
11409 (CHECK_N_PAGES): Likewise.
11410
32a45bea
JM
11411 [BZ #13550]
11412 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11413 definitions.
11414 (CHECK_SIGSET_NULL_OK): Likewise.
11415 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11416 <bp-checks.h>.
11417 (sigpending): Don't use CHECK_SIGSET.
11418 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11419 <bp-checks.h>.
11420 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11421 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11422 <bp-checks.h>.
11423 (do_sigsuspend): Don't use CHECK_SIGSET.
11424 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11425 use CHECK_SIGSET.
11426 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11427 (do_sigwait): Don't use CHECK_SIGSET.
11428 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11429 use CHECK_SIGSET.
11430 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11431 include <bp-checks.h>.
11432 (sigpending): Don't use CHECK_SIGSET.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11434 include <bp-checks.h>.
11435 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11436 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11437 <bp-checks.h>.
11438 (sigpending): Don't use CHECK_SIGSET.
11439 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11440 <bp-checks.h>.
11441 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11442
2e8a5c8c
JM
11443 [BZ #13550]
11444 * sysdeps/generic/bp-semctl.h: Remove file.
11445 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11446 <bp-checks.h> and <bp-semctl.h>.
11447 (__old_semctl): Don't use CHECK_SEMCTL.
11448 (__new_semctl): Likewise.
11449 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11450 and <bp-semctl.h>.
11451 (__old_semctl): Don't use CHECK_SEMCTL.
11452 (__new_semctl): Likewise.
11453 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11454 <bp-checks.h> and <bp-semctl.h>.
11455 (__old_semctl): Don't use CHECK_SEMCTL.
11456 (__new_semctl): Likewise.
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11458 <bp-checks.h> and <bp-semctl.h>.
11459 (semctl): Don't use CHECK_SEMCTL.
11460
c2d54929
JM
11461 [BZ #13550]
11462 * Makerules (elide-bp-thunks): Remove variable.
11463 (elide-routines.oS): Don't use $(elide-bp-thunks).
11464 (elide-routines.os): Likewise.
11465 (elide-routines.o): Likewise.
11466 (elide-routines.op): Likewise.
11467 (elide-routines.og): Likewise.
11468 (objects): Don't use $(bp-thunks).
11469 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11470 include.
11471 (common-generated): Do not add s-proto-bp.d.
11472 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11473 (int): Likewise.
11474 (typ): Likewise.
11475 Do not generate makefile rules for bounded-pointer thunks.
11476 * sysdeps/generic/bp-thunks.h: Remove file.
11477 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11478 * sysdeps/unix/s-proto-bp.S: Likewise.
11479
8cf28c5e
JM
11480 [BZ #15062]
11481 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11482 parts of result separately when argument is not close to line from
11483 -i to i and one part of argument is small.
11484 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11485 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11486 * math/libm-test.inc (cacos_test): Add more tests.
11487 (casin_test): Likewise.
11488 (casinh_test): Likewise.
11489 * sysdeps/i386/fpu/libm-test-ulps: Update.
11490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491
c4e33b8d
DM
114922013-01-31 David S. Miller <davem@davemloft.net>
11493
11494 * po/de.po: Update from translation team.
11495
3b60b421
MK
114962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11497
11498 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11499
bb931195
TS
115002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11501
b5a5da23
TS
11502 * configure.in (_AC_PROG_CC_C89): New definition.
11503 * configure: Regenerate.
11504
bb931195
TS
11505 * configure.in (AC_PROG_CPP): New definition.
11506 * configure: Regenerate.
11507
8c53a12c
JM
115082013-01-23 Joseph Myers <joseph@codesourcery.com>
11509
11510 * debug/tst-backtrace.h: New file.
11511 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11512 (ret): Remove variable.
11513 (x): Likewise.
11514 (FAIL): Remove macro.
11515 (NO_INLINE): Likewise.
11516 (fn1): Use match function instead of strstr.
11517 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11518 (ret): Remove variable.
11519 (x): Likewise.
11520 (FAIL): Remove macro.
11521 (NO_INLINE): Likewise.
11522 (fn): Use match function instead of strstr.
11523 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11524 (ret): Remove variable.
11525 (x): Likewise.
11526 (FAIL): Remove macro.
11527 (NO_INLINE): Likewise.
11528 (handle_signal): Use match function instead of strstr.
11529 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11530 (ret): Remove variable.
11531 (x): Likewise.
11532 (FAIL): Remove macro.
11533 (NO_INLINE): Likewise.
11534 (handle_signal): Use match function instead of strstr.
11535
4858fa2a
RM
115362013-01-23 Roland McGrath <roland@hack.frob.com>
11537
11538 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11539
bae8e7f5
DM
115402013-01-23 David S. Miller <davem@davemloft.net>
11541
11542 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11543 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11544 argument of CAS if possible.
11545 * sysdeps/sparc/sparc64/bits/atomic.h
11546 (__arch_compare_and_exchange_val_32_acq): Likewise.
11547 (__arch_compare_and_exchange_val_64_acq): Likewise.
11548
9cbbc4ae
PT
115492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11550
11551 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11552 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11553 Include <limits.h>.
67b3f58c 11554 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11555
5655a0b5
AC
115562013-01-23 Adam Conrad <adconrad@0c3.net>
11557
11558 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11559 (LDFLAGS-tst-array5): Likewise.
11560
052aff95
JM
115612013-01-23 Joseph Myers <joseph@codesourcery.com>
11562
11563 [BZ #15036]
11564 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11565 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11566 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11567 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11568
7c1e01aa
DM
115692013-01-21 David S. Miller <davem@davemloft.net>
11570
11571 * sysdeps/sparc/backtrace.c: New file.
11572 * sysdeps/sparc/sparc32/backtrace.h: New file.
11573 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11574 * sysdeps/sparc/sparc64/backtrace.h: New file.
11575 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11576 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11577 -funwind-tables.
11578
ab087e0a
AS
115792013-01-21 Andreas Schwab <schwab@suse.de>
11580
11581 [BZ #15020]
11582 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11583 closed its stdout.
11584
ed689c2f
AS
115852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11586
11587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11588 "mpa2.h".
11589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11590
31d470ac
JM
115912013-01-18 Joseph Myers <joseph@codesourcery.com>
11592 Mark Mitchell <mark@codesourcery.com>
11593 Tom de Vries <tom@codesourcery.com>
11594 Paul Pluzhnikov <ppluzhnikov@google.com>
11595
11596 * debug/tst-backtrace2.c: New file.
11597 * debug/tst-backtrace3.c: Likewise.
11598 * debug/tst-backtrace4.c: Likewise.
11599 * debug/tst-backtrace5.c: Likewise.
11600 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11601 (CFLAGS-tst-backtrace3.c): Likewise.
11602 (CFLAGS-tst-backtrace4.c): Likewise.
11603 (CFLAGS-tst-backtrace5.c): Likewise.
11604 (LDFLAGS-tst-backtrace2): Likewise.
11605 (LDFLAGS-tst-backtrace3): Likewise.
11606 (LDFLAGS-tst-backtrace4): Likewise.
11607 (LDFLAGS-tst-backtrace5): Likewise.
11608 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11609 tst-backtrace4 and tst-backtrace5.
11610
90567f30 116112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11612 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11613
11614 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11615 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11616 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11617 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11619 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11620 "+r" and remove output regs list as redundant. Add explicit inline
11621 asm to specify register of return val to work around compiler codegen
11622 bug. Remove (int) cast on return value. Add return type parameter to
11623 use in macro so that this macro does not truncate return value for
11624 64-bit values.
11625 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11626 pass to INTERNAL_VSYSCALL_NCS.
11627 (INLINE_VSYSCALL): Add 'long int' as return type to
11628 INTERNAL_VSYSCALL_NCS macro invocation.
11629 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11630 INTERNAL_VSYSCALL_NCS macro invocation.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11632
d3b9ea61
SP
116332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
0b57daeb
SP
11635 [BZ #14496]
11636 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11637 Fix application of SIMD FP exception mask.
11638
caa99d06
SP
11639 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11640 mp_no from a power of two.
11641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11642 __mpexp_twomm1. Use __pow_mp.
11643
d3b9ea61
SP
11644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11645 multiplication.
11646
1dbaee3c
DM
116472013-01-17 David S. Miller <davem@davemloft.net>
11648
11649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11650
728d7b43
JM
116512013-01-17 Joseph Myers <joseph@codesourcery.com>
11652
11653 [BZ #15023]
11654 * include/complex.h: Condition contents on [!_COMPLEX_H].
11655 (__kernel_casinhf): New prototype.
11656 (__kernel_casinh): Likewise.
11657 (__kernel_casinhl): Likewise.
11658 * math/Makefile (libm_calls): Add k_casinh.
11659 * math/k_casinh.c: New file.
11660 * math/k_casinhf.c: Likewise.
11661 * math/k_casinhl.c: Likewise.
11662 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11663 finite nonzero arguments.
11664 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11665 finite nonzero arguments.
11666 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11667 finite nonzero arguments.
11668 * math/s_casinh.c: Do not include <float.h>.
11669 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11670 * math/s_casinhf.c: Do not include <float.h>.
11671 (__casinhf): Move code for finite nonzero arguments to
11672 k_casinhf.c.
11673 * math/s_casinhl.c: Do not include <float.h>.
11674 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11675 redefine.
11676 (__casinhl): Move code for finite nonzero arguments to
11677 k_casinhl.c.
11678 * math/libm-test.inc (cacos_test): Add more tests.
11679 * sysdeps/i386/fpu/libm-test-ulps: Update.
11680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11681
2a26ef3a
PT
116822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11683
11684 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11685 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11686 [!HAVE_MREMAP]: Remove [defined linux] case.
11687 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11688
a897655d
SP
116892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11690
11691 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11692
881ebe89 116932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11694
11695 * elf/elf.h (R_386_SIZE32): New relocation.
11696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11697 R_386_SIZE32.
11698 (elf_machine_rela): Likewise.
11699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11700 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11701
59981e9b
JM
117022013-01-17 Joseph Myers <joseph@codesourcery.com>
11703
11704 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11705 (FP_FAST_FMA): Do not define.
11706 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11707 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11708 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11709 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11710 !_SOFT_FLOAT]: Likewise.
11711 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11712 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11713 value.
11714 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11715 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11717 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11718 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11719 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11720 file.
11721
cfa8054f
AS
117222013-01-16 Andreas Schwab <schwab@suse.de>
11723
11724 [BZ #14327]
11725 * include/stdlib.h (__mktemp): Add declaration.
11726 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11727 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11728
dd930cc5
SP
117292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11730
881ebe89
SP
11731 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11732 definitions.
11733 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11734 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11735 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11736 definitions here.
11737 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11738 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11739 definitions.
11740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11741 and ONE.
11742 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11743 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11744 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11745 definitions.
11746 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11747 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11748 definitions.
11749 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11750
dd930cc5
SP
11751 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11752
c19a9f89
DM
117532013-01-15 David S. Miller <davem@davemloft.net>
11754
1aa61767
DM
11755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11756 trunc{,f} to libm-sysdep_routes.
11757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11759 file.
11760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11762 file.
11763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11764 file.
11765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11767 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11773
c42d5e98
DM
11774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11775 nearbyint{,f} to libm-sysdep_routes.
11776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11778 New file.
11779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11780 file.
11781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11782 New file.
11783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11784 file.
11785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11787 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11788 file.
11789 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11790 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11791 file.
11792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11793 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11794 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11795
c19a9f89
DM
11796 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11797 libc_feholdexcept and libc_fesetenv.
11798
357679d2
MF
117992013-01-15 Mike Frysinger <vapier@gentoo.org>
11800
11801 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11802
65a82e3d
DM
118032013-01-14 David S. Miller <davem@davemloft.net>
11804
8b954ab9
DM
11805 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11806 (SPARC_ASM_VIS2_IFUNC): Likewise.
11807 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11809 use of 'siam' instruction.
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11811 Likewise.
11812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11813 Likewise.
11814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11815 Likewise.
11816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11821 file.
11822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11823 file.
11824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11825 file.
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11827 file.
11828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11833 new VIS2 routines.
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11837 Likewise.
11838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11843 routines to libm-sysdep_routines.
11844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11845
65a82e3d
DM
11846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11847 fdim/fdimf to libm-sysdep_routines.
11848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11849 file.
11850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11852 file.
11853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11856 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11857 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11858 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11859 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11860
e34ab705
SP
118612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11862
2a91b573
SP
11863 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11864 to optimize copies.
11865
1066a534
SP
11866 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11869
e34ab705
SP
11870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11871 local variable MPTWO.
11872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11873 Likewise.
11874
aba5e596
MF
118752013-01-13 Mike Frysinger <vapier@gentoo.org>
11876
11877 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11878 GLOB_NOESCAPE.
11879
e557e9e5
MF
118802013-01-13 Mike Frysinger <vapier@gentoo.org>
11881
11882 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11883
0428cec9
MF
118842013-01-13 Mike Frysinger <vapier@gentoo.org>
11885
11886 * manual/pattern.texi (glob_t): Document gl_flags.
11887 (glob64_t): Likewise.
11888
8794a964
DM
118892013-01-11 David S. Miller <davem@davemloft.net>
11890
66438c3f
RM
11891 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11892 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11893 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11894 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11895 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11896 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11897 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11898 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11899 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11900 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11901 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11902 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11903 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11904
4ae4244d
DM
11905 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11906 sparc V9 rather than using V8 code.
11907 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11908 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11909
8794a964
DM
11910 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11911 Move to...
11912 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11913 Here.
11914
6270516e
RM
119152013-01-11 Roland McGrath <roland@hack.frob.com>
11916
11917 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11918 not in the main loop.
11919 * configure: Regenerated.
11920
6a57d931
JM
119212013-01-11 Joseph Myers <joseph@codesourcery.com>
11922
11923 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11924 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11925 to just #else.
11926 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11927 [!__GLIBC_HAVE_LONG_LONG] case.
11928 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11929 condition to just #else.
11930 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11931 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11932 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11933 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11934 unconditional.
11935 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11936 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11937 #elif condition to just #else.
11938 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11939 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11940 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11941 #elif condition to just #else.
11942
0e8529e9
SE
119432013-01-11 Steve Ellcey <sellcey@mips.com>
11944
11945 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11946 (EF_MIPS_ARCH_64): Fix value.
11947 (EF_MIPS_ARCH_32R2): New.
11948 (EF_MIPS_ARCH_64R2): New.
11949
740b3dbe
L
119502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * Makeconfig (+link-pie-before-libc): New.
11953 (+link-pie-after-libc): Likewise.
11954 (+link-pie-tests): Likewise.
11955 (+link-pie): Rewritten.
11956 (link-before-libc): Remove $(config-LDFLAGS).
11957 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11958 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11959 (config-LDFLAGS): Renamed to ...
11960 (rtld-LDFLAGS): This.
11961 (rtld-tests-LDFLAGS): New macro.
11962 (link-libc-rpath-link): Likewise.
11963 (link-libc-tests-rpath-link): Likewise.
11964 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11965 (link-libc): Prepand $(link-libc-rpath-link).
11966 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11967 (test-program-prefix): New macro.
11968 (test-via-rtld-prefix): Likewise.
11969 (test-program-cmd): Likewise.
11970 (host-test-program-cmd): Likewise.
11971 * Makefile ($(common-objpfx)testrun.sh): Replace
11972 $(run-program-prefix) with $(test-program-prefix).
11973 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11974 $(rtld-LDFLAGS).
11975 ($(common-objpfx)shlib.lds): Likewise.
11976 (build-module-helper): Likewise.
11977 ($(common-objpfx)format.lds): Likewise.
11978 * Rules (binaries-pie-tests): New.
11979 (binaries-pie-notests): Likewise.
11980 (binaries-pie): Rewritten.
11981 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11982 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11983 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11984 (make-test-out): Replace $(host-built-program-cmd) with
11985 $(host-test-program-cmd).
11986 * config.make.in (build-hardcoded-path-in-tests): New variable.
11987 * configure.in (--enable-hardcoded-path-in-tests): New configure
11988 option.
11989 (hardcoded_path_in_tests): New AC_SUBST.
11990 * configure: Regenerated.
11991 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11992 $(built-program-cmd) with $(test-program-cmd).
11993 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11994 (test_program_cmd): This.
11995 * elf/Makefile ($(objpfx)order.out): Run test with
11996 $(test-program-prefix).
11997 ($(objpfx)order2.out): Likewise.
11998 ($(objpfx)tst-initorder.out): Likewise.
11999 ($(objpfx)tst-initorder2.out): Likewise.
12000 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12001 $(test-program-cmd).
12002 ($(objpfx)tst-array1-static.out): Likewise.
12003 ($(objpfx)tst-array2.out): Likewise.
12004 ($(objpfx)tst-array3.out): Likewise.
12005 ($(objpfx)tst-array4.out): Likewise.
12006 ($(objpfx)tst-array5.out): Likewise.
12007 ($(objpfx)tst-array5-static.out): Likewise.
12008 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12009 $(test-program-cmd).
12010 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12011 $(run-program-prefix) with $(test-program-prefix).
12012 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12013 (test_program_prefix): This.
12014 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12015 $(run-program-prefix) with $(test-program-prefix).
12016 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12017 (test_program_prefix): This.
12018 * iconvdata/tst-tables.sh: Likewise.
12019 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12020 $(run-program-prefix) with $(test-program-prefix).
12021 ($(objpfx)tst-translit.out): Likewise.
12022 ($(objpfx)tst-gettext2.out): Likewise.
12023 ($(objpfx)tst-gettext4.out): Likewise.
12024 ($(objpfx)tst-gettext6.out): Likewise.
12025 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12026 (test_program_prefix): This.
12027 * intl/tst-gettext2.sh: Likewise.
12028 * intl/tst-gettext4.sh Likewise.
12029 * intl/tst-gettext6.sh: Likewise.
12030 * intl/tst-translit.sh: Likewise.
12031 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12032 with $(test-program-cmd).
12033 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12034 $(run-program-prefix) with $(test-program-prefix).
12035 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12036 (test_program_prefix): This.
12037 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12038 $(run-program-prefix) with $(test-program-prefix).
12039 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12040 (test_program_prefix): This.
12041 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12042 * posix/Makefile ($(objpfx)globtest.out): Replace
12043 $(run-via-rtld-prefix) and $(test-wrapper) with
12044 $(test-program-prefix) and $(test-via-rtld-prefix).
12045 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12046 $(test-program-prefix).
12047 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12048 $(host-test-program-cmd).
12049 (tst-spawn-ARGS): Likewise.
12050 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12051 $(test-program-prefix).
12052 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12053 (test_via_rtld_prefix): This.
12054 (test_wrapper): Renamed to ...
12055 (test_program_prefix): This.
12056 (run_program_prefix): Replaced by test_program_prefix.
12057 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12058 (test_program_prefix): This.
12059 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12060 with $(host-test-program-cmd).
12061 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12062 $(run-program-prefix) with $(test-program-prefix).
12063 ($(objpfx)tst-printf.out): Likewise.
12064 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12065 $(test-program-cmd).
12066 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12067 (test_program_prefix): This.
12068 * stdio-common/tst-unbputc.sh: Likewise.
12069 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12070 $(run-program-prefix) with $(test-program-prefix).
12071 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12072 (test_program_prefix): This.
12073 * string/Makefile ($(objpfx)tst-svc.out): Replace
12074 $(built-program-cmd) with $(test-program-cmd).
12075
c6fe55cf
AJ
120762013-01-11 Andreas Jaeger <aj@suse.de>
12077
12078 [BZ #15003]
12079 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12080 value. Sync with Linux 3.7.
12081
9e6919c8
DM
120822013-01-10 David S. Miller <davem@davemloft.net>
12083
12084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12085 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12086 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12087
1c9f1a02
RM
120882013-01-10 Roland McGrath <roland@hack.frob.com>
12089
12090 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12091 never set.
12092 * configure: Regenerated.
12093
b9de2dde
DM
120942013-01-10 David S. Miller <davem@davemloft.net>
12095
12096 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12097 sparc V9 rather than using V8 code.
12098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12100
e7f68ef4
RM
121012013-01-10 Roland McGrath <roland@hack.frob.com>
12102
12103 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12104 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12105 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12106 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12107 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12108 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12109 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12110 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12111 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12112 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12113 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12114 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12115 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12116 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12117 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12118 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12119 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12120 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12121 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12122 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12123 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12124 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12125 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12126 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12127 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12128 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12129 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12130
5a47cc9c
DM
121312013-01-10 David S. Miller <davem@davemloft.net>
12132
12133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12134
4cf8f209
L
121352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * posix/Makefile (tests-static): New variable.
12138 (tests): Add $(tests-static).
12139 (tst-exec-static-ARGS): New variable.
12140 (tst-spawn-static-ARGS): Likewise.
12141 * posix/tst-exec-static.c: New file.
12142 * posix/tst-spawn-static.c: Likewise.
12143 * posix/tst-exec.c: Support run directly.
12144 * posix/tst-spawn.c: Likewise.
12145
fed0faa1
JM
121462013-01-10 Joseph Myers <joseph@codesourcery.com>
12147
828beb13
JM
12148 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12149 long.
12150 * math/bits/mathcalls.h (llrint): Likewise.
12151 (llround): Likewise.
12152 * stdlib/stdlib.h (struct drand48_data): Likewise.
12153 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12154 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12156 Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12158 Likewise.
12159 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12160 (elf_greg_t): Likewise.
12161 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12162 (__jmp_buf): Likewise.
12163 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12164 definitions.
12165 (llrint): Likewise, for all definitions.
12166 (llrintl): Likewise.
12167
fed0faa1
JM
12168 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12169 Remove [__GNUC__] condition.
12170 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12171 condition to just [__USE_ISOC99].
12172 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12173
1a20cb20
L
121742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 [BZ #14200]
12177 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12178 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12179 defined.
12180 (_POSIX_V6_ILP32_OFF32): Likewise.
12181 (_XBS5_ILP32_OFF32): Likewise.
12182 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12183 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12184
751b85f7
SP
121852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12186
7490eb81
SP
12187 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12188
751b85f7
SP
12189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12190 doubles __mpexp_twomm1. Adjust usage.
12191 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12192 Remove.
12193
988197f0
AS
121942013-01-10 Andreas Schwab <schwab@suse.de>
12195
12196 [BZ #14964]
12197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12198 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12199
e83d7298
DM
122002013-01-09 David S. Miller <davem@davemloft.net>
12201
034ed64b 12202 [BZ #15003]
e83d7298
DM
12203 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12204 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12205 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12206 TCP_FASTOPEN): Define.
12207 (tcp_repair_opt): New structure.
12208 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12209 enum values.
12210 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12211 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12212 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12213 (tcp_cookie_transactions): New structure.
12214
d5e0b9bd
AB
122152013-01-09 Anton Blanchard <anton@samba.org>
12216
12217 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12218 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12220 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12221
0c07e3ea
JM
122222013-01-09 Joseph Myers <joseph@codesourcery.com>
12223
12224 * include/features.h (__USE_ANSI): Remove.
12225
232f7002
RM
122262013-01-09 Roland McGrath <roland@hack.frob.com>
12227
ad98e30c
RM
12228 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12229
232f7002
RM
12230 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12231
950c99ca
SP
122322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12233
b5792741
SP
12234 * sysdeps/s390/fpu/libm-test-ulps: Update.
12235
47cf2278
SP
12236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12237
950c99ca
SP
12238 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12239 (__acr): Likewise.
12240 (__cpy): Likewise.
12241 (norm): Likewise.
12242 (denorm): Likewise.
12243 (__mp_dbl): Likewise.
12244 (__dbl_mp): Likewise.
12245 (add_magnitudes): Likewise.
12246 (sub_magnitudes): Likewise.
12247 (__add): Likewise.
12248 (__sub): Likewise.
12249 (__mul): Likewise.
12250 (__inv): Likewise.
12251 (__dvd): Likewise.
12252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12253 (__acr): Likewise.
12254 (__cpy): Likewise.
12255 (norm): Likewise.
12256 (denorm): Likewise.
12257 (__mp_dbl): Likewise.
12258 (__dbl_mp): Likewise.
12259 (add_magnitudes): Likewise.
12260 (sub_magnitudes): Likewise.
12261 (__add): Likewise.
12262 (__sub): Likewise.
12263 (__mul): Likewise.
12264 (__inv): Likewise.
12265 (__dvd): Likewise.
12266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12267 (__acr): Likewise.
12268 (__cpy): Likewise.
12269 (norm): Likewise.
12270 (denorm): Likewise.
12271 (__mp_dbl): Likewise.
12272 (__dbl_mp): Likewise.
12273 (add_magnitudes): Likewise.
12274 (sub_magnitudes): Likewise.
12275 (__add): Likewise.
12276 (__sub): Likewise.
12277 (__mul): Likewise.
12278 (__inv): Likewise.
12279 (__dvd): Likewise.
12280
eede9df9
JM
122812013-01-08 Joseph Myers <joseph@codesourcery.com>
12282
12283 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12284 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12285 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12286 2 && __USE_EXTERN_INLINES]: Likewise.
12287
c40ea3d9
AJ
122882013-01-08 Andreas Jaeger <aj@suse.de>
12289
12290 [BZ# 14985]
12291 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12292 Remove.
12293 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12294 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12295
2ccdea26
AB
122962013-01-07 Anton Blanchard <anton@samba.org>
12297
12298 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12299 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12300 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12301 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12302 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12303 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12305 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12307 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12313 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12316 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12318 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12319 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12322 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12323 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12324 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12325 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12328 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12332 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12338 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12339 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12340 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12341
a9708fed
JM
123422013-01-07 Joseph Myers <joseph@codesourcery.com>
12343
375607b9
JM
12344 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12345 (__MALLOC_PMT): Likewise.
12346 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12347 [__GNUC__], only on [_LIBC].
12348 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12349 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12350 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12351 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12352 forward declaration.
12353 (realloc_hook_ini): Likewise.
12354 (memalign_hook_ini): Likewise.
12355 (__libc_memalign): Do not use __MALLOC_PMT in variable
12356 declaration.
12357 (__libc_valloc): Likewise.
12358 (__libc_pvalloc): Likewise.
12359 (__libc_calloc): Likewise.
12360 (__posix_memalign): Likewise.
12361
a9708fed
JM
12362 [BZ #14996]
12363 * math/s_casinh.c: Include <float.h>.
12364 (__casinh): Do not do computation with squaring and square root
12365 for large arguments.
12366 * math/s_casinhf.c: Include <float.h>.
12367 (__casinhf): Do not do computation with squaring and square root
12368 for large arguments.
12369 * math/s_casinhl.c: Include <float.h>.
12370 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12371 (__casinhl): Do not do computation with squaring and square root
12372 for large arguments.
12373 * math/libm-test.inc (casin_test): Add more tests.
12374 (casinh_test): Likewise.
12375 * sysdeps/i386/fpu/libm-test-ulps: Update.
12376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12377
afec409a
L
123782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12379
12380 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12381 (__x86_64_raw_data_cache_size): Likewise.
12382 (__x86_64_data_cache_size_half): Likewise.
12383 (__x86_64_raw_data_cache_size_half): Likewise.
12384 (__x86_64_shared_cache_size): Likewise.
12385 (__x86_64_raw_shared_cache_size): Likewise.
12386 (__x86_64_shared_cache_size_half): Likewise.
12387 (__x86_64_raw_shared_cache_size_half): Likewise.
12388 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12389 to ...
12390 (__x86_data_cache_size): This.
12391 (__x86_64_raw_data_cache_size): Renamed to ...
12392 (__x86_raw_data_cache_size): This.
12393 (__x86_64_data_cache_size_half): Renamed to ...
12394 (__x86_data_cache_size_half): This.
12395 (__x86_64_raw_data_cache_size_half): Renamed to ...
12396 (__x86_raw_data_cache_size_half): This.
12397 (__x86_64_shared_cache_size): Renamed to ...
12398 (__x86_shared_cache_size): This.
12399 (__x86_64_raw_shared_cache_size): Renamed to ...
12400 (__x86_raw_shared_cache_size): This.
12401 (__x86_64_shared_cache_size_half): Renamed to ...
12402 (__x86_shared_cache_size_half): This.
12403 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12404 (__x86_raw_shared_cache_size_half): This.
12405 * sysdeps/x86_64/memcpy.S: Updated.
12406 * sysdeps/x86_64/memset.S: Likewise.
12407 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12409 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12410
0b3986d0
DM
124112013-01-04 David S. Miller <davem@davemloft.net>
12412
12413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12414
e47686e9
AS
124152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12416
d643bac1
AS
12417 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12418 1 to avoid redefinition warning.
12419 (__USE_GNU): Don't define.
12420 (init_signaling_nan): Protoize.
12421
e47686e9
AS
12422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12423
b18decba
SP
124242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
fffb407f
SP
12426 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12428 (__cpymn): Likewise.
12429 (norm): Remove commented code.
12430 (denorm): Likewise.
12431 (__mp_dbl): Likewise.
12432 (__inv): Likewise.
12433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12434 (__cpymn): Likewise.
12435 (norm): Remove commented code.
12436 (denorm): Likewise.
12437 (__mp_dbl): Likewise.
12438 (__inv): Likewise.
12439
b18decba
SP
12440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12441 mp_no value for 1.0 and 2.0.
12442 (norm): Use RADIXI instead of radixi.d.
12443 (denorm): Likewise.
12444 (__mul): Use 0.0 instead of zero.d.
12445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12446 mp_no value for 1.0 and 2.0.
12447 (norm): Use RADIXI instead of radixi.d.
12448 (denorm): Likewise.
12449 (__mul): Use 0.0 instead of zero.d.
12450
cdc1c96f
JM
124512013-01-04 Joseph Myers <joseph@codesourcery.com>
12452
12453 [BZ #14994]
12454 * math/s_casinh.c (__casinh): Reduce finite argument to first
12455 quadrant then set signs of results at the end.
12456 * math/s_casinhf.c (__casinhf): Likewise.
12457 * math/s_casinhl.c (__casinhl): Likewise.
12458 * math/libm-test.inc (casin_test): Add more tests.
12459 (casinh_test): Likewise.
12460 * sysdeps/i386/fpu/libm-test-ulps: Update.
12461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12462
302913e1
SP
124632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12464
6420d207
SP
12465 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12466
a9e48ab4
SP
12467 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12468
b7837264
SP
12469 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12470 declarations.
12471 (denorm): Likewise.
12472 (__mp_dbl): Likewise.
12473 (__inv): Likewise.
12474
f8af25d2
SP
12475 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12476 and adjust the header comment.
12477
302913e1
SP
12478 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12479 variable name from declaration.
12480
5d7dd1ca
L
124812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12484 Initialize COMMON_CPUID_INDEX_7 element.
12485 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12486 (CPUID_RTM): Likewise.
12487 (HAS_RTM): Likewise.
12488 (COMMON_CPUID_INDEX_7): New enum.
12489
2f5f40f4
AS
124902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12491
12492 [BZ #14981]
12493 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12494 size is zero, record memory as freed.
12495
4056f4a0
AJ
124962013-01-03 Andreas Jaeger <aj@suse.de>
12497
12498 * po/ia.po: Add new Interlingua translation.
12499
ab15736f 125002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12501
12502 * locale/programs/localedef.c: Fix description of '--posix' flag.
12503
568035b7
JM
125042013-01-02 Joseph Myers <joseph@codesourcery.com>
12505
e6898b8d
JM
12506 * NEWS: Update dates in second copyright notice.
12507 * README: Update copyright dates in example.
12508 * manual/libc.texinfo: Update copyright dates.
12509 * scripts/test-installation.pl: Update copyright date in --version
12510 output.
12511
0e2f9562
JM
12512 * hurd/ctty-input.c: Fix copyright notice formatting.
12513 * hurd/ctty-output.c: Likewise.
12514 * hurd/dtable.c: Likewise.
12515 * hurd/hurd-raise.c: Likewise.
12516 * hurd/hurdprio.c: Likewise.
12517 * hurd/msgportdemux.c: Likewise.
12518 * misc/sys/file.h: Likewise.
12519 * misc/sys/ioctl.h: Likewise.
12520 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12521 * sysdeps/mach/hurd/chdir.c: Likewise.
12522 * sysdeps/mach/hurd/fchdir.c: Likewise.
12523 * sysdeps/mach/hurd/rename.c: Likewise.
12524 * sysdeps/mach/hurd/rmdir.c: Likewise.
12525 * sysdeps/mach/hurd/seekdir.c: Likewise.
12526 * sysdeps/mach/hurd/setsid.c: Likewise.
12527 * sysdeps/posix/wait3.c: Likewise.
12528
568035b7
JM
12529 * All files with FSF copyright notices: Update copyright dates
12530 using scripts/update-copyrights.
12531 * intl/plural.c: Regenerated.
12532 * locale/programs/charmap-kw.h: Likewise.
12533 * locale/programs/locfile-kw.h: Likewise.
12534
da08f647
SP
125352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12536
0f5477af
SP
12537 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12538 four values.
12539
44e0d4c2
SP
12540 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12541 calculation loop and add branch prediction.
12542
4d55b4e5
SP
12543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12544 check access beyond bounds of m1np.
12545
da08f647
SP
12546 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12547 MPTWO.
12548 (__inv): Remove local variable MPTWO to use the global
12549 constant.
12550 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12551 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12552 variable MPTWO.
12553 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12554 MP3HALFS static const.
12555
8e051029
DM
125562013-01-01 David S. Miller <davem@davemloft.net>
12557
12558 * po/ca.po: Update from translation team.
12559
f4cf5f2d
JM
125602013-01-01 Joseph Myers <joseph@codesourcery.com>
12561
12562 * scripts/update-copyrights: New file.
12563 * Makeconfig: Reformat copyright notice.
12564 * ctype/ctype.h: Likewise.
12565 * debug/swprintf_chk.c: Likewise.
12566 * elf/dl-cache.c: Likewise.
12567 * elf/dl-debug.c: Likewise.
12568 * elf/dl-object.c: Likewise.
12569 * grp/initgroups.c: Likewise.
12570 * hurd/Makefile: Likewise.
12571 * hurd/hurd/signal.h: Likewise.
12572 * hurd/hurdfault.c: Likewise.
12573 * hurd/hurdioctl.c: Likewise.
12574 * hurd/hurdlookup.c: Likewise.
12575 * hurd/intr-msg.c: Likewise.
12576 * iconv/gconv_open.c: Likewise.
12577 * libio/swprintf.c: Likewise.
12578 * locale/lc-ctype.c: Likewise.
12579 * locale/nl_langinfo.c: Likewise.
12580 * mach/Machrules: Likewise.
12581 * mach/Makefile: Likewise.
12582 * malloc/obstack.h: Likewise.
12583 * manual/Makefile: Likewise.
12584 * manual/tsort.awk: Likewise.
12585 * misc/bits/stab.def: Likewise.
12586 * nis/nis_print_group_entry.c: Likewise.
12587 * nis/nis_table.c: Likewise.
12588 * nis/nss_compat/compat-pwd.c: Likewise.
12589 * nis/nss_compat/compat-spwd.c: Likewise.
12590 * po/Makefile: Likewise.
12591 * posix/fnmatch.c: Likewise.
12592 * posix/regex.h: Likewise.
12593 * resolv/Makefile: Likewise.
12594 * resolv/nss_dns/dns-network.c: Likewise.
12595 * resolv/res_hconf.c: Likewise.
12596 * scripts/gen-sorted.awk: Likewise.
12597 * soft-fp/soft-fp.h: Likewise.
12598 * stdio-common/printf.h: Likewise.
12599 * stdlib/monetary.h: Likewise.
12600 * stdlib/random.c: Likewise.
12601 * stdlib/random_r.c: Likewise.
12602 * sysdeps/generic/Makefile: Likewise.
12603 * sysdeps/gnu/Makefile: Likewise.
12604 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12632 * sysdeps/mach/hurd/errnos.awk: Likewise.
12633 * sysdeps/mach/hurd/fork.c: Likewise.
12634 * sysdeps/mach/hurd/getcwd.c: Likewise.
12635 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12636 * sysdeps/mach/hurd/mmap.c: Likewise.
12637 * sysdeps/mach/hurd/utimes.c: Likewise.
12638 * sysdeps/mach/hurd/xmknod.c: Likewise.
12639 * sysdeps/posix/profil.c: Likewise.
12640 * sysdeps/posix/readdir_r.c: Likewise.
12641 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12642 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12643 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12650 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12651 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12652 * sysdeps/pthread/lio_listio.c: Likewise.
12653 * sysdeps/sparc/dl-procinfo.h: Likewise.
12654 * sysdeps/unix/i386/sysdep.S: Likewise.
12655 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12656 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12657 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12658 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12660 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12661 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12662 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12663 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12664 * sysdeps/wordsize-32/divdi3.c: Likewise.
12665 * time/sys/time.h: Likewise.
12666 * wcsmbs/Makefile: Likewise.
12667
0549fbba
DM
126682013-01-01 David S. Miller <davem@davemloft.net>
12669
a141f1a7
DM
12670 * po/fr.po: Update from translation team.
12671
0549fbba
DM
12672 * catgets/gencat.c: Update copyright year.
12673 * csu/version.c: Likewise.
12674 * debug/catchsegv.sh: Likewise.
12675 * debug/pcprofiledump.c: Likewise.
12676 * debug/xtrace.sh: Likewise.
12677 * elf/ldconfig.c: Likewise.
12678 * elf/ldd.bash.in: Likewise.
12679 * elf/pldd.c: Likewise.
12680 * elf/sotruss.ksh: Likewise.
12681 * elf/sprof.c: Likewise.
12682 * iconv/iconv_prog.c: Likewise.
12683 * iconv/iconvconfig.c: Likewise.
12684 * locale/programs/locale.c: Likewise.
12685 * locale/programs/localedef.c: Likewise.
12686 * login/programs/pt_chown.c: Likewise.
12687 * malloc/memusage.sh: Likewise.
12688 * malloc/memusagestat.c: Likewise.
12689 * malloc/mtrace.pl: Likewise.
12690 * nscd/nscd.c: Likewise.
12691 * nss/getent.c: Likewise.
12692 * nss/makedb.c: Likewise.
12693 * posix/getconf.c: Likewise.
12694
18ea052c
SP
126952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12696
12697 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12698 numbers.
12699
9c89fca6
MF
127002012-12-30 Mike Frysinger <vapier@gentoo.org>
12701
12702 * math/bits/mathcalls.h (modf): Use __nonnull.
12703
085ec079
SP
127042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12705
12706 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12707 (split): Use macro CN instead of the bare value.
12708 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12709 could be used.
12710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12711 instead of the bare value.
12712 (power1): Likewise.
12713
6d9f97e1
SP
127142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12715
d63f73be
SP
12716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12717 __ATAN_TWOM.
12718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12719
6d9f97e1
SP
12720 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12721 their values.
12722 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12723 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12724 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12726
4c4febf5
AJ
127272012-12-28 Andreas Jaeger <aj@suse.de>
12728
af5843ef
AJ
12729 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12730 values are from Linux 3.7.
12731
4c4febf5
AJ
12732 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12733 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12734
99136f82
SP
127352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12736
2f216c3c 12737 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12738 TRUE case.
12739
99136f82
SP
12740 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12741 (norm): Likewise.
12742 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12743 variables with preprocessor constants.
12744 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12745 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12746 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12747
7fffbdff
BH
127482012-12-27 Bruno Haible <bruno@clisp.org>
12749
12750 [BZ #14317]
12751 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12752 only if needed.
12753
b76eb5f0
SP
127542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12755
31a7fe5c
SP
12756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12757 and use variable directly.
12758 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12759
b76eb5f0
SP
12760 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12761 MPONE.
12762 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12764 variable MPONE.
12765 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12767 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12768 include directive. Remove local variable MPONE.
12769 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12770 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12772
2c8bfe7d
DM
127732012-12-25 David S. Miller <davem@davemloft.net>
12774
12775 * version.h (RELEASE): Set to "development".
12776 (VERSION): Set to "2.17.90".
12777 * NEWS: Add 2.18 section.
12778
147d03b0
DM
127792012-12-21 David S. Miller <davem@davemloft.net>
12780
12781 * po/hr.po: Update from translation team.
12782
a8ebb2b9
AK
127832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12784
12785 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12786
95b4f1b6
SE
127872012-12-19 Steve Ellcey <sellcey@mips.com>
12788
b2d94007 12789 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12790
cedb2a90
MS
127912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12792
12793 * manual/contrib.texi (Contributors): Spelling correction.
12794
bbf527d6
DM
127952012-12-15 David S. Miller <davem@davemloft.net>
12796
12797 * po/ru.po: Update from translation team.
12798
bc38c906
DM
127992012-12-13 David S. Miller <davem@davemloft.net>
12800
85429b1a
DM
12801 * NEWS: Mention IFUNC testsuite enhancements.
12802
d283e353
DM
12803 * po/pl.po: Update from translation team.
12804 * po/bg.po: Likewise.
12805
bc38c906
DM
12806 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12807 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12808
a181b0d7
DM
128092012-12-11 David S. Miller <davem@davemloft.net>
12810
4641d57e
DM
12811 * po/sv.po: Update from translation team.
12812
f7bc6495
DM
12813 * po/vi.po: Update from translation team.
12814
6fc9048f
DM
12815 * po/cs.po: Update from translation team.
12816
a181b0d7
DM
12817 * po/de.po: Update from translation team.
12818 * po/eo.po: Likewise.
12819 * po/nl.po: Likewise.
12820
f70bfe80
SP
128212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12822
3c8b4190
SP
12823 [BZ #14246]
12824 * manual/argp.texi (Argp Helper Functions): Move node to follow
12825 Argp Parsing State.
12826
f70bfe80
SP
12827 [BZ #14872]
12828 * manual/conf.texi (Limits on File System Capacity): Mention if
12829 terminating null is included in the max size.
12830
188f0adf
AJ
128312012-12-10 Andreas Jaeger <aj@suse.de>
12832
12833 * po/cs.po: Update from translation team.
12834
56e7d3ad
SP
128352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12836
12837 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12838 void pointer and cast to uintptr_t.
12839 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12840 path.
12841 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12842 * sysdeps/s390/s390-64/memset.S: Likewise.
12843
76f2d2ea 128442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12845
12846 [BZ #14833]
12847 * menual/message.texi (Message Translation): Fix typos.
12848 (Helper programs for gettext): Likewise.
12849
67cbf9a2
AS
128502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12851
12852 [BZ #14898]
12853 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12854 Change to -1.
12855
682d0e9a
DM
128562012-12-07 David S. Miller <davem@davemloft.net>
12857
12858 * po/libc.pot: Update.
12859
573cd484
RH
128602012-12-07 Richard Henderson <rth@redhat.com>
12861
7e9da188 12862 [BZ #10114]
573cd484
RH
12863 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12864 normal/normal case to before the switch.
12865 (_FP_DIV): Likewise.
12866
e933a943
MF
128672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12868 Mike Frysinger <vapier@gentoo.org>
12869
12870 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12871 check for __NR_fadvise64_64.
12872
82123268
CM
128732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12874
12875 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12876 0, not just to plain "0" as a statement.
12877 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12878 with cw.
12879
d9814526
JM
128802012-12-06 Joseph Myers <joseph@codesourcery.com>
12881
12882 * NEWS: Use sourceware.org in Bugzilla URL.
12883
7728c574
SP
128842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12885
f16946dd
SP
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12887 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12888
5704bbcb
SP
12889 * stdio-common/tst-put-error.c (do_test): Add newline to the
12890 padded test to ensure flush.
12891
17aa0516
JL
128922012-12-05 Jeff Law <law@redhat.com>
12893
12894 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12895
363313b5
JM
128962012-12-05 Joseph Myers <joseph@codesourcery.com>
12897
effbd42a
JM
12898 * README: Don't refer to ports add-on as distributed separately.
12899 Mention AArch64 in list of systems supported in the ports add-on.
12900
87600365
JM
12901 * LICENSES: Add more non-FSF copyright and license notices.
12902
a0d7066a
JM
12903 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12904 ((unused)).
12905
66ca5a5b
JM
12906 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12907
363313b5
JM
12908 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12909 10000 as width of padded output.
12910
b37984ad
JM
129112012-12-04 Joseph Myers <joseph@codesourcery.com>
12912
9003570a
JM
12913 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12914
b37984ad
JM
12915 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12916 variable LX with __attribute__ ((unused)).
12917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12918 Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12922 with __attribute__ ((unused)).
12923
c8df52ec
DM
129242012-12-04 David S. Miller <davem@abraco.davemloft.net>
12925
12926 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12927
b3b099af
JM
129282012-12-04 Joseph Myers <joseph@codesourcery.com>
12929
c33aa6e3
JM
12930 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12931 (CFLAGS-nldbl-acos.c): New variable.
12932 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12933 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12934 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12935 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12936 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12937 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12938 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12939 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12940 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12941 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12942 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12943 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12944 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12945 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12946 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12947 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12948 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12949 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12950 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12951 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12952 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12953 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12954 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12955 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12956 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12957 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12958 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12959 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12960 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12961 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12962 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12963 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12964 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12965 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12966 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12967 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12968 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12969 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12970 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12971 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12972 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12973 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12974 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12975 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12976 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12977 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12978 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12979 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12980 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12981 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12982 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12983 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12984 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12985 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12986 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12987 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12988 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12989 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12990 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12991 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12992 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12993 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12994 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12995 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12996 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12997 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12998 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12999 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13000 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13001 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13002 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13003 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13004 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13005 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13006 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13007 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13008 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13009 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13010 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13011 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13012 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13013 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13014 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13015 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13016 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13017 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13018 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13019 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13020 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13021 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13022 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13023 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13024 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13025 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13026 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13027 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13028 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13029
20f0018d
JM
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13031 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13032
b3b099af
JM
13033 [BZ #14914]
13034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13035 whole low double instead of just low 47 bits when splitting values
13036 into two parts.
13037
029264d1
AM
130382012-12-03 Allan McRae <allan@archlinux.org>
13039
13040 * manual/stdio.texi (Predefined Printf Handlers): Remove
13041 @hsep and @vsep usage.
13042
c9d6789e
MF
130432012-12-03 Mike Frysinger <vapier@gentoo.org>
13044
13045 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13046 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13047
4b7634a5
JL
130482012-12-03 Jeff Law <law@redhat.com>
13049
13050 * time/sys/time.h (settimeofday): Do not mark TV argument
13051 as __nonnull.
13052
eb6cbd24
MF
130532012-12-01 Mike Frysinger <vapier@gentoo.org>
13054
13055 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13056 when currently writing and seek to current position when not.
13057 * libio/Makefile (tests): Remove bug-fclose1.
13058 * libio/bug-fclose1.c: Delete.
13059
f638872a
JM
130602012-12-01 Joseph Myers <joseph@codesourcery.com>
13061
13062 * manual/arith.texi (feenableexcept): Fix typo.
13063 (fedisableexcept): Likewise.
13064
48085d14
RM
130652012-11-30 Roland McGrath <roland@hack.frob.com>
13066
13067 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13068 second, differently-typed declaration, rather than a cast.
13069
1a538b9f
SP
130702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13071
13072 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13073 * include/rpc/svc.h: ... here.
13074
d07f2ff1 130752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13076
13077 [BZ #13013]
13078 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13079 depending n and resplen2 to catch cases where answer
13080 equals answerp2.
13081
c93ec1f0
CD
130822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13083
13084 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13085 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13086
37db69de
MF
130872012-11-29 Mike Frysinger <vapier@gentoo.org>
13088
13089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13090
e10c4e4f
RM
130912012-11-29 Roland McGrath <roland@hack.frob.com>
13092
13093 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13094
2af1b328
JL
130952012-11-28 Jeff Law <law@redhat.com>
13096
13097 [BZ #13761]
13098 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13099 dataset_temporary. Track alloca usage into alloca_used.
13100 If dataset is large allocate and release it via malloc/free.
13101
111db5b1
FW
131022012-06-04 Florian Weimer <fweimer@redhat.com>
13103
f06cc227 13104 [BZ #14197]
111db5b1
FW
13105 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13106
dd694abd
DM
131072012-11-28 David S. Miller <davem@davemloft.net>
13108
13109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13110
9984dd01
JM
131112012-11-28 Joseph Myers <joseph@codesourcery.com>
13112
13113 [BZ #14803]
13114 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13115 of pi/2 rounded to nearest to 64 bits.
13116 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13117 nearest to 64 bits.
13118 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13119 bits.
13120
14bc93a9
JL
131212012-11-28 Jeff Law <law@redhat.com>
13122 Martin Osvald <mosvald@redhat.com>
13123
13124 [BZ #14889]
13125 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13126 * sunrpc/svc.c: Include time.h.
13127 (__svc_accept_failed): New function.
13128 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13129 any reason other than EINTR, call __svc_accept_failed.
13130 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13131 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13132
e3c6aa3a
AS
131332012-11-28 Andreas Schwab <schwab@suse.de>
13134
13135 * scripts/abilist.awk: Also handle indirect functions in .opd
13136 section.
13137
1bead169
JM
131382012-11-28 Joseph Myers <joseph@codesourcery.com>
13139
13140 [BZ #13881]
13141 * sysdeps/x86/fpu/powl_helper.c: New file.
13142 * sysdeps/x86/fpu/Makefile: Likewise.
13143 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13144 (p3): New object.
13145 (__ieee754_powl): Use __powl_helper for finite arguments except
13146 integer exponents below 8.
13147 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13148 (p3): New object.
13149 (__ieee754_powl): Use __powl_helper for finite arguments except
13150 integer exponents below 8.
13151 * math/libm-test.inc (pow_test): Add more tests and enable some
13152 previously disabled tests.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13155
0817d63d
SP
131562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13157 Carlos O'Donell <carlos_odonell@mentor.com>
13158
13159 * nss/makedb.c (is_prime): Assert that input is odd and greater
13160 than 4. Note that fact in a comment too.
13161 (next_prime): Add 4 to input.
13162
de2fd463
SP
131632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13164
13165 [BZ #11741]
13166 * libio/Makefile (tests): Add test case tst-fwrite-error.
13167 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13168 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13169 * libio/tst-fwrite-error.c: New test case.
13170
c515fb51
L
131712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13172
13173 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13174 before casting to void *.
13175 * include/libc-internal.h (__pointer_type): New macro.
13176 (__integer_if_pointer_type_sub): Likewise.
13177 (__integer_if_pointer_type): Likewise.
13178 (cast_to_integer): Likewise.
13179 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13180 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13181 before casting to atomic64_t.
13182 (atomic_exchange_acq): Likewise.
13183 (__arch_exchange_and_add_body): Likewise.
13184 (__arch_add_body): Likewise.
13185 (atomic_add_negative): Likewise.
13186 (atomic_add_zero): Likewise.
13187
4cf77aa9
JM
131882012-11-26 Joseph Myers <joseph@codesourcery.com>
13189
13190 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13191 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13192 (add_fdes): Likewise.
13193 (linear_search_fdes): Likewise.
13194 (binary_search_unencoded_fdes): Likewise.
13195
d260b3b4
AS
131962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13197
13198 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13199
67060746
AC
132002012-11-24 Adam Conrad <adconrad@0c3.net>
13201
13202 * configure.in: Autodetect C++ header directories.
13203 * configure: Regenerated.
13204
800938a1
MF
132052012-11-23 Mike Frysinger <vapier@gentoo.org>
13206
13207 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13208
4e6e34e6
AS
132092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13210
13211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13212
7c7feb47
JM
132132012-11-22 Joseph Myers <joseph@codesourcery.com>
13214
7184dcdf
JM
13215 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13216 LDBL_MANT_DIG == 106]: Disable some tests.
13217 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13218 Likewise.
13219 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13220 Likewise.
13221
0a42601f
JM
13222 [BZ #14871]
13223 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13224 input for small inputs. Return +/- pi/2 for large inputs.
13225 * math/libm-test.inc (atan_test): Add more tests.
13226
79c9b9fe
JM
13227 * sysdeps/generic/unwind-dw2-fde-glibc.c
13228 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13229 __attribute__ ((unused)).
13230
c60d3bf2
JM
13231 [BZ #14645]
13232 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13233 x * y if x and y are nonzero and z is zero.
13234
ef1e0867
JM
13235 [BZ #14811]
13236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13237 nonzero exponents with absolute value below 0x1p-117 to +/-
13238 0x1p-117.
13239
1468ded3
JM
13240 [BZ #14869]
13241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13242 up arguments below 2**-450, not just those below 2**-500.
13243 * math/libm-test.inc (hypot_test): Add another test.
13244
8e27e3cc
JM
13245 [BZ #14868]
13246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13247 Return a+b for ratio over 2**120, not 2**60.
13248 * math/libm-test.inc (hypot_test): Add another test.
13249
c9c0279b
JM
13250 * math/libm-test.inc (clog_test): Use
13251 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13252 (clog10_test): Likewise.
13253
7c7feb47
JM
13254 [BZ #6778]
13255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13256
fff1530e
AS
132572012-11-22 Andreas Schwab <schwab@suse.de>
13258
13259 * sysdeps/i386/fpu/libm-test-ulps: Update.
13260
94558d30
PT
132612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13262
13263 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13264 printf output with newline.
13265
7e1be741
L
132662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13267
6bfea974
L
13268 [BZ #14865]
13269 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13270 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13271 -z nodlopen, -z initfirst and -z execstack support.
13272 * configure: Regenerated.
13273
7e1be741
L
13274 * elf/elf.h (DF_1_NODIRECT): New macro.
13275 (DF_1_IGNMULDEF): Likewise.
13276 (DF_1_NOKSYMS): Likewise.
13277 (DF_1_NOHDR): Likewise.
13278 (DF_1_EDITED): Likewise.
13279 (DF_1_NORELOC): Likewise.
13280 (DF_1_SYMINTPOSE): Likewise.
13281 (DF_1_GLOBAUDIT): Likewise.
13282 (DF_1_SINGLETON): Likewise.
13283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13284 DT_1_SUPPORTED_MASK bits.
13285 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13286
105ce2ce
CD
132872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13288
13289 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13290
123be9de
TS
132912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13292
d072f3f7
TS
13293 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13294 macro.
13295
123be9de
TS
13296 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13297 (sendmmsg): Move declarations...
13298 * socket/sys/socket.h: ... here.
13299 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13300 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13301 include it from...
13302 * socket/recvmmsg.c: ... this new file.
13303 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13304 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13305 definition of __sendmmsg hidden.
13306 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13307 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13308 Move ENOSYS stub into and include it from...
13309 * socket/sendmmsg.c: ... this new file.
13310 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13311 (sysdep_routines): Move recvmmsg and sendmmsg...
13312 * socket/Makefile (routines): ... here.
13313 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13314 (GLIBC_PRIVATE): Add __sendmmsg.
13315 * include/sys/socket.h (__sendmmsg): Add declarations.
13316 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13317 sendmmsg.
13318
cf9a5d18
JM
133192012-11-20 Joseph Myers <joseph@codesourcery.com>
13320
13321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13322 variable I1 with __attribute__ ((unused)).
13323 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13324
ecd4caf9
JM
133252012-11-19 Joseph Myers <joseph@codesourcery.com>
13326
be14d48f
JM
13327 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13328 DUMMY variables with __attribute__ ((unused)).
13329
ecd4caf9
JM
13330 * bits/byteswap.h: Include <bits/types.h>.
13331 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13332
986cab95
PT
133332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13334
13335 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13336 string_t. Do not manually set errno.
13337 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13338 length with __strnlen. Make sure to both set errno and return it on
13339 failure.
13340
6d33cc9d
DM
133412012-11-19 David S. Miller <davem@davemloft.net>
13342
13343 With help from Joseph Myers.
13344 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13345 very large arguments properly.
13346 * math/libm-test.inc (atan_test): New tests.
13347 (atan2_test): New tests.
13348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13350
ee663277
JM
133512012-11-19 Joseph Myers <joseph@codesourcery.com>
13352
877f2d8e
JM
13353 [BZ #14856]
13354 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13355 Define to 3.
13356
116fc08a
JM
13357 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13358 [POSIX] (EADDRNOTAVAIL): Likewise.
13359 [POSIX] (EAFNOSUPPORT): Likewise.
13360 [POSIX] (EALREADY): Likewise.
13361 [POSIX] (ECONNABORTED): Likewise.
13362 [POSIX] (ECONNREFUSED): Likewise.
13363 [POSIX] (ECONNRESET): Likewise.
13364 [POSIX] (EDESTADDRREQ): Likewise.
13365 [POSIX] (EDQUOT): Likewise.
13366 [POSIX] (EHOSTUNREACH): Likewise.
13367 [POSIX] (EIDRM): Likewise.
13368 [POSIX] (EISCONN): Likewise.
13369 [POSIX] (ELOOP): Likewise.
13370 [POSIX] (EMULTIHOP): Likewise.
13371 [POSIX] (ENETDOWN): Likewise.
13372 [POSIX] (ENETUNREACH): Likewise.
13373 [POSIX] (ENOBUFS): Likewise.
13374 [POSIX] (ENODATA): Likewise.
13375 [POSIX] (ENOLINK): Likewise.
13376 [POSIX] (ENOMSG): Likewise.
13377 [POSIX] (ENOPROTOOPT): Likewise.
13378 [POSIX] (ENOSR): Likewise.
13379 [POSIX] (ENOSTR): Likewise.
13380 [POSIX] (ENOTCONN): Likewise.
13381 [POSIX] (ENOTSOCK): Likewise.
13382 [POSIX] (EOPNOTSUPP): Likewise.
13383 [POSIX] (EOVERFLOW): Likewise.
13384 [POSIX] (EPROTO): Likewise.
13385 [POSIX] (EPROTONOSUPPORT): Likewise.
13386 [POSIX] (EPROTOTYPE): Likewise.
13387 [POSIX] (ESTALE): Likewise.
13388 [POSIX] (ETIME): Likewise.
13389 [POSIX] (ETXTBSY): Likewise.
13390 [POSIX] (EWOULDBLOCK): Likewise.
13391 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13392 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13393 [POSIX] (SEEK_CUR): Likewise.
13394 [POSIX] (SEEK_END): Likewise.
13395 [POSIX || UNIX98] (mode_t): Do not require.
13396 [POSIX] (off_t): Likewise.
13397 [POSIX] (pid_t): Likewise.
13398 [POSIX] (sys/stat.h): Do not allow header.
13399 [POSIX] (unistd.h): Likewise.
13400 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13401 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13403 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13404 require.
13405 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13406 sigevent): Specify elements.
13407 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13408 entry.
13409 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13410 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13411
a483863f
JM
13412 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13413 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13414 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13415 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13416 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13417 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13418 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13419 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13421 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13422 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13423 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13424 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13425 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13426 Likewise.
13427 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13428 Likewise.
13429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13430 Likewise.
13431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13432 Likewise.
13433 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13434 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13435 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13436 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13438 Specify lower bound on value.
13439 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13445 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13446 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13447 value.
13448 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13449 as optional.
13450 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13466 entry.
13467 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13468 optional.
13469 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13475 Likewise.
13476 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13481 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13482 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13483 as optional.
13484 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13488 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13489 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13490 specify as optional.
13491 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13494 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13495 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13496 [XPG3] (NL_LANGMAX): Likewise.
13497 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13498 [POSIX || XPG3] (NL_NMAX): Likewise.
13499 [POSIX || XPG3] (NL_SETMAX): Likewise.
13500 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13501 [XPG3] (NZERO): Likewise.
13502 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13503 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13504 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13505 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13506 (REG_ERANGE): Expect.
13507 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13508 optional-constant.
13509 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13510 Use (void) in prototype.
13511 [POSIX] (*_t): Allow.
13512 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13513 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13514 (WRDE_BADVAL): Expect.
13515
5ba924e3
JM
13516 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13517 expect.
13518 [XPG3 || XPG4] (O_RSYNC): Likewise.
13519 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13520 Likewise.
13521 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13522 [XPG3 || XPG4] (sigqueue): Likewise.
13523 [XPG3 || XPG4] (sigtimedwait): Likewise.
13524 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13525 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13526 [XPG3 || XPG4] (vsnprintf): Likewise.
13527 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13528 Likewise.
13529 [XPG3 || XPG4] (blksize_t): Likewise.
13530 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13531 Likewise.
13532 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13533 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13534 [XPG3 || XPG4] (struct itimerspec): Likewise.
13535 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13536 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13537 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13538 [XPG3 || XPG4] (clockid_t): Likewise.
13539 [XPG3 || XPG4] (timer_t): Likewise.
13540 [XPG3 || XPG4] (clock_getres): Likewise.
13541 [XPG3 || XPG4] (clock_gettime): Likewise.
13542 [XPG3 || XPG4] (clock_settime): Likewise.
13543 [XPG3 || XPG4] (nanosleep): Likewise.
13544 [XPG3 || XPG4] (timer_create): Likewise.
13545 [XPG3 || XPG4] (timer_delete): Likewise.
13546 [XPG3 || XPG4] (timer_gettime): Likewise.
13547 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13548 [XPG3 || XPG4] (timer_settime): Likewise.
13549 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13550 [XPG3 || XPG4] (getlogin_r): Likewise.
13551 [XPG3 || XPG4] (pread): Likewise.
13552 [XPG3 || XPG4] (pthread_atfork): Likewise.
13553 [XPG3 || XPG4] (pwrite): Likewise.
13554
ee663277
JM
13555 [BZ #14835]
13556 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13557 <bits/siginfo.h>.
13558
942caa16
PT
135592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13560
e19af380
PT
13561 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13562 finalizing MALLSTREAM.
13563
942caa16
PT
13564 * sysdeps/mach/hurd/syncfs.c: New file.
13565
cfde9b46
SP
135662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13567
13568 [BZ #14719]
13569 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13570 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13572 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13573 (_nss_dns_gethostbyname4_r): Likewise.
13574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13575 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13576
f6da27e5
PH
135772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13578
13579 [BZ #13763]
13580 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13581
6665d4a2
SM
135822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13583
1f51ee92
SM
13584 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13585 * elf/cache.c (print_entry): Print ",AArch64" for
13586 FLAG_AARCH64_LIB64
13587
6665d4a2
SM
13588 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13589 * elf/cache.c (print_entry): Print ",hard-float" for
13590 FLAG_ARM_LIBHF.
13591
05b227bd
DM
135922012-11-18 David S. Miller <davem@davemloft.net>
13593
13594 With help from Joseph Myers.
13595 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13596 cutoff to 2**-13.
13597 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13598 cutoff to 2**-25.
13599 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13600 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13601 small.
13602 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13603 * math/libm-test.inc (y0_test): New tests.
13604 (y1_test): New tests.
13605 * sysdeps/i386/fpu/libm-test-ulps: Update.
13606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13608
786b0b67
AS
136092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13610
13611 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13612 64-bit targets.
13613 * configure: Regenerated.
13614
8e18b86d
DM
136152012-11-17 David S. Miller <davem@davemloft.net>
13616
13617 [BZ #14811]
13618 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13619 nonzero exponents with absolute value below 0x1p-128 to +/-
13620 0x1p-128.
13621
531f1ae0
JM
136222012-11-17 Joseph Myers <joseph@codesourcery.com>
13623
12df29e2
JM
13624 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13625
150dc1a0
JM
13626 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13627
531f1ae0
JM
13628 * posix/getconf-speclist.c: New file.
13629 * posix/posix-envs.def: Likewise.
13630 * posix/confstr.c (START_ENV_GROUP): New macro.
13631 (END_ENV_GROUP): Likewise.
13632 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13633 (KNOWN_PRESENT_ENV_STRING): Likewise.
13634 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13635 (UNKNOWN_ENVIRONMENT): Likewise.
13636 (confstr): Include posix-envs.def instead of handling
13637 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13638 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13639 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13640 (END_ENV_GROUP): Likewise.
13641 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13642 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13643 (UNKNOWN_ENVIRONMENT): Likewise.
13644 (__sysconf): Include posix-envs.def instead of handling associated
13645 cases directly here.
13646 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13647 preprocessing getconf-speclist.c rather than running getconf or
13648 generating empty file.
13649
a93f9cbc
PT
136502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13651
13652 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13653
d64d9f87
AL
136542012-11-16 Andrej Lajovic <natrij@gmail.com>
13655
13656 [BZ #14672]
13657 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13658
447885eb
DM
136592012-11-16 David S. Miller <davem@davemloft.net>
13660
13661 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13662 smaller than LDBL_EPSILON/2.0L, just return xm1.
13663
bcbf9830
L
136642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13665
13666 * elf/tst-array1.c (init): Set constructor priority to 1000.
13667 (fini): Set destructor priority to 1000.
13668 * elf/tst-array2dep.c: Likewise.
13669
2b766585
SP
136702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13671
13672 [BZ #11741]
13673 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13674 (_IO_new_file_xsputn): Also return EOF if none of the input
13675 data was written when overflow failed.
13676 * libio/iopadn.c (_IO_padn): Likewise.
13677 * libio/iowpadn.c (_IO_wpadn): Likewise.
13678 * stdio-common/tst-put-error.c: Add copyright notice.
13679 (do_test): Add case for printing padded string.
13680 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13681 _IO_padn returned error.
13682 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13683 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13684 return EOF.
13685
b1848fde
SP
136862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 * libio/libioP.h: Add comment note that the references to C++
13689 bits are now obsolete.
13690
2fd89785
MS
136912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13692
13693 * math/libm-test.inc (check_complex): Use asprintf.
13694
e3ea5409
JM
136952012-11-14 Joseph Myers <joseph@codesourcery.com>
13696
13697 * debug/pcprofiledump.c (print_version): Update copyright year.
13698 * malloc/memusagestat.c (print_version): Likewise.
13699
2e64d265
L
137002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13701
13702 [BZ #14831]
13703 * elf/Makefile (tests): Add tst-audit8.
13704 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13705 ($(objpfx)tst-audit8.out): New target.
13706 (tst-audit8-ENV): New variable.
13707 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13708 audit if l_reloc_result is NULL.
13709 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13710 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13711 * elf/tst-audit8.c: New file.
13712
c485e4d2
MS
137132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13714
13715 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13716 * misc/Makefile (CFLAGS-select.c): Define.
13717 * posix/Makefile (CFLAGS-pause.c): Define.
13718
3a0d900a
DM
137192012-11-13 David S. Miller <davem@davemloft.net>
13720
13721 * crypt/Makefile: Move test targets after toplevel Rules
13722 inclusion. Grab any necessary sysdep routines when linking.
13723 * crypt/md5.c (md5_process_block): Remove define, we will always
13724 name it __md5_process_block.
13725 (md5_finish_ctx): Update md5_process_block call.
13726 (md5_stream): Likewise.
13727 (md5_process_bytes): Likewise.
13728 (md5_process_block): Rename to __md5_process_block and move to ...
13729 * crypt/md5-block.c: ... here.
13730 * crypt/sha256.c (sha256_process_block): Move to ...
13731 * crypt/sha256-block.c: ... here.
13732 * crypt/sha512.c (sha512_process_block): Move to ...
13733 * crypt/sha512-block.c: ... here.
13734 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13735 path.
13736 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13737 * sysdeps/sparc/sparc64/multiarch/Makefile
13738 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13739 crypt subdir.
13740 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13741 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13742 multiarch changes.
13743 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13744 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13745 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13746 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13747 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13748 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13749 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13750 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13751 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13752 file.
13753 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13754 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13755 file.
13756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13757
8ca89318
JM
137582012-11-13 Joseph Myers <joseph@codesourcery.com>
13759
e27d476a
JM
13760 * timezone/tzselect.ksh: Update from tzcode git revision
13761 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13762 * timezone/zdump.c: Likewise.
13763 * timezone/zic.c: Likewise.
13764 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13765 in TZVERSION setting, not $(PKGVERSION).
13766 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13767 REPORT_BUGS_TO settings.
13768
8ca89318
JM
13769 [BZ #14838]
13770 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13771 macro.
13772
47594329
MS
137732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13774
13775 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13776 detection to immediately after _FP_ROUND().
13777 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13778 bits are 0.
13779
640ac3f1
DM
137802012-11-11 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13783 inttypes.h
13784 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13785 __close rather than their public counterparts.
13786
3d2577bb
JM
137872012-11-10 Joseph Myers <joseph@codesourcery.com>
13788
13789 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13790 file.
13791 [UNIX98] (sem_timedwait): Do not expect.
13792 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13793 [XPG4 || UNIX98] (sockatmark): Do not expect.
13794 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13795 (clock_getcpuclockid): Do not expect.
13796 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13797 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13798 Do not expect.
13799 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13800 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13801 [UNIX98] (vwscanf): Likewise.
13802 [UNIX98] (vswscanf): Likewise.
13803
fb1ae1ee
JM
138042012-11-09 Joseph Myers <joseph@codesourcery.com>
13805
9ec6f8bd
JM
13806 * timezone/version.h: Remove file.
13807 * timezone/README: Do not refer to version.h.
13808 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13809 $(objpfx)version.h.
13810 ($(objpfx)zdump.o): Likewise.
c3f81911 13811 ($(objpfx)version.h): New target.
9ec6f8bd 13812
0aa8f8a1
JM
13813 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13814 2012i.
13815 * timezone/README: Don't mention modification to tzselect.ksh.
13816 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13817 work on unmodified tzselect.ksh. Substitute version numbers in
13818 tzselect.ksh.
13819
4e87147f
JM
13820 * Makefile (format-me): Remove.
13821 (INSTALL): Adjust indentation. Use commands directly instead of
13822 using $(format-me).
13823
8b748aed
JM
13824 * aclocal.m4 (ACX_PKGVERSION): New macro.
13825 (ACX_BUGURL): Likewise.
13826 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13827 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13828 (REPORT_BUGS_TO): Likewise.
13829 * configure: Regenerated.
13830 * config.h.in (PKGVERSION): New macro.
13831 (REPORT_BUGS_TO): Likewise.
13832 * config.make.in (PKGVERSION): New variable.
13833 (PKGVERSION_TEXI): Likewise.
13834 (REPORT_BUGS_TO): Likewise.
13835 (REPORT_BUGS_TEXI): Likewise.
13836 * Makefile (format-me): Use -I$(common-objpfx)manual.
13837 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13838 ($(common-objpfx)manual/%): New target.
13839 (manual/%): Remove target.
13840 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13841 (print_version): Use PKGVERSION.
13842 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13843 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13844 and REPORT_BUGS_TO.
13845 ($(objpfx)xtrace): Likewise.
13846 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13847 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13848 (print_version): Use PKGVERSION.
13849 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13850 (do_version): Use PKGVERSION.
13851 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13852 REPORT_BUGS_TO.
13853 (common-ldd-rewrite): Likewise.
13854 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13855 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13856 (print_version): Use PKGVERSION.
13857 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13858 * elf/pldd.c (argp_program_bug_address): Remove variable.
13859 (more_help): New function.
13860 (argp): Use more_help.
13861 (print_version): Use PKGVERSION.
13862 * elf/sln.c (main): Use PKGVERSION.
13863 (usage): Use REPORT_BUGS_TO.
13864 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13865 (top level): Use PKGVERSION.
13866 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13867 (print_version): Use PKGVERSION.
13868 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13869 (print_version): Use PKGVERSION.
13870 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13871 (print_version): Use PKGVERSION.
13872 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13873 (print_version): Use PKGVERSION.
13874 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13875 (print_version): Use PKGVERSION.
13876 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13877 (print_version): Use PKGVERSION.
13878 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13879 and BUGURL.
13880 ($(objpfx)memusage): Likewise.
13881 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13882 (do_version): Use PKGVERSION.
13883 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13884 (print_version): Use PKGVERSION.
13885 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13886 ($PKGVERSION): New variable.
13887 ($REPORT_BUGS_TO): Likewise.
13888 (usage): Use $REPORT_BUGS_TO.
13889 (top level): Use $PKGVERSION.
13890 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13891 ($(objpfx)pkgvers.texi): New rule.
13892 ($(objpfx)stamp-pkgvers): Likewise.
13893 * manual/install.texi: Include pkgvers.texi.
13894 (--with-pkgversion): Document new configure option.
13895 (--with-bugurl): Likewise.
13896 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13897 than necessarily for this particular distribution. Use
13898 REPORT_BUGS_TO for where to report bugs.
13899 * INSTALL: Regenerated.
13900 * manual/libc.texinfo: Include pkgvers.texi.
13901 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13902 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13903 (print_version): Use PKGVERSION.
13904 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13905 (print_version): Use PKGVERSION.
13906 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13907 (print_version): Use PKGVERSION.
13908 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13909 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13910 macro.
13911 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13912 (print_version): Use PKGVERSION.
13913 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13914 (print_version): Use PKGVERSION.
13915 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13916 and PKGVERSION.
13917
92e4b6a9
JM
13918 * timezone/checktab.awk: Update from tzcode 2012i.
13919 * timezone/ialloc.c: Likewise.
13920 * timezone/private.h: Likewise.
13921 * timezone/scheck.c: Likewise.
13922 * timezone/tzfile.h: Likewise.
13923 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13924 (TZVERSION): Hardcode tzcode version number.
13925 * timezone/zdump.c: Update from tzcode 2012i.
13926 * timezone/zic.c: Likewise.
13927 * timezone/version.h: New file.
13928 * timezone/README: Describe version.h. Update upstream location.
13929
9bde902c
JM
13930 [BZ #14824]
13931 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13932 (mktemp): Enable declaration.
13933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13935 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13937 Likewise.
13938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13939 Likewise.
13940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13941 Likewise.
13942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13943 Likewise.
13944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13945 Likewise.
13946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13947 Likewise.
13948
fb1ae1ee
JM
13949 [BZ #14821]
13950 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13951 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13952 for copies of such integer values.
13953 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13954 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13955
2c1adbcb
AJ
139562012-11-09 Andreas Jaeger <aj@suse.de>
13957
13958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13959 definitions and declarations that are provided by
13960 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13961
d0f8457e
AK
139622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13963
3a235abb 13964 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13965 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13966 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13967 definition.
13968
57241e26
MS
139692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13970
13971 * elf/elf.h: Update comment before AArch64 relocations.
13972
60e8270d
DM
139732012-11-07 David S. Miller <davem@davemloft.net>
13974
13975 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13976 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13977 (__start_context): Declare.
13978 (__makecontext_ret): Delete.
13979 (__makecontext): Hook up __start_context instead of
13980 __makecontext_ret.
13981 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13982 (sysdep_routines): Add __start_context when in stdlib.
13983
0fbb0fbc
JM
139842012-11-07 Joseph Myers <joseph@codesourcery.com>
13985
13986 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13987 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13988 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13989 hardcoded "nm".
13990 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13991 (READELF): New variable. Use it instead of hardcoded "readelf".
13992
eb48db7e
L
139932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13996 * sysdeps/x86/Makefile: Here.
13997 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13998 * sysdeps/x86/tst-xmmymm.sh: This.
13999
05bcf62a
JM
140002012-11-07 Joseph Myers <joseph@codesourcery.com>
14001
c4b6cf53
JM
14002 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14003 expectations.
14004 [UNIX98] (pthread_barrier_t): Do not expect.
14005 [UNIX98] (pthread_barrierattr_t): Likewise.
14006 [UNIX98] (pthread_spinlock_t): Likewise.
14007 [UNIX98] (pthread_barrier_destroy): Likewise.
14008 [UNIX98] (pthread_barrier_init): Likewise.
14009 [UNIX98] (pthread_barrier_wait): Likewise.
14010 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14011 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14012 [UNIX98] (pthread_barrierattr_init): Likewise.
14013 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14014 [UNIX98] (pthread_getcpuclockid): Likewise.
14015 [UNIX98] (pthread_mutex_timedlock): Likewise.
14016 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14017 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14018 [UNIX98] (pthread_sigmask): Likewise.
14019 [UNIX98] (pthread_spin_destroy): Likewise.
14020 [UNIX98] (pthread_spin_init): Likewise.
14021 [UNIX98] (pthread_spin_lock): Likewise.
14022 [UNIX98] (pthread_spin_trylock): Likewise.
14023 [UNIX98] (pthread_spin_unlock): Likewise.
14024 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14025 Do not expect.
14026 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14027 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14028 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14029 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14030 [XPG3 || XPG4] (pthread_key_t): Likewise.
14031 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14032 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14033 [XPG3 || XPG4] (pthread_once_t): Likewise.
14034 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14035 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14036 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14037 [XPG3 || XPG4] (pthread_t): Likewise.
14038
cbe6e120
JM
14039 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14040 not expect.
14041 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14042
1b126443
JM
14043 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14044 Change function return type to int.
14045
b961a573
JM
14046 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14047 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14048 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14049 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14050 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14051 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14052 [!POSIX] (posix_madvise): Likewise.
14053 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14054 && !UNIX98].
14055 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14056 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14057 (mode_t): Likewise.
14058 (posix_mem_offset): Likewise.
14059 (posix_typed_mem_get_info): Likewise.
14060 (posix_typed_mem_open): Likewise.
14061
9e188909
JM
14062 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14063 Change condition to [XOPEN2K8].
14064
05bcf62a
JM
14065 * conform/conformtest.pl: Preprocess allow-header data with -x c
14066 instead of from stdin.
14067 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14068 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14069 [C99-based standards] (cerfc): Likewise.
14070 [C99-based standards] (cexp2): Likewise.
14071 [C99-based standards] (cexpm1): Likewise.
14072 [C99-based standards] (clog10): Likewise.
14073 [C99-based standards] (clog1p): Likewise.
14074 [C99-based standards] (clog2): Likewise.
14075 [C99-based standards] (clgamma): Likewise.
14076 [C99-based standards] (ctgamma): Likewise.
14077 [C99-based standards] (cerff): Likewise.
14078 [C99-based standards] (cerfcf): Likewise.
14079 [C99-based standards] (cexp2f): Likewise.
14080 [C99-based standards] (cexpm1f): Likewise.
14081 [C99-based standards] (clog10f): Likewise.
14082 [C99-based standards] (clog1pf): Likewise.
14083 [C99-based standards] (clog2f): Likewise.
14084 [C99-based standards] (clgammaf): Likewise.
14085 [C99-based standards] (ctgammaf): Likewise.
14086 [C99-based standards] (cerfl): Likewise.
14087 [C99-based standards] (cerfcl): Likewise.
14088 [C99-based standards] (cexp2l): Likewise.
14089 [C99-based standards] (cexpm1l): Likewise.
14090 [C99-based standards] (clog10l): Likewise.
14091 [C99-based standards] (clog1pl): Likewise.
14092 [C99-based standards] (clog2l): Likewise.
14093 [C99-based standards] (clgammal): Likewise.
14094 [C99-based standards] (ctgammal): Likewise.
14095 * conform/data/inttypes.h-data [C99-based standards]: Include
14096 stdint.h-data. Remove all expectations for stdint.h contents.
14097 [C99-based standards] (PRI*): Do not allow.
14098 [C99-based standards] (SCN*): Likewise.
14099 [C99-based standards] (*_t): Likewise.
14100 [C99-based-standards] (PRId8): Expect macro.
14101 [C99-based-standards] (PRIi8): Likewise.
14102 [C99-based-standards] (PRIo8): Likewise.
14103 [C99-based-standards] (PRIu8): Likewise.
14104 [C99-based-standards] (PRIx8): Likewise.
14105 [C99-based-standards] (PRIX8): Likewise.
14106 [C99-based-standards] (SCNd8): Likewise.
14107 [C99-based-standards] (SCNi8): Likewise.
14108 [C99-based-standards] (SCNo8): Likewise.
14109 [C99-based-standards] (SCNu8): Likewise.
14110 [C99-based-standards] (SCNx8): Likewise.
14111 [C99-based-standards] (PRIdLEAST8): Likewise.
14112 [C99-based-standards] (PRIiLEAST8): Likewise.
14113 [C99-based-standards] (PRIoLEAST8): Likewise.
14114 [C99-based-standards] (PRIuLEAST8): Likewise.
14115 [C99-based-standards] (PRIxLEAST8): Likewise.
14116 [C99-based-standards] (PRIXLEAST8): Likewise.
14117 [C99-based-standards] (SCNdLEAST8): Likewise.
14118 [C99-based-standards] (SCNiLEAST8): Likewise.
14119 [C99-based-standards] (SCNoLEAST8): Likewise.
14120 [C99-based-standards] (SCNuLEAST8): Likewise.
14121 [C99-based-standards] (SCNxLEAST8): Likewise.
14122 [C99-based-standards] (PRIdFAST8): Likewise.
14123 [C99-based-standards] (PRIiFAST8): Likewise.
14124 [C99-based-standards] (PRIoFAST8): Likewise.
14125 [C99-based-standards] (PRIuFAST8): Likewise.
14126 [C99-based-standards] (PRIxFAST8): Likewise.
14127 [C99-based-standards] (PRIXFAST8): Likewise.
14128 [C99-based-standards] (SCNdFAST8): Likewise.
14129 [C99-based-standards] (SCNiFAST8): Likewise.
14130 [C99-based-standards] (SCNoFAST8): Likewise.
14131 [C99-based-standards] (SCNuFAST8): Likewise.
14132 [C99-based-standards] (SCNxFAST8): Likewise.
14133 [C99-based-standards] (PRId16): Likewise.
14134 [C99-based-standards] (PRIi16): Likewise.
14135 [C99-based-standards] (PRIo16): Likewise.
14136 [C99-based-standards] (PRIu16): Likewise.
14137 [C99-based-standards] (PRIx16): Likewise.
14138 [C99-based-standards] (PRIX16): Likewise.
14139 [C99-based-standards] (SCNd16): Likewise.
14140 [C99-based-standards] (SCNi16): Likewise.
14141 [C99-based-standards] (SCNo16): Likewise.
14142 [C99-based-standards] (SCNu16): Likewise.
14143 [C99-based-standards] (SCNx16): Likewise.
14144 [C99-based-standards] (PRIdLEAST16): Likewise.
14145 [C99-based-standards] (PRIiLEAST16): Likewise.
14146 [C99-based-standards] (PRIoLEAST16): Likewise.
14147 [C99-based-standards] (PRIuLEAST16): Likewise.
14148 [C99-based-standards] (PRIxLEAST16): Likewise.
14149 [C99-based-standards] (PRIXLEAST16): Likewise.
14150 [C99-based-standards] (SCNdLEAST16): Likewise.
14151 [C99-based-standards] (SCNiLEAST16): Likewise.
14152 [C99-based-standards] (SCNoLEAST16): Likewise.
14153 [C99-based-standards] (SCNuLEAST16): Likewise.
14154 [C99-based-standards] (SCNxLEAST16): Likewise.
14155 [C99-based-standards] (PRIdFAST16): Likewise.
14156 [C99-based-standards] (PRIiFAST16): Likewise.
14157 [C99-based-standards] (PRIoFAST16): Likewise.
14158 [C99-based-standards] (PRIuFAST16): Likewise.
14159 [C99-based-standards] (PRIxFAST16): Likewise.
14160 [C99-based-standards] (PRIXFAST16): Likewise.
14161 [C99-based-standards] (SCNdFAST16): Likewise.
14162 [C99-based-standards] (SCNiFAST16): Likewise.
14163 [C99-based-standards] (SCNoFAST16): Likewise.
14164 [C99-based-standards] (SCNuFAST16): Likewise.
14165 [C99-based-standards] (SCNxFAST16): Likewise.
14166 [C99-based-standards] (PRId32): Likewise.
14167 [C99-based-standards] (PRIi32): Likewise.
14168 [C99-based-standards] (PRIo32): Likewise.
14169 [C99-based-standards] (PRIu32): Likewise.
14170 [C99-based-standards] (PRIx32): Likewise.
14171 [C99-based-standards] (PRIX32): Likewise.
14172 [C99-based-standards] (SCNd32): Likewise.
14173 [C99-based-standards] (SCNi32): Likewise.
14174 [C99-based-standards] (SCNo32): Likewise.
14175 [C99-based-standards] (SCNu32): Likewise.
14176 [C99-based-standards] (SCNx32): Likewise.
14177 [C99-based-standards] (PRIdLEAST32): Likewise.
14178 [C99-based-standards] (PRIiLEAST32): Likewise.
14179 [C99-based-standards] (PRIoLEAST32): Likewise.
14180 [C99-based-standards] (PRIuLEAST32): Likewise.
14181 [C99-based-standards] (PRIxLEAST32): Likewise.
14182 [C99-based-standards] (PRIXLEAST32): Likewise.
14183 [C99-based-standards] (SCNdLEAST32): Likewise.
14184 [C99-based-standards] (SCNiLEAST32): Likewise.
14185 [C99-based-standards] (SCNoLEAST32): Likewise.
14186 [C99-based-standards] (SCNuLEAST32): Likewise.
14187 [C99-based-standards] (SCNxLEAST32): Likewise.
14188 [C99-based-standards] (PRIdFAST32): Likewise.
14189 [C99-based-standards] (PRIiFAST32): Likewise.
14190 [C99-based-standards] (PRIoFAST32): Likewise.
14191 [C99-based-standards] (PRIuFAST32): Likewise.
14192 [C99-based-standards] (PRIxFAST32): Likewise.
14193 [C99-based-standards] (PRIXFAST32): Likewise.
14194 [C99-based-standards] (SCNdFAST32): Likewise.
14195 [C99-based-standards] (SCNiFAST32): Likewise.
14196 [C99-based-standards] (SCNoFAST32): Likewise.
14197 [C99-based-standards] (SCNuFAST32): Likewise.
14198 [C99-based-standards] (SCNxFAST32): Likewise.
14199 [C99-based-standards] (PRId64): Likewise.
14200 [C99-based-standards] (PRIi64): Likewise.
14201 [C99-based-standards] (PRIo64): Likewise.
14202 [C99-based-standards] (PRIu64): Likewise.
14203 [C99-based-standards] (PRIx64): Likewise.
14204 [C99-based-standards] (PRIX64): Likewise.
14205 [C99-based-standards] (SCNd64): Likewise.
14206 [C99-based-standards] (SCNi64): Likewise.
14207 [C99-based-standards] (SCNo64): Likewise.
14208 [C99-based-standards] (SCNu64): Likewise.
14209 [C99-based-standards] (SCNx64): Likewise.
14210 [C99-based-standards] (PRIdLEAST64): Likewise.
14211 [C99-based-standards] (PRIiLEAST64): Likewise.
14212 [C99-based-standards] (PRIoLEAST64): Likewise.
14213 [C99-based-standards] (PRIuLEAST64): Likewise.
14214 [C99-based-standards] (PRIxLEAST64): Likewise.
14215 [C99-based-standards] (PRIXLEAST64): Likewise.
14216 [C99-based-standards] (SCNdLEAST64): Likewise.
14217 [C99-based-standards] (SCNiLEAST64): Likewise.
14218 [C99-based-standards] (SCNoLEAST64): Likewise.
14219 [C99-based-standards] (SCNuLEAST64): Likewise.
14220 [C99-based-standards] (SCNxLEAST64): Likewise.
14221 [C99-based-standards] (PRIdFAST64): Likewise.
14222 [C99-based-standards] (PRIiFAST64): Likewise.
14223 [C99-based-standards] (PRIoFAST64): Likewise.
14224 [C99-based-standards] (PRIuFAST64): Likewise.
14225 [C99-based-standards] (PRIxFAST64): Likewise.
14226 [C99-based-standards] (PRIXFAST64): Likewise.
14227 [C99-based-standards] (SCNdFAST64): Likewise.
14228 [C99-based-standards] (SCNiFAST64): Likewise.
14229 [C99-based-standards] (SCNoFAST64): Likewise.
14230 [C99-based-standards] (SCNuFAST64): Likewise.
14231 [C99-based-standards] (SCNxFAST64): Likewise.
14232 [C99-based-standards] (PRIdMAX): Likewise.
14233 [C99-based-standards] (PRIiMAX): Likewise.
14234 [C99-based-standards] (PRIoMAX): Likewise.
14235 [C99-based-standards] (PRIuMAX): Likewise.
14236 [C99-based-standards] (PRIxMAX): Likewise.
14237 [C99-based-standards] (PRIXMAX): Likewise.
14238 [C99-based-standards] (SCNdMAX): Likewise.
14239 [C99-based-standards] (SCNiMAX): Likewise.
14240 [C99-based-standards] (SCNoMAX): Likewise.
14241 [C99-based-standards] (SCNuMAX): Likewise.
14242 [C99-based-standards] (SCNxMAX): Likewise.
14243 [C99-based-standards] (PRIdPTR): Likewise.
14244 [C99-based-standards] (PRIiPTR): Likewise.
14245 [C99-based-standards] (PRIoPTR): Likewise.
14246 [C99-based-standards] (PRIuPTR): Likewise.
14247 [C99-based-standards] (PRIxPTR): Likewise.
14248 [C99-based-standards] (PRIXPTR): Likewise.
14249 [C99-based-standards] (SCNdPTR): Likewise.
14250 [C99-based-standards] (SCNiPTR): Likewise.
14251 [C99-based-standards] (SCNoPTR): Likewise.
14252 [C99-based-standards] (SCNuPTR): Likewise.
14253 [C99-based-standards] (SCNxPTR): Likewise.
14254 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14255 allow.
14256 * conform/data/stdint.h-data: Update comments to clarify
14257 requirements.
14258 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14259 type.
14260 [C99-based standards] (INT8_MAX): Likewise.
14261 [C99-based standards] (INT16_MIN): Likewise.
14262 [C99-based standards] (INT16_MAX): Likewise.
14263 [C99-based standards] (INT32_MIN): Likewise.
14264 [C99-based standards] (INT32_MAX): Likewise.
14265 [C99-based standards] (INT64_MIN): Likewise.
14266 [C99-based standards] (INT64_MAX): Likewise.
14267 [C99-based standards] (UINT8_MAX): Likewise.
14268 [C99-based standards] (UINT16_MAX): Likewise.
14269 [C99-based standards] (UINT32_MAX): Likewise.
14270 [C99-based standards] (UINT64_MAX): Likewise.
14271 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14272 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14273 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14274 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14275 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14276 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14277 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14278 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14279 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14280 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14281 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14282 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14283 [C99-based standards] (INT_FAST8_MIN): Likewise.
14284 [C99-based standards] (INT_FAST8_MAX): Likewise.
14285 [C99-based standards] (INT_FAST16_MIN): Likewise.
14286 [C99-based standards] (INT_FAST16_MAX): Likewise.
14287 [C99-based standards] (INT_FAST32_MIN): Likewise.
14288 [C99-based standards] (INT_FAST32_MAX): Likewise.
14289 [C99-based standards] (INT_FAST64_MIN): Likewise.
14290 [C99-based standards] (INT_FAST64_MAX): Likewise.
14291 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14292 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14293 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14294 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14295 [C99-based standards] (INTPTR_MIN): Likewise.
14296 [C99-based standards] (INTPTR_MAX): Likewise.
14297 [C99-based standards] (UINTPTR_MAX): Likewise.
14298 [C99-based standards] (INTMAX_MIN): Likewise.
14299 [C99-based standards] (INTMAX_MAX): Likewise.
14300 [C99-based standards] (UINTMAX_MAX): Likewise.
14301 [C99-based standards] (PTRDIFF_MIN): Likewise.
14302 [C99-based standards] (PTRDIFF_MAX): Likewise.
14303 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14304 [C99-based standards] (SIZE_MAX): Likewise.
14305 [C99-based standards] (WCHAR_MAX): Likewise.
14306 [C99-based standards] (WINT_MAX): Likewise.
14307 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14308 constraint on value.
14309 [C99-based standards] (WCHAR_MIN): Likewise.
14310 [C99-based standards] (WINT_MIN): Likewise.
14311 [C99-based standards] (*_t): Allow.
14312 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14313 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14314 Include math.h-data and complex.h-data. Remove all expectations
14315 of math.h and complex.h contents.
14316 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14317 at end of line.
14318 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14319 (struct tm): Expect tag.
14320 [C99-based-standards] (wcstof): Expect function.
14321 [C99-based-standards] (wcstold): Likewise.
14322 [C99-based-standards] (wcstoll): Likewise.
14323 [C99-based-standards] (wcstoull): Likewise.
14324 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14325 macro-int-constant. Specify type.
14326 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14327 constraint on value.
14328 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14329 Specify type.
14330 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14331 Specify value.
14332 [ISO C standards]: Do not allow headers.
14333 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14334 wcs[abcdefghijklmnopqrstuvwxyz]*.
14335 [ISO C standards] (*_t): Do not allow.
14336 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14337 Expect function.
14338 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14339 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14340 Specify type.
14341 [ISO C standards]: Do not allow headers.
14342 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14343 is[abcdefghijklmnopqrstuvwxyz]*.
14344 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14345 to[abcdefghijklmnopqrstuvwxyz]*.
14346 [ISO C standards] (*_t): Do not allow.
14347 * conform/data/stdalign.h-data: New file.
14348 * conform/data/stdbool.h-data: Likewise.
14349 * conform/data/stdnoreturn.h-data: Likewise.
14350
7514feb8
RM
143512012-11-07 Roland McGrath <roland@hack.frob.com>
14352
14353 [BZ #14815]
14354 * manual/filesys.texi (Directory Entries): Typo fix.
14355 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14356
19b2ecfc
MS
143572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14358
14359 * elf/elf.h (EM_AARCH64): New macro.
14360 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14361 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14362 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14363 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14364 (R_AARCH64_TLSDESC): Likewise.
14365 (NT_ARM_TLS): Likewise.
14366 (NT_ARM_HW_BREAK): Likewise.
14367 (NT_ARM_HW_WATCH): Likewise.
14368
60e235ee
JM
143692012-11-07 Joseph Myers <joseph@codesourcery.com>
14370
14371 [BZ #14811]
14372 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14373 (__ieee754_powl): Saturate nonzero exponents with absolute value
14374 below 0x1p-79 to +/- 0x1p-79.
14375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14376 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14377 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14378 nonzero exponents with absolute value below 0x1p-32 to +/-
14379 0x1p-32.
14380 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14381 (__ieee754_powl): Saturate nonzero exponents with absolute value
14382 below 0x1p-79 to +/- 0x1p-79.
14383 * math/libm-test.inc (pow_test): Add more tests.
14384
0ab234b7
AK
143852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14386
14387 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14388 _dl_s390_cap_flags with kernel. Increase string length.
14389 (_dl_s390_platforms): Add z196 and zEC12.
14390
45832f74
JM
143912012-11-07 Joseph Myers <joseph@codesourcery.com>
14392
14393 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14394 Change XOPEN21K to XOPEN2K.
14395
19218757
MK
143962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14397
14398 * string/memmove.c: Use memcpy when possible.
14399
c5f45721
AJ
144002012-11-06 Andreas Jaeger <aj@suse.de>
14401
14402 * po/eo.po: Update from translation team.
14403
82477c28
JM
144042012-11-06 Joseph Myers <joseph@codesourcery.com>
14405
14406 [BZ #14793]
14407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14408 exponent and small x and y exponents, scale x or y up. Increase
14409 by 2 the exponent used in scaling up.
14410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14412 * math/libm-test.inc (fma_test): Add more tests.
14413 (fma_test_towardzero): Likewise.
14414 (fma_test_downward): Likewise.
14415 (fma_test_upward): Likewise.
14416
99252c8c
JM
144172012-11-05 Joseph Myers <joseph@codesourcery.com>
14418
acfa885f
JM
14419 [BZ #14805]
14420 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14421 fenv_t *.
14422
99252c8c
JM
14423 [BZ #14801]
14424 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14425 namespace for names of struct fields.
14426 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14427 fenv_t fields.
14428 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14429 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14430
d6d98dea
ST
144312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14432
14433 [BZ #3665]
14434 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14435
e10bb107
TS
144362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14437
14438 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14439 PTR_DEMANGLE.
14440
14441 [BZ #5246]
14442 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14443 PTR_DEMANGLE.
14444
a0c2940d
JM
144452012-11-04 Joseph Myers <joseph@codesourcery.com>
14446
14447 [BZ #14797]
14448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14449 definitely overflow as x * y not x * y + z.
14450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14452 * math/libm-test.inc (fma_test): Add more tests.
14453 (fma_test_towardzero): Likewise.
14454 (fma_test_downward): Likewise.
14455 (fma_test_upward): Likewise.
14456
b830319d
TS
144572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14458
14459 [BZ #157]
14460
14461 * include/stub-tag.h: Remove file.
14462 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14463 '#include' of it.
14464 * manual/maint.texi (Porting): Don't reference it.
14465 * Makerules ($(objpfx)stubs): Likewise.
14466 * dirent/closedir.c: Don't include <stub-tag.h>.
14467 * dirent/dirfd.c: Likewise.
14468 * dirent/fdopendir.c: Likewise.
14469 * dirent/getdents.c: Likewise.
14470 * dirent/getdents64.c: Likewise.
14471 * dirent/opendir.c: Likewise.
14472 * dirent/readdir.c: Likewise.
14473 * dirent/readdir64.c: Likewise.
14474 * dirent/readdir64_r.c: Likewise.
14475 * dirent/readdir_r.c: Likewise.
14476 * dirent/rewinddir.c: Likewise.
14477 * dirent/seekdir.c: Likewise.
14478 * dirent/telldir.c: Likewise.
14479 * gmon/profil.c: Likewise.
14480 * grp/setgroups.c: Likewise.
14481 * inet/if_index.c: Likewise.
14482 * io/access.c: Likewise.
14483 * io/chdir.c: Likewise.
14484 * io/chmod.c: Likewise.
14485 * io/chown.c: Likewise.
14486 * io/close.c: Likewise.
14487 * io/dup.c: Likewise.
14488 * io/dup2.c: Likewise.
14489 * io/dup3.c: Likewise.
14490 * io/euidaccess.c: Likewise.
14491 * io/faccessat.c: Likewise.
14492 * io/fchdir.c: Likewise.
14493 * io/fchmod.c: Likewise.
14494 * io/fchmodat.c: Likewise.
14495 * io/fchown.c: Likewise.
14496 * io/fchownat.c: Likewise.
14497 * io/fcntl.c: Likewise.
14498 * io/flock.c: Likewise.
14499 * io/fstatfs.c: Likewise.
14500 * io/fstatfs64.c: Likewise.
14501 * io/fstatvfs.c: Likewise.
14502 * io/fstatvfs64.c: Likewise.
14503 * io/futimens.c: Likewise.
14504 * io/fxstat.c: Likewise.
14505 * io/fxstat64.c: Likewise.
14506 * io/fxstatat.c: Likewise.
14507 * io/fxstatat64.c: Likewise.
14508 * io/getcwd.c: Likewise.
14509 * io/isatty.c: Likewise.
14510 * io/lchmod.c: Likewise.
14511 * io/lchown.c: Likewise.
14512 * io/link.c: Likewise.
14513 * io/linkat.c: Likewise.
14514 * io/lseek.c: Likewise.
14515 * io/lseek64.c: Likewise.
14516 * io/lxstat64.c: Likewise.
14517 * io/mkdir.c: Likewise.
14518 * io/mkdirat.c: Likewise.
14519 * io/mkfifo.c: Likewise.
14520 * io/mkfifoat.c: Likewise.
14521 * io/open.c: Likewise.
14522 * io/open64.c: Likewise.
14523 * io/openat.c: Likewise.
14524 * io/openat64.c: Likewise.
14525 * io/pipe.c: Likewise.
14526 * io/pipe2.c: Likewise.
14527 * io/poll.c: Likewise.
14528 * io/posix_fadvise.c: Likewise.
14529 * io/posix_fadvise64.c: Likewise.
14530 * io/posix_fallocate.c: Likewise.
14531 * io/posix_fallocate64.c: Likewise.
14532 * io/read.c: Likewise.
14533 * io/readlink.c: Likewise.
14534 * io/readlinkat.c: Likewise.
14535 * io/rmdir.c: Likewise.
14536 * io/sendfile.c: Likewise.
14537 * io/sendfile64.c: Likewise.
14538 * io/statfs.c: Likewise.
14539 * io/statfs64.c: Likewise.
14540 * io/statvfs.c: Likewise.
14541 * io/statvfs64.c: Likewise.
14542 * io/symlink.c: Likewise.
14543 * io/symlinkat.c: Likewise.
14544 * io/ttyname.c: Likewise.
14545 * io/ttyname_r.c: Likewise.
14546 * io/umask.c: Likewise.
14547 * io/unlink.c: Likewise.
14548 * io/unlinkat.c: Likewise.
14549 * io/utime.c: Likewise.
14550 * io/utimensat.c: Likewise.
14551 * io/write.c: Likewise.
14552 * io/xmknod.c: Likewise.
14553 * io/xmknodat.c: Likewise.
14554 * io/xstat.c: Likewise.
14555 * io/xstat64.c: Likewise.
14556 * login/getpt.c: Likewise.
14557 * login/grantpt.c: Likewise.
14558 * login/unlockpt.c: Likewise.
14559 * math/e_acoshl.c: Likewise.
14560 * math/e_acosl.c: Likewise.
14561 * math/e_asinl.c: Likewise.
14562 * math/e_atan2l.c: Likewise.
14563 * math/e_atanhl.c: Likewise.
14564 * math/e_coshl.c: Likewise.
14565 * math/e_expl.c: Likewise.
14566 * math/e_fmodl.c: Likewise.
14567 * math/e_gammal_r.c: Likewise.
14568 * math/e_hypotl.c: Likewise.
14569 * math/e_j0l.c: Likewise.
14570 * math/e_j1l.c: Likewise.
14571 * math/e_jnl.c: Likewise.
14572 * math/e_lgammal_r.c: Likewise.
14573 * math/e_log10l.c: Likewise.
14574 * math/e_log2l.c: Likewise.
14575 * math/e_logl.c: Likewise.
14576 * math/e_powl.c: Likewise.
14577 * math/e_rem_pio2l.c: Likewise.
14578 * math/e_sinhl.c: Likewise.
14579 * math/e_sqrtl.c: Likewise.
14580 * math/fclrexcpt.c: Likewise.
14581 * math/fedisblxcpt.c: Likewise.
14582 * math/feenablxcpt.c: Likewise.
14583 * math/fegetenv.c: Likewise.
14584 * math/fegetexcept.c: Likewise.
14585 * math/fegetround.c: Likewise.
14586 * math/feholdexcpt.c: Likewise.
14587 * math/fesetenv.c: Likewise.
14588 * math/fesetround.c: Likewise.
14589 * math/feupdateenv.c: Likewise.
14590 * math/fgetexcptflg.c: Likewise.
14591 * math/fraiseexcpt.c: Likewise.
14592 * math/fsetexcptflg.c: Likewise.
14593 * math/ftestexcept.c: Likewise.
14594 * math/k_cosl.c: Likewise.
14595 * math/k_rem_pio2l.c: Likewise.
14596 * math/k_sinl.c: Likewise.
14597 * math/k_tanl.c: Likewise.
14598 * math/s_asinhl.c: Likewise.
14599 * math/s_atanl.c: Likewise.
14600 * math/s_cbrtl.c: Likewise.
14601 * math/s_erfl.c: Likewise.
14602 * math/s_expm1l.c: Likewise.
14603 * math/s_log1pl.c: Likewise.
14604 * math/s_tanhl.c: Likewise.
14605 * misc/acct.c: Likewise.
14606 * misc/brk.c: Likewise.
14607 * misc/chflags.c: Likewise.
14608 * misc/chroot.c: Likewise.
14609 * misc/fchflags.c: Likewise.
14610 * misc/fgetxattr.c: Likewise.
14611 * misc/flistxattr.c: Likewise.
14612 * misc/fremovexattr.c: Likewise.
14613 * misc/fsetxattr.c: Likewise.
14614 * misc/fsync.c: Likewise.
14615 * misc/ftruncate.c: Likewise.
14616 * misc/futimes.c: Likewise.
14617 * misc/futimesat.c: Likewise.
14618 * misc/getdomain.c: Likewise.
14619 * misc/getdtsz.c: Likewise.
14620 * misc/gethostid.c: Likewise.
14621 * misc/gethostname.c: Likewise.
14622 * misc/getloadavg.c: Likewise.
14623 * misc/getpagesize.c: Likewise.
14624 * misc/getsysstats.c: Likewise.
14625 * misc/getxattr.c: Likewise.
14626 * misc/gtty.c: Likewise.
14627 * misc/ioctl.c: Likewise.
14628 * misc/lgetxattr.c: Likewise.
14629 * misc/listxattr.c: Likewise.
14630 * misc/llistxattr.c: Likewise.
14631 * misc/lremovexattr.c: Likewise.
14632 * misc/lsetxattr.c: Likewise.
14633 * misc/lutimes.c: Likewise.
14634 * misc/madvise.c: Likewise.
14635 * misc/mincore.c: Likewise.
14636 * misc/mlock.c: Likewise.
14637 * misc/mlockall.c: Likewise.
14638 * misc/mmap.c: Likewise.
14639 * misc/mprotect.c: Likewise.
14640 * misc/msync.c: Likewise.
14641 * misc/munlock.c: Likewise.
14642 * misc/munlockall.c: Likewise.
14643 * misc/munmap.c: Likewise.
14644 * misc/preadv.c: Likewise.
14645 * misc/preadv64.c: Likewise.
14646 * misc/ptrace.c: Likewise.
14647 * misc/pwritev.c: Likewise.
14648 * misc/pwritev64.c: Likewise.
14649 * misc/readv.c: Likewise.
14650 * misc/reboot.c: Likewise.
14651 * misc/remap_file_pages.c: Likewise.
14652 * misc/removexattr.c: Likewise.
14653 * misc/revoke.c: Likewise.
14654 * misc/select.c: Likewise.
14655 * misc/setdomain.c: Likewise.
14656 * misc/setegid.c: Likewise.
14657 * misc/seteuid.c: Likewise.
14658 * misc/sethostid.c: Likewise.
14659 * misc/sethostname.c: Likewise.
14660 * misc/setregid.c: Likewise.
14661 * misc/setreuid.c: Likewise.
14662 * misc/setxattr.c: Likewise.
14663 * misc/sstk.c: Likewise.
14664 * misc/stty.c: Likewise.
14665 * misc/swapoff.c: Likewise.
14666 * misc/swapon.c: Likewise.
14667 * misc/sync.c: Likewise.
14668 * misc/syncfs.c: Likewise.
14669 * misc/syscall.c: Likewise.
14670 * misc/truncate.c: Likewise.
14671 * misc/ualarm.c: Likewise.
14672 * misc/usleep.c: Likewise.
14673 * misc/ustat.c: Likewise.
14674 * misc/utimes.c: Likewise.
14675 * misc/vhangup.c: Likewise.
14676 * misc/writev.c: Likewise.
14677 * posix/_exit.c: Likewise.
14678 * posix/alarm.c: Likewise.
14679 * posix/execve.c: Likewise.
14680 * posix/fexecve.c: Likewise.
14681 * posix/fork.c: Likewise.
14682 * posix/fpathconf.c: Likewise.
14683 * posix/getaddrinfo.c: Likewise.
14684 * posix/getegid.c: Likewise.
14685 * posix/geteuid.c: Likewise.
14686 * posix/getgid.c: Likewise.
14687 * posix/getgroups.c: Likewise.
14688 * posix/getlogin.c: Likewise.
14689 * posix/getlogin_r.c: Likewise.
14690 * posix/getpgid.c: Likewise.
14691 * posix/getpid.c: Likewise.
14692 * posix/getppid.c: Likewise.
14693 * posix/getresgid.c: Likewise.
14694 * posix/getresuid.c: Likewise.
14695 * posix/getsid.c: Likewise.
14696 * posix/getuid.c: Likewise.
14697 * posix/glob64.c: Likewise.
14698 * posix/nanosleep.c: Likewise.
14699 * posix/pathconf.c: Likewise.
14700 * posix/pause.c: Likewise.
14701 * posix/posix_madvise.c: Likewise.
14702 * posix/pread.c: Likewise.
14703 * posix/pread64.c: Likewise.
14704 * posix/pwrite.c: Likewise.
14705 * posix/pwrite64.c: Likewise.
14706 * posix/sched_getaffinity.c: Likewise.
14707 * posix/sched_getp.c: Likewise.
14708 * posix/sched_gets.c: Likewise.
14709 * posix/sched_primax.c: Likewise.
14710 * posix/sched_primin.c: Likewise.
14711 * posix/sched_rr_gi.c: Likewise.
14712 * posix/sched_setaffinity.c: Likewise.
14713 * posix/sched_setp.c: Likewise.
14714 * posix/sched_sets.c: Likewise.
14715 * posix/sched_yield.c: Likewise.
14716 * posix/setgid.c: Likewise.
14717 * posix/setlogin.c: Likewise.
14718 * posix/setpgid.c: Likewise.
14719 * posix/setresgid.c: Likewise.
14720 * posix/setresuid.c: Likewise.
14721 * posix/setsid.c: Likewise.
14722 * posix/setuid.c: Likewise.
14723 * posix/sleep.c: Likewise.
14724 * posix/spawni.c: Likewise.
14725 * posix/sysconf.c: Likewise.
14726 * posix/times.c: Likewise.
14727 * posix/wait.c: Likewise.
14728 * posix/wait3.c: Likewise.
14729 * posix/wait4.c: Likewise.
14730 * posix/waitpid.c: Likewise.
14731 * resolv/gai_sigqueue.c: Likewise.
14732 * resource/getpriority.c: Likewise.
14733 * resource/getrlimit.c: Likewise.
14734 * resource/getrusage.c: Likewise.
14735 * resource/nice.c: Likewise.
14736 * resource/setpriority.c: Likewise.
14737 * resource/setrlimit.c: Likewise.
14738 * resource/ulimit.c: Likewise.
14739 * rt/aio_cancel.c: Likewise.
14740 * rt/aio_fsync.c: Likewise.
14741 * rt/aio_read.c: Likewise.
14742 * rt/aio_sigqueue.c: Likewise.
14743 * rt/aio_suspend.c: Likewise.
14744 * rt/aio_write.c: Likewise.
14745 * rt/clock_getres.c: Likewise.
14746 * rt/clock_gettime.c: Likewise.
14747 * rt/clock_nanosleep.c: Likewise.
14748 * rt/clock_settime.c: Likewise.
14749 * rt/lio_listio.c: Likewise.
14750 * rt/mq_close.c: Likewise.
14751 * rt/mq_getattr.c: Likewise.
14752 * rt/mq_notify.c: Likewise.
14753 * rt/mq_open.c: Likewise.
14754 * rt/mq_receive.c: Likewise.
14755 * rt/mq_send.c: Likewise.
14756 * rt/mq_setattr.c: Likewise.
14757 * rt/mq_timedreceive.c: Likewise.
14758 * rt/mq_timedsend.c: Likewise.
14759 * rt/mq_unlink.c: Likewise.
14760 * rt/shm_open.c: Likewise.
14761 * rt/shm_unlink.c: Likewise.
14762 * rt/timer_create.c: Likewise.
14763 * rt/timer_delete.c: Likewise.
14764 * rt/timer_getoverr.c: Likewise.
14765 * rt/timer_gettime.c: Likewise.
14766 * rt/timer_settime.c: Likewise.
14767 * setjmp/__longjmp.c: Likewise.
14768 * setjmp/setjmp.c: Likewise.
14769 * signal/kill.c: Likewise.
14770 * signal/killpg.c: Likewise.
14771 * signal/raise.c: Likewise.
14772 * signal/sigaction.c: Likewise.
14773 * signal/sigaltstack.c: Likewise.
14774 * signal/sigblock.c: Likewise.
14775 * signal/sigignore.c: Likewise.
14776 * signal/sigintr.c: Likewise.
14777 * signal/signal.c: Likewise.
14778 * signal/sigpause.c: Likewise.
14779 * signal/sigpending.c: Likewise.
14780 * signal/sigqueue.c: Likewise.
14781 * signal/sigreturn.c: Likewise.
14782 * signal/sigset.c: Likewise.
14783 * signal/sigsetmask.c: Likewise.
14784 * signal/sigstack.c: Likewise.
14785 * signal/sigsuspend.c: Likewise.
14786 * signal/sigtimedwait.c: Likewise.
14787 * signal/sigvec.c: Likewise.
14788 * signal/sigwait.c: Likewise.
14789 * signal/sigwaitinfo.c: Likewise.
14790 * signal/sysv_signal.c: Likewise.
14791 * socket/accept.c: Likewise.
14792 * socket/accept4.c: Likewise.
14793 * socket/bind.c: Likewise.
14794 * socket/connect.c: Likewise.
14795 * socket/getpeername.c: Likewise.
14796 * socket/getsockname.c: Likewise.
14797 * socket/getsockopt.c: Likewise.
14798 * socket/isfdtype.c: Likewise.
14799 * socket/listen.c: Likewise.
14800 * socket/recv.c: Likewise.
14801 * socket/recvfrom.c: Likewise.
14802 * socket/recvmsg.c: Likewise.
14803 * socket/send.c: Likewise.
14804 * socket/sendmsg.c: Likewise.
14805 * socket/sendto.c: Likewise.
14806 * socket/setsockopt.c: Likewise.
14807 * socket/shutdown.c: Likewise.
14808 * socket/sockatmark.c: Likewise.
14809 * socket/socket.c: Likewise.
14810 * socket/socketpair.c: Likewise.
14811 * stdio-common/ctermid.c: Likewise.
14812 * stdio-common/cuserid.c: Likewise.
14813 * stdio-common/remove.c: Likewise.
14814 * stdio-common/rename.c: Likewise.
14815 * stdio-common/renameat.c: Likewise.
14816 * stdio-common/tempname.c: Likewise.
14817 * stdlib/getcontext.c: Likewise.
14818 * stdlib/makecontext.c: Likewise.
14819 * stdlib/setcontext.c: Likewise.
14820 * stdlib/swapcontext.c: Likewise.
14821 * stdlib/system.c: Likewise.
14822 * streams/fattach.c: Likewise.
14823 * streams/fdetach.c: Likewise.
14824 * streams/getmsg.c: Likewise.
14825 * streams/getpmsg.c: Likewise.
14826 * streams/putmsg.c: Likewise.
14827 * streams/putpmsg.c: Likewise.
14828 * sysdeps/unix/bsd/getpt.c: Likewise.
14829 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14830 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14831 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14833 Likewise.
14834 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14835 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14836 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14837 * sysvipc/msgctl.c: Likewise.
14838 * sysvipc/msgget.c: Likewise.
14839 * sysvipc/msgrcv.c: Likewise.
14840 * sysvipc/msgsnd.c: Likewise.
14841 * sysvipc/semctl.c: Likewise.
14842 * sysvipc/semget.c: Likewise.
14843 * sysvipc/semop.c: Likewise.
14844 * sysvipc/semtimedop.c: Likewise.
14845 * sysvipc/shmat.c: Likewise.
14846 * sysvipc/shmctl.c: Likewise.
14847 * sysvipc/shmdt.c: Likewise.
14848 * sysvipc/shmget.c: Likewise.
14849 * termios/tcdrain.c: Likewise.
14850 * termios/tcflow.c: Likewise.
14851 * termios/tcflush.c: Likewise.
14852 * termios/tcgetattr.c: Likewise.
14853 * termios/tcgetpgrp.c: Likewise.
14854 * termios/tcsendbrk.c: Likewise.
14855 * termios/tcsetattr.c: Likewise.
14856 * termios/tcsetpgrp.c: Likewise.
14857 * time/adjtime.c: Likewise.
14858 * time/clock.c: Likewise.
14859 * time/getitimer.c: Likewise.
14860 * time/gettimeofday.c: Likewise.
14861 * time/setitimer.c: Likewise.
14862 * time/settimeofday.c: Likewise.
14863 * time/stime.c: Likewise.
14864 * time/time.c: Likewise.
14865
148662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14867
a20492cf
PT
14868 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14869 /usr/old/bin.
14870
72e182e3
PT
14871 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14872 instead of spaces.
14873 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14874
fbeafede
JM
148752012-11-03 Joseph Myers <joseph@codesourcery.com>
14876
5b5b04d6
JM
14877 [BZ #14796]
14878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14879 FE_TONEAREST before applying Dekker multiplication and Knuth
14880 addition. Clear inexact exceptions and check for exact zero
14881 results afterwards.
14882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14885 * math/libm-test.inc (fma_test): Add more tests.
14886 (fma_test_towardzero): Likewise.
14887 (fma_test_downward): Likewise.
14888 (fma_test_upward): Likewise.
14889 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14890 function.
14891 (libc_fesetround): New macro.
14892 (libc_fesetroundf): Likewise.
14893 (libc_fesetroundl): Likewise.
14894 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14895 function.
14896 (libc_fesetround_387): Likewise.
14897 (libc_fesetroundf): New macro.
14898 (libc_fesetround): Likewise.
14899 (libc_fesetroundl): Likewise.
14900 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14901 function.
14902 (libc_fesetroundf): New macro.
14903 (libc_fesetround): Likewise.
14904 (libc_fesetroundl): Likewise.
14905 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14906 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14907 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14908 libm_hidden_ver.
14909 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14910 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14911 libm_hidden_def.
14912 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14913 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14914 libm_hidden_ver.
14915 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14916 libm_hidden_def.
14917
fbeafede
JM
14918 [BZ #3439]
14919 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14920 integer constant usable in #if and use that to give value to enum
14921 constant.
14922 (FE_DIVBYZERO): Likewise.
14923 (FE_UNDERFLOW): Likewise.
14924 (FE_OVERFLOW): Likewise.
14925 (FE_INVALID): Likewise.
14926 (FE_INVALID_SNAN): Likewise.
14927 (FE_INVALID_ISI): Likewise.
14928 (FE_INVALID_IDI): Likewise.
14929 (FE_INVALID_ZDZ): Likewise.
14930 (FE_INVALID_IMZ): Likewise.
14931 (FE_INVALID_COMPARE): Likewise.
14932 (FE_INVALID_SOFTWARE): Likewise.
14933 (FE_INVALID_SQRT): Likewise.
14934 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14935 (FE_TONEAREST): Likewise.
14936 (FE_TOWARDZERO): Likewise.
14937 (FE_UPWARD): Likewise.
14938 (FE_DOWNWARD): Likewise.
14939 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14940 (FE_DIVBYZERO): Likewise.
14941 (FE_OVERFLOW): Likewise.
14942 (FE_UNDERFLOW): Likewise.
14943 (FE_INEXACT): Likewise.
14944 (FE_TONEAREST): Likewise.
14945 (FE_DOWNWARD): Likewise.
14946 (FE_UPWARD): Likewise.
14947 (FE_TOWARDZERO): Likewise.
14948 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14949 (FE_UNDERFLOW): Likewise.
14950 (FE_OVERFLOW): Likewise.
14951 (FE_DIVBYZERO): Likewise.
14952 (FE_INVALID): Likewise.
14953 (FE_TONEAREST): Likewise.
14954 (FE_TOWARDZERO): Likewise.
14955 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14956 (FE_OVERFLOW): Likewise.
14957 (FE_UNDERFLOW): Likewise.
14958 (FE_DIVBYZERO): Likewise.
14959 (FE_INEXACT): Likewise.
14960 (FE_TONEAREST): Likewise.
14961 (FE_TOWARDZERO): Likewise.
14962 (FE_UPWARD): Likewise.
14963 (FE_DOWNWARD): Likewise.
14964 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14965 (FE_DIVBYZERO): Likewise.
14966 (FE_OVERFLOW): Likewise.
14967 (FE_UNDERFLOW): Likewise.
14968 (FE_INEXACT): Likewise.
14969 (FE_TONEAREST): Likewise.
14970 (FE_DOWNWARD): Likewise.
14971 (FE_UPWARD): Likewise.
14972 (FE_TOWARDZERO): Likewise.
14973
105ca950
CM
149742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14975
14976 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14977
a542b389
AS
149782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14979
14980 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14981 commands. Quote $PWD.
14982 (blacklist_exports): Don't use remove_newlines. Replace "declare
14983 -x" by "export".
14984 (remove_newlines): Remove.
14985
f62c8abc
L
149862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14987
14988 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14989 * stdlib/stdlib.h (atof): Moved to ...
14990 * include/bits/stdlib-float.h: Here. New file.
14991 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14992 * stdlib/bits/stdlib-float.h: New file.
14993 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14994 -mno-sse -mno-mmx.
14995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14996 <xmmintrin.h>.
14997
0155d5b2
JM
149982012-11-02 Joseph Myers <joseph@codesourcery.com>
14999
a68d0680
JM
15000 * conform/conformtest.pl (@headers): Add fenv.h.
15001 * conform/data/fenv.h-data: New file.
15002 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15003 include of <math/fenv.h>.
15004
caf7f573
JM
15005 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15006 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15007 && !UNIX98]. Enables tests for XOPEN2K8.
15008 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15009 POSIX2008]: Likewise.
15010
6c073ad6
JM
15011 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15012 (struct rusage): Do not expect type or its members.
15013
0155d5b2
JM
15014 [BZ #3439]
15015 * math/math.h (FP_NAN): Define macro to integer constant usable in
15016 #if and use that to give value to enum constant.
15017 (FP_INFINITE): Likewise.
15018 (FP_ZERO): Likewise.
15019 (FP_SUBNORMAL): Likewise.
15020 (FP_NORMAL): Likewise.
15021
b5dcacb4
AS
150222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15023
15024 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15025 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15026 arguments.
15027
f7934be8
RM
150282012-11-02 Roland McGrath <roland@hack.frob.com>
15029
15030 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15031 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15032 autoconf-time if not.
15033 * configure.in: Remove AC_PREREQ.
15034
d7d08bde
TMQMF
150352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15036
15037 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15038 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15039 of the internal implementation.
15040
dcdae19a
JM
150412012-11-02 Joseph Myers <joseph@codesourcery.com>
15042
15043 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15044 except include of <misc/sys/syslog.h>.
15045
d6cffd3e
AS
150462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15047
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15049 function returns with a NULL context exit with zero.
15050
b3563932
TMQMF
150512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15052
15053 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15054
b288a93d
L
150552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15056
15057 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15058 (run_program_cmd): This.
15059 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15060 (tst_langinfo): New variable. Use it.
15061
a2421a68
SAS
150622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15063
15064 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15065 floating point opcodes.
15066
6f796e1b
TS
150672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15068
7402596b
TS
15069 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15070 variable.
15071
d0d4f868
TS
15072 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15073
6f796e1b
TS
15074 * sysdeps/mach/hurd/powerpc: Remove directory.
15075 * sysdeps/mach/powerpc: Likewise.
15076
4da224a2
AS
150772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15078
15079 * scripts/check-local-headers.sh: Ignore c++ headers.
15080
341dd673
TS
150812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15082
15083 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15084 __libc_cleanup_region_start argument.
15085
473611b2
JM
150862012-11-01 Joseph Myers <joseph@codesourcery.com>
15087
15088 [BZ #14784]
15089 [BZ #14785]
15090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15091 x * y using scaling, not as x * y + z.
15092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15094 * math/libm-test.inc (fma_test): Add more tests.
15095 (fma_test_towardzero): Likewise.
15096 (fma_test_downward): Likewise.
15097 (fma_test_upward): Likewise.
15098
4078da3d
TS
150992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15100
15101 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15102
903252aa
JM
151032012-10-31 Joseph Myers <joseph@codesourcery.com>
15104
15105 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15106 New variable.
15107
cbc818d0
TS
151082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15109
15110 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15111
5a03cb1e
AS
151122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15115 Fix sort order.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15117 Likewise.
15118
90aff2ff
TMQMF
151192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15120
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15122 Fix the order of the list for glibc 2.17.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15124 Likewise.
15125
1818fcb7
AS
151262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15127
15128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15129
ef82f4da
JM
151302012-10-31 Joseph Myers <joseph@codesourcery.com>
15131
16a0e2ec
JM
15132 [BZ #14610]
15133 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15134 for low part of x being zero before using __atanl (y).
15135 * math/libm-test.inc (atan2_test): Add another test.
15136
0eb69512
JM
15137 * manual/install.texi (Configuring and compiling): Document
15138 general use of test-wrapper and test-wrapper-env.
15139 * INSTALL: Regenerated.
15140
ef82f4da
JM
15141 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15142 (__fma): Do not extract and scale down low bits on after-rounding
15143 systems when result rounded to normal precision would have normal
15144 exponent.
15145 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15146 (__fmal): Do not extract and scale down low bits on after-rounding
15147 systems when result rounded to normal precision would have normal
15148 exponent.
15149 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15150 (__fmal): Do not extract and scale down low bits on after-rounding
15151 systems when result rounded to normal precision would have normal
15152 exponent.
15153 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15154 macro.
15155 (fma_test): Add more tests.
15156 (fma_test_towardzero): Likewise.
15157 (fma_test_downward): Likewise.
15158 (fma_test_upward): Likewise.
15159
954ef0d9
L
151602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15161
15162 * sysdeps/i386/tininess.h: Renamed to ...
15163 * sysdeps/x86/tininess.h: This.
15164 * sysdeps/x86_64/tininess.h: Removed.
15165
df61ffb2
JM
151662012-10-30 Joseph Myers <joseph@codesourcery.com>
15167
15168 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15169 input. Use $(build-program-cmd).
15170 ($(objpfx)tst-array1-static.out): Likewise.
15171 ($(objpfx)tst-array2.out): Likewise.
15172 ($(objpfx)tst-array3.out): Likewise.
15173 ($(objpfx)tst-array4.out): Likewise.
15174 ($(objpfx)tst-array5.out): Likewise.
15175 ($(objpfx)tst-array5-static.out): Likewise.
15176
01767843
CM
151772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15178
47cc1490
CM
15179 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15180 if defined.
15181
01767843
CM
15182 * nss/nsswitch.h (nss_interface_function): Provide new
15183 macro for use with NSS functions.
15184 * grp/initgroups.c: Use new macro.
15185 * nss/getXXbyYY.c: Likewise.
15186 * nss/getXXbyYY_r.c: Likewise.
15187 * nss/getXXent.c: Likewise.
15188 * nss/getXXent_r.c: Likewise.
15189 * sysdeps/posix/getaddrinfo.c: Likewise.
15190
8321aa97
AJ
151912012-10-30 Andreas Jaeger <aj@suse.de>
15192
15193 * po/ru.po: Update Russion translation from translation project.
15194
2a27fd6d
JM
151952012-10-30 Joseph Myers <joseph@codesourcery.com>
15196
8627a232
JM
15197 [BZ #14152]
15198 [BZ #14783]
15199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15200 result and shift together with sticky bit instead of replicating
15201 round-to-nearest rounding.
15202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15204 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15205 missing underflow exceptions.
15206 (fma_test_towardzero): Add more tests.
15207 (fma_test_downward): Likewise.
15208 (fma_test_upward): Likewise.
15209
2a27fd6d
JM
15210 [BZ #14047]
15211 * sysdeps/generic/tininess.h: New file.
15212 * sysdeps/i386/tininess.h: Likewise.
15213 * sysdeps/sh/tininess.h: Likewise.
15214 * sysdeps/x86_64/tininess.h: Likewise.
15215 * stdlib/tst-strtod-underflow.c: Likewise.
15216 * stdlib/tst-tininess.c: Likewise.
15217 * stdlib/strtod_l.c: Include <tininess.h>.
15218 (round_and_return): Do not set errno for exact underflow cases.
15219 Force an underflow exception when setting errno for underflow.
15220 Determine underflow based on rounding to normal precision if
15221 TININESS_AFTER_ROUNDING.
15222 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15223 ERANGE for exact underflow cases.
15224 * stdlib/Makefile (tests): Add tst-tininess and
15225 tst-strtod-underflow.
15226 ($(objpfx)tst-tininess): Use $(link-libm).
15227 ($(objpfx)tst-strtod-underflow): Likewise.
15228
e7170363
AJ
152292012-10-30 Andreas Jaeger <aj@suse.de>
15230
e5088dc6
AJ
15231 [BZ#14767]
15232 * elf/Makefile (tests): Remove conditional for have-initfini-array
15233 since this is now always required and the variable does not exist
15234 anymore.
15235 (tests-static): Likewise.
15236 (modules-names): Likewise.
15237
e7170363 15238 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15239
15240 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15241 merged with constructor/destructor.
15242 (init_array): Likewise.
15243 * elf/tst-array2dep.c (fini_array): Likewise.
15244 (init_array): Likewise.
15245
60457d8a
MF
152462012-10-29 Mike Frysinger <vapier@gentoo.org>
15247
15248 * manual/message.texi: Delete @cartouche tags.
15249
8bece752
PT
152502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15251
94ce799f
PT
15252 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15253 EOPNOTSUPP.
15254 * sysdeps/mach/hurd/fsync.c: Likewise.
15255
8bece752
PT
15256 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15257 [_POSIX_REALTIME_SIGNALS]: Change condition to
15258 [_POSIX_REALTIME_SIGNALS > 0].
15259
86ebe6b1
AJ
152602012-10-27 Andreas Jaeger <aj@suse.de>
15261
15262 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15263 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15265 [__WORDSIZE != 64]: Likewise.
15266
54399c08
L
152672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 * iconvdata/tst-table.sh: Remove ${SHELL}.
15270 * iconvdata/tst-tables.sh: Likewise.
15271
e2211bed
DM
152722012-10-25 David S. Miller <davem@davemloft.net>
15273
15274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15275 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15276 of strtoull.
15277
f303f97c
DM
15278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15279 ifunc-impl-list.c
15280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15281 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15282 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15283 file.
15284
1e9d84cd
RM
152852012-10-25 Roland McGrath <roland@hack.frob.com>
15286
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15288 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15289 __getdirentries.
15290
df381762
JM
152912012-10-25 Joseph Myers <joseph@codesourcery.com>
15292 Jim Blandy <jimb@codesourcery.com>
15293
15294 * scripts/cross-test-ssh.sh: New file.
15295 * manual/install.texi (Configuring and compiling): Document use of
15296 cross-test-ssh.sh.
15297 * INSTALL: Regenerated.
15298
bff64913
PT
152992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15300
15301 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15302 EOPNOTSUPP.
15303
25fe8932
JM
153042012-10-25 Joseph Myers <joseph@codesourcery.com>
15305
15306 * Makeconfig (run-program-prefix): Fix comment.
15307
cc1290d0
JM
153082012-10-24 Joseph Myers <joseph@codesourcery.com>
15309 Jim Blandy <jimb@codesourcery.com>
15310
15311 * Makeconfig (test-wrapper): New variable,
15312 (test-wrapper-env): Likewise.
15313 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15314 (run-built-tests): Define to yes.
15315 (run-program-prefix): Use $(test-wrapper).
15316 (built-program-cmd): Likewise.
15317 * Rules (make-test-out): Use $(test-wrapper-env) and
15318 $(host-built-program-cmd).
15319 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15320 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15321 tst-pathopt.sh.
15322 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15323 $(test-wrapper-env) to tst-rtld-load-self.sh.
15324 ($(objpfx)order2.out): Use $(test-wrapper).
15325 ($(objpfx)tst-initorder.out): Likewise.
15326 ($(objpfx)tst-initorder2.out): Likewise.
15327 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15328 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15329 (test_wrapper_env): New variable. Use it to run ld.so.
15330 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15331 Use it to run ld.so.
15332 (test_wrapper_env): Likewise.
15333 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15334 $(test-wrapper) to run-iconv-test.sh.
15335 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15336 (ICONV): Use $test_wrapper.
15337 * posix/Makefile ($(objpfx)globtest.out): Pass
15338 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15339 globtest.sh, not $(run-program-prefix).
15340 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15341 (test_wrapper): Likewise.
15342 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15343 set together with run_via_rtld_prefix.
15344 (run_program_prefix): Define in terms of test_wrapper and
15345 run_via_rtld_prefix.
15346
6e6249d0
RM
153472012-10-24 Roland McGrath <roland@hack.frob.com>
15348
15349 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15350 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15351 Targets removed.
15352
15353 [BZ #14743]
15354 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15355 Declare __clock_getres, __clock_gettime, __clock_settime,
15356 __clock_nanosleep, and __clock_getcpuclockid.
15357 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15358 Remove librt_hidden_def (clock_gettime).
15359 * sysdeps/unix/clock_gettime.c: Likewise.
15360 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15361 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15362 * rt/clock_getres.c: Define __clock_getres as an alias.
15363 * sysdeps/posix/clock_getres.c: Likewise.
15364 * rt/clock_settime.c: Define __clock_settime as an alias.
15365 * sysdeps/unix/clock_settime.c: Likewise.
15366 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15367 * sysdeps/unix/clock_nanosleep.c: Likewise.
15368 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15369 * rt/clock-compat.c: New file.
15370 * rt/Makefile (librt-routines): Add clock-compat and move
15371 $(clock-routines) to ...
15372 (routines): ... here, new variable.
15373 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15374 Don't add get_clockfreq here.
15375 * rt/Versions (libc: GLIBC_2.17): New version set.
15376 Add clock_* symbols here.
15377 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15379 (GLIBC_2.17): Add clock_* symbols.
15380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15384 Likewise.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15386 Likewise.
15387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15391 * NEWS: Mention the move.
15392
15393 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15394 Use __open, __read, __close rather than their public counterparts.
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15396 (__get_clockfreq_via_cpuinfo): Likewise.
15397 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15398 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15399
15400 * config.h.in (HAVE_IFUNC): New #undef.
15401 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15402 was successful.
15403 * configure: Regenerated.
15404
0cae3f4b
MF
154052012-10-24 Mike Frysinger <vapier@gentoo.org>
15406
15407 * configure.in: Move READELF check to start of file.
15408 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15409 libc_cv_asm_gnu_indirect_function in the process.
15410 * configure: Regenerated.
15411
8175a253
MF
154122012-10-24 Mike Frysinger <vapier@gentoo.org>
15413
15414 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15415 send the output to /dev/null.
15416 (libc_cv_cc_with_libunwind): Likewise.
15417 (libc_cv_as_noexecstack): Likewise.
15418 * configure: Regenerate.
15419
0708a7d1
JM
154202012-10-24 Joseph Myers <joseph@codesourcery.com>
15421
10b40d85
JM
15422 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15423
0708a7d1
JM
15424 * posix/globtest.sh (TMPDIR): Do not set.
15425 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15426 (testout): Likewise.
15427
9fddec1a
AJ
154282012-10-24 Andreas Jaeger <aj@suse.de>
15429
3a8db22f
AJ
15430 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15431 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15432 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15433 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15434 posix_fadvise64, posix_fallocate64.
15435
9fddec1a
AJ
15436 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15437 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15438 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15439 Likewise.
15440 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15441 Likewise.
15442 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15443
15444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15445 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15446 <bits/fcntl-linux.h>.
15447 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15448
15449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15450 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15451 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15452 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15453 [__WORDSIZE != 64]: Likewise.
15454
ebfd1bbd
JM
154552012-10-23 Joseph Myers <joseph@codesourcery.com>
15456
03ac099f
JM
15457 * Makeconfig (run-built-tests): New variable.
15458 * Rules [$(cross-compiling) = yes]: Change condition to
15459 [$(run-built-tests) = no].
15460 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15461 to [$(run-built-tests) = yes].
15462 * elf/Makefile [$(cross-compiling) = no]: Likewise
15463 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15464 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15465 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15466 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15467 * io/Makefile [$(cross-compiling) = no]: Likewise.
15468 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15469 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15470 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15471 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15472 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15473 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15474 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15475 * string/Makefile [$(cross-compiling) = no]: Likewise.
15476
ebfd1bbd
JM
15477 * posix/Makefile ($(objpfx)globtest.out): Pass
15478 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15479 $(rtld-installed-name).
15480 * posix/globtest.sh (elf_objpfx): Remove variable.
15481 (rtld_installed_name): Likewise.
15482 (library_path): Likewise.
15483 (run_program_prefix): New variable. Use for running globtest
15484 binary.
15485
166bca24
JB
154862012-10-23 Jim Blandy <jimb@codesourcery.com>
15487 Joseph Myers <joseph@codesourcery.com>
15488
15489 * Makeconfig (host-built-program-cmd): New variable.
15490 * elf/Makefile (tst-stackguard1-ARGS): Use
15491 $(host-built-program-cmd).
15492 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15493 (tst-spawn-ARGS): Likewise.
15494 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15495
88866099
JM
154962012-10-23 Joseph Myers <joseph@codesourcery.com>
15497 Jim Blandy <jimb@codesourcery.com>
15498
15499 * Makeconfig (run-via-rtld-prefix): New variable.
15500 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15501 (built-program-cmd): Likewise.
15502
b4b4c296
AJ
155032012-10-22 Andreas Jaeger <aj@suse.de>
15504
15505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15506 __O_RSYNC if it exists, otherwise to O_SYNC.
15507
6fb54a22
JB
155082012-10-22 Jim Blandy <jimb@codesourcery.com>
15509 Joseph Myers <joseph@codesourcery.com>
15510
15511 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15512 /dev/null.
15513 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15514 from /dev/null
15515 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15516 /dev/null.
15517
481b90b9
AJ
155182012-10-22 Andreas Jaeger <aj@suse.de>
15519
2a0e2669
AJ
15520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15521 Define always.
15522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15523
76e38f9a
AJ
15524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15525 bits/fcntl-linux.h.
15526
7cd37b43
AJ
15527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15528 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15529
481b90b9
AJ
15530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15531 to __O_LARGEFILE.
15532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15533 to __O_LARGEFILE.
15534
aba75984
JB
155352012-10-21 Jim Blandy <jimb@codesourcery.com>
15536 Joseph Myers <joseph@codesourcery.com>
15537
15538 * config.make.in (NM): New variable.
15539
88d4247f
AJ
155402012-10-21 Andreas Jaeger <aj@suse.de>
15541
15542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15543 definitions and declarations that are provided by
15544 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15545
f2eed205
L
155462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15547
15548 [BZ #14683]
15549 * elf/Makefile (tests-static): Add tst-leaks1-static.
15550 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15551 ($(objpfx)tst-leaks1-static): New rule.
15552 ($(objpfx)tst-leaks1-static-mem): Likewise.
15553 (tst-leaks1-static-ENV): New macro.
15554 * elf/dl-open.c (dl_open_worker): Check the main application
15555 only if SHARED is defined.
15556 * elf/tst-leaks1-static.c: New file.
15557
335e6931
AJ
155582012-10-20 Andreas Jaeger <aj@suse.de>
15559
15560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15561 generic values for Linux.
15562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15563 and declarations that are provided by <bits/fcntl-linux.h> and
15564 include <bits/fcntl-linux.h>.
15565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15567
ac5c94d3
RM
155682012-10-20 Roland McGrath <roland@hack.frob.com>
15569
15570 * io/fcntl.h: Move include of <bits/types.h> to the top and
15571 include it unconditionally.
15572
de54b33a
L
155732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15574
228cfb01
L
15575 * wcsmbs/Makefile (tests-ifunc): New variable.
15576 (tests): Add $(tests-ifunc).
15577 * wcsmbs/test-wcschr-ifunc.c: New file.
15578 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15579 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15580 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15581 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15582 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15583
69f07e5f
L
15584 * string/Makefile (tests-ifunc): New variable.
15585 (tests): Add $(tests-ifunc).
15586 * string/test-memccpy.c (TEST_NAME): New macro.
15587 * string/test-memchr.c (TEST_NAME): Likewise.
15588 * string/test-memcmp.c (TEST_NAME): Likewise.
15589 * string/test-memcpy.c (TEST_NAME): Likewise.
15590 * string/test-memmem.c (TEST_NAME): Likewise.
15591 * string/test-memmove.c (TEST_NAME): Likewise.
15592 * string/test-memset.c (TEST_NAME): Likewise.
15593 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15594 * string/test-stpcpy.c (TEST_NAME): Likewise.
15595 * string/test-stpncpy.c (TEST_NAME): Likewise.
15596 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15597 * string/test-strcasestr.c (TEST_NAME): Likewise.
15598 * string/test-strcat.c (TEST_NAME): Likewise.
15599 * string/test-strchr.c (TEST_NAME): Likewise.
15600 * string/test-strcmp.c(TEST_NAME): Likewise.
15601 * string/test-strcpy.c (TEST_NAME): Likewise.
15602 * string/test-strcspn.c (TEST_NAME): Likewise.
15603 * string/test-strlen.c (TEST_NAME): Likewise.
15604 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15605 * string/test-strncmp.c (TEST_NAME): Likewise.
15606 * string/test-strncpy.c (TEST_NAME): Likewise.
15607 * string/test-strnlen.c (TEST_NAME): Likewise.
15608 * string/test-strpbrk.c (TEST_NAME): Likewise.
15609 * string/test-strrchr.c (TEST_NAME): Likewise.
15610 * string/test-strspn.c (TEST_NAME): Likewise.
15611 * string/test-strstr.c (TEST_NAME): Likewise.
15612 * string/test-bcopy-ifunc.c: New file.
15613 * string/test-bzero-ifunc.c: Likewise.
15614 * string/test-memccpy-ifunc.c: Likewise.
15615 * string/test-memchr-ifunc.c: Likewise.
15616 * string/test-memcmp-ifunc.c: Likewise.
15617 * string/test-memcpy-ifunc.c: Likewise.
15618 * string/test-memmem-ifunc.c: Likewise.
15619 * string/test-memmove-ifunc.c: Likewise.
15620 * string/test-mempcpy-ifunc.c: Likewise.
15621 * string/test-memset-ifunc.c: Likewise.
15622 * string/test-rawmemchr-ifunc.c: Likewise.
15623 * string/test-stpcpy-ifunc.c: Likewise.
15624 * string/test-stpncpy-ifunc.c: Likewise.
15625 * string/test-strcasecmp-ifunc.c: Likewise.
15626 * string/test-strcasestr-ifunc.c: Likewise.
15627 * string/test-strcat-ifunc.c: Likewise.
15628 * string/test-strchr-ifunc.c: Likewise.
15629 * string/test-strchrnul-ifunc.c: Likewise.
15630 * string/test-strcmp-ifunc.c: Likewise.
15631 * string/test-strcpy-ifunc.c: Likewise.
15632 * string/test-strcspn-ifunc.c: Likewise.
15633 * string/test-strlen-ifunc.c: Likewise.
15634 * string/test-strncasecmp-ifunc.c: Likewise.
15635 * string/test-strncat-ifunc.c: Likewise.
15636 * string/test-strncmp-ifunc.c: Likewise.
15637 * string/test-strncpy-ifunc.c: Likewise.
15638 * string/test-strnlen-ifunc.c: Likewise.
15639 * string/test-strpbrk-ifunc.c: Likewise.
15640 * string/test-strrchr-ifunc.c: Likewise.
15641 * string/test-strspn-ifunc.c: Likewise.
15642 * string/test-strstr-ifunc.c: Likewise.
15643
de54b33a
L
15644 * debug/Makefile (tests-ifunc): New variable.
15645 (tests): Add $(tests-ifunc).
15646 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15647 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15648 * debug/test-stpcpy_chk-ifunc.c: New file.
15649 * debug/test-strcpy_chk-ifunc.c: Likewise.
15650
88481c16
SP
156512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15652
15653 [BZ #13601]
15654 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15655 header is not read in.
15656
135948bd
JM
156572012-10-19 Joseph Myers <joseph@codesourcery.com>
15658
89f1c388
JM
15659 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15660 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15661 directly. Pass built executable to script as
15662 $(built-program-cmd).
15663 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15664 $testprogram without using LD_LIBRARY_PATH and $ldso.
15665
e40a0d21
JM
15666 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15667 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15668 $(rtld-installed-name).
15669 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15670 (rtld_installed_name): Likewise.
15671 (library_path): Likewise.
15672 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15673 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15674 $(run-program-prefix) to tst-tables.sh.
15675 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15676 it to run tst-table-from and tst-table-to.
15677 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15678 Pass it to tst-table.sh.
15679 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15680 $(run-program-prefix) to tst-gettext.sh.
15681 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15682 tst-translit.sh.
15683 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15684 tst-gettext2.sh.
15685 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15686 to run tst-gettext.
15687 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15688 to run tst-gettext2.
15689 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15690 to run tst-translit.
15691 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15692 $(run-program-prefix) to tst-mtrace.sh.
15693 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15694 to run tst-mtrace.
15695 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15696 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15697 $(rtld-installed-name).
15698 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15699 (rtld_installed_name): Likewise.
15700 (run_program_prefix): New variable. Use it to run wordexp-test.
15701
728e272a
JM
15702 * Makeconfig (ARCH): Remove all definitions.
15703 (machine): Likewise.
15704 [ARCH]: Remove conditional code.
15705 [!objdir]: Give error.
15706 [!objdir] (objpfx): Remove.
15707 [!objdir] (common-objpfx): Likewise.
15708 [!objdir] (common-objdir): Likewise.
15709 * configure.in (config_makefile): Remove. Hardcode Makefile in
15710 AC_CONFIG_FILES call.
15711 * configure: Regenerated.
15712
d528cdcf
JM
15713 [BZ #13888]
15714 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15715 or TMPDIR.
15716 (testout): Likewise.
15717
135948bd
JM
15718 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15719 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15720 $(rtld-installed-name).
15721 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15722 (rtld_installed_name): Likwise.
15723 (runit): Remove function.
15724 (run_getconf): New variable, Use it for running getconf binary.
15725
38c78296
L
157262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15727
15728 [BZ #14716]
15729 * string/test-memmem.c (check_result): New function.
15730 (do_one_test): Use it.
15731 (check1): New function.
15732 (test_main): Use it.
15733
d077f65f
MT
157342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15735
15736 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15737
ced52c71
JM
157382012-10-18 Joseph Myers <joseph@codesourcery.com>
15739
15740 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15741 (_G_LSEEK64): Likewise.
15742 (_G_MMAP64): Likewise.
15743 (_G_FSTAT64): Likewise.
15744 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15745 (_G_LSEEK64): Likewise.
15746 (_G_MMAP64): Likewise.
15747 (_G_FSTAT64): Likewise.
15748 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15749 unconditional. Call __mmap64 directly.
15750 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15751 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15752 __lseek64 directly.
15753 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15754 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15755 __mmap64 directly.
15756 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15757 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15758 __lseek64 directly.
15759 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15760 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15761 __lseek64 directly.
15762 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15763 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15764 __lseek64 directly.
15765 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15766 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15767 __fxstat64 directly.
15768 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15769 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15770 unconditional.
15771 (freopen64) [!_G_OPEN64]: Remove conditional code.
15772 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15773 unconditional.
15774 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15775 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15776 unconditional.
15777 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15778 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15779 unconditional.
15780 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15781 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15782 unconditional.
15783 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15784 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15785 unconditional.
15786 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15787 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15788 unconditional.
15789 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15790 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15791 unconditional.
15792 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15793
b741de23
SP
157942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
15796 [BZ #12140]
15797 * manual/memory.texi (Malloc Tunable Parameters): Add note
15798 about free list pointers overwriting some perturb bytes.
15799 Wording suggested by Roland McGrath.
15800
f9b9d9c9
JM
158012012-10-17 Joseph Myers <joseph@codesourcery.com>
15802
15803 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15804 (lgamma_test): Likewise.
15805 (tgamma_test): Likewise.
15806
172a631a
FW
158072012-10-16 Florian Weimer <fweimer@redhat.com>
15808
15809 [BZ #14700]
15810 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15811 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15812
e9f37252
MK
158132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15814
15815 * NEWS: Mention BZ #14716.
15816 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15817 when removing AVAILABLE1_USES_J macro.
15818
d394eb74
L
158192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15822 (__bswap_64): __uint64_t for unsigned 64-bit int.
15823
ca38dc17
AS
158242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15825
15826 * include/string.h (memmem): Declare libc hidden alias.
15827 * string/memmem.c (memmem): Define libc hidden alias.
15828 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15829 __read, __close instead of open, read, close.
15830
9a387d1f
L
158312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15832
ac49ecaf
L
15833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15834 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15835 global and hidden.
15836 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15837 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15838 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15839 Likewise.
15840 (__rawmemchr_sse2): Likewise.
15841 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15842 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15843 (__strchr_sse2): Likewise.
15844 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15845 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15846 (__strcasecmp_sse2): Likewise.
15847 (__strncasecmp_sse2): Likewise.
15848 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15849 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15850 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15851 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15852 (__strrchr_sse2): Likewise.
15853 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15854 ifunc-impl-list.c.
15855 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15856 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15857 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15858 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15859 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15860 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15861 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15862 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15863 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15864 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15865 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15866 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15867 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15868 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15869 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15870 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15871 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15872 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15873 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15874 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15875 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15876 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15877 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15878 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15879 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15880 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15881 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15882 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15883 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15884 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15885
b090e8ea
L
15886 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15887 global and hidden.
15888 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15889 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15890 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15891 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15892 Likewise.
15893 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15894 Likewise.
15895 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15896 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15897 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15898 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15899 ifunc-impl-list.c.
15900 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15901 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15902 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15903 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15904 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15905 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15906 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15907 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15908 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15909 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15910 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15911 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15912 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15913 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15914 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15915 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15916 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15917 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15919 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15920 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15921 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15922 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15923 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15925 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15926 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15927 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15928 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15929 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15930 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15931 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15932 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15933 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15934 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15935 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15936 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15937 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15938 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15939 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15940 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15941
11dd4af6
L
15942 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15943 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15944 * include/ifunc-impl-list.h: New file.
15945 * misc/ifunc-impl-list.c: Likewise.
15946 * misc/Makefile (routines): Add ifunc-impl-list.
15947 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15948 * string/test-string.h: Include <ifunc-impl-list.h>.
15949 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15950 impl_array): New variables.
15951 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15952 are defined.
15953 (test_init): Call __libc_ifunc_impl_list to initialize
15954 func_list if TEST_IFUNC and TEST_NAME are defined.
15955
9a387d1f
L
15956 * string/Makefile (strop-tests): Add bcopy and bzero.
15957 * string/test-bcopy.c: New file.
15958 * string/test-bzero.c: Likewise.
15959 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15960 defined.
15961 * string/test-memset.c: Support bzero test if TEST_BZERO is
15962 defined.
15963 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15964 __libc_memmove.
15965 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15966 __libc_memset.
15967 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15968 of memset.
15969
472371b9
JM
159702012-10-10 Joseph Myers <joseph@codesourcery.com>
15971
1e4a9536
JM
15972 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15973 * configure: Regenerated.
15974
d173d12e
JM
15975 * Makeconfig (+link-static-before-libc): Don't include
15976 $(link-static-libc).
15977
472371b9
JM
15978 * libio/libio.h (_IO_pos_t): Remove.
15979
89a3ad0b
AO
159802012-10-10 Alexandre Oliva <aoliva@redhat.com>
15981
15982 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15983 McGrath.
15984
e7451425
AO
159852012-10-10 Alexandre Oliva <aoliva@redhat.com>
15986
15987 * crypt/crypt-entry.c: Include fips-private.h.
15988 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15989 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15990 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15991 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15992
4ba74a35
AO
159932012-10-10 Alexandre Oliva <aoliva@redhat.com>
15994
15995 * crypt/crypt-private.h: Include stdbool.h.
15996 (_ufc_setup_salt_r): Return bool.
15997 * crypt/crypt-entry.c: Include errno.h.
15998 (__crypt_r): Return NULL with EINVAL for bad salt.
15999 * crypt/crypt_util.c (bad_for_salt): New.
16000 (_ufc_setup_salt_r): Check that salt is long enough and within
16001 the specified alphabet.
16002 * crypt/badsalttest.c: New file.
16003 * crypt/Makefile (tests): Add it.
16004 ($(objpfx)badsalttest): New.
16005
f96f1242
MK
160062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16007
16008 * NEWS: Add entry for BZ #14602.
16009
0e8e0c1c
JM
160102012-10-09 Joseph Myers <joseph@codesourcery.com>
16011
16012 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16013 type-generic.
16014 * math/libm-test.inc: Update comment listing what functions and
16015 macros are tested.
16016 (isgreater_test): New function.
16017 (isgreaterequal_test): Likewise.
16018 (isless_test): Likewise.
16019 (islessequal_test): Likewise.
16020 (islessgreater_test): Likewise.
16021 (isunordered_test): Likewise.
16022 (main): Call the new functions.
16023
273edc5e
RM
160242012-10-09 Roland McGrath <roland@hack.frob.com>
16025
b8493de0
RM
16026 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16027 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16028 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16029 * sysdeps/i386/configure: Regenerated.
16030 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16031 * sysdeps/mach/configure: Regenerated.
16032 * sysdeps/mach/hurd/configure: Regenerated.
16033 * sysdeps/powerpc/configure: Regenerated.
16034 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16035 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16036 * sysdeps/s390/s390-32/configure: Regenerated.
16037 * sysdeps/s390/s390-64/configure: Regenerated.
16038 * sysdeps/sh/configure: Regenerated.
16039 * sysdeps/sparc/configure: Regenerated.
16040 * sysdeps/unix/sysv/linux/configure: Regenerated.
16041 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16042 * sysdeps/x86_64/configure: Regenerated.
16043
273edc5e
RM
16044 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16045 defined. Don't check if MAP is NULL.
16046
c8450f70
JM
160472012-10-09 Joseph Myers <joseph@codesourcery.com>
16048
16049 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16050 (_G_stat64): Likewise.
16051 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16052 (_G_stat64): Likewise.
16053 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16054 instead of struct _G_stat64.
16055 * libio/fileops.c (mmap_remap_check): Likewise.
16056 (decide_maybe_mmap): Likewise.
16057 (_IO_new_file_seekoff): Likewise.
16058 (_IO_file_stat): Likewise.
16059 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16060 _G_off64_t.
16061 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16062 instead of struct _G_stat64.
16063 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16064
57e605ba
MK
160652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16066
16067 [BZ #14602]
16068 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16069 Replace with ...
16070 (CHECK_EOL): New macro.
16071 (two_way_short_needle): Check beginning of haystack for EOL. Use
16072 CHECK_EOL.
16073 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16074 Replace with CHECK_EOL.
16075 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16076 Replace with CHECK_EOL.
16077
ef1bb361
JM
160782012-10-08 Joseph Myers <joseph@codesourcery.com>
16079
16080 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16081 type-generic.
16082 * math/libm-test.inc: Update comment listing what functions and
16083 macros are tested.
16084 (finite_test): New function.
16085 (isinf_test): Likewise.
16086 (isnan_test): Likewise.
16087 (fpclassify_test): Test subnormal input.
16088 (isfinite_test): Likewise.
16089 (isnormal_test): Likewise.
16090 (main): Call the new functions.
16091
55f11534
JN
160922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16093
16094 [BZ #14660]
16095 * Makerules (%.dynsym): Force C locale when running
16096 $(OBJDUMP) --dynamic-syms.
16097
1ab29350
AS
160982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16099
16100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16101 <stdint.h>.
16102
f1ecb7ef
DM
161032012-10-06 David S. Miller <davem@davemloft.net>
16104
16105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16106 upper 32-bits of the length value in %o2 since we use branch-on-register
16107 tests which consider the entire 64-bit register.
16108
5d41d91a
L
161092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * string/test-strstr.c (check2): Add a test for page boundary.
16112
3baddb72
DM
161132012-10-05 David S. Miller <davem@davemloft.net>
16114
16115 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16117 file.
16118 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16119 sysdep_routines.
16120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16121 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16122 and bzero when HWCAP_SPARC_CRYPTO is present.
16123
9cee5585
L
161242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16125
d7e0dab9
L
16126 [BZ #14602]
16127 * string/test-strstr.c (check2): New function.
16128 (test_main): Call check2.
16129
03759f47
L
16130 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16131 and bug-strchr1.
16132 * string/bug-strcasestr1.c (do_test): Moved to ...
16133 * string/test-strcasestr.c (check1): Here. New function.
16134 (do_one_test): Break out result checking code into ...
16135 (check_result): This. New function.
16136 (do_one_test): Call check_result.
16137 (test_main): Call check1.
16138 * string/bug-strchr1.c (do_test): Moved to ...
16139 * string/test-strchr.c (check1): Here. New function.
16140 (do_one_test): Break out result checking code into ...
16141 (check_result): This. New function.
16142 (do_one_test): Call check_result.
16143 (test_main): Call check1.
16144 * string/bug-strstr1.c (main): Moved to ...
046f153e 16145 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16146 (do_one_test): Break out result checking code into ...
16147 (check_result): This. New function.
16148 (do_one_test): Call check_result.
16149 (test_main): Call check1.
16150 * string/bug-strcasestr1.c: Removed.
16151 * string/bug-strchr1.c: Likewise.
16152 * string/bug-strstr1.c: Likewise.
16153
53cea63e
L
16154 * elf/Makefile (dl-routines): Add hwcaps.
16155 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16156 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16157 (_dl_important_hwcaps): Moved to ...
16158 * elf/dl-hwcaps.c: Here. New file.
16159 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16160
9cee5585 16161 [BZ #14557]
bb859b06
L
16162 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16163 if IS_IN_rtld isn't defined.
16164
9cee5585
L
16165 * elf/dl-support.c (_dl_sysinfo_map): New.
16166 Include "get-dynamic-info.h" and "setup-vdso.h".
16167 (_dl_non_dynamic_init): Call setup_vdso.
16168 * elf/dynamic-link.h: Don't include <assert.h>.
16169 (elf_get_dynamic_info): Moved to ...
16170 * elf/get-dynamic-info.h: Here. New file.
16171 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16172 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16173 * elf/setup-vdso.h: Here. New file.
16174 * elf/rtld.c: Include "setup-vdso.h".
16175 (dl_main): Call setup_vdso.
16176
23c31b76
JM
161772012-10-05 Joseph Myers <joseph@codesourcery.com>
16178
28234b07
JM
16179 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16180 creal in comment listing functions tested. List finite, isinf,
16181 isnan, isless, islessequal, isgreater, isgreaterequal,
16182 islessgreater, isunordered, lgamma_r and pow10 as functions and
16183 macros not tested. Mention which functions not tested are aliases
16184 for other functions. Fix typo. Note that signs of NaNs are not
16185 tested.
16186
23c31b76
JM
16187 * scripts/config.guess: Update from config.git.
16188 * scripts/config.sub: Likewise.
16189
9043e228
RM
161902012-10-04 Roland McGrath <roland@hack.frob.com>
16191
16192 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16193 * misc/madvise.c (madvise): Renamed to __madvise.
16194 Make madvise a weak alias.
16195 * include/sys/mman.h: Declare __madvise.
16196 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16197 * sysdeps/unix/syscalls.list
16198 (madvise): Make __madvise the strong name, and madvise a weak alias.
16199 * sysdeps/unix/sysv/linux/syscalls.list
16200 (madvise, mmap): Remove redundant entries.
16201 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16202 * malloc/malloc.c (mtrim): Likewise.
16203 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16204
f57f8055
RM
162052012-10-03 Roland McGrath <roland@hack.frob.com>
16206
16207 * sysdeps/mach/hurd/dl-cache.c: File removed.
16208 * config.h.in (USE_LDCONFIG): New #undef.
16209 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16210 * configure: Regenerated.
16211 * elf/Makefile (dl-routines): Add dl-cache only under
16212 [$(use-ldconfig) = yes].
16213 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16214 cache on [USE_LDCONFIG].
16215 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16216 [USE_LDCONFIG].
16217 * elf/rtld.c (dl_main): Likewise.
16218
5bb0c10a
PT
162192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16220
16221 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16222 _SC_LEVEL4_CACHE_LINESIZE.
16223
010188c6
RM
162242012-10-03 Roland McGrath <roland@hack.frob.com>
16225
16226 * sysdeps/unix/bsd/confstr.h: File removed.
16227
b6c5ec07
AO
162282012-10-02 Alexandre Oliva <aoliva@redhat.com>
16229
16230 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16231 sys/sdt-config.h.
16232
408223d4
RM
162332012-10-02 Roland McGrath <roland@hack.frob.com>
16234
16235 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16236 Make 'mapoff' field ElfW(Off) rather than off_t.
16237
bb9510dc
DL
162382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16239
fc997c6e
DL
16240 * nscd/Makefile: Remove nscd-cflags and all its users.
16241 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16242 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16243
bb9510dc
DL
16244 [BZ #10631]
16245 * malloc.c (malloc_printerr): Clarify error message.
16246
05699367
L
162472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 [BZ #14648]
16250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16251 Set bit_FMA_Usable if FMA is supported.
16252 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16253 macro.
16254 (bit_FMA4_Usable): Updated.
16255 (index_FMA_Usable): New macro.
16256 (CPUID_FMA): Likewise
16257 (HAS_FMA): Defined with bit_FMA_Usable.
16258
51367701
RM
162592012-10-01 Roland McGrath <roland@hack.frob.com>
16260
16261 * bits/types.h (__swblk_t): Type removed.
16262 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16263 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16265 (__SWBLK_T_TYPE): Likewise.
16266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16267 (__SWBLK_T_TYPE): Likewise.
16268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16269 (__SWBLK_T_TYPE): Likewise.
16270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16271 (__SWBLK_T_TYPE): Likewise.
16272
4d57bf63 162732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16274 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16275
16276 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16277 (xdr_mapname): Use YPMAXMAP as maxsize.
16278 (xdr_peername): Use YPMAXPEER as maxsize.
16279 (xdr_keydat): Use YPAXRECORD as maxsize.
16280 (xdr_valdat): Use YPMAXRECORD as maxsize.
16281
93c65d43
RM
162822012-10-01 Roland McGrath <roland@hack.frob.com>
16283
497a03d6
RM
16284 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16285
93c65d43
RM
16286 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16287 * csu/init-first.c: ... here.
16288 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16289 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16290 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16292 * sysdeps/i386/init-first.c: File removed.
16293 * sysdeps/sh/init-first.c: File removed.
16294
bec749fd
JM
162952012-10-01 Joseph Myers <joseph@codesourcery.com>
16296
16297 [BZ #14645]
16298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16299 if x * y might underflow to zero and z is zero.
16300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16302 * math/libm-test.inc (min_subnorm_value): New variable.
16303 (fma_test): Add more tests.
16304 (fma_test_towardzero): Likewise.
16305 (fma_test_downward): Likewise
16306 (fma_test_upward): Likewise.
16307 (initialize): Set min_subnorm_value.
16308
8ec5b013
JM
163092012-09-29 Joseph Myers <joseph@codesourcery.com>
16310
16311 [BZ #14638]
16312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16313 0 + 0.
16314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16315 mode for addition resulting in exact zero.
16316 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16318 exact 0 + 0.
16319 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16321 * math/libm-test.inc (fma_test): Add more tests.
16322 (fma_test_towardzero): New function.
16323 (fma_test_downward): Likewise.
16324 (fma_test_upward): Likewise.
16325 (main): Call the new functions.
16326
b1fa802e
DM
163272012-09-28 David S. Miller <davem@davemloft.net>
16328
16329 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16330
d3b9fd9e
RM
163312012-09-28 Roland McGrath <roland@hack.frob.com>
16332
ea4d37b3
RM
16333 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16334 instead of SIGALRM.
16335
ac51c949
RM
16336 * sysdeps/gnu/_G_config.h: Moved to ...
16337 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16338 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16339 * sysdeps/generic/_G_config.h: ... here.
16340
28c195f7
RM
16341 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16342
848917f9
RM
16343 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16344
6bacf05b
RM
16345 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16346 Conditionalize target on [libnss_test1.so-version].
16347
91363dbb
RM
16348 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16349
cc87f7d8
RM
16350 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16351 (elfobjdir): Move out of conditionals.
16352
b1c608fe
RM
16353 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16354 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16355 (__nss_lookup_function): Conditionalize label remove_from_tree on
16356 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16357
1d9a6d96
DM
163582012-09-28 David S. Miller <davem@davemloft.net>
16359
16360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16361 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16362 file.
16363 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16364 sysdep_routines.
16365 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16367 when HWCAP_SPARC_CRYPTO is present.
16368
72581615
PT
163692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16370
16371 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16372
715a900c
JL
163732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16374
16375 [BZ #6530]
16376 * stdio-common/vfprintf.c (process_string_arg): Revert
16377 2000-07-22 change.
16378
163792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16380
16381 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16382 for testcase.
16383 * stdio-common/tst-sprintf.c: Include <locale.h>
16384 (main): Test sprintf's handling of incomplete multibyte
16385 characters.
16386
9bac1d86
L
163872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16388
16389 * elf/dl-runtime.c (VERSYMIDX): Removed.
16390 * elf/dl-version.c (VERSYMIDX): Likewise.
16391 * elf/do-rel.h (VERSYMIDX): Likewise.
16392 (VALIDX): Likewise.
16393 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16394 * elf/rtld.c (VALIDX): Likewise.
16395 (ADDRIDX): Likewise.
9bac1d86
L
16396 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16397 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16398 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16399 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16400 (VALIDX): Likewise.
16401 (ADDRIDX): Likewise.
9bac1d86 16402
b31606c0
PT
164032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16404
16405 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16406
11541177
JL
164072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16408
16409 [BZ #11438]
16410 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16411 to global scope.
16412 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16413 addresses are in the same scope as 192.0.2/24.
16414 * posix/gai.conf: Document new scope table defaults.
16415
adb26fae
SP
164162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16417
16418 [BZ #5298]
16419 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16420 for ftell. Compute offsets from write pointers instead.
16421 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16422
4573c6b0
SP
164232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16424
16425 [BZ #14543]
16426 * libio/Makefile (tests): New test case tst-fseek.
16427 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16428 combination works in wide mode.
16429 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16430 state when the external buffer state changes.
16431
aa9bbfe6
DM
164322012-09-27 David S. Miller <davem@davemloft.net>
16433
16434 [BZ #14376]
16435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16436 pass reloc->r_addend in as the 'high' argument to
16437 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16438
784421e7
DM
16439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16440
c39bc8b8
PT
164412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16442
16443 * rt/tst-aio2.c: Include <pthread.h>.
16444 * rt/tst-aio3.c: Likewise.
16445
1ccc2399
SE
164462012-09-27 Steve Ellcey <sellcey@mips.com>
16447
16448 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16449
31ed4153
L
164502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16451
25f5f885
L
16452 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16453 contents on [SHARED].
31ed4153 16454
b7bfe116
MP
164552012-09-26 Marek Polacek <polacek@redhat.com>
16456
16457 [BZ #14530]
16458 [BZ #13741]
16459 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16460 for C++ and GCC <4.3 as well as for non GCC compilers.
16461
43c4edba
MT
164622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16463
16464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16465
6a1bf82f
RM
164662012-09-25 Roland McGrath <roland@hack.frob.com>
16467
16468 * Makefile.in (all, install): Declare with .PHONY.
16469 Reported by Michael Hope <michael.hope@linaro.org>.
16470
8ad11b9a
TMQMF
164712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16472
16473 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16474 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16475 system header.
16476 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16477 Likewise.
16478 (sydep_routines): Add the new and the internal functions.
16479 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16480 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16482 (GLIBC_2.17): Add the new function.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16484 (GLIBC_2.17): Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16486 (GLIBC_2.17): Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16488 (GLIBC_2.17): Likewise.
16489 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16490
7e2fca8d
AM
164912012-09-25 Alan Modra <amodra@gmail.com>
16492
16493 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16494 Add release barrier before setting once_control to say
16495 initialisation is done. Add hints on lwarx. Use macro in
16496 place of isync.
16497 (clear_once_control): Add release barrier.
16498
b87c4b24
JM
164992012-09-25 Joseph Myers <joseph@codesourcery.com>
16500
d032e0d2
JM
16501 [BZ #13629]
16502 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16503 specially.
16504 * math/s_clog10.c (__clog10): Likewise.
16505 * math/s_clog10f.c (__clog10f): Likewise.
16506 * math/s_clog10l.c (__clog10l): Likewise.
16507 * math/s_clogf.c (__clogf): Likewise.
16508 * math/s_clogl.c (__clogl): Likewise.
16509 * math/Makefile (libm-calls): Add x2y2m1.
16510 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16511 (__x2y2m1): Likewise.
16512 (__x2y2m1l): Likewise.
16513 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16514 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16517 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16518 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16519 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16520 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16522
b87c4b24
JM
16523 [BZ #14621]
16524 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16525 int as type of variable DEPTH.
16526 (glob): Use size_t instead of int as type of variables NEWCOUNT
16527 and OLD_PATHC.
16528
6d3bf199
LD
165292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16530
22bf5c17
LD
16531 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16532 Add s_sincosf-sse2.
16533 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16534 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16535 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16536 macros for using routine as __sincosf_ia32.
16537 Use macro for function declaration and weak_alias.
16538 * sysdeps/i386/fpu/libm-test-ulps: Update.
16539
16540 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16542
16543 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16544 subnormal argument.
16545 * math/s_cexpf.c (__cexpf): Likewise.
16546 * math/s_csinf.c (__csinf): Likewise.
16547 * math/s_csinhf.c (__csinhf): Likewise.
16548 * math/s_ctanf.c (__ctanf): Likewise.
16549 * math/s_ctanhf.c (__ctanhf): Likewise.
16550 * math/s_ccosh.c (__ccoshf): Likewise.
16551 * math/s_cexp.c (__cexpl): Likewise.
16552 * math/s_csin.c (__csin): Likewise.
16553 * math/s_csinh.c (__csinh): Likewise.
16554 * math/s_ctan.c (__ctan): Likewise.
16555 * math/s_ctanh.c (ctanh): Likewise.
16556 * math/s_ccoshl.c (__ccoshl): Likewise.
16557 * math/s_cexpl.c (__cexpl): Likewise.
16558 * math/s_csinl.c (__csinl): Likewise.
16559 * math/s_csinhl.c (__csinhl): Likewise.
16560 * math/s_ctanl.c (__ctanl): Likewise.
16561 * math/s_ctanhl.c (__ctanhl): Likewise.
16562
203e5603
JM
165632012-09-25 Joseph Myers <joseph@codesourcery.com>
16564
16565 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16566 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16567 (_IO_off_t): Define to __off_t, not _G_off_t.
16568 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16569 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16570 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16571 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16572 type of __dummy and __dummy2 fields.
16573 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16574 (_G_ssize_t): Likewise.
16575 (_G_off_t): Likewise.
16576 (_G_pid_t): Likewise.
16577 (_G_uid_t): Likewise.
16578 (_G_wchar_t): Likewise.
16579 (_G_wint_t): Likewise.
16580 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16581 (_G_ssize_t): Likewise.
16582 (_G_off_t): Likewise.
16583 (_G_pid_t): Likewise.
16584 (_G_uid_t): Likewise.
16585 (_G_wchar_t): Likewise.
16586 (_G_wint_t): Likewise.
16587 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16588 (_G_ssize_t): Likewise.
16589 (_G_off_t): Likewise.
16590 (_G_pid_t): Likewise.
16591 (_G_uid_t): Likewise.
16592 (_G_wchar_t): Likewise.
16593 (_G_wint_t): Likewise.
16594
9fab36eb
SP
165952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16596
16597 * malloc/arena.c: Include malloc-sysdep.h.
16598 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16599 is sufficient to shrink the heap or an unmap is needed.
16600 * sysdeps/generic/malloc-sysdep.h: New file. Define
16601 new function check_may_shrink_heap.
16602 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16603 new function check_may_shrink_heap.
16604
2b4f00d1
SP
166052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16606
16607 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16608 comments.
16609
9a9028b1
DL
166102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16611
57c69bef
DL
16612 * catgets/test-gencat.sh: Add "set -e".
16613 * elf/tst-pathopt.sh: Likewise.
16614 * grp/tst_fgetgrent.sh: Likewise.
16615 * iconvdata/run-iconv-test.sh: Likewise.
16616 * intl/tst-gettext.sh: Likewise.
16617 * intl/tst-gettext2.sh: Likewise.
16618 * intl/tst-gettext4.sh: Likewise.
16619 * intl/tst-gettext6.sh: Likewise.
16620 * intl/tst-translit.sh: Likewise.
16621 * io/ftwtest-sh: Likewise.
16622 * libio/test-freopen.sh: Likewise.
16623 * malloc/tst-mtrace.sh: Likewise.
16624 * posix/globtest.sh: Likewise.
16625 * posix/tst-getconf.sh: Likewise.
16626 * posix/wordexp-tst.sh: Likewise.
16627 * stdio-common/tst-printf.sh: Likewise.
16628 * stdio-common/tst-unbputc.sh: Likewise.
16629 * stdlib/tst-fmtmsg.sh: Likewise.
16630 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16631 * catgets/Makefile: Do not specify -e option when running
16632 testsuite shell scripts.
16633 * elf/Makefile: Likewise.
16634 * grp/Makefile: Likewise.
16635 * iconvdata/Makefile: Likewise.
16636 * intl/Makefile: Likewise.
16637 * io/Makefile: Likewise.
16638 * libio/Makefile: Likewise.
16639 * malloc/Makefile: Likewise.
16640 * posix/Makefile: Likewise.
16641 * stdio-common/Makefile: Likewise.
16642 * stdlib/Makefile: Likewise.
16643 * sysdeps/x86_64/Makefile: Likewise.
16644
9a9028b1
DL
16645 * io/ftwtest-sh: Add copyright header.
16646 * posix/globtest.sh: Likewise.
16647 * posix/tst-getconf.sh: Likewise.
16648 * posix/wordexp-tst.sh: Likewise.
16649 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16650
ced6f16e
L
166512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16652
94b32c39
L
16653 [BZ #13679]
16654 * Makeconfig (+link): Defined as $(+link-static) if
16655 $(build-shared) isn't yes.
16656 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16657 isn't yes.
16658 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16659
189e935b
L
16660 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16661
ced6f16e
L
16662 [BZ #14562]
16663 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16664 new chunk size with MALLOC_ALIGN_MASK.
16665
a9f8e53a
JM
166662012-09-24 Joseph Myers <joseph@codesourcery.com>
16667
16668 [BZ #5044]
16669 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16670 <rounding-mode.h>.
16671 (__printf_fphex): Determine rounding using get_rounding_mode and
16672 round_away.
16673 * stdio-common/tst-printf-round.c (struct hex_test): New
16674 structure.
16675 (hex_tests): New variable.
16676 (test_hex_in_one_mode): New function.
16677 (do_test): Also run tests for hex float output.
16678
43153109
JM
166792012-09-21 Joseph Myers <joseph@codesourcery.com>
16680
16681 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16682 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16683 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16684 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16685 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16686 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16687 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16688 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16689
8a26625d
JM
166902012-09-20 Joseph Myers <joseph@codesourcery.com>
16691
16692 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16693 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16694 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16695 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16696
f3fd569c
DL
166972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16698
16699 [BZ #14579]
16700 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16701 mode only.
16702 * elf/tst-rtld-load-self.sh: New test.
16703 * elf/Makefile: Run it.
16704
63bbedd4
JM
167052012-09-18 Joseph Myers <joseph@codesourcery.com>
16706
16707 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16708 (tst-writev-ENV): Remove.
16709 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16710
626f8b6a
CM
167112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16712
16713 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16714
b7aaa4d6
JM
167152012-09-17 Joseph Myers <joseph@codesourcery.com>
16716
16717 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16718 unconditional.
16719 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16720 Likewise.
16721 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16722 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16723 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16724 Likewise.
16725
65513990
L
167262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 [BZ #14587]
16729 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16730 * config.make.in (have-cpp-asm-debuginfo): Removed.
16731 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16732 * configure: Regenerated.
16733
784761be
JM
167342012-09-14 Joseph Myers <joseph@codesourcery.com>
16735
16736 [BZ #5044]
16737 * stdio-common/printf_fp.c: Include <stdbool.h> and
16738 <rounding-mode.h>.
16739 (___printf_fp): Determine rounding using get_rounding_mode and
16740 round_away.
16741 * stdio-common/tst-printf-round.c: New file.
16742 * stdio-common/Makefile (tests): Add tst-printf-round.
16743 (link-libm): New variable.
16744 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16745
9503345f
L
167462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 [BZ #14576]
16749 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16750 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16751 Likewise.
16752 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16753 Likewise.
16754
ad35fc00
JM
167552012-09-13 Joseph Myers <joseph@codesourcery.com>
16756
16757 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16758 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16759 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16760 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16761
6c9b0f68
JM
167622012-09-12 Joseph Myers <joseph@codesourcery.com>
16763
16764 [BZ #14518]
16765 * include/rounding-mode.h: New file.
16766 * sysdeps/generic/get-rounding-mode.h: Likewise.
16767 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16768 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16769 (MAX_VALUE): New macro.
16770 (MIN_VALUE): Likewise.
16771 (overflow_value): New function.
16772 (underflow_value): Likewise.
16773 (round_and_return): Use overflow_value and underflow_value to
16774 determine return values in overflow and underflow cases. Use
16775 round_away to determine rounding depending on rounding mode.
16776 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16777 determine return values in overflow and underflow cases.
16778 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16779 (struct test_results): New structure.
16780 (struct test): Use struct test_results to store expected results
16781 for all rounding modes.
16782 (TEST): Include expected results for all rounding modes.
16783 (test_in_one_mode): New function.
16784 (do_test): Use test_in_one_mode to compute and check results.
16785 Check results for all rounding modes.
16786 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16787 $(link-libm).
16788
19fcedd5
AM
167892012-12-09 Allan McRae <allan@archlinux.org>
16790
1e9d84cd 16791 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16792
8bbfd2f1
JM
167932012-09-11 Joseph Myers <joseph@codesourcery.com>
16794
16795 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16796 (_G_int32_t): Likewise.
16797 (_G_uint16_t): Likewise.
16798 (_G_uint32_t): Likewise.
16799 (_G_HAVE_BOOL): Likewise.
16800 (_G_HAVE_ATEXIT): Likewise.
16801 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16802 (_G_HAVE_IO_FILE_OPEN): Likewise.
16803 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16804 (_G_int32_t): Likewise.
16805 (_G_uint16_t): Likewise.
16806 (_G_uint32_t): Likewise.
16807 (_G_HAVE_BOOL): Likewise.
16808 (_G_HAVE_ATEXIT): Likewise.
16809 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16810 (_G_HAVE_IO_FILE_OPEN): Likewise.
16811 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16812 (_G_int32_t): Likewise.
16813 (_G_uint16_t): Likewise.
16814 (_G_uint32_t): Likewise.
16815 (_G_HAVE_BOOL): Likewise.
16816 (_G_HAVE_ATEXIT): Likewise.
16817 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16818 (_G_HAVE_IO_FILE_OPEN): Likewise.
16819
b1dc5912
L
168202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16821
16822 * csu/libc-tls.c: Update copyright years.
16823
0e886ef9
JM
168242012-09-10 Joseph Myers <joseph@codesourcery.com>
16825
28361c5e
JM
16826 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16827 [!_G_USING_THUNKS]: Remove conditional code.
16828 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16829 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16830
0e886ef9
JM
16831 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16832 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16833 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16834 (_G_VTABLE_LABEL_PREFIX): Likewise.
16835 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16836 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16837 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16838 (_G_VTABLE_LABEL_PREFIX): Likewise.
16839 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16840 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16841 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16842 (_G_VTABLE_LABEL_PREFIX): Likewise.
16843 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16844
bcba7aa2
L
168452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 * libio/Makefile: Include ../Makeconfig before tests.
16848 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16849 only if $(build-shared) is yes.
16850
06585ee8
L
16851 * iconv/gconv_db.c: Update copyright years.
16852
80ccd52c
LD
168532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16854
16855 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16856 unwind info if defined PIC. Fix special cases description.
16857 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16858
16859 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16860 DP_HI_MASK entry.
16861 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16862
691bc9c1
L
168632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16864
3d9b46b3
L
16865 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16866
de2139a9
L
16867 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16868 is NULL.
16869
5ca78dd0
L
16870 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16871 (LDLIBS-tst-chk4): This.
16872 (LDFLAGS-tst-chk5): Renamed to ...
16873 (LDLIBS-tst-chk5): This.
16874 (LDFLAGS-tst-chk6): Renamed to ...
16875 (LDLIBS-tst-chk6): This.
16876 (LDFLAGS-tst-lfschk4): Renamed to ...
16877 (LDLIBS-tst-lfschk4): This.
16878 (LDFLAGS-tst-lfschk5): Renamed to ...
16879 (LDLIBS-tst-lfschk5): This.
16880 (LDFLAGS-tst-lfschk6): Renamed to ...
16881 (LDLIBS-tst-lfschk6): This.
16882
691bc9c1
L
16883 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16884 on $(common-objpfx)soversions.mk.
16885
65cafb1c
JM
168862012-09-07 Joseph Myers <joseph@codesourcery.com>
16887
16888 [BZ #10014]
16889 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16890 example host name.
16891
c78ab094
SP
168922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
16894 * malloc/arena.c (arena_get_retry): New function that gets
16895 another arena for the caller to try its request on.
16896 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16897 current arena cannot fulfill the request.
16898 (__libc_memalign): Likewise.
16899 (__libc_memalign): Likewise.
16900 (__libc_pvalloc): Likewise.
16901 (__libc_calloc): Likewise.
16902
01f49f59
JT
169032012-09-05 John Tobey <john.tobey@gmail.com>
16904
16905 [BZ #13542]
16906 * manual/arith.texi (Operations on Complex): Fix description
16907 of carg branch cut.
16908
4c23fed5
JM
169092012-09-06 Joseph Myers <joseph@codesourcery.com>
16910
1d3c8572
JM
16911 [BZ #10014]
16912 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16913 host name.
16914
4c23fed5
JM
16915 [BZ #10038]
16916 * manual/memory.texi (Memory): Make order of menu items match
16917 order of sections.
16918
04570aaa
L
169192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16920
16921 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16922 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16923 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16924
b80af2f4
L
169252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16926
16927 * csu/libc-tls.c (static_dtv): Renamed to ...
16928 (_dl_static_dtv): This. Make it global.
16929 (_dl_initial_dtv): Removed.
16930 (__libc_setup_tls): Updated.
16931 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16932 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16933 DL_INITIAL_DTV.
16934
2abe9f15
PM
169352012-09-06 Petr Machata <pmachata@redhat.com>
16936
16937 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16938 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16939 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16940 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16941
0948c3af
L
169422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 [BZ #14545]
16945 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16946 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16947 freeing dtv[-1].
16948
a5055ad1
L
169492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16950
16951 [BZ #14544]
16952 * Makeconfig (link-static-before-libc): Replace $(+prector)
16953 with $(+prectorT).
16954 (link-static-after-libc): Replace $(+postctor) with
16955 $(+postctorT).
16956 (link-bounded): Replace $(+prector)/$(+postctor) with
16957 $(+prectorT)/$(+postctorT).
16958 (+prectorT): New macro.
16959 (+postctorT): Likewise.
16960
ed8c2ecd
JM
169612012-09-06 Joseph Myers <joseph@codesourcery.com>
16962
16963 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16964 (round_str): Handle values above the maximum for IBM long double
16965 as inexact.
16966 * stdlib/tst-strtod-round.c (tests): Regenerated.
16967
14c996c8
AK
169682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16969
16970 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16971 assembler flag.
16972 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16973 zarch_nohighgprs around the zarch optimized routines.
16974 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16975 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16977 for zarch.
16978
430d6ce6
DM
169792012-09-05 David S. Miller <davem@davemloft.net>
16980
16981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16982
ff04dda4
DM
16983 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16984 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16985 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16986 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16987 entries.
16988
24d4e01b
AO
169892012-09-05 Alexandre Oliva <aoliva@redhat.com>
16990
16991 * malloc/arena.c: Fold copyright years.
16992 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16993
61d58174
AO
169942012-09-05 Alexandre Oliva <aoliva@redhat.com>
16995
16996 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16997
20196a5e
AO
169982012-09-05 Alexandre Oliva <aoliva@redhat.com>
16999
17000 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17001
5c447383
AO
170022012-09-05 Alexandre Oliva <aoliva@redhat.com>
17003
17004 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17005 change internal state upon failure.
17006
fad64255
AO
170072012-09-05 Alexandre Oliva <aoliva@redhat.com>
17008
17009 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17010 * malloc/memusage.c (mmap): Likewise.
17011 (mmap64, mremap): Likewise. Adjust name in comment.
17012
1ffb8c90
SP
170132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17014
17015 * libio/fileops.c: Fix typos in comments.
17016 * libio/oldfileops.c: Likewise.
17017 * libio/wfileops.c: Likewise.
17018
6ef9cc37
SP
170192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 [BZ #1349]
17022 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17023 (tst-malloc-usable-ENV): Set environment for test case.
17024 * malloc/hooks.c (malloc_check_get_size): New function to get
17025 requested size.
17026 * malloc/malloc.c (musable): Use malloc_check_get_size.
17027 * malloc/tst-malloc-usable.c: New test case.
17028
4d038ae3
AS
170292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17030
17031 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17032
c4e85184
AM
170332012-09-05 Allan McRae <allan@archlinux.org>
17034
b9dafc56 17035 [BZ #13966]
c4e85184
AM
17036 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17037 determine header location.
17038 * configure: Regenerated.
17039
e1343020
AS
170402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17041
17042 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17043 float format.
17044 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17045 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17046 format.
e1343020
AS
17047 (test): Regenerate.
17048
0a9f1987
DM
170492012-09-04 David S. Miller <davem@davemloft.net>
17050
17051 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17052 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17053 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17054
29237804
FW
170552012-09-04 Florian Weimer <fweimer@redhat.com>
17056
17057 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17058 failures.
17059
edb3cb88
FW
17060 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17061
60160d83
JM
170622012-09-04 Joseph Myers <joseph@codesourcery.com>
17063
17064 [BZ #9914]
17065 * libio/iogetdelim.c: Include <limits.h>.
17066 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17067 + len + 1 would overflow.
17068
bcd6c8dc
AJ
170692012-09-03 Andreas Jaeger <aj@suse.de>
17070
17071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17072 * sysdeps/i386/fpu/libm-test-ulps: Update.
17073
4ffffbd2
LD
170742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17075
17076 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17077 Add s_sinf-sse2, s_conf-sse2.
17078
17079 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17080 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17081 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17082 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17083
17084 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17085 for using routine as __sinf_ia32.
17086 Use macro for function declaration and weak_alias.
17087 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17088 for using routine as __cosf_ia32.
17089 Use macro for function declaration and weak_alias.
17090
17091 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17092 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17093
17094 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17095 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17097
17098 * math/libm-test.inc (cos_test): Add more test cases.
17099 (sin_test): Likewise.
17100 (sincos_test): Likewise.
17101
511fa286
AK
171022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17103
17104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17105 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17106 hidden.
17107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17108
5f30cfec
L
171092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 [BZ #14538]
17112 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17113 first element of the GOT.
17114 (elf_machine_load_address): Return the difference between
17115 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17116
0786794f
AM
171172012-09-01 Allan McRae <allan@archlinux.org>
17118
5f30cfec
L
17119 [BZ #13412]
17120 * configure.in (AWK): Require gawk version 3.0 or later.
17121 * configure: Regenerated.
0786794f 17122
26889eac
JM
171232012-09-01 Joseph Myers <joseph@codesourcery.com>
17124
17125 * sysdeps/unix/sysv/linux/kernel-features.h
17126 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17128 [__NR_clock_getres]: Make code unconditional.
17129 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17130 (clock_getcpuclockid): Remove code left unreachable by removal of
17131 conditionals.
17132 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17133 code unconditional.
17134 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17135 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17136 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17137 Make code unconditional.
17138 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17139 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17140 * sysdeps/unix/sysv/linux/clock_settime.c
17141 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17142 conditional code.
17143 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17145
d22e28b0
L
171462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17147
17148 [BZ #14476]
17149 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17150 scripts/test-installation.pl.
17151
17152 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17153 and $ld_so_version if it is set.
17154
050af9c4
SP
171552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17156
17157 [BZ #14516]
17158 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17159 failure if reading from procfs failed.
17160 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17161
ad845c0b
JM
171622012-08-27 Joseph Myers <joseph@codesourcery.com>
17163
17164 * sysdeps/unix/sysv/linux/kernel-features.h
17165 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17166 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17167 Remove conditional code.
17168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17169 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17170 Remove conditional code.
17171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17172 * sysdeps/unix/sysv/linux/i386/fxstat.c
17173 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17175 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17176 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17178 * sysdeps/unix/sysv/linux/i386/lxstat.c
17179 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17181 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17182 Remove conditional code.
17183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17184 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17185 Remove conditional code.
17186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17187 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17188 <kernel-features.h>.
17189 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17190 Remove.
17191 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17192 Remove conditional code.
17193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17194 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17195 Remove conditional.
17196
5dbf56af
MF
171972012-08-27 Mike Frysinger <vapier@gentoo.org>
17198
17199 [BZ #5400]
17200 * NEWS: Add fixed bug number.
17201
d6e70f43
JM
172022012-08-27 Joseph Myers <joseph@codesourcery.com>
17203
7efb4737
JM
17204 [BZ #14519]
17205 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17206 underflowing exponent in case of negative sign.
17207 * stdlib/tst-strtod-round-data: Add more tests.
17208 * stdlib/tst-strtod-round.c (tests): Regenerated.
17209
af92131a
JM
17210 [BZ #3479]
17211 * stdlib/strtod_l.c (NDIG): Remove.
17212 (HEXNDIG): Likewise.
17213 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17214 smallest representable value.
17215 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17216 lie within an exact representation of 1/2 ulp of the result.
17217 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17218 unconditionally.
17219 (TENS_P9_IDX): Define unconditionally.
17220 (TENS_P9_SIZE): Likewise.
17221 (TENS_P10_IDX): Likewise.
17222 (TENS_P10_SIZE): Likewise.
17223 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17224 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17225 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17226 entries for 10^2^13 and 10^2^14.
17227 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17228 (TENS_P13_IDX): Define.
17229 (TENS_P13_SIZE): Likewise.
17230 (TENS_P14_IDX): Likewise.
17231 (TENS_P14_SIZE): Likewise.
17232 (_fpioconst_pow10): Change array size to
17233 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17234 unconditional.
17235 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17236 1024]: Add entries for 10^2^13 and 10^2^14.
17237 [LAST_POW10 > _LAST_POW10]: Remove #error.
17238 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17239 (_fpioconst_pow10): Change array size to
17240 FPIOCONST_POW10_ARRAY_SIZE.
17241 * stdlib/gen-fpioconst.c: New file.
17242 * stdlib/gen-tst-strtod-round.c: Likewise.
17243 * stdlib/tst-strtod-round-data: Likewise.
17244 * stdlib/tst-strtod-round.c: Likewise.
17245 * stdlib/Makefile (tests): Add tst-strtod-round.
17246
d6e70f43
JM
17247 [BZ #14459]
17248 * stdlib/strtod_l.c: Include <stdint.h>.
17249 (NDEBUG): Do not define.
17250 (round_and_return): Change EXPONENT parameter to type intmax_t.
17251 Rearrange calculations to avoid internal overflow possibilities.
17252 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17253 Rearrange calculations to avoid internal overflow possibilities.
17254 Assert that number fits inside MPNSIZE limbs.
17255 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17256 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17257 calculations and add assertions to avoid internal overflow
17258 possibilities. Add casts to avoid signed/unsigned operations.
17259 * stdlib/tst-strtod-overflow.c: New file.
17260 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17261
1f529f7d
MP
172622012-08-25 Marek Polacek <polacek@redhat.com>
17263
17264 * time/time.h: Fix some typos in comments.
17265
59a629f1
RM
172662012-08-23 Roland McGrath <roland@hack.frob.com>
17267
17268 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17269 * posix/tst-rfc3484-2.c: Likewise.
17270 * posix/tst-rfc3484-3.c: Likewise.
17271
d3bafbc9
SM
172722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17273
17274 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17275 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17276
4efcc022
JM
172772012-08-23 Joseph Myers <joseph@codesourcery.com>
17278
17279 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17280 #include of fxstatat64.c.
17281
3cc3ef96
RM
172822012-08-22 Roland McGrath <roland@hack.frob.com>
17283
f04e2132
RM
17284 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17285 * shadow/getspent_r.c: Likewise.
17286 * shadow/getspnam.c: Likewise.
17287 * shadow/getspnam_r.c: Likewise.
17288 * gshadow/getsgent.c: Likewise.
17289 * gshadow/getsgent_r.c: Likewise.
17290 * gshadow/getsgnam.c: Likewise.
17291 * gshadow/getsgnam_r.c: Likewise.
17292 * inet/getnetbyad.c: Likewise.
17293 * inet/getnetbyad_r.c: Likewise.
17294 * inet/getnetbynm.c: Likewise.
17295 * inet/getnetbynm_r.c: Likewise.
17296 * inet/getnetent.c: Likewise.
17297 * inet/getnetent_r.c: Likewise.
17298 * inet/getproto.c: Likewise.
17299 * inet/getproto_r.c: Likewise.
17300 * inet/getprtent.c: Likewise.
17301 * inet/getprtent_r.c: Likewise.
17302 * inet/getprtname.c: Likewise.
17303 * inet/getprtname_r.c: Likewise.
17304 * inet/getrpcbyname.c: Likewise.
17305 * inet/getrpcbyname_r.c: Likewise.
17306 * inet/getrpcbynumber.c: Likewise.
17307 * inet/getrpcbynumber_r.c: Likewise.
17308 * inet/getrpcent.c: Likewise.
17309 * inet/getrpcent_r.c: Likewise.
17310 * inet/getaliasent.c: Likewise.
17311 * inet/getaliasent_r.c: Likewise.
17312 * inet/getaliasname.c: Likewise.
17313 * inet/getaliasname_r.c: Likewise.
17314 * nscd/getgrgid_r.c: Likewise.
17315 * nscd/getgrnam_r.c: Likewise.
17316 * nscd/gethstbyad_r.c: Likewise.
17317 * nscd/gethstbynm3_r.c: Likewise.
17318 * nscd/getpwnam_r.c: Likewise.
17319 * nscd/getpwuid_r.c: Likewise.
17320 * nscd/getsrvbynm_r.c: Likewise.
17321 * nscd/getsrvbypt_r.c: Likewise.
17322 * nscd/gai.c: Likewise.
17323
c53d909c
RM
17324 * configure.in (build_nscd): New substituted variable, set
17325 by --disable-build-nscd and defaults to $use_nscd.
17326 * configure: Regenerated.
17327 * config.make.in (build-nscd): New substituted variable.
17328 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17329 Change conditional to require [$(build-nscd) = yes] as well.
17330 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17331
3cc3ef96
RM
17332 [BZ# 13696]
17333 * configure.in (use_nscd): New substituted variable, set by
17334 --disable-nscd. If enabled, define USE_NSCD.
17335 * configure: Regenerated.
17336 * config.h.in: Add USE_NSCD.
17337 * config.make.in (use-nscd): New substituted variable.
17338 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17339 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17340 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17341 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17342 (CFLAGS-getgrnam_r.c): Likewise.
17343 (CFLAGS-initgroups.c): Likewise.
17344 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17345 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17346 Variables removed.
17347 * inet/getnetgrent_r.c
17348 (nscd_setnetgrent): New function, broken out of ...
17349 (setnetgrent): ... here. Call it.
17350 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17351 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17352 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17353 * nscd/Makefile (routines, aux): Move definitions after include of
17354 Makeconfig. Conditionalize on [$(use-nscd) != no].
17355 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17356 Conditionalize on [USE_NSCD].
17357 (is_nscd, nscd_init_cb): Likewise.
17358 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17359 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17360 * nss/nss_db/db-init.c: Likewise.
17361 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17362 [USE_NSCD].
17363 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17364 (make_request): Use it.
17365 (cache_valid_p): New function.
17366 (__check_pf): Use it.
17367 * NEWS: Add item for --disable-nscd.
17368
07e51550
DL
173692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17370
17371 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17372 to support sed >= 4.2.1-20-ga9bf076.
17373 * configure: Regenerated.
17374
35a5b08b
RM
173752012-08-22 Roland McGrath <roland@hack.frob.com>
17376
17377 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17378 Conditionalize whole body on [IREL].
17379
8479f23a
JL
173802012-08-22 Jeff Law <law@redhat.com>
17381
17382 [BZ #14505]
17383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17384 if the family is PF_UNSPEC.
17385
48da0b21
MF
173862012-08-22 Mike Frysinger <vapier@gentoo.org>
17387
17388 * Makerules (lib-version): Rename from V.
17389 (install-lib-nosubdir): Change V to lib-version.
17390
15d0da8c
WS
173912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17392
17393 [BZ #14252]
17394 * powerpc32/power6/wcschr.c: New file.
17395 * powerpc32/power6/wcscpy.c: New file.
17396 * powerpc32/power6/wcsrchr.c: New file.
17397 * powerpc64/power6/wcschr.c: New file.
17398 * powerpc64/power6/wcscpy.c: New file.
17399 * powerpc64/power6/wcsrchr.c: New file.
17400
bcca0895
MK
174012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17402
17403 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17404 (two_way_short_needle): Use it.
5a4aaa33
RM
17405 * string/strstr.c (AVAILABLE1_USES_J): Define.
17406 * string/strcasestr.c: Likewise.
99677e57
MK
17407
17408 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17409 array references.
17410 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17411
400726de
MK
17412 [BZ #11607]
17413 * NEWS: Add an entry.
17414 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17415 define their defaults.
17416 (two_way_short_needle): Detect end-of-string on-the-fly.
17417 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17418 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17419 * string/bug-strcasestr1.c: New test.
17420 * string/Makefile: Run it.
17421
20a71f2c
MK
174222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17423
17424 [BZ #11607]
17425 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17426 the first character.
17427
21ad0558
RM
174282012-08-21 Roland McGrath <roland@hack.frob.com>
17429
17430 * csu/elf-init.c (__libc_csu_irel): Function removed.
17431 * csu/libc-start.c (apply_irel): New function.
17432 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17433
0e1d9911
JM
174342012-08-21 Joseph Myers <joseph@codesourcery.com>
17435
17436 * sysdeps/unix/sysv/linux/kernel-features.h
17437 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17438 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17439 <kernel-features.h>.
17440 [__NR_fadvise64_64]: Make code unconditional.
17441 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17442 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17443 !__NR_fadvise64_64)]: Likewise.
17444 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17445 !__NR_fadvise64_64))]: Likewise.
17446 [__NR_fadvise64]: Make code unconditional.
17447 [!__NR_fadvise64]: Remove conditional code.
17448 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17449 <kernel-features.h>.
17450 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17451 unconditional.
17452 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17453 conditional code.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17455 not include <kernel-features.h>.
17456 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17457 unconditional.
17458 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17459 conditional code.
17460 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17461 include <kernel-features.h>.
17462 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17463 unconditional.
17464 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17465 conditional code.
17466
14a50c9d
WS
174672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17468
17469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17470 slight instruction rearrangements per scrollpipe analysis.
17471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17472
c0f4faf0
RM
174732012-08-20 Roland McGrath <roland@hack.frob.com>
17474
696da859
RM
17475 * manual/syslog.texi (syslog; vsyslog, closelog):
17476 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17477 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17478
c0f4faf0
RM
17479 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17480 DSOCAPS to match condition on defining it.
17481
348363b2
JM
174822012-08-20 Joseph Myers <joseph@codesourcery.com>
17483
a35cbf28
JM
17484 * sysdeps/unix/sysv/linux/kernel-features.h
17485 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17487 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17488 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17490 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17491 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17493 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17494 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17495
445f7ecd
JM
17496 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17497 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17498
348363b2
JM
17499 * sysdeps/unix/sysv/linux/kernel-features.h
17500 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17501 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17502 unconditional.
17503 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17504 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17505 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17506 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17507 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17508 Make code unconditional.
17509 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17510 (__mmap64) [!__NR_mmap2]: Likewise.
17511 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17512 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17513 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17514 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17515 [__NR_mmap2]: Make code unconditional.
17516 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17517 (__mmap64) [!__NR_mmap2]: Likewise.
17518
bc5bc0e5
AK
175192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17520
17521 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17522
88d506de
AJ
175232012-08-18 Andreas Jaeger <aj@suse.de>
17524
17525 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17526
493387d2
MF
175272012-08-18 Mike Frysinger <vapier@gentoo.org>
17528
17529 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17530 * include/unistd.h (__have_sock_cloexec): Likewise.
17531 (__have_pipe2): Likewise.
17532 (__have_dup3): Likewise.
17533
a277af22
MF
175342012-08-18 Mike Frysinger <vapier@gentoo.org>
17535
17536 [BZ #9685]
17537 * include/unistd.h (__have_pipe2): Change define into an extern int.
17538 (__have_dup3): Likewise.
17539 * socket/have_sock_cloexec.c: Include fcntl.h.
17540 (__have_pipe2): New variable.
17541 (__have_dup3): Likewise.
17542
fdab8fd3
MF
175432012-08-17 Mike Frysinger <vapier@gentoo.org>
17544
17545 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17546
31035e80
MP
175472012-08-17 Marek Polacek <polacek@redhat.com>
17548
17549 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17550 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17551
3bd9e993
RM
175522012-08-17 Roland McGrath <roland@hack.frob.com>
17553
c91c505f
RM
17554 * configure.in: Add AC_SUBST for sysheaders.
17555 * configure: Regenerated.
17556 * config.make.in (sysheaders): New substituted variable.
17557
7c6f9d53
RM
17558 * sysdeps/unix/mkfifo.c: Moved ...
17559 * sysdeps/posix/mkfifo.c: ... here.
17560 * sysdeps/unix/mkfifoat.c: Moved ...
17561 * sysdeps/posix/mkfifoat.c: ... here.
17562
17563 * sysdeps/unix/utime.c: Moved ...
17564 * sysdeps/posix/utime.c: ... here.
17565
17566 * sysdeps/unix/time.c: Moved ...
17567 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17568 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17569 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17570
17571 * sysdeps/unix/nice.c: Moved ...
17572 * sysdeps/posix/nice.c: ... here.
17573
17574 * sysdeps/unix/alarm.c: Moved ...
17575 * sysdeps/posix/alarm.c: ... here.
17576
3bd9e993
RM
17577 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17578
d1f09384
JL
175792012-08-17 Jeff Law <law@redhat.com>
17580
17581 * intl/Makefile (codeset_mo): New variable.
17582 ($(codeset_mo)): New target.
17583 (tst-codeset.out): Depend on that. Remove explicit rule.
17584 (tst-gettext3.out, tst-gettext5.out): Likewise.
17585 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17586 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17587 * intl/tst-codeset.sh: Remove.
17588 * intl/tst-gettext3.sh: Likewise.
17589 * intl/tst-gettext5.sh: Likewise.
17590
2ae1ae5c
RM
175912012-08-17 Roland McGrath <roland@hack.frob.com>
17592
c31fdb83
RM
17593 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17594 * sysdeps/unix/syscalls.list: ... here.
17595
a0844057
RM
17596 * sysdeps/posix/getaddrinfo.c
17597 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17598 (gaiconf_init, gaiconf_reload): Use them.
17599 [!_STATBUF_ST_NSEC]
17600 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17601 Define using time_t rather than struct timespec.
17602
750c1f2a
RM
17603 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17604 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17605 Macros removed.
17606 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17607 [!NO_THREADS].
17608 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17609 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17610 Likewise.
17611
2ae1ae5c
RM
17612 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17613 __libc_cleanup_push argument.
17614
e66a42f5
RM
17615 * bits/param.h: New file.
17616 * misc/sys/param.h: New file.
17617 * include/sys/param.h: New file.
17618 * misc/Makefile (headers): Add bits/param.h.
17619 * sysdeps/generic/sys/param.h: File removed.
17620 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17621 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17622 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17623 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17624
b7c08a66
RM
17625 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17626 last change.
17627
b2e1c562
RM
17628 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17629 [_IO_MTSAFE_IO].
17630 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17631 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17632 New macros.
17633
c75ccd4c
RM
17634 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17635 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17636 rather than -D_IO_MTSAFE_IO conditionally.
17637 * stdio-common/Makefile (CPPFLAGS): Likewise.
17638 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17639 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17640 Use $(libio-mtsafe).
17641 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17642 of -D_IO_MTSAFE_IO.
17643 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17644 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17645 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17646 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17647 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17648 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17649 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17650 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17651 (CFLAGS-fread_u_chk.c): Likewise.
17652 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17653 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17654 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17655 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17656 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17657 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17658 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17659 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17660 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17661
17662 * libio/Makefile: Test [$(libc-reentrant) = yes]
17663 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17664
17665 * Makeconfig
17666 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17667 * sysdeps/pthread/configure: File removed.
17668 * sysdeps/pthread/Makeconfig: New file.
17669 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17670 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17671
d9195db8
GB
176722012-08-16 Gary Benson <gbenson@redhat.com>
17673
17674 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17675 unmapping the first object in a namespace.
17676
86466cd9
RM
176772012-08-16 Roland McGrath <roland@hack.frob.com>
17678
17679 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17680 (__internal_setnetgrent): ... this. Add internal_function to
17681 definition. Add libc_hidden_def.
17682 (setnetgrent): Update caller.
17683 (internal_endnetgrent): Renamed to ...
17684 (__internal_endnetgrent): ... this. Add internal_function to
17685 definition. Add libc_hidden_def.
17686 (endnetgrent): Update caller.
17687 (internal_getnetgrent_r): Renamed to ...
17688 (__internal_getnetgrent_r): ... this. Add internal_function to
17689 definition. Add libc_hidden_def.
17690 (__getnetgrent_r): Update caller.
17691 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17692
c3c8283c
JM
176932012-08-16 Joseph Myers <joseph@codesourcery.com>
17694
17695 * stdlib/longlong.h: Update from GCC.
17696
db1ee0a8
RM
176972012-08-16 Roland McGrath <roland@hack.frob.com>
17698
17699 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17700 on _QL, which is set by umul_ppmm but never used.
17701 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17702 variables, which are set by GMP macros but never used.
17703 * stdio-common/_itowa.c (_itowa): Likewise.
17704 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17705 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17706
30f69637
CD
177072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17708
17709 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17710 struct La_sh_regs is not constant.
17711 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17712 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17713 and struct La_sparc64_regs are not constant.
17714
93a78ac4
JM
177152012-08-16 Joseph Myers <joseph@codesourcery.com>
17716
17717 * sysdeps/unix/sysv/linux/kernel-features.h
17718 (__ASSUME_POSIX_TIMERS): Remove.
17719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17721 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17722 Make code unconditional.
17723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17724 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17725 Make code unconditional.
17726 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17727 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17728 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17729 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17730 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17731 Make code unconditional.
17732 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17733 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17734 (__libc_missing_posix_timers): Remove.
17735
dd924cd7
RM
177362012-08-15 Roland McGrath <roland@hack.frob.com>
17737
4b4f2771
RM
17738 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17739 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17740
601c888b
RM
17741 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17742
176790a7
RM
17743 * elf/dl-sym.c: Include <stdlib.h>.
17744
329bc018
RM
17745 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17746 constants, which avoids warnings in 32-bit builds.
17747
e04e272d
RM
17748 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17749 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17750
952bf94a
RM
17751 * misc/lseek.c: File moved to ...
17752 * io/lseek.c: ... here.
17753
7c99b50a
RM
17754 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17755
dd924cd7
RM
17756 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17757 shifting LEN more than 31 bits at once.
17758
b3f479a8
LD
177592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17760
17761 [BZ #14195]
8c4ae0d4
RM
17762 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17763 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17764 * string/test-strncasecmp.c (check1): Renamed to...
17765 (bz12205): ...this.
17766 (bz14195): Add new testcase for two empty input strings and N > 0.
17767 (test_main): Call new testcase, adapt for renamed function.
17768
9c55864e
AJ
177692012-08-15 Andreas Jaeger <aj@suse.de>
17770
17771 [BZ #14090]
17772 * crypt/md5test2.c: New test, based on test supplied by Serge
17773 Belyshev <belyshev@depni.sinp.msu.ru>.
17774 * crypt/Makefile (xtests): Add md5test-giant..
17775 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17776
02dcb6c5
PE
177772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17778
17779 [BZ #14090]
17780 * crypt/md5.c (md5_process_block): Don't assume the buffer
17781 length is less than 2**32.
17782 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17783 length is less than 2**64.
17784
a3f95dcc
RM
177852012-08-15 Roland McGrath <roland@hack.frob.com>
17786
be75d758
RM
17787 * string/str-two-way.h: Include <sys/param.h>.
17788 (MAX): Macro removed.
17789
7312ca90
RM
17790 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17791 Move #define and #undef of memmove to just before and after
17792 including <string.h>.
17793
9a0a5486
RM
17794 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17795 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17796 and after including <string.h>. Move declarations of
17797 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17798 to before #include "string/memmove.c".
17799
67cc348d
RM
17800 * include/dirent.h: Declare __getdirentries.
17801
a3f95dcc
RM
17802 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17803 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17804
ca98e171
MF
178052012-08-14 Mike Frysinger <vapier@gentoo.org>
17806
17807 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17808 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17809 * sysdeps/i386/configure: Regenerated.
17810 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17811 STABS_CURRENT_FILE, and STABS_FUN.
17812 (END): Remove call to STABS_FUN_END.
17813 (STABS_CURRENT_FILE1): Delete.
17814 (STABS_CURRENT_FILE): Likewise.
17815 (STABS_FUN): Likewise.
17816 (STABS_FUN_END): Likewise.
17817 (STABS_FUN2): Likewise.
17818 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17819 * sysdeps/x86_64/configure: Regenerated.
17820
5908bf46
RM
178212012-08-14 Roland McGrath <roland@hack.frob.com>
17822
17823 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17824 * elf/dl-lookup.c: Likewise.
5908bf46 17825
f2c05b9e
JM
178262012-08-14 Joseph Myers <joseph@codesourcery.com>
17827
17828 * sysdeps/unix/sysv/linux/kernel-features.h
17829 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17830 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17831 unconditionally.
17832 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17833 unconditionally.
17834 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17835 condition on __ASSUME_CLONE_THREAD_FLAGS.
17836
e11f5155
AJ
178372012-08-14 Andreas Jaeger <aj@suse.de>
17838
17839 * sysdeps/i386/fpu/libm-test-ulps: Update.
17840
51a9ba86
MK
178412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17842
2fdd4f78
AJ
17843 * include/atomic.h (atomic_exchange_and_add): Split into ...
17844 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17845 New atomic macros.
51a9ba86 17846
ba6cba9e
MT
178472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17848
17849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17850
42443a47
JL
178512012-08-13 Jeff Law <law@redhat.com>
17852
17853 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17854 null byte in the output string.
17855
121dce05
JM
178562012-08-10 Joseph Myers <joseph@codesourcery.com>
17857
17858 * sysdeps/unix/sysv/linux/kernel-features.h
17859 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17860 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17861 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17862 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17863 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17864 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17865 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17866
bf51f568
JL
178672012-08-09 Jeff Law <law@redhat.com>
17868
17869 [BZ #13939]
17870 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17871 When avoid_arena is set, don't retry in the that arena. Pick the
17872 next one, whatever it might be.
17873 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17874 (arena_lock): Pass in new parameter to arena_get2.
17875 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17876 arena_get2.
17877 (__libc_malloc): Unify retrying after main arena failure with
17878 __libc_memalign version.
17879 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17880
f85fa270
L
178812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 [BZ #14166]
17884 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17885 to __redirect_strstr.
17886 (__strstr_sse42): Use typeof __redirect_strstr.
17887 (__strstr_ia32): Likewise.
17888 (__libc_strstr): New prototype.
17889 (strstr): Renamed to ...
17890 (__libc_strstr): This.
17891 (strstr): New strong alias of __libc_strstr.
17892 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17894 __redirect_time.
17895 Include <time.h>.
17896 (__libc_time): New prototype.
17897 (time_ifunc): Replace time with __libc_time.
17898 (time): New strong alias and hidden definition of __libc_time.
17899 (__GI_time): Remove strong alias.
17900 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17901 Include <stddef.h>.
17902 (memmove): Redefined to __redirect_memmove.
17903 (__memmove_sse2): Use typeof __redirect_memmove.
17904 (__memmove_ssse3): Likewise.
17905 (__memmove_ssse3_back): Likewise.
17906 (__libc_memmove): New prototype.
17907 (memmove): Renamed to ...
17908 (__libc_memmove): This.
17909 (memmove): New strong alias of __libc_memmove.
17910
33b4a91e
MS
179112012-08-08 Mark Salter <msalter@redhat.com>
17912
17913 * elf/elf.h
17914 (R_MN10300_TLS_GD): Define.
17915 (R_MN10300_TLS_LD): Likewise.
17916 (R_MN10300_TLS_LDO): Likewise.
17917 (R_MN10300_TLS_GOTIE): Likewise.
17918 (R_MN10300_TLS_IE): Likewise.
17919 (R_MN10300_TLS_LE): Likewise.
17920 (R_MN10300_TLS_DTPMOD): Likewise.
17921 (R_MN10300_TLS_DTPOFF): Likewise.
17922 (R_MN10300_TLS_TPOFF): Likewise.
17923 (R_MN10300_SYM_DIFF): Likewise.
17924 (R_MN10300_ALIGN): Likewise.
17925 (R_MN10300_NUM): Update.
17926
b36137f1
JM
179272012-08-08 Joseph Myers <joseph@codesourcery.com>
17928
17929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17930 Remove.
17931
cdd915fd
RM
179322012-08-08 Roland McGrath <roland@hack.frob.com>
17933
a2433aac
RM
17934 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17935
cdd915fd
RM
17936 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17937 sysdeps/unix -> sysdeps/posix move.
17938 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17939
bf9b740a
AM
179402012-08-07 Allan McRae <allan@archlinux.org>
17941
17942 [BZ #14303]
17943 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17944 (SUNOS_CPP): Likewise.
17945 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17946 not found.
17947 (open_input): Call CPP using execvp.
17948
93df14ee
JM
179492012-08-07 Joseph Myers <joseph@codesourcery.com>
17950
17951 * sysdeps/unix/sysv/linux/kernel-features.h
17952 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17953 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17954 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17955 (__ASSUME_WAITID_SYSCALL): Likewise.
17956 * sysdeps/unix/sysv/linux/dl-execstack.c
17957 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17958 code unconditional.
17959 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17960 conditional code.
17961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17962 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17963 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17964 code.
17965 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17966 unconditional.
17967 [__ASSUME_WAITID_SYSCALL]: Likewise.
17968 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17969
d34689de
RM
179702012-08-07 Roland McGrath <roland@hack.frob.com>
17971
a281decc
RM
17972 * sysdeps/unix/closedir.c: Renamed to ...
17973 * sysdeps/posix/closedir.c: ... here.
17974 * sysdeps/unix/dirfd.c: Renamed to ...
17975 * sysdeps/posix/dirfd.c: ... here.
17976 * sysdeps/unix/dirstream.h: Renamed to ...
17977 * sysdeps/posix/dirstream.h: ... here.
17978 * sysdeps/unix/fdopendir.c: Renamed to ...
17979 * sysdeps/posix/fdopendir.c: ... here.
17980 * sysdeps/unix/opendir.c: Renamed to ...
17981 * sysdeps/posix/opendir.c: ... here.
17982 * sysdeps/unix/readdir.c: Renamed to ...
17983 * sysdeps/posix/readdir.c: ... here.
17984 * sysdeps/unix/readdir_r.c: Renamed to ...
17985 * sysdeps/posix/readdir_r.c: ... here.
17986 * sysdeps/unix/rewinddir.c: Renamed to ...
17987 * sysdeps/posix/rewinddir.c: ... here.
17988 * sysdeps/unix/seekdir.c: Renamed to ...
17989 * sysdeps/posix/seekdir.c: ... here.
17990 * sysdeps/unix/telldir.c: Renamed to ...
17991 * sysdeps/posix/telldir.c: ... here.
17992 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17993 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17995 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17996
22895b47
RM
17997 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17998 * bits/fcntl.h: ... here.
17999
707a53b6
RM
18000 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18001 not 0.
18002 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18003 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18004 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18005 (struct flock): Move l_start, l_len to the beginning.
18006 Use __pid_t for l_pid.
18007 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18008 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18009 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18010 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18011 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18012 [__USE_LARGEFILE64] (struct flock64): New type.
18013 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18014
f0bd3e25
RM
18015 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18016 * bits/dirent.h: ... here.
18017
d34689de
RM
18018 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18019 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18020
6dad2c06
JM
180212012-08-07 Joseph Myers <joseph@codesourcery.com>
18022
18023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18024 Change from 2.6.0 to 2.6.16.
18025 * sysdeps/unix/sysv/linux/configure: Regenerated.
18026 * sysdeps/unix/sysv/linux/kernel-features.h
18027 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18028 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18029 version.
18030 (__ASSUME_UTIMES): Likewise.
18031 (__ASSUME_CLONE_STOPPED): Remove.
18032 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18033 architectures, not kernel version.
18034 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18035 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18036 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18037 (__ASSUME_WAITID_SYSCALL): Likewise.
18038 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18039 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18040 * README: State 2.6.16 as minimum Linux kernel version. Do not
18041 refer to older versions.
18042
03af9520
RM
180432012-08-06 Roland McGrath <roland@hack.frob.com>
18044
8e49df1d
RM
18045 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18046 Define alphasort64 as an alias.
18047 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18048 Define versionsort64 as an alias.
18049 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18050 Define scandir64 as an alias.
18051 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18052 Define scandirat64 as an alias.
18053 * dirent/alphasort64.c (alphasort64):
18054 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18055 * dirent/versionsort64.c: Likewise.
18056 * dirent/scandir64.c: Likewise.
18057 * dirent/scandirat64.c: Likewise.
18058 * sysdeps/wordsize-64/alphasort.c: File removed.
18059 * sysdeps/wordsize-64/alphasort64.c: File removed.
18060 * sysdeps/wordsize-64/scandir.c: File removed.
18061 * sysdeps/wordsize-64/scandir64.c: File removed.
18062 * sysdeps/wordsize-64/scandirat.c: File removed.
18063 * sysdeps/wordsize-64/scandirat64.c: File removed.
18064 * sysdeps/wordsize-64/versionsort.c: File removed.
18065 * sysdeps/wordsize-64/versionsort64.c: File removed.
18066 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18067 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18071 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18073 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18074
18075 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18077 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18079 [defined __arch64__ || defined __sparcv9]
18080 (__INO_T_MATCHES_INO64_T): New macro.
18081 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18082 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18083 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18084 * sysdeps/unix/sysv/linux/bits/dirent.h
18085 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18086 (_DIRENT_MATCHES_DIRENT64): New macro.
18087
03af9520
RM
18088 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18089 Define lockf64 as an alias.
18090 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18091 Define fseeko64 as an alias.
18092 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18093 Define ftello64 as an alias.
18094 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18095 Define _IO_fgetpos64 and fgetpos64 as aliases.
18096 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18097 Define _IO_fsetpos64 and fsetpos64 as aliases.
18098 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18099 Conditionalize body on this.
18100 * libio/fseeko64.c: Likewise.
18101 * libio/ftello64.c: Likewise.
18102 * libio/iofgetpos64.c: Likewise.
18103 * libio/iofsetpos64.c: Likewise.
18104 * sysdeps/wordsize-64/lockf.c: File removed.
18105 * sysdeps/wordsize-64/lockf64.c: File removed.
18106 * sysdeps/wordsize-64/fseeko.c: File removed.
18107 * sysdeps/wordsize-64/fseeko64.c: File removed.
18108 * sysdeps/wordsize-64/ftello.c: File removed.
18109 * sysdeps/wordsize-64/ftello64.c: File removed.
18110 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18111 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18112 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18113 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18114 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18115 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18120 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18124
18125 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18126 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18127 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18129 [defined __arch64__ || defined __sparcv9]
18130 (__OFF_T_MATCHES_OFF64_T): New macro.
18131 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18132 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18134 (__OFF_T_MATCHES_OFF64_T): New macro.
18135
c5757acd
L
181362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18137
18138 * stdlib/secure-getenv.c (__secure_getenv): Replace
18139 GLIBC_2_16 with GLIBC_2_17.
18140
3a31811e
L
181412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18142
18143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18144 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18145
faa2bccb
DM
181462012-08-03 David S. Miller <davem@davemloft.net>
18147
18148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18149
85fe1997
JM
181502012-08-03 Joseph Myers <joseph@codesourcery.com>
18151
18152 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18153 Remove.
18154 (__ASSUME_CORRECT_SI_PID): Likewise.
18155 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18156 (__ASSUME_TMPFS_NAME): Likewise.
18157 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18158 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18159 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18160 (HAVE_AUX_SECURE): Make definition unconditional.
18161 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18162 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18163
4f75b7a0
RM
181642012-08-03 Roland McGrath <roland@hack.frob.com>
18165
18166 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18167 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18168 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18169 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18170 __eloop_threshold instead of SYMLOOP_MAX.
18171
18172 * sysdeps/generic/eloop-threshold.h: New file.
18173 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18174 of MAXSYMLINKS.
18175 * elf/chroot_canon.c (chroot_canon): Likewise.
18176
7aab07e4
JM
181772012-08-03 Joseph Myers <joseph@codesourcery.com>
18178
18179 [BZ #13717]
18180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18181 Change to 2.6.0 everywhere.
18182 * sysdeps/unix/sysv/linux/configure: Regenerated.
18183 * sysdeps/unix/sysv/linux/kernel-features.h
18184 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18185 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18186 kernel versions.
18187 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18188 (__ASSUME_FUTEX_REQUEUE): Remove.
18189 (__ASSUME_STATFS64): Define unconditionally.
18190 (__ASSUME_AT_SECURE): Likewise.
18191 (__ASSUME_CORRECT_SI_PID): Likewise.
18192 (__ASSUME_TGKILL): Define without depending on kernel version for
18193 i386.
18194 (__ASSUME_UTIMES): Likewise.
18195 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18196 kernel version.
18197 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18198 (__ASSUME_TMPFS_NAME): Likewise.
18199 * README: Update reference to Linux kernel versions.
18200
b67e9372
MP
182012012-08-02 Marek Polacek <polacek@redhat.com>
18202
1f529f7d 18203 [BZ# 14150]
b67e9372
MP
18204 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18205 libc_cv_asm_type_prefix with %.
18206 * configure: Regenerated.
d2441631
RM
18207 * include/libc-symbols.h: Remove comment about
18208 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18209 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18210 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18211 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18212 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18213 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18214 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18215 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18216 * elf/tst-unique2mod1.c: Likewise.
18217 * elf/tst-unique1mod2.c: Likewise.
18218 * elf/tst-unique1mod1.c: Likewise.
18219 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18220 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18221 Replace ASM_TYPE_DIRECTIVE with .type.
18222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18223 * sysdeps/i386/sysdep.h: Likewise.
18224 * sysdeps/x86_64/sysdep.h: Likewise.
18225 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18227 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18228 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18229 * sysdeps/powerpc/powerpc32/sysdep.h:
18230 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18231 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18232 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18233 * sysdeps/i386/fpu/e_powf.S: Likewise.
18234 * sysdeps/i386/fpu/e_expl.S: Likewise.
18235 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18236 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18237 * sysdeps/i386/fpu/e_pow.S: Likewise.
18238 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18239 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18240 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18241 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18242 * sysdeps/i386/fpu/e_log2.S: Likewise.
18243 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18244 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18245 * sysdeps/i386/fpu/e_powl.S: Likewise.
18246 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18247 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18248 * sysdeps/i386/fpu/e_logl.S: Likewise.
18249 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18250 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18251 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18252 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18253 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18254 * sysdeps/i386/fpu/e_log.S: Likewise.
18255 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18256 * sysdeps/i386/fpu/e_logf.S: Likewise.
18257 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18258 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18259 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18260 * sysdeps/i386/fpu/e_log10.S: Likewise.
18261 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18263 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18264 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18265 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18267 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18268 * sysdeps/i386/i686/strtok.S: Likewise.
18269 * sysdeps/i386/i386-mcount.S: Likewise.
18270 * sysdeps/i386/strtok.S: Likewise.
18271 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18272 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18273 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18274 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18275 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18276 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18277 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18278 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18279 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18280 * sysdeps/x86_64/_mcount.S: Likewise.
18281 * sysdeps/x86_64/strtok.S: Likewise.
18282 * sysdeps/sh/_mcount.S: Likewise.
18283
2747bf9a
RM
182842012-08-01 Roland McGrath <roland@hack.frob.com>
18285
18286 * libio/iofopen.c: Include <fcntl.h>.
18287 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18288 (_IO_fopen64, fopen64): Define as aliases.
18289 * libio/iofopen64.c: Include <fcntl.h>.
18290 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18291 Conditionalize body on this.
18292 * sysdeps/wordsize-64/iofopen.c: File removed.
18293 * sysdeps/wordsize-64/iofopen64.c: File removed.
18294
3fb791b8
MP
182952012-08-01 Marek Polacek <polacek@redhat.com>
18296
18297 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18298 Use dlfcn directly instead of a variable.
18299 (binfmt-subdir): Do not define.
18300 (dlfcn): Likewise.
18301
a9f1039f
JM
183022012-08-01 Joseph Myers <joseph@codesourcery.com>
18303
23bddc06
JM
18304 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18305 Remove all definitions.
18306 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18307 <kernel-features.h>.
18308 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18309 (miss_F_GETOWN_EX): Remove all definitions.
18310 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18311 macro definition.
18312 [!__ASSUME_FCNTL64]: Remove conditional code.
18313 [__ASSUME_FCNTL64]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18315 <kernel-features.h>.
18316 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18317 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18318 (lockf64) [__NR_fcntl64]: Make code unconditional.
18319 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18320
a9f1039f
JM
18321 * sysdeps/unix/sysv/linux/kernel-features.h
18322 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18323 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18324 Make code unconditional.
18325 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18326 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18328 [__NR_vfork]: Make code unconditional.
18329 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18330 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18332 [__NR_vfork]: Make code unconditional.
18333 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18334 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18335
09c0ee5f
RM
183362012-08-01 Roland McGrath <roland@hack.frob.com>
18337
48aec5b9
RM
18338 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18339 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18340
cd97c966
RM
18341 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18342 Define mkstemp64 as an alias.
3f55550c
RM
18343 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18344 Define mkstemps64 as an alias.
cd97c966
RM
18345 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18346 Define mkostemp64 as an alias.
b8625cfc
RM
18347 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18348 Define mkostemps64 as an alias.
cd97c966
RM
18349 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18350 Conditionalize body on this.
18351 * misc/mkostemp64.c: Likewise.
b8625cfc 18352 * misc/mkostemps64.c: Likewise.
3f55550c 18353 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18354 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18355 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18356 * sysdeps/wordsize-64/mkostemp.c: File removed.
18357 * sysdeps/wordsize-64/mkstemp.c: File removed.
18358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18359 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18360 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18361 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18362
09c0ee5f
RM
18363 [BZ #14138]
18364 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18365 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18366 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18367 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18368
18369 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18370 compat_symbol macros from <shlib-compat.h> rather than the underlying
18371 default_symbol_version and symbol_version macros, so that DEFAULT
18372 lines in shlib-versions are respected.
18373 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18374
7e66ee51
FW
183752012-08-01 Florian Weimer <fweimer@redhat.com>
18376
18377 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18378 Declare with warn_unused_result.
18379 (setgid, setregid, setegid, setresgid): Likewise.
18380 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18381 Likewise.
18382 * WUR-REPORT: Remove set*id functions.
18383
d2a54255
PT
183842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18385
18386 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18387
7ecdb005
RM
183882012-07-31 Roland McGrath <roland@hack.frob.com>
18389
b4180a5e 18390 [BZ #10191]
789bd351
RM
18391 * include/sys/socket.h (__libc_accept, __libc_accept4):
18392 Add attribute_hidden.
18393 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18394
40ce302d
RM
18395 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18396 use of PTR_MANGLE.
18397 * inet/getnetgrent_r.c (setup): Likewise.
18398
7ecdb005
RM
18399 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18400
e2eabb2c
DM
184012012-07-31 David S. Miller <davem@davemloft.net>
18402
18403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18404
d0419dbf
JM
184052012-07-31 Joseph Myers <joseph@codesourcery.com>
18406
18407 [BZ #13629]
18408 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18409 value between 1.0 and 2.0 and smaller part has absolute value less
18410 than 1.0.
18411 * math/s_clog10.c (__clog10): Likewise.
18412 * math/s_clog10f.c (__clog10f): Likewise.
18413 * math/s_clog10l.c (__clog10l): Likewise.
18414 * math/s_clogf.c (__clogf): Likewise.
18415 * math/s_clogl.c (__clogl): Likewise.
18416 * math/libm-test.inc (clog_test): Add more tests.
18417 (clog10_test): Likewise.
18418 * sysdeps/i386/fpu/libm-test-ulps: Update.
18419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420
2bc13872
FW
184212012-07-31 Florian Weimer <fweimer@redhat.com>
18422
18423 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18424 Exit with zero in case no suitable GID is found, and write a
18425 message to standard error.
18426
bea9b193
RM
184272012-07-30 Roland McGrath <roland@hack.frob.com>
18428
18429 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18430 rather than to 1.
18431 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18432 (MAXPATHLEN): Removed.
18433 (NOGROUP, NODEV): New macros.
18434 (setbit, clrbit, isset, isclr): New macros.
18435 (howmany, roundup, powerof2): New macros.
18436 (DEV_BSIZE): New macro.
18437
18438 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18439 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18440
18441 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18442 definition on [!__NO_LONG_DOUBLE_MATH].
18443
18444 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18445 PTR_MANGLE and PTR_DEMANGLE.
18446
18447 * socket/accept4.c (accept4): Rename to __libc_accept4.
18448 Define accept4 as a weak alias.
18449
18450 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18451 on [_DIRENT_HAVE_D_TYPE].
18452 * io/ftw.c (ftw_dir): Likewise.
18453
18454 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18455
18456 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18457
18458 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18459 Use the BSD numbers rather than the arbitrary ones we had.
18460 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18461 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18462 (SIGXCPU, SIGXFSZ): New macros.
18463 (_NSIG): Now 32.
18464
18465 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18466 initializer on [_LIBC_REENTRANT].
18467
18468 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18469 definitions inside [_POSIX_MAPPED_FILES].
18470
18471 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18472
18473 * dirent/opendir.c: Include <fcntl.h>.
18474
18475 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18476 (__libc_getspecific): Likewise.
18477 (__libc_key_create): Likewise.
18478
18479 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18480 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18481 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18482 (tmpfile64): Define as alias.
18483 * sysdeps/wordsize-64/tmpfile.c: File removed.
18484 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18485 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18486 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18487
18488 * stdio-common/vfscanf.c: Include <stdbool.h>.
18489 * nss/makedb.c: Likewise.
18490 * stdio-common/_i18n_number.h: Likewise.
18491 * argp/argp-help.c: Likewise.
18492 * posix/wordexp.c: Likewise.
18493 * sysdeps/posix/spawni.c: Likewise.
18494 * nss/nss_files/files-initgroups.c: Likewise.
18495 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18496 * nss/nss_files/files-initgroups.c: Likewise.
18497 * nss/nss_db/db-netgrp.c: Likewise.
18498 * nss/nss_db/db-initgroups.c: Likewise.
18499 * io/fchmodat.c: Include <sys/stat.h>.
18500
18501 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18502 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18503
18504 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18505 [HAVE_MMAP].
18506
18507 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18508 Add multiple inclusion protection.
18509
e5abc686
DM
185102012-07-27 David S. Miller <davem@davemloft.net>
18511
18512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18513
815e6fa3
GB
185142012-07-27 Gary Benson <gbenson@redhat.com>
18515
18516 [BZ #14298]
18517 * elf/rtld.c: Include <stap-probe.h>.
18518 (dl_main): Added static probes "init_start" and "init_complete".
18519 * elf/dl-load.c: Include <stap-probe.h>.
18520 (lose): Take new parameter "nsid".
18521 Added static probe "map_failed".
18522 (_dl_map_object_from_fd): Pass namespace id to lose.
18523 Added static probe "map_start".
18524 (open_verify): Pass namespace id to lose.
18525 * elf/dl-open.c: Include <stap-probe.h>.
18526 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18527 and "reloc_complete".
18528 * elf/dl-close.c: Include <stap-probe.h>.
18529 (_dl_close_worker): Added static probes "unmap_start" and
18530 "unmap_complete".
18531 * elf/rtld-debugger-interface.txt: New file documenting the above.
18532
9f98c16c
RM
185332012-07-26 Roland McGrath <roland@hack.frob.com>
18534
18535 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18536 rather than a string variable.
18537 * sunrpc/rpc_main.c (h_output): Likewise.
18538 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18539
f3c22df3
PT
185402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18541
18542 * inet/check_native.c: New file.
18543
3129cfc6
JM
185442012-07-26 Joseph Myers <joseph@codesourcery.com>
18545
da865e95
JM
18546 [BZ #13629]
18547 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18548 if larger part has absolute value 1.0.
18549 * math/s_clog10.c (__clog10): Likewise.
18550 * math/s_clog10f.c (__clog10f): Likewise.
18551 * math/s_clog10l.c (__clog10l): Likewise.
18552 * math/s_clogf.c (__clogf): Likewise.
18553 * math/s_clogl.c (__clogl): Likewise.
18554 * math/libm-test.inc (clog_test): Add more tests.
18555 (clog10_test): Likewise.
18556 * sysdeps/i386/fpu/libm-test-ulps: Update.
18557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18558
3129cfc6
JM
18559 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18560 (pltexit): Likewise.
18561 (La_regs): Likewise.
18562 (La_retval): Likewise.
18563 (int_retval): Likewise.
18564 Update #error for removed macros to refer only to definitions in
18565 tst-audit.h.
18566 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18567 macro.
18568 (pltexit): Likewise.
18569 (La_regs): Likewise.
18570 (La_retval): Likewise.
18571 (int_retval): Likewise.
18572 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18573 macro.
18574 (pltexit): Likewise.
18575 (La_regs): Likewise.
18576 (La_retval): Likewise.
18577 (int_retval): Likewise.
18578 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18579 macro.
18580 (pltexit): Likewise.
18581 (La_regs): Likewise.
18582 (La_retval): Likewise.
18583 (int_retval): Likewise.
18584 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18585 macro.
18586 (pltexit): Likewise.
18587 (La_regs): Likewise.
18588 (La_retval): Likewise.
18589 (int_retval): Likewise.
18590 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18591 macro.
18592 (pltexit): Likewise.
18593 (La_regs): Likewise.
18594 (La_retval): Likewise.
18595 (int_retval): Likewise.
18596 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18597 macro.
18598 (pltexit): Likewise.
18599 (La_regs): Likewise.
18600 (La_retval): Likewise.
18601 (int_retval): Likewise.
18602 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18603 macro definitions in tst-audit.h.
18604 * sysdeps/i386/tst-audit.h: New file.
18605 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18606 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18607 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18608 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18609 * sysdeps/sh/tst-audit.h: Likewise.
18610 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18611 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18612 * sysdeps/x86_64/tst-audit.h: Likewise.
18613
bfc07087
AJ
186142012-07-26 Andreas Jaeger <aj@suse.de>
18615
b1b2aaf8
AJ
18616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18617 ptrace.
18618
18619 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18620 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18621 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18622 PTRACE_O_MASK.
18623 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18624 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18625 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18626
bfc07087
AJ
18627 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18628 value.
18629
18630 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18631 _sigsys.
18632 (si_call_addr, si_syscall, si_arch): Define new macro.
18633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18634 _sigsys.
18635 (si_call_addr, si_syscall, si_arch): Define new marcro.
18636 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18637 _sigsys.
18638 (si_call_addr, si_syscall, si_arch): Define new macro.
18639 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18640 _sigsys.
18641 (si_call_addr, si_syscall, si_arch): Define new macro.
18642
89b4b02f
JM
186432012-07-25 Joseph Myers <joseph@codesourcery.com>
18644
18645 [BZ #13717]
18646 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18647 Change to 2.4.21 where previously 2.4.1.
18648 * sysdeps/unix/sysv/linux/configure: Regenerated.
18649 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18650 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18651 Linux kernel version.
18652 (__ASSUME_STD_AUXV): Remove.
18653 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18654 kernel version.
18655 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18656 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18657 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18658 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18659 (__ASSUME_NETLINK_SUPPORT): Likewise.
18660 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18661 (__no_netlink_support): Remove conditional definition.
18662 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18663 Remove.
18664 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18665 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18666 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18667 (if_nameindex_ioctl): Remove.
18668 (if_nameindex_netlink): Do not handle __no_netlink_support.
18669 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18670 code.
18671 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18672 Remove conditional code.
18673 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18674 code.
18675 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18676 unconditional.
18677 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18678 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18679 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18680 Remove.
18681 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18682 [!__ASSUME_STD_AUXV]: Remove conditional code.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18684 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18685 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18687 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18688 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18689 code.
18690 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18692 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18693 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18694 conditional code.
18695 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18697 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18698 code.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18700 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18701 conditional code.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18703 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18704 code unconditional.
18705 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18706 conditional code.
18707 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18708 unconditional.
18709 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18710 conditional code.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18712 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18713 unconditional.
18714 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18715 conditional code.
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18717 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18718 code unconditional.
18719 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18720 conditional code.
18721 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18722 unconditional.
18723 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18724 conditional code.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18726 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18727 code unconditional.
18728 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18729 conditional code.
18730 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18731 unconditional.
18732 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18733 conditional code.
18734
842a39cd
AS
187352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18736
18737 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18738 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18739 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18740 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18741 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18742 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18743 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18744 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18745 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18746 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18747 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18748 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18749 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18750 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18757 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18758 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18760
84b3fd84
FW
187612012-07-25 Florian Weimer <fweimer@redhat.com>
18762
18763 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18764 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18765 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18766 Introduce __libc_secure_getenv.
0c7936d5
FW
18767 * stdlib/Versions (2.17): Add secure_getenv
18768 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18769 * stdlib/secure-getenv.c: Rename __secure_getenv to
18770 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18771 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18772 * stdlib/tst-secure-getenv.c: New.
18773 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18774 * manual/startup.texi (Environment Access): Document
18775 secure_getenv.
84b3fd84
FW
18776 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18777 __libc_secure_getenv.
18778 * inet/ruserpass.c (ruserpass): Likewise.
18779 * malloc/mtrace.c (mtrace): Likewise.
18780 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18781 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18782 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18783 * sysdeps/posix/tempname.c: Likewise. Evaluate
18784 HAVE_SECURE_GETENV.
18785 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18786 __secure_getenv to __libc_secure_getenv.
84b3fd84 18787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18789 Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18799
56e49b71
JM
188002012-07-25 Joseph Myers <joseph@codesourcery.com>
18801
18802 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18803 (struct La_i86_retval): Likewise.
18804 (struct La_x86_64_regs): Likewise.
18805 (struct La_x86_64_retval): Likewise.
18806 (struct La_x32_regs): Likewise.
18807 (struct La_x32_retval): Likewise.
18808 (struct La_ppc32_regs): Likewise.
18809 (struct La_ppc32_retval): Likewise.
18810 (struct La_ppc64_regs): Likewise.
18811 (struct La_ppc64_retval): Likewise.
18812 (struct La_sh_regs): Likewise.
18813 (struct La_sh_retval): Likewise.
18814 (struct La_s390_32_regs): Likewise.
18815 (struct La_s390_32_retval): Likewise.
18816 (struct La_s390_64_regs): Likewise.
18817 (struct La_s390_64_retval): Likewise.
18818 (struct La_sparc32_regs): Likewise.
18819 (struct La_sparc32_retval): Likewise.
18820 (struct La_sparc64_regs): Likewise.
18821 (struct La_sparc64_retval): Likewise.
18822 (struct audit_ifaces): Remove architecture-specific pltenter and
18823 pltexit members.
18824 * sysdeps/i386/ldsodefs.h: New file.
18825 * sysdeps/powerpc/ldsodefs.h: Likewise.
18826 * sysdeps/s390/ldsodefs.h: Likewise.
18827 * sysdeps/sh/ldsodefs.h: Likewise.
18828 * sysdeps/sparc/ldsodefs.h: Likewise.
18829 * sysdeps/x86_64/ldsodefs.h: Likewise.
18830
354691b7
MP
188312012-07-25 Marek Polacek <polacek@redhat.com>
18832
18833 [BZ #6808]
18834 * math/libm-test.inc (yn_test): Add another test.
18835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18836 to ERANGE when the result is +-Inf.
18837 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18838 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18839 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18840 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18841
bf9e2071
JM
188422012-07-24 Joseph Myers <joseph@codesourcery.com>
18843
18844 * conform/data/time.h-data (NULL): Use macro-constant. Require
18845 equal to 0.
18846 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18847 clock_t.
18848 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18849
57633811
TS
188502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18851
18852 * configure.in <sysdeps resolving>: Correct printing
18853 Implies_before.
18854 * configure: Regenerate.
18855
c23c33b0
TS
188562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18857
18858 * math/w_ilogb.c: Include <limits.h>.
18859 * math/w_ilogbl.c: Likewise.
18860
b5982523
JM
188612012-07-20 Joseph Myers <joseph@codesourcery.com>
18862
18863 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18864 va_copy. Document allowing for unavailable va_copy only as
18865 pre-C99 compatibility.
18866 * manual/string.texi (Copying and Concatenation): Use va_copy
18867 instead of __va_copy in concat example.
18868
ac4ea442
PT
188692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18870
18871 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18872 (__sendto): Use create_address_port. Initialize APORT and deallocate
18873 it if not null.
18874
f98eafbd
PT
18875 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18876 with O_NOLINK passed to __file_name_lookup.
18877
898c7aab
PT
18878 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18879 with O_NOLINK passed to __file_name_lookup.
18880
0ced335a
PT
18881 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18882 negative N or less than NGIDS.
18883
b3404dbd
PT
18884 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18885 type to string_t. Set ERANGE as errno and return it if NAME is not big
18886 enough. Use memcpy instead of strncpy.
18887
0f48659e
JM
188882012-07-20 Joseph Myers <joseph@codesourcery.com>
18889
18890 * elf/Makefile (check-data): Remove.
18891 (localplt.data): New vpath directive.
18892 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18893 instead of $(check-data).
18894 * scripts/data/localplt-generic.data: Move to ...
18895 * sysdeps/generic/localplt.data: ... here.
18896 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18897 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18898 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18900 ... here.
18901 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18903 ... here.
18904 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18906 ... here.
18907 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18909 ... here.
18910 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18912 ... here.
18913 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18915 ... here.
18916
d37cbdaa
AZ
189172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18918
18919 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18920 PPC32 and PPC64 files.
18921 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18922 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18923
46f85fc2
AK
189242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18925
18926 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18927 __makecontext_ret to ...
18928 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18929 ... here and call exit if uc_link is NULL. New file.
18930 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18931 __makecontext_ret.S.
18932 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18933 __makecontext_ret to ...
18934 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18935 ... here and call exit if uc_link is NULL. New file.
18936 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18937 __makecontext_ret.S.
18938
08f43f9b
AK
189392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18940
18941 * elf/elf.h (R_390_IRELATIVE): New definition.
18942 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18943 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18944 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18945 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18946 (elf_machine_lazy_rel): Likewise.
18947 * sysdeps/s390/dl-irel.h: New file.
18948 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18949 * sysdeps/s390/s390-64/memset.S: New asm code.
18950 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18951 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18952 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18953 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18954 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18955 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18956 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18957 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18958 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18959 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18960 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18961 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18962 * sysdeps/s390/s390-32/memset.S: New asm code.
18963 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18964
3b05db33
MP
189652012-07-17 Marek Polacek <polacek@redhat.com>
18966
18967 [BZ #14349]
18968 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18969 * sysdeps/s390/s390-64/configure.in: Likewise.
18970 * sysdeps/sparc/configure.in: Likewise.
18971 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18972 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18973 * sysdeps/i386/configure.in: Likewise.
18974 * sysdeps/x86_64/configure.in: Likewise.
18975 * sysdeps/sh/configure.in: Likewise.
18976 * sysdeps/s390/s390-32/configure: Regenerated.
18977 * sysdeps/s390/s390-64/configure: Likewise.
18978 * sysdeps/x86_64/configure: Likewise.
18979 * sysdeps/sh/configure: Likewise.
18980 * sysdeps/powerpc/powerpc64/configure: Likewise.
18981 * sysdeps/powerpc/powerpc32/configure: Likewise.
18982 * sysdeps/sparc/configure: Likwise.
18983 * sysdeps/i386/configure: Likewise.
18984
a66877c6
MP
18985 * elf/dl-open.c: Comment fixes.
18986
cfc82fd8
JM
189872012-07-17 Joseph Myers <joseph@codesourcery.com>
18988
bd29910a
JM
18989 * Makefile [CXX] (check-data): Remove.
18990 [CXX] (c++-types.data): New vpath directive.
18991 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18992 vpath. Do not allow for C++ type data being missing.
18993 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18994 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18995 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18996 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18997 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18998 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18999 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19001 ... here.
19002 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19004 ... here.
19005 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19007 ... here.
19008 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19010 ... here.
19011 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19013 ... here.
19014 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19016 ... here.
19017 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19019 ... here.
19020 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19022
cfc82fd8
JM
19023 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19024 definitions to architecture-specific files.
19025 (TLS_IE): Likewise.
19026 (TLS_LD): Likewise.
19027 (TLS_GD): Likewise.
19028 * sysdeps/i386/tls-macros.h: New file.
19029 * sysdeps/powerpc/tls-macros.h: Likewise.
19030 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19031 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19032 * sysdeps/sh/tls-macros.h: Likewise.
19033 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19034 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19035 * sysdeps/x86_64/tls-macros.h: Likewise.
19036
f7db3170
TS
190372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19038
07cbfc23
TS
19039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19040 zero value for regular exit case.
19041
f7db3170
TS
19042 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19043 (__start_context): Preserve zero value for regular exit case.
19044
dc97c227
TS
190452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19046 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19047
19048 * manual/setjmp.texi (setcontext): Clarify normal process
19049 termination when uc_link is the null pointer.
19050 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19051 exit call.
19052
d0cd7d02
AS
190532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19054
19055 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19056 preprocessor. Test for each exception mask separately.
19057
dd318934
AJ
190582012-07-16 Andreas Jaeger <aj@suse.de>
19059
19060 * po/ru.po: Update from translation team.
19061
8048311a
JM
190622012-07-15 Joseph Myers <joseph@codesourcery.com>
19063
19064 * conform/data/string.h-data (NULL): Use macro-constant. Require
19065 equal to 0.
19066 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19067 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19068 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19069 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19071
b637d46e
AJ
190722012-07-13 Andreas Jaeger <aj@suse.de>
19073
19074 * po/fr.po: Update from translation team.
19075
541428fe
MP
190762012-07-12 Marek Polacek <polacek@redhat.com>
19077
19078 [BZ #14173]
19079 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19081 loop condition.
19082
ec332e94
JM
190832012-07-12 Joseph Myers <joseph@codesourcery.com>
19084
19085 [BZ #13717]
19086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19087 Change to 2.4.1 where previously 2.4.0.
19088 * sysdeps/unix/sysv/linux/configure: Regenerated.
19089 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19090 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19091 version.
19092 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19093 (__ASSUME_AT_CLKTCK): Remove.
19094 (__ASSUME_AT_PAGESIZE): Likewise.
19095 (__ASSUME_AT_XID): Likewise.
19096 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19097 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19098 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19099 unconditionally.
19100 (HAVE_AUX_PAGESIZE): Likewise.
19101 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19102 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19103 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19104
7b6e99be
JB
191052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19106
19107 [BZ #14307]
19108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19109 the temporary buffer used to invoke __gethostbyname2_r,
19110 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19111 host_data / struct gaih_addrtuple.
19112 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19113 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19114 header file nss/nsswitch.h.
19115 * nss/nsswitch.h (global scope): Add definition of implementation
19116 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19117 resolv/nss_dns/dns-host.c).
19118
608404eb
AJ
191192012-07-11 Andreas Jaeger <aj@suse.de>
19120
19121 * po/fr.po: Update from translation team.
19122
71220aca
AJ
19123 * po/sv.po: Update from translation team
19124 * po/fr.po: Another update from translation team.
19125
28cfe843
AZ
191262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19127
19128 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19129 for subnormals or multiply small sinh result by itself.
19130 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19132
6b90f981
DM
191332012-07-11 David S. Miller <davem@davemloft.net>
19134
19135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19136
c6825772
AS
191372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19138
19139 [BZ #14347]
19140 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19141 (INTERNAL_MARK): Shift it here.
19142
7b8e0d49
MP
191432012-07-10 Marek Polacek <polacek@redhat.com>
19144
19145 [BZ #14151]
19146 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19147 libc_cv_asm_global_directive with .globl.
19148 * configure: Regenerated.
19149 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19150 with .globl.
19151 * sysdeps/i386/configure: Regenerated.
19152 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19153 with .globl.
19154 * sysdeps/x86_64/configure: Regenerated.
19155 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19156 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19157 * elf/tst-unique2mod2.c: Likewise.
19158 * elf/tst-unique2mod1.c: Likewise.
19159 * elf/tst-unique1mod2.c: Likewise.
19160 * elf/tst-unique1mod1.c: Likewise.
19161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19162 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19164 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19165 * sysdeps/mach/sysdep.h: Likewise.
19166 * sysdeps/i386/sysdep.h: Likewise.
19167 * sysdeps/i386/i386-mcount.S: Likewise.
19168 * sysdeps/x86_64/_mcount.S: Likewise.
19169 * sysdeps/x86_64/sysdep.h: Likewise.
19170 * sysdeps/sh/_mcount.S: Likewise.
19171 * sysdeps/sh/sysdep.h: Likewise.
19172 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19173 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19174 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19175 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19176 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19177 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19178 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19179 * locale/localeinfo.h: Likewise.
19180 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19181 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19182
6c55cda3
RM
191832012-07-09 Roland McGrath <roland@hack.frob.com>
19184
19185 [BZ #14336]
19186 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19187 system".
19188 * manual/message.texi (The Uniforum approach): Likewise.
19189 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19190 (glibc iconv Implementation): Likewise.
19191
638a572e
JM
191922012-07-09 Joseph Myers <joseph@codesourcery.com>
19193
19194 [BZ #14337]
19195 * math/s_clog.c (__clog): Avoid scaling a value down where that
19196 could result in underflow.
19197 * math/s_clog10.c (__clog10): Likewise.
19198 * math/s_clog10f.c (__clog10f): Likewise.
19199 * math/s_clog10l.c (__clog10l): Likewise.
19200 * math/s_clogf.c (__clogf): Likewise.
19201 * math/s_clogl.c (__clogl): Likewise.
19202 * math/libm-test.inc (clog_test): Add more tests.
19203 (clog10_test): Likewise.
19204 * sysdeps/i386/fpu/libm-test-ulps: Update.
19205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19206
261f4859
AS
192072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19208
0abaf3e4
AS
19209 [BZ #14283]
19210 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19211 by 7 not 8 to examine high bit of fractional part.
19212
261f4859
AS
19213 [BZ #14042]
19214 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19215 for call to __mcount_internal.
19216 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19217 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19218 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19219
f17ac40d
JM
192202012-07-06 Joseph Myers <joseph@codesourcery.com>
19221
9ad63c23
JM
19222 [BZ #14154]
19223 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19224 approximation for values within 0x1p-13f of an odd multiple of
19225 pi/4.
19226 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19227 exception. Add more tests.
19228 * sysdeps/i386/fpu/libm-test-ulps: Update.
19229
f17ac40d
JM
19230 [BZ #6778]
19231 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19232 inputs and return -1 for them. Do not check for +Inf in case not
19233 reachable for +Inf.
19234 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19235 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19236 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19237 and return -1 for them. Do not check for +Inf in case not
19238 reachable for +Inf.
19239 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19240 define.
19241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19242 and return -1 for them. Do not check for +Inf in case not
19243 reachable for +Inf.
19244 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19245 spurious underflow.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
fb21f89b
MF
192492012-07-06 Mike Frysinger <vapier@gentoo.org>
19250
19251 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19252
cdfe2c5e
JM
192532012-07-05 Joseph Myers <joseph@codesourcery.com>
19254
19255 [BZ #14157]
19256 [BZ #14331]
19257 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19258 could result in spurious underflow. Scale down values above
19259 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19260 * math/s_csqrtf.c (__csqrtf): Likewise.
19261 * math/s_csqrtl.c (__csqrtl): Likewise.
19262 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19263 spurious underflow.
19264 * sysdeps/i386/fpu/libm-test-ulps: Update.
19265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19266
70d35b67
AS
192672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19268
704bc459
AS
19269 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19270 xopen-msg.sed.
19271 * catgets/xopen-msg.awk: New file.
19272 * catgets/xopen-msg.sed: Removed.
19273
70d35b67
AS
19274 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19275 po2text.sed.
19276 * intl/po2test.awk: New file.
19277 * intl/po2test.sed: Removed.
19278
ca61cf32
JM
192792012-07-04 Joseph Myers <joseph@codesourcery.com>
19280
19281 [BZ #14328]
19282 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19283 or multiply small sinh result by itself.
19284 * math/s_ctanf.c (__ctanf): Likewise.
19285 * math/s_ctanh.c (__ctanh): Likewise.
19286 * math/s_ctanhf.c (__ctanhf): Likewise.
19287 * math/s_ctanhl.c (__ctanhl): Likewise.
19288 * math/s_ctanl.c (__ctanl): Likewise.
19289 * math/libm-test.inc (ctan_test_tonearest): New function.
19290 (ctan_test_towardzero): Likewise.
19291 (ctan_test_downward): Likewise.
19292 (ctan_test_upward): Likewise.
19293 (ctanh_test_tonearest): Likewise.
19294 (ctanh_test_towardzero): Likewise.
19295 (ctanh_test_downward): Likewise.
19296 (ctanh_test_upward): Likewise.
19297 (main): Call these new functions.
19298 * sysdeps/i386/fpu/libm-test-ulps: Update.
19299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19300
ca48a46a
MF
193012012-07-03 Mike Frysinger <vapier@gentoo.org>
19302
19303 * .gitignore: Delete /ports entry.
19304
9d63d37d
AJ
193052012-07-03 Andreas Jaeger <aj@suse.de>
19306
19307 * po/bg.po: Update from translation team.
19308 * po/cs.po: Likewise.
19309 * po/de.po: Likewise.
19310 * po/hr.po: Likewise.
19311 * po/nl.pl: Likewise.
19312 * po/pl.po: Likewise.
19313 * po/vi.po: Likewise.
19314
370ca3d2
JM
193152012-07-03 Joseph Myers <joseph@codesourcery.com>
19316
95f5a9a8
JM
19317 * Makeconfig [!+link] (+link-before-libc): New variable.
19318 [!+link] (+link-after-libc): Likewise.
19319 [!+link] (+link-tests): Likewise.
19320 [!+link] (+link): Define in terms of $(+link-before-libc) and
19321 $(+link-after-libc).
19322 [!+link-static] (+link-static-before-libc): New variable.
19323 [!+link-static] (+link-static-after-libc): Likewise.
19324 [!+link-static] (+link-static-tests): Likewise.
19325 [!+link-static] (+link-static): Define in terms of
19326 $(+link-static-before-libc) and $(+link-static-after-libc).
19327 [build-shared] (link-libc-before-gnulib): New variable.
19328 [build-shared] (link-libc-tests): Likewise.
19329 [build-shared] (link-libc): Define in terms of
19330 $(link-libc-before-gnulib).
19331 [!build-shared] (link-libc-tests): New variable.
19332 (link-libc-static-tests): New variable.
19333 [!gnulib] (gnulib-arch): New variable.
19334 [!gnulib] (gnulib-tests): Likewise.
19335 [!gnulib] (static-gnulib-arch): Likewise.
19336 [!gnulib] (static-gnulib-tests): Likewise.
19337 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19338 Define with "=" instead of ":=".
19339 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19340 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19341 * Rules (binaries-all-notests): New variable.
19342 (binaries-all-tests): Likewise.
19343 (binaries-static-notests): Likewise.
19344 (binaries-static-tests): Likewise.
19345 (binaries-all): Define using $(binaries-all-notests) and
19346 $(binaries-all-tests).
19347 (binaries-static): Define using $(binaries-static-notests) and
19348 $(binaries-static-tests).
19349 (binaries-shared-tests): New variable.
19350 (binaries-shared-notests): Likewise.
19351 (binaries-shared): Remove variable.
19352 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19353 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19354 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19355 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19356 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19357 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19358 * elf/Makefile (sln-modules): New variable.
19359 (extra-objs): Add $(sln-modules:=.o).
19360 (ldconfig-modules): Add static-stubs.
19361 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19362 * elf/static-stubs.c: New file.
19363
7a845b2c
JM
19364 [BZ #14283]
19365 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19366 by 7 not 8 to examine high bit of fractional part. Use volatile
19367 variables when splitting into final array of floats if
19368 __FLT_EVAL_METHOD__ != 0.
19369 * math/libm-test.inc (cos_test): Add another test.
19370 (sin_test): Likewise.
19371 * sysdeps/i386/fpu/libm-test-ulps: Update.
19372
e2283f38
JM
19373 [BZ #14273]
19374 * math/libm-test.inc (cosh_test): Add more tests.
19375
370ca3d2
JM
19376 * version.h (RELEASE): Set to "development".
19377 (VERSION): Set to "2.16.90".
19378
ee9247c3
CD
193792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19380
19381 * NEWS: Update copyright. Remove last-updated date.
19382 Mention math library bug fixes and timezone data changes.
19383 * README: Mention GNU/Hurd, x32, and HPPA support status.
19384
4648c381
TS
193852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19386
19387 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19388
aac78a43
AJ
193892012-06-27 Andreas Jaeger <aj@suse.de>
19390
19391 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19392
ed3dbfad
AJ
193932012-06-25 Andreas Jaeger <aj@suse.de>
19394
19395 * sysdeps/s390/fpu/libm-test-ulps: Update.
19396
4d0ee855
AS
193972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19398 Thomas Schwinge <thomas@codesourcery.com>
19399
19400 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19401 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19403 fanotify_mark.
19404
af1bce34
TS
194052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19406
a9fa33ba
TS
19407 * sysdeps/mach/start.c: Remove file.
19408 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19409 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19410 * sysdeps/sh/init-first.c: Likewise.
19411
58f902b8
TS
19412 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19413 registers for frame unwinding purposes, add CFI directives.
19414 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19415 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19416 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19417 Likewise.
19418
1518f58b
TS
19419 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19420 __fortify_fail returning.
19421 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19422
db9b5059
TS
19423 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19424 sysdeps/sh/____longjmp_chk.S.
19425 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19426 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19427 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19428 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19429
967705fe
TS
19430 * sysdeps/sh/abort-instr.h: New file.
19431 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19432 process in case exit returns.
19433
a9def8c4
TS
19434 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19435 initialize the GOT register before use.
19436
2a649725
TS
19437 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19438 calculation of ARGC > 4.
19439
af1bce34
TS
19440 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19441 meaningful names to some local labels.
19442
d230f50a
KK
194432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19444 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19445
19446 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19447 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19448 (__arch_compare_and_exchange_val_16_acq): Likewise.
19449 (__arch_compare_and_exchange_val_32_acq): Likewise.
19450 (atomic_exchange_and_add): Fix gUSA sequence.
19451 (atomic_add): Likewise.
19452 (atomic_add_negative): Likewise.
19453 (atomic_add_zero): Likewise.
19454 (atomic_bit_test_set): Likewise.
19455
0479b305
AS
194562012-06-22 Andreas Schwab <schwab@redhat.com>
19457
19458 [BZ #13579]
19459 * include/link.h (struct link_map): Add l_free_initfini.
19460 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19461 l_initfini.
19462 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19463 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19464 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19465 set.
19466
0e3933b9
CD
194672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19468
19469 * configure.in: Use AC_LANG_SOURCE.
19470 * configure: Regenerate.
19471
4248b1b1
RM
194722012-06-22 Roland McGrath <roland@hack.frob.com>
19473
19474 * configure.in (libc_cv_localstatedir): New substituted variable.
19475 * configure: Regenerated.
19476 * config.make.in (localstatedir): New variable, substituted from
19477 libc_cv_localstatedir.
19478 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19479 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19480 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19481 * sysdeps/gnu/configure: Regenerated.
19482
006dd861
JL
194832012-06-21 Jeff Law <law@redhat.com>
19484
19485 [BZ #14277]
19486 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19487 free. Simplify list management for _LIBC case.
19488
79662d42
JM
194892012-06-21 Joseph Myers <joseph@codesourcery.com>
19490
b7abb4bf
JM
19491 [BZ #14273]
19492 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19493 Clear sign bit of 64-bit integer value before comparing against
19494 overflow value.
19495
79662d42
JM
19496 * sysdeps/mach/configure: Regenerated.
19497
1f150908
L
194982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 [BZ #14278]
19501 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19502
28363bbf
JL
195032012-06-21 Jeff Law <law@redhat.com>
19504
19505 [BZ #13882]
19506 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19507 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19509 * elf/dl-open.c (dl_open_worker): Likewise.
19510
09615db4
CD
195112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19512
19513 * scripts/list-sources.sh: Scan PORTS for translations.
19514 * po/libc.pot: Regenerated.
19515
2174c6dd
AJ
195162012-06-21 Andreas Jaeger <aj@suse.de>
19517
19518 [BZ #12194]
19519 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19520 warning.
19521 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19522 * bits/byteswap-16.h (__bswap_16): Likewise.
19523 * bits/byteswap.h (__bswap_constant_16): Likewise.
19524
3ee947b1
L
195252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19526
19527 [BZ #14117]
a2f34833
L
19528 * sysdeps/i386/fpu_control.h: Removed.
19529 * sysdeps/x86_64/fpu_control.h: Moved to ...
19530 * sysdeps/x86/fpu_control.h: Here.
19531
3ee947b1
L
19532 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19533 (_FPU_SETCW): Likewise.
19534
ed1825f8
L
195352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19536
25f1282a
L
19537 [BZ #14117]
19538 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19539 * sysdeps/x86/fpu/bits/mathinline.h: This.
19540 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19541
ed1825f8
L
19542 [BZ #14050]
19543 [BZ #14117]
19544 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19545 functions if __x86_64__ is defined.
19546
36d54b74
CLT
195472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19548
19549 * string/endian.h: Add !__ASSEMBLER__ condition for including
19550 conversion interfaces.
19551
10285c21
JM
195522012-06-15 Joseph Myers <joseph@codesourcery.com>
19553
19554 [BZ #14241]
19555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19556 of ABS(x) in calculating zero to negative powers other than odd
19557 integers.
19558 * math/libm-test.inc (pow_test): Add more tests.
19559
06c5abbd
AJ
195602012-06-15 Andreas Jaeger <aj@suse.de>
19561
19562 * manual/contrib.texi (Contributors): Update entry of Liubov
19563 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19564 Machado Filho.
19565
a3aeac40
CH
195662012-06-15 Cyril Hrubis <metan@ucw.cz>
19567
19568 * string/string.h: Add __wur to GNU version of strerror_r.
19569
49bdf4c1
L
195702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 [BZ #14229]
19573 * string/Makefile (tests): Add tst-strtok_r.
19574 * string/tst-strtok_r.c: New file.
19575 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19576 RAX_LP/RDX_LP on SAVE_PTR.
19577
834f9b8d
RM
195782012-06-14 Roland McGrath <roland@hack.frob.com>
19579
19580 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19581
75fa1921
JM
195822012-06-14 Joseph Myers <joseph@codesourcery.com>
19583
19584 * libm_test.inc (csqrt_test): Allow more spurious underflow
19585 exceptions.
19586 (j0_test): Likewise.
19587 (j1_test): Likewise.
19588 (y0_test): Likewise.
19589 (y1_test): Likewise.
19590
771766df
CD
195912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19592
19593 * po/Makefile (libc.pot): Use UTF-8 charset.
19594
ceb9e56b
PP
195952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19596
19597 [BZ #14210]
19598 Suppress sign-conversion warning from FD_SET.
19599 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19600 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19601 not unsigned long int.
19602 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19603
ddb28975
L
196042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 [BZ #14050]
19607 [BZ #14117]
19608 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19609 __extern_always_inline instead of __extern_inline.
19610 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19611 (__signbit): Likewise.
19612 (__signbitl): Support C++ namespace.
19613 (lrintf): New inline function.
19614 (lrint): Likewise.
19615 (llrintf): Likewise.
19616 (llrint): Likewise.
19617 (fmaxf): Likewise.
19618 (fmax): Likewise.
19619 (fminf): Likewise.
19620 (fmin): Likewise.
19621 (rint): Likewise.
19622 (rintf): Likewise.
19623 (ceil): Likewise.
19624 (ceilf): Likewise.
19625 (floor): Likewise.
19626 (floorf): Likewise.
19627 (nearbyint): Likewise.
19628 (nearbyintf): Likewise.
19629
d7b4fb26
TS
196302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19631
19632 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19633 non-default versions.
19634
eb55f5c2
RM
196352012-06-11 Roland McGrath <roland@hack.frob.com>
19636
19637 [BZ #14218]
19638 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19639
366af02c
TS
196402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19641
99ff6e5c
TS
19642 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19643 (FE_UPWARD, FE_DOWNWARD): Don't define.
19644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19645 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19646
366af02c
TS
19647 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19648 reading it.
19649 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19651
793ea851
KK
196522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19653
19654 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19656 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19657 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19658
a728a38f
L
196592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 [BZ #14117]
c08010c7
L
19662 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19663 * sysdeps/i386/fpu/Implies: New file.
19664 * sysdeps/x86_64/fpu/Implies: Likewise.
19665 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19666 * sysdeps/x86/fpu/bits/fenv.h: This.
19667
a728a38f
L
19668 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19669 __SSE_MATH__.
19670
6e230d11
SP
196712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19672
19673 [BZ #14134]
19674 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19675 character 0xffff that matches the last element of the
19676 conversion table.
19677
1b671feb
AZ
196782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679
19680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19681 fmodl commit.
19682
6043738b
AZ
196832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19684
19685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19686 values higher than 25.6283.
19687
34ae0b32
AZ
196882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19689
19690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19691 subnormal exponent extraction and add some __builtin_expect.
19692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19693 Fix for subnormal mantissa calculation.
19694
1214ec8f
MF
196952012-06-04 Mike Frysinger <vapier@gentoo.org>
19696
19697 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19698 cpu2 is -1 and errno is not ENOSYS.
19699
f3d1f93c
L
197002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 [BZ #14117]
0e4a3cd7
L
19703 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19704 * sysdeps/x86/bits/string.h: This.
19705 * sysdeps/x86_64/bits/string.h: Removed.
19706
6704c645
L
19707 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19708 if not compiling for x86-64, but compiling for >= i486.
19709
48495318
L
19710 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19711 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19712
14adcbfc
L
19713 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19714 New macro from Linux kernel 3.4.0.
19715 (FP_XSTATE_MAGIC2): Likewise.
19716 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19717 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19718 (struct _fpx_sw_bytes): New struct.
19719 (struct _xsave_hdr): Likewise.
19720 (struct _ymmh_state): Likewise.
19721 (struct _xstate): Likewise.
19722
68e408ab
L
19723 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19724 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19725 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19726 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19727 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19728 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19729
f3d1f93c
L
19730 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19731 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19732 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19733 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19734 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19735 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19736
d9dc34cd
TMQMF
197372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19738
19739 [BZ #13743]
19740 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19741 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19742 (sysdep_headers): Include sys/platform/ppc.h.
19743 * sysdeps/powerpc/test-gettimebase.c: Test for
19744 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19745 * manual/Makefile (appendices): Include platform.texi.
19746 * manual/contrib.texi (Contributors): Update @node pointers.
19747 * manual/maint.texi (Maintenance): Likewise.
19748 (Platform): New node.
19749 * manual/platform.texi: New file. Document the new features.
19750
4af3879c
SP
197512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19752 Jakub Jelinek <jakub@redhat.com>
19753
19754 [BZ #14188]
19755 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19756 where __builtin_expect is unavailable.
19757
2fd6ff13
DM
197582012-06-03 David S. Miller <davem@davemloft.net>
19759
19760 * stdlib/longlong.h: Updated from GCC.
19761
173f7220
AS
197622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19763
19764 [BZ #14042]
19765 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19766 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19767 __mcount_internal.
19768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19769 (GLIBC_2.16): Likewise.
19770
f34a1c6f
L
197712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19772
19773 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19774
88a4576f
JM
197752012-06-01 Joseph Myers <joseph@codesourcery.com>
19776
ea32bcdd
JM
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19778 (default-abi): New variable.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19780 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19781 variable.
19782 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19783 Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19785 Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19787 Likewise.
19788
88a4576f
JM
19789 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19790 definition. Document in comment.
19791
402fe938
DM
197922012-06-01 David S. Miller <davem@davemloft.net>
19793
19794 * stdlib/longlong.h: Updated from GCC.
19795
3553723f
L
197962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19797
19798 [BZ #14117]
3bd872c4
L
19799 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19800 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19801 sys/debugreg.h sys/io.h here.
19802 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19803 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19804 sys/io.h.
19805 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19806 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19807 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19808 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19809 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19810 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19811
3553723f
L
19812 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19813 Define only if __x86_64__ is defined.
19814
4842e4fe
JM
198152012-06-01 Joseph Myers <joseph@codesourcery.com>
19816
c5bfe3d5
JM
19817 [BZ #14048]
19818 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19819 Use int64_t for variable i.
19820 * math/libm-test.inc (fmod_test): Add more tests.
19821
4842e4fe
JM
19822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19823 z computation is not scheduled after fetestexcept.
19824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19825 Use math_force_eval instead of asm to ensure calculation scheduled
19826 before exception test.
19827 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19828 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19829
efb73488
AJ
198302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19831
19832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19833 computation is not scheduled after fetestexcept.
19834
29bcce7c
L
198352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19836
19837 [BZ #14117]
19838 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19839 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19840
73a68f94
AZ
198412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19842
19843 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19844 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19845
67b6df78
L
198462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19847
edf2933a 19848 [BZ #14117]
ebc64a18
L
19849 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19850 <bits/wordsize.h>.
19851 (__WCHAR_MIN): Support __WORDSIZE == 64.
19852 (__WCHAR_MAX): Likewise.
19853
edf2933a
L
19854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19856
57c6cf40
L
19857 [BZ #14183]
19858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19859 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19860
67b6df78 19861 [BZ #14117]
8eb6281e
L
19862 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19863 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19864
aac639f4
L
19865 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19866 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19867
67b6df78
L
19868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19869 Defined to 1 if __x86_64__ isn't defined.
19870 (_STAT_VER_LINUX_OLD): New.
19871 (st_atime): Remove duplicate.
19872 (st_mtime): Likewise.
19873 (st_ctime): Likewise.
19874
1c2cfe81
DM
198752012-05-31 David S. Miller <davem@davemloft.net>
19876
19877 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19878 entries.
19879
5be8418c
AS
198802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19881
e7725326
AS
19882 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19883 gen-libm-test.pl.
19884
5be8418c
AS
19885 [BZ #14132]
19886 * elf/dl-reloc.c: Include <_itoa.h>.
19887 (_dl_reloc_bad_type): Remove use of INTUSE.
19888 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19889 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19890 * stdio-common/psiginfo.c (psiginfo): Likewise.
19891 * stdio-common/psignal.c (psignal): Likewise.
19892 * string/strsignal.c (strsignal): Likewise.
19893 * include/signal.h (_sys_siglist): Declare hidden proto.
19894 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19895 INTVARDEF with libc_hidden_data_def.
19896 * stdio-common/itoa-udigits.c: Likewise.
19897 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19898 (_itoa_lower_digits_internal): Remove declaration.
19899 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19900 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19901 (_sys_sigabbrev_internal): Remove aliases.
19902 (_sys_siglist): Define hidden alias.
19903
507352f1
MT
199042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19905
19906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19907 bits/sysctl.h.
19908
42bbb1c3
L
199092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 [BZ #14117]
6bd784b6
L
19912 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19913 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19914
8bca20f0
L
19915 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19916 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19917 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19918 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19920 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19921
f9e890a9
L
19922 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19923 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19924 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19925
471101a1
L
19926 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19927 with __addr.
19928 (insw): Likewise.
19929 (insl): Likewise.
19930 (outsb): Likewise.
19931 (outsw): Likewise.
19932 (outsl): Likewise.
19933
6451c862
L
19934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19935 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19936 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19937
a254b8c9
L
19938 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19939 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19940 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19941 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19942 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19943 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19944
b8dfdd92
L
19945 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19946 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19947
578cd270
L
19948 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19949 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19950
de662f5f
L
19951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19953 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19954
25653439
L
19955 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19956 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19957 to ...
19958 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19959
6bad24a0
L
19960 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19961 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19962 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19963
42bbb1c3
L
19964 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19965 for x86-64.
19966 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19967
2d10d547
JM
199682012-05-31 Joseph Myers <joseph@codesourcery.com>
19969
19970 * math/math.h (M_El): Use two more decimal places.
19971 (M_LOG2El): Likewise.
19972 (M_LOG10El): Likewise.
19973 (M_LN2l): Likewise.
19974 (M_LN10l): Likewise.
19975 (M_PIl): Likewise.
19976 (M_PI_2l): Likewise.
19977 (M_PI_4l): Likewise.
19978 (M_1_PIl): Likewise.
19979 (M_2_PIl): Likewise.
19980 (M_2_SQRTPIl): Likewise.
19981 (M_SQRT2l): Likewise.
19982 (M_SQRT1_2l): Likewise.
19983
f230c29b
DM
199842012-05-31 David S. Miller <davem@davemloft.net>
19985
19986 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19987 values between float registers.
19988 * sysdeps/sparc/sparc64/memset.S: Likewise.
19989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19990
fed806c3
MF
199912012-05-31 Mike Frysinger <vapier@gentoo.org>
19992
19993 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19994 -D_FORTIFY_SOURCE=1.
19995 (CPPFLAGS-tst-longjmp_chk.c): Define.
19996 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19997 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19998 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19999 CFLAGS-tst-wchar-h.c.
20000
30917259
MP
200012012-05-31 Marek Polacek <polacek@redhat.com>
20002
20003 [BZ #14132]
20004 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20005 __endmntent_internal): Remove declaration.
20006 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20007 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20008 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20009
1c58d5dc
DM
200102012-05-30 David S. Miller <davem@davemloft.net>
20011
20012 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20013 (___Q_simulate_exceptions): Use real FP ops rather than writing
20014 into the %fsr.
20015 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20016 Likewise.
20017
7dc00e0d
L
200182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20019
20020 [BZ #14117]
0bd53985
L
20021 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20022 * sysdeps/x86/bits/xtitypes.h: This.
20023
3a257e66
L
20024 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20025 * sysdeps/x86/bits/wordsize.h: This.
20026
62f62904
L
20027 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20028 * sysdeps/x86/bits/huge_vall.h: This.
20029
404fe9d9
L
20030 * sysdeps/i386/bits/select.h: Removed.
20031 * sysdeps/x86_64/bits/select.h: Renamed to ...
20032 * sysdeps/x86/bits/select.h: This.
20033
d48d0446
L
20034 * sysdeps/i386/bits/setjmp.h: Removed.
20035 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20036 * sysdeps/x86/bits/setjmp.h: This.
20037
7dc00e0d
L
20038 * sysdeps/i386/bits/mathdef.h: Removed.
20039 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20040 * sysdeps/x86/bits/mathdef.h: This.
20041
03277f8f
AS
200422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20043
20044 [BZ #14132]
20045 * include/sys/socket.h (__connect_internal)
20046 (__libc_sa_len_internal): Remove declaration.
20047 (__connect, __libc_sa_len): Declare hidden_proto.
20048 (SA_LEN): Remove use of INTUSE.
20049 * socket/connect.c: Add libc_hidden_def.
20050 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20051 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20052 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20053 alias.
20054 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20055 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20056 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20057 of adding _internal alias.
20058
13764867
L
200592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20060
20061 [BZ #14117]
6bd97696
L
20062 * sysdeps/i386/bits/link.h: Removed.
20063 * sysdeps/i386/bits/linkmap.h: Likewise.
20064 * sysdeps/x86_64/bits/link.h: Renamed to ...
20065 * sysdeps/x86/bits/link.h: This.
20066 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20067 * sysdeps/x86/bits/linkmap.h: This.
20068
f726f0bb
L
20069 * sysdeps/i386/bits/endian.h: Removed.
20070 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20071 * sysdeps/x86/bits/endian.h: This.
20072
13764867
L
20073 * sysdeps/i386/bits/byteswap.h: Removed.
20074 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20075 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20076 * sysdeps/x86/bits/byteswap.h: This.
20077 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20078 * sysdeps/x86/bits/byteswap-16.h: This.
20079 * sysdeps/i386/Implies: Add x86.
20080 * sysdeps/x86_64/Implies: Likewise.
20081
ae251b0b
DM
200822012-05-30 David S. Miller <davem@davemloft.net>
20083
20084 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20085 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20086 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20087 (FP_TRAPPING_EXCEPTIONS): Define.
20088 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20089 (FP_TRAPPING_EXCEPTIONS): Define.
20090 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20091 subnormals only when inexact has been signalled or underflow
20092 exceptions are enabled.
20093 (_FP_PACK_CANONICAL): Likewise.
20094
d5c90867
L
200952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 [BZ #14183]
20098 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20099 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20100
63f1549e
RH
201012012-05-30 Richard Henderson <rth@twiddle.net>
20102
8d8f2279
RH
20103 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20104 with #ifndef NOT_IN_libc.
20105
63f1549e
RH
20106 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20107 marked to avoid plt entry.
20108
0ab0291b
L
201092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 [BZ #14112]
20112 * Makeconfig (default-abi): New macro.
20113 (abi-includes): Likewise.
20114 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20115 $(abi-$(default-abi)-lib-soname) for soname if defined.
20116 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20117 abi-variants.
20118 * Makefile (installed-stubs): Likewise.
20119 * include/stubs-biarch.h: Removed.
20120 * scripts/lib-names.awk: Only handle one library at a time.
20121 * scripts/soversions.awk: Remove WORDSIZE support.
20122 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20123 entries.
20124 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20125 Removed.
20126 (syscall-list-default-condition): Likewise.
20127 (syscall-list-default-condition): Likewise.
20128 (syscall-list-includes): Likewise.
20129 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20130 syscall-list-* with abi-*. Handle undefined abi-variants.
20131 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20132 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20133 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20134 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20135 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20136 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20137 Removed.
20138 (syscall-list-32-options): Likewise.
20139 (syscall-list-32-condition): Likewise.
20140 (syscall-list-64-options): Likewise.
20141 (syscall-list-64-condition): Likewise.
20142 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20143 macro.
20144 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20145 Renamed to ...
20146 (abi-*): This.
20147 (abi-64-ld-soname): New macro.
20148 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20149 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20150 Renamed to ...
20151 (abi-*): This.
20152 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20153 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20154
4da0431d
JM
201552012-05-30 Joseph Myers <joseph@codesourcery.com>
20156
3a85279c
JM
20157 * sysdeps/unix/sysv/linux/kernel-features.h
20158 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20159 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20160 include <kernel-features.h>.
20161 [!__NR_ftruncate64]: Remove conditional code.
20162 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20163 [__NR_ftruncate64]: Make code unconditional.
20164 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20165 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20166 include <kernel-features.h>.
20167 [!__NR_ftruncate64]: Remove conditional code.
20168 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20169 [__NR_ftruncate64]: Make code unconditional.
20170 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20172 include <kernel-features.h>.
20173 [!__NR_ftruncate64]: Remove conditional code.
20174 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20175 [__NR_ftruncate64]: Make code unconditional.
20176 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20178 include <kernel-features.h>.
20179 [!__NR_ftruncate64]: Remove conditional code.
20180 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20181 [__NR_ftruncate64]: Make code unconditional.
20182 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20183
4da0431d
JM
20184 * configure.in (libc_cv_fpie): Weaken to a compile test using
20185 LIBC_TRY_CC_OPTION.
20186 * configure: Regenerated.
20187
11ef492c
AK
201882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20189
20190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20194 Refreshed.
20195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20201 Refreshed.
20202
d66ef399
DM
202032012-05-27 David S. Miller <davem@davemloft.net>
20204
20205 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20206 (___Q_zero): New.
20207 (__Q_simulate_exceptions): Return void. Change to simulate
20208 exceptions by writing into the %fsr.
20209 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20210 (__Qp_handle_exceptions): Likewise.
20211 (numbers): Delete.
20212 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20213 __Qp_handle_exceptions.
20214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20215 __Qp_handle_exceptions.
20216 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20217 as unused and give dummy FP_RND_NEAREST initializer.
20218 (FP_INHIBIT_RESULTS): Define.
20219 (___Q_simulate_exceptions): Update declaration.
20220 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20221 formatting.
20222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20223 as unused and give dummy FP_RND_NEAREST initializer.
20224 (__Qp_handle_exceptions): Update declaration.
20225 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20226 formatting.
20227
04fb54b5
TS
202282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20229
20230 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20231 the temporary FPU control word.
20232 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20233 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20234 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20235 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20236 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20237 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20238 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20239 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20240 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20241 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20242 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20243
3f99608f
KK
202442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20245
20246 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20247 fields.
20248
65a4de4e
CLT
202492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20250
20251 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20252 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20253 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20254 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20255 Likewise.
20256 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20257 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20258 Likewise.
20259
15749d40
UD
202602012-05-27 Ulrich Drepper <drepper@gmail.com>
20261
20262 * po/h.po: Update from translation team.
20263
25dbcb27
AS
202642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20265
3d3f8e55
AS
20266 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20267
25dbcb27
AS
20268 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20269 handling of denormals.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20271 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20272 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20273 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20277 Likewise.
20278
7ad47a80 202792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20280
20281 [BZ #14152]
20282 * math/libm-test.inc (fma_test): Don't always expect underflow
20283 exception.
20284
9c6ea9fa
SP
202852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20286
20287 [BZ #12416]
20288 * elf/tst-execstack.c: Include stackinfo.h.
20289 (do_test): Adjust test case to ensure that pthread_getattr_np
20290 behaviour remains the same after marking stack executable.
20291
a8239222
JM
202922012-05-25 Joseph Myers <joseph@codesourcery.com>
20293
20294 * sysdeps/unix/sysv/linux/kernel-features.h
20295 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20296 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20297 kernel-features.h.
20298 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20299 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20300 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20301 kernel-features.h.
20302 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20303 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20304
918b5606
L
203052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20306
20307 * configure.in: Define the default includes to being none.
20308 * configure: Regenerated.
20309
3a097cc7
RM
203102012-05-25 Roland McGrath <roland@hack.frob.com>
20311
8422c9a5
RM
20312 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20313 * sysdeps/x86_64/setjmp.S: Likewise.
20314 * sysdeps/i386/bsd-setjmp.S: Likewise.
20315 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20316 * sysdeps/i386/setjmp.S: Likewise.
20317 * sysdeps/i386/__longjmp.S: Likewise.
20318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20319 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20320
3a097cc7
RM
20321 * include/stap-probe.h: New file.
20322 * configure.in: Handle --enable-systemtap.
20323 * configure: Regenerated.
20324 * config.h.in (USE_STAP_PROBE): New #undef.
20325 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20326 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20327 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20328
21708942
JM
203292012-05-25 Joseph Myers <joseph@codesourcery.com>
20330
20331 [BZ #13717]
20332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20333 to 2.4.0 where earlier.
20334 * sysdeps/unix/sysv/linux/configure: Regenerated.
20335 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20336 <kernel-features.h>.
20337 [__ASSUME_32BITUIDS]: Make code unconditional.
20338 [!__ASSUME_32BITUIDS]: Remove conditional code.
20339 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20340 <kernel-features.h>.
20341 [__ASSUME_32BITUIDS]: Make code unconditional.
20342 [!__ASSUME_32BITUIDS]: Remove conditional code.
20343 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20344 [__ASSUME_32BITUIDS]: Make code unconditional.
20345 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20346 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20347 <kernel-features.h>.
20348 [__ASSUME_32BITUIDS]: Make code unconditional.
20349 [!__ASSUME_32BITUIDS]: Remove conditional code.
20350 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20351 <kernel-features.h>.
20352 [__ASSUME_32BITUIDS]: Make code unconditional.
20353 [!__ASSUME_32BITUIDS]: Remove conditional code.
20354 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20355 <kernel-features.h>.
20356 [__ASSUME_32BITUIDS]: Make code unconditional.
20357 [!__ASSUME_32BITUIDS]: Remove conditional code.
20358 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20359 <kernel-features.h>.
20360 [__ASSUME_32BITUIDS]: Make code unconditional.
20361 [!__ASSUME_32BITUIDS]: Remove conditional code.
20362 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20363 <kernel-features.h>.
20364 [__ASSUME_32BITUIDS]: Make code unconditional.
20365 [!__ASSUME_32BITUIDS]: Remove conditional code.
20366 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20367 <kernel-features.h>.
20368 [__ASSUME_32BITUIDS]: Make code unconditional.
20369 [!__ASSUME_32BITUIDS]: Remove conditional code.
20370 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20371 <kernel-features.h>.
20372 [__ASSUME_32BITUIDS]: Make code unconditional.
20373 [!__ASSUME_32BITUIDS]: Remove conditional code.
20374 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20375 <kernel-features.h>.
20376 [__ASSUME_32BITUIDS]: Make code unconditional.
20377 [!__ASSUME_32BITUIDS]: Remove conditional code.
20378 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20379 <kernel-features.h>.
20380 [__ASSUME_32BITUIDS]: Make code unconditional.
20381 [!__ASSUME_32BITUIDS]: Remove conditional code.
20382 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20383 <kernel-features.h>.
20384 [__ASSUME_32BITUIDS]: Make code unconditional.
20385 [!__ASSUME_32BITUIDS]: Remove conditional code.
20386 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20387 <kernel-features.h>.
20388 [__NR_setresgid] (__setresgid): Do not declare.
20389 [__ASSUME_32BITUIDS]: Make code unconditional.
20390 [!__ASSUME_32BITUIDS]: Remove conditional code.
20391 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20392 <kernel-features.h>.
20393 [__NR_setresuid] (__setresuid): Do not declare.
20394 [__ASSUME_32BITUIDS]: Make code unconditional.
20395 [!__ASSUME_32BITUIDS]: Remove conditional code.
20396 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20397 <kernel-features.h>.
20398 [__ASSUME_32BITUIDS]: Make code unconditional.
20399 [!__ASSUME_32BITUIDS]: Remove conditional code.
20400 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20401 <kernel-features.h>.
20402 [__ASSUME_32BITUIDS]: Make code unconditional.
20403 [!__ASSUME_32BITUIDS]: Remove conditional code.
20404 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20405 <kernel-features.h>.
20406 [__ASSUME_32BITUIDS]: Make code unconditional.
20407 [!__ASSUME_32BITUIDS]: Remove conditional code.
20408 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20409 <kernel-features.h>.
20410 [__ASSUME_32BITUIDS]: Make code unconditional.
20411 [!__ASSUME_32BITUIDS]: Remove conditional code.
20412 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20413 <kernel-features.h>.
20414 [__ASSUME_32BITUIDS]: Make code unconditional.
20415 [!__ASSUME_32BITUIDS]: Remove conditional code.
20416 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20417 <kernel-features.h>.
20418 [__ASSUME_32BITUIDS]: Make code unconditional.
20419 [!__ASSUME_32BITUIDS]: Remove conditional code.
20420 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20421 <kernel-features.h>.
20422 [__ASSUME_32BITUIDS]: Make code unconditional.
20423 [!__ASSUME_32BITUIDS]: Remove conditional code.
20424 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20425 <kernel-features.h>.
20426 [__ASSUME_32BITUIDS]: Make code unconditional.
20427 [!__ASSUME_32BITUIDS]: Remove conditional code.
20428 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20429 <kernel-features.h>.
20430 [__ASSUME_32BITUIDS]: Make code unconditional.
20431 [!__ASSUME_32BITUIDS]: Remove conditional code.
20432 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20433 <kernel-features.h>.
20434 [__ASSUME_32BITUIDS]: Make code unconditional.
20435 [!__ASSUME_32BITUIDS]: Remove conditional code.
20436 * sysdeps/unix/sysv/linux/kernel-features.h
20437 (__ASSUME_SETRESUID_SYSCALL): Remove.
20438 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20439 (__ASSUME_32BITUIDS): Likewise.
20440 (__ASSUME_LDT_WORKS): Likewise.
20441 (__ASSUME_O_DIRECTORY): Likewise.
20442 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20443 architecture but not kernel version.
20444 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20445 (__ASSUME_MMAP2_SYSCALL): Likewise.
20446 (__ASSUME_STAT64_SYSCALL): Likewise.
20447 (__ASSUME_IPC64): Likewise.
20448 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20449 <kernel-features.h>.
20450 [__ASSUME_32BITUIDS]: Make code unconditional.
20451 [!__ASSUME_32BITUIDS]: Remove conditional code.
20452 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20453 <kernel-features.h>.
20454 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20455 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20456 132096]: Remove conditional code.
20457 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20459 <kernel-features.h>.
20460 [__ASSUME_32BITUIDS]: Make code unconditional.
20461 [!__ASSUME_32BITUIDS]: Remove conditional code.
20462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20463 <kernel-features.h>.
20464 [__ASSUME_32BITUIDS]: Make code unconditional.
20465 [!__ASSUME_32BITUIDS]: Remove conditional code.
20466 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20467 <kernel-features.h>.
20468 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20469 unconditional.
20470 (__setresgid): Do not declare.
20471 [__ASSUME_32BITUIDS]: Make code unconditional.
20472 [!__ASSUME_32BITUIDS]: Remove conditional code.
20473 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20474 <kernel-features.h>.
20475 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20476 unconditional.
20477 (__setresuid): Do not declare.
20478 [__ASSUME_32BITUIDS]: Make code unconditional.
20479 [!__ASSUME_32BITUIDS]: Remove conditional code.
20480 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20481 <kernel-features.h>.
20482 [__ASSUME_32BITUIDS]: Make code unconditional.
20483 [!__ASSUME_32BITUIDS]: Remove conditional code.
20484 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20485 <kernel-features.h>.
20486 [__ASSUME_32BITUIDS]: Make code unconditional.
20487 [!__ASSUME_32BITUIDS]: Remove conditional code.
20488
a386f1cc
RH
204892012-05-25 Richard Henderson <rth@twiddle.net>
20490
20491 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20492 dl_hwcap to ifunc resolver.
20493 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20494 elf_ifunc_invoke.
20495 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20496 dl_hwcap to ifunc resolver.
20497 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20498
b6550497
JM
204992012-05-24 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #14153]
20502 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20503 for |x| <= 2**-26, not 2**-57.
20504 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20505 exception.
20506
b0bc23a1
JL
205072012-05-24 Jeff Law <law@redhat.com>
20508
20509 * stdio-common/Makefile (tests): Add bug25.
20510 * stdio-common/bug25.c: New test.
20511
347c92e9
L
205122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 [BZ #13576]
20515 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20516 multiple of MALLOC_ALIGNMENT in size.
20517 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20518
6bcc8b3f
JM
205192012-05-24 Joseph Myers <joseph@codesourcery.com>
20520
20521 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20522 Require >= 256.
20523 (FILENAME_MAX): Use macro-int-constant.
20524 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20525 (_IOFBF): Use macro-int-constant.
20526 (_IOLBF): Likewise.
20527 (_IONBF): Likewise.
20528 (SEEK_CUR): Likewise.
20529 (SEEK_END): Likewise.
20530 (SEEK_SET): Likewise.
20531 (TMP_MAX): Likewise.
20532 (EOF): Use macro-int-constant. Require < 0.
20533 (NULL): Use macro-constant. Require == 0.
20534 (stdin): Require type to be FILE *.
20535 (stdout): Likewise.
20536 (stderr): Likewise.
20537 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20538 macro-int-constant.
20539 (EXIT_SUCCESS): Likewise.
20540 (NULL): Use macro-constant. Require == 0.
20541 (RAND_MAX): Use macro-int-constant.
20542 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20543 [C99-based standards] (strtof): Require function.
20544 [C99-based standards] (strtold): Likewise.
20545 [C99-based standards] (strtoll): Likewise.
20546 [C99-based standards] (strtoull): Likewise.
20547 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20548 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20549 [ISO || ISO99 || ISO11] (math.h): Likewise.
20550 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20551 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20553
d18ea0c5
AS
205542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20555
20556 [BZ #14132]
56d25bb8
AS
20557 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20558 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20559 * intl/dgettext.c (DCGETTEXT): Likewise.
20560 * intl/gettext.c (DCGETTEXT): Likewise.
20561 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20562 * posix/regex_internal.h (gettext): Likewise.
20563 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20564 Remove declaration.
20565 * include/argz.h (__argz_count_internal)
20566 (__argz_stringify_internal): Remove declaration.
20567 (__argz_count, __argz_stringify): Declare hidden proto.
20568 * intl/dcgettext.c: Remove use of INTDEF.
20569 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20570 * string/argz-stringify.c: Likewise.
20571 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20572 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20573 Declare hidden proto.
d18ea0c5
AS
20574 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20575 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20576 Declare hidden proto.
20577 * include/stdio.h (__asprintf_internal): Don't declare.
20578 (__asprintf): Don't define as macro. Declare hidden proto.
20579 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20580 (__fsetlocking): Declare hidden proto.
20581 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20582 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20583 hidden proto.
20584 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20585 (_IO_setlinebuf): Remove use of INTUSE.
20586 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20587 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20588 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20589 Remove declaration.
20590 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20591 (_IO_do_flush): Remove use of INTUSE.
20592 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20593 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20594 (_IO_adjust_column, _IO_least_wmarker)
20595 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20596 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20597 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20598 (_IO_default_doallocate, _IO_wdefault_doallocate)
20599 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20600 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20601 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20602 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20603 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20604 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20605 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20606 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20607 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20608 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20609 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20610 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20611 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20612 proto.
20613 (_IO_flush_all_internal, _IO_adjust_column_internal)
20614 (_IO_default_uflow_internal, _IO_default_finish_internal)
20615 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20616 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20617 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20618 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20619 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20620 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20621 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20622 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20623 (_IO_file_close_internal, _IO_file_close_it_internal)
20624 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20625 (_IO_file_init_internal, _IO_file_attach_internal)
20626 (_IO_file_fopen_internal, _IO_file_read_internal)
20627 (_IO_file_sync_internal, _IO_file_seek_internal)
20628 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20629 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20630 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20631 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20632 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20633 (_IO_list_all_internal, _IO_link_in_internal)
20634 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20635 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20636 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20637 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20638 (_IO_do_write_internal, _IO_padn_internal)
20639 (_IO_getline_info_internal, _IO_getline_internal)
20640 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20641 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20642 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20643 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20644 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20645 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20646 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20647 with libc_hidden_ver, remove use of INTUSE.
20648 * libio/genops.c: Likewise.
20649 * libio/freopen.c: Likewise.
20650 * libio/freopen64.c: Likewise.
20651 * libio/iofclose.c: Likewise.
20652 * libio/iofdopen.c: Likewise.
20653 * libio/iofflush.c: Likewise.
20654 * libio/iofflush_u.c: Likewise.
20655 * libio/iofgets.c: Likewise.
20656 * libio/iofgets_u.c: Likewise.
20657 * libio/iofopen.c: Likewise.
20658 * libio/iofopncook.c: Likewise.
20659 * libio/iofread.c: Likewise.
20660 * libio/iofread_u.c: Likewise.
20661 * libio/ioftell.c: Likewise.
20662 * libio/iofwrite.c: Likewise.
20663 * libio/iogetline.c: Likewise.
20664 * libio/iogets.c: Likewise.
20665 * libio/iogetwline.c: Likewise.
20666 * libio/iopadn.c: Likewise.
20667 * libio/iopopen.c: Likewise.
20668 * libio/ioseekoff.c: Likewise.
20669 * libio/ioseekpos.c: Likewise.
20670 * libio/iosetbuffer.c: Likewise.
20671 * libio/iosetvbuf.c: Likewise.
20672 * libio/ioungetc.c: Likewise.
20673 * libio/ioungetwc.c: Likewise.
20674 * libio/iovdprintf.c: Likewise.
20675 * libio/iovsprintf.c: Likewise.
20676 * libio/iovsscanf.c: Likewise.
20677 * libio/memstream.c: Likewise.
20678 * libio/obprintf.c: Likewise.
20679 * libio/oldfileops.c: Likewise.
20680 * libio/oldiofclose.c: Likewise.
20681 * libio/oldiofdopen.c: Likewise.
20682 * libio/oldiofopen.c: Likewise.
20683 * libio/oldiopopen.c: Likewise.
20684 * libio/oldstdfiles.c: Likewise.
20685 * libio/putc.c: Likewise.
20686 * libio/setbuf.c: Likewise.
20687 * libio/setlinebuf.c: Likewise.
20688 * libio/stdfiles.c: Likewise.
20689 * libio/strops.c: Likewise.
20690 * libio/vasprintf.c: Likewise.
20691 * libio/vscanf.c: Likewise.
20692 * libio/vsnprintf.c: Likewise.
20693 * libio/vswprintf.c: Likewise.
20694 * libio/wfiledoalloc.c: Likewise.
20695 * libio/wfileops.c: Likewise.
20696 * libio/wgenops.c: Likewise.
20697 * libio/wmemstream.c: Likewise.
20698 * libio/wstrops.c: Likewise.
20699 * libio/__fpurge.c: Likewise.
20700 * libio/__fsetlocking.c: Likewise.
20701 * assert/assert.c: Likewise.
20702 * debug/fgets_chk.c: Likewise.
20703 * debug/fgets_u_chk.c: Likewise.
20704 * debug/fread_chk.c: Likewise.
20705 * debug/fread_u_chk.c: Likewise.
20706 * debug/gets_chk.c: Likewise.
20707 * debug/obprintf_chk.c: Likewise.
20708 * debug/vasprintf_chk.c: Likewise.
20709 * debug/vdprintf_chk.c: Likewise.
20710 * debug/vsnprintf_chk.c: Likewise.
20711 * debug/vsprintf_chk.c: Likewise.
20712 * malloc/mtrace.c: Likewise.
20713 * misc/error.c: Likewise.
20714 * misc/syslog.c: Likewise.
20715 * stdio-common/asprintf.c: Likewise.
20716 * stdio-common/fxprintf.c: Likewise.
20717 * stdio-common/getw.c: Likewise.
20718 * stdio-common/isoc99_fscanf.c: Likewise.
20719 * stdio-common/isoc99_scanf.c: Likewise.
20720 * stdio-common/isoc99_vfscanf.c: Likewise.
20721 * stdio-common/isoc99_vscanf.c: Likewise.
20722 * stdio-common/isoc99_vsscanf.c: Likewise.
20723 * stdio-common/printf-prs.c: Likewise.
20724 * stdio-common/printf_fp.c: Likewise.
20725 * stdio-common/printf_fphex.c: Likewise.
20726 * stdio-common/printf_size.c: Likewise.
20727 * stdio-common/putw.c: Likewise.
20728 * stdio-common/scanf.c: Likewise.
20729 * stdio-common/sprintf.c: Likewise.
20730 * stdio-common/tmpfile.c: Likewise.
20731 * stdio-common/vfprintf.c: Likewise.
20732 * stdio-common/vfscanf.c: Likewise.
20733 * stdlib/strfmon_l.c: Likewise.
20734 * sunrpc/openchild.c: Likewise.
20735 * sunrpc/xdr_stdio.c: Likewise.
20736 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20737 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20738
d6c33fda
RM
207392012-05-24 Roland McGrath <roland@hack.frob.com>
20740
c1487492
RM
20741 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20742
20743 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20744 in the third column, to generate for the shared library an IFUNC
20745 that uses _dl_vdso_vsym.
20746 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20747 * Makeconfig (object-suffixes-noshared): New variable.
20748
20749 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20750 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20751 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20752 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20753
d6c33fda
RM
20754 [BZ #14132]
20755 * include/sys/time.h (__gettimeofday): Remove macro.
20756 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20757 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20758 Remove INTDEF.
20759 (__gettimeofday): Add libc_hidden_def.
20760 (gettimeofday): Add libc_hidden_weak.
20761 * sysdeps/mach/gettimeofday.c: Likewise.
20762 * sysdeps/posix/gettimeofday.c: Likewise.
20763 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20764 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20766 (__gettimeofday_internal): Remove strong_alias.
20767 (__gettimeofday): Add libc_hidden_def.
20768 (gettimeofday): Add libc_hidden_weak.
20769 * sysdeps/unix/syscalls.list (gettimeofday):
20770 Remove __gettimeofday_internal alias.
20771
b5a2bbe6
L
207722012-05-24 Daniel Jacobowitz <drow@false.org>
20773 H.J. Lu <hongjiu.lu@intel.com>
20774
20775 [BZ #12495]
20776 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20777 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20778 (largebin_index_32_big): New.
20779 (largebin_index): Use it for 16-byte alignment.
20780 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20781 correction with front_misalign.
20782
cfba4fda
L
207832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20784
7f907421
L
20785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20787 Likewise.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20789 Likewise.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20791 Likewise.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20793 Likewise.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20795 Likewise.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20797 Likewise.
20798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20799 Likewise.
20800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20801 Likewise.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20803 Likewise.
20804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20805 Likewise.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20807 Likewise.
20808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20809 Likewise.
20810
cfba4fda
L
20811 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20812 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20813
80bad0cc
JM
208142012-05-24 Joseph Myers <joseph@codesourcery.com>
20815
7a25eb06
JM
20816 [BZ #10846]
20817 [BZ #14036]
20818 * math/libm-test.inc (exp_test): Add test from bug 14036.
20819 (pow_test): Add test from bug 10846.
20820
795405f9
JM
20821 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20822 and other flags.
20823 (special_function): Do not include flags in test name.
20824 (parse_args): Likewise.
20825 * sysdeps/i386/fpu/libm-test-ulps: Update.
20826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20827 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20828 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20830
80bad0cc
JM
20831 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20832 exceptions.
20833 * math/libm-test.inc ("Philosophy"): Update comment about
20834 exception testing.
20835 (UNDERFLOW_EXCEPTION): New macro.
20836 (UNDERFLOW_EXCEPTION_OK): Likewise.
20837 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20838 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20839 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20840 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20841 (INVALID_EXCEPTION_OK): Update value.
20842 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20843 (OVERFLOW_EXCEPTION_OK): Likewise.
20844 (IGNORE_ZERO_INF_SIGN): Likewise.
20845 (test_exceptions): Handle underflow exceptions.
20846 (acos_test): Update for underflow exception expectations.
20847 (cexp_test): Likewise.
20848 (clog_test): Likewise.
20849 (clog10_test): Likewise.
20850 (csqrt_test): Likewise.
20851 (ctan_test): Likewise.
20852 (ctanh_test): Likewise.
20853 (exp_test): Likewise.
20854 (exp10_test): Likewise.
20855 (exp2_test): Likewise.
20856 (expm1_test): Likewise.
20857 (fma_test): Likewise.
20858 (j0_test): Likewise.
20859 (jn_test): Likewise.
20860 (nexttoward_test): Likewise.
20861 (pow_test): Likewise.
20862 (scalbn_test): Likewise.
20863 (scalbln_test): Likewise.
20864 (tan_test): Likewise.
20865 (y1_test): Likewise.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868
9e0e3d0b
DM
208692012-05-23 David S. Miller <davem@davemloft.net>
20870
20871 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20872 (__libc_sigaction): Remove unused local variables.
20873
ccd0a08f
L
208742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20875
20876 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20877
62bdf9a6
PE
208782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20879
f8591f80
PE
20880 mktime: avoid signed integer overflow
20881 * time/mktime.c (__mktime_internal): Do not mishandle the case
20882 where diff == INT_MIN.
20883
94c7d826
PE
20884 mktime: simplify computation of average
20885 * time/mktime.c (ranged_convert): Use new time_t_avg function
20886 instead of rolling our own (probably-slower) code.
20887
ce73d683
PE
20888 mktime: do not assume signed right shift propagates sign bit
20889 * time/mktime.c (isdst_differ): New static function.
20890 (__mktime_internal): No need to normalize tm_isdst now.
20891 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20892 tm_isdst values.
20893
72a22e59
PE
20894 mktime: merge another wrapv change from gnulib
20895 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20896 from some compilers.
20897
68605433
PE
20898 mktime: remove incorrect attempt at unusual arithmetics
20899 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20900 The code didn't really work on such machines anyway.
20901 (TYPE_MINIMUM): Assume two's complement.
20902 (twos_complement_arithmetic): Verify that long_int and time_t
20903 are two's complement (or unsigned, in the latter case).
20904
03cf7fe3
PE
20905 mktime: check signed shifts on long_int and time_t, too
20906 * time/mktime.c (SHR): Check that shifts work as desired
20907 on the types long_int and time_t too, as SHR is used on
20908 such types.
20909
f04dfbc2
PE
20910 mktime: do not assume 'long' is wide enough
20911 * time/mktime.c (verify): Move decl up.
20912 (long_int): New type.
20913 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20914 to remove assumption in the code that 'long' is wide enough to
20915 store year values. This assumption is not true on x32 and on
20916 some non-glibc platforms.
20917
62bdf9a6
PE
20918 mktime: merge wrapv change from gnulib
20919 * time/mktime.c (WRAPV): New macro.
20920 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20921 (guess_time_tm, __mktime_internal): Do not assume that signed
20922 integer overflow wraps around; modern compilers generate code
20923 where this assumption is no longer valid.
20924
5e292e4f
L
209252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20926
20927 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20928 Replace "jmp L(pseudo_end)" with "ret".
20929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20930 Likewise.
20931
8caf8c87
AJ
209322012-05-23 Andreas Jaeger <aj@suse.de>
20933
20934 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20935 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20936
1a09dc56
AJ
209372012-05-23 Andreas Jaeger <aj@suse.de>
20938 Maximilian Attems <max@stro.at>
20939
20940 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20941 New macros.
20942
1c87aba0
L
209432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20944
20945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20946 code so that pseudo_end is just ret and the stack pointer is
20947 correct also for static library in error case.
20948
40e45bd5
JM
209492012-05-23 Joseph Myers <joseph@codesourcery.com>
20950
c2670533
JM
20951 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20952 move to syscalls.list.
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20957
40e45bd5
JM
20958 * manual/install.texi (Running make install): Do not mention Linux
20959 kernel version for which pt_chown is not needed.
20960 (Linux): Do not mention problems with nscd with 2.0 kernels.
20961 * INSTALL: Regenerated.
20962
be08eda5
AJ
209632012-05-23 Andreas Jaeger <aj@suse.de>
20964
20965 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20966 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20967 macro.
20968 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20970 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20972 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20978 * sysdeps/unix/sysv/linux/bits/in.h
20979 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20980
a6a056bb
RM
209812012-05-22 Roland McGrath <roland@hack.frob.com>
20982
20983 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20984 (PREPARE_VERSION): Just use assert instead, it will be elided
20985 under [NDEBUG] anyway.
20986
c9009328
L
209872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20988
20989 * sysdeps/unix/sysv/linux/Makefile: Include
20990 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20991 (sysdep_routines): Remove sysctl.
c9009328
L
20992 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20993 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20994 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20996 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20997
73338355
AJ
209982012-05-22 Andreas Jaeger <aj@suse.de>
20999
21000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21001 that pseudo_end is just ret and the stack pointer is correct also
21002 for static library in error case.
21003
d44638b0
PP
210042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21005
21006 [BZ #14122]
21007 * nss/nsswitch.c (defconfig_entries): New variable.
21008 (__nss_database_lookup): Don't leak defconfig entries.
21009 (nss_parse_service_list): Don't leak on error paths.
21010 (free_database_entries): New function.
21011 (free_defconfig): New function.
21012 (free_mem): Move common code to free_database_entries.
21013
31a39bd8
L
210142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21015
da0331a8
L
21016 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21017 Add arch_prctl.
21018 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21019
31a39bd8
L
21020 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21021 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21023 New macro.
21024 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21025 (INTERNAL_SYSCALL_TYPES): Likewise.
21026 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21027 (LOAD_REGS_TYPES_[1-6]): Likewise.
21028 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21029 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21030
45470df3
AZ
210312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21032
21033 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21034 copysignl for GLIBC_2_0.
21035 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21036 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21038 logbl for GLIBC_2_0.
21039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21040 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21041
98a61bcb
L
210422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21043
a4f6e481
L
21044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21045 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21046
f63d5db6
L
21047 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21048 Use "neg %eax".
21049
98a61bcb
L
21050 * time/mktime.c: Update copyright years.
21051
95770f14
PE
210522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21053
6226efbd
PE
21054 mktime: merge comment-quoting-style change from gnulib
21055 * time/mktime.c: Quote 'like this' in comments.
21056 The GNU coding standards suggest that we no longer quote `like this',
21057 as "`" and "'" are typically rendered asymmetrically nowadays.
21058 The typical gnulib style is to quote 'like this' when quoting
21059 code, and "like this" when quoting English.
21060
b99e4f78
PE
21061 * time/mktime.c (compile-command): Add "-I.".
21062
643e01e6
PE
21063 mktime: merge mktime-internal.h change from gnulib
21064 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21065
2554247d
PE
21066 mktime: merge time_r change from gnulib
21067 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21068
826dd0ab
PE
21069 mktime: merge DEBUG change from gnulib
21070 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21071 case system <time.h> has a #define.
21072
bd83aabe
PE
21073 mktime: merge <sys/types.h> change from gnulib
21074 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21075 since <time.t> is now guaranteed to define time_t.
21076
95770f14
PE
21077 mktime: merge HAVE_CONFIG_H change from gnulib
21078 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21079
5e1a27a9
L
210802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21081
0e44a77e
L
21082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21083 Use "neg %eax".
21084
5e1a27a9
L
21085 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21086 __rlim_t cast.
21087 (struct rusage): Use anonymous union to pad each field to
21088 __syscall_slong_t.
21089
46259bec
DM
210902012-05-21 David S. Miller <davem@davemloft.net>
21091
21092 * Makefules (o-iterator): Remove .s cases.
21093 (compile-command.s): Delete.
21094 (COMPILE.s): Delete.
21095 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21096
59f0c22e
JM
210972012-05-21 Joseph Myers <joseph@codesourcery.com>
21098
21099 * configure.in (libc_cv_predef_stack_protector): Only consider
21100 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21101 * configure: Regenerated.
21102
20c07380
L
211032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21104
bbb3154b
L
21105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21106 New macro. Use R*LP on int and pointer.
21107 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21108 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21109 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21110 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21111
20c07380
L
21112 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21113 [__WORDSIZE_TIME64_COMPAT32] instead of
21114 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21115 (struct utmp): Likewise.
21116 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21117 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21118 Renamed to ...
21119 (__WORDSIZE_TIME64_COMPAT32): This.
21120 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21121 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21122 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21123 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21124 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21125 (__WORDSIZE_TIME64_COMPAT32): New macro.
21126
d8d1017e
AJ
211272012-05-21 Andreas Jaeger <aj@suse.de>
21128
21129 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21130 only if [SHARED]. Add prototype for __wcschr_ia32.
21131
6c7fb145
RM
211322012-05-21 Roland McGrath <roland@hack.frob.com>
21133
21134 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21135 of %rbp unmolested in the jmp_buf while mangling the low bits.
21136 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21137 unmolested high bits of %rbp while demangling the low bits.
21138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21139
66274218
AJ
211402012-05-21 Andreas Jaeger <aj@suse.de>
21141
07c58f8f
AJ
21142 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21143 * sunrpc/svc_simple.c: Use it for registerrpc.
21144 * sunrpc/xcrypt.c: Use it for passwd2des.
21145
66274218
AJ
21146 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21147
61f65140
L
211482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21151 Don't define if [__SYSCALL_WORDSIZE != 32].
21152 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21153 New macro.
21154
5fefb436
AJ
211552012-05-21 Bruno Haible <bruno@clisp.org>
21156 Andreas Jaeger <aj@suse.de>
21157
21158 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21159 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21160 inptr and inend for must_buffer_ch.
21161 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21162 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21163 * stdio-common/Makefile (tests): Remove bug15.
21164 (bug15-ENV): Remove macro.
21165 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21166 anymore.
21167
d8e272ab
AJ
211682012-05-19 Andreas Jaeger <aj@suse.de>
21169 Roland McGrath <roland@hack.frob.com>
21170
21171 * manual/contrib.texi: Completely rewritten. It contains now an
21172 alphabetical list of contributors and their contributions.
21173
4a56a162
RH
211742012-05-21 Richard Henderson <rth@twiddle.net>
21175
21176 * misc/getauxval.c (__getauxval): Use unsigned long int.
21177 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21178 (getauxval): Use unsigned long int.
21179
d024d23c
L
211802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21181
21182 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21183
cbc00a03
RM
211842012-05-21 Roland McGrath <roland@hack.frob.com>
21185
21186 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21187 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21188 __alignof__ (long double).
21189
478143fa
AZ
211902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21191
21192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21193
c7683a6d
RH
211942012-05-20 Richard Henderson <rth@twiddle.net>
21195
21196 * misc/getauxval.c: New file.
21197 * misc/sys/auxv.h: New file.
21198 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21199 (routines): Add getauxval.
21200 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21202 * elf/dl-sysdep.c (_dl_auxv): Remove.
21203 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21204 * elf/dl-support.c (_dl_auxv): New variable.
21205 (_dl_aux_init): Initialize it.
21206 * manual/startup.texi (Auxiliary Vector): New node.
21207 * sysdeps/generic/bits/hwcap.h: New file.
21208 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21209 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21210 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21211 * sysdeps/sparc/sysdep.h: ... here. Include it.
21212 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21215 Update.
c7683a6d
RH
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21224
a6f1845d
AZ
212252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21226
21227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21228
cbcbe830
DM
212292012-05-19 David S. Miller <davem@davemloft.net>
21230
21231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21232
e0b16cc2
JM
212332012-05-19 Joseph Myers <joseph@codesourcery.com>
21234
21235 [BZ #14123]
21236 * math/s_ccosh.c: Include <float.h>
21237 (__ccosh): Avoid internal overflow calculating sinh and cosh
21238 values before multiplying by sin and cos values.
21239 * math/s_ccoshf.c: Likewise.
21240 * math/s_ccoshl.c: Likewise.
21241 * math/s_csin.c: Likewise.
21242 * math/s_csinf.c: Likewise.
21243 * math/s_csinl.c: Likewise.
21244 * math/s_csinh.c: Likewise.
21245 * math/s_csinhf.c: Likewise.
21246 * math/s_csinhl.c: Likewise.
21247 * math/libm-test.inc (ccos_test): Add more tests.
21248 (ccosh_test): Likewise.
21249 (csin_test): Likewise.
21250 (csinh_test): Likewise.
21251 * sysdeps/i386/fpu/libm-test-ulps: Update.
21252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21253
6ad13e08
L
212542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21255
f66f0ce8
L
21256 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21257 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21258
6ad13e08
L
21259 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21260
b1d072a7
JM
212612012-05-19 Joseph Myers <joseph@codesourcery.com>
21262
21263 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21264 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21265 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21266 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21267 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21268 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21269 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21270 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21271 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21272 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21273 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21274 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21275 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21276 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21277 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21278 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21279 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21280 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21281 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21282 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21283 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21284 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21285 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21286 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21287 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21288 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21289 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21290 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21291 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21292 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21293 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21294
9eae47cb
AJ
212952012-05-18 Andreas Jaeger <aj@suse.de>
21296
21297 * csu/.gitignore: Delete.
21298
bb07f69f
L
212992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21302 (timex): Use __syscall_slong_t.
21303
e6bdb741
AJ
213042012-05-18 Andreas Jaeger <aj@suse.de>
21305 Carlos O'Donell <carlos_odonell@mentor.com>
21306
21307 * manual/install.texi (Configuring and compiling): Update
21308 description about files modified in the source directory.
d6c33fda 21309 * INSTALL: Regenerated.
e6bdb741 21310
1b74487e
L
213112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21312
21313 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21314 value. Use "or" to set return value to -1.
21315 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21316 negate return value.
21317
a88b64b9
TMQMF
213182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21319
21320 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21321 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21322 failure if the compiler has Graphite support disabled.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21324 Likewise.
21325 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21326 CFLAGS-memmove.c): Likewise.
21327 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21328 Likewise.
21329
3707636e
L
213302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21331
610b8622
L
21332 * sysdeps/x86_64/x32/_itoa.h: New file.
21333
7cd195df
L
21334 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21335 getdents system call only if kernel and user dirents have the
21336 same d_ino and d_off.
21337
94b07d20
L
21338 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21339 LLONG_MAX != LONG_MAX.
21340 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21341 (_fitoa_word): Likewise.
21342
18298070
L
21343 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21344 years.
21345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21348
553c7ea4
L
21349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21350 include <bits/wordsize.h>. Check __x86_64__ instead of
21351 __WORDSIZE.
21352 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21353 if __x86_64__ is defined. Use anonymous union on fpstate.
21354
3707636e
L
21355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21356 anonymous union.
21357
b53ef01a
AS
213582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21359
37fb1dc0
AS
21360 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21361 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21362 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21363 Refer to _rtld_local_ro instead of _rtld_global_ro.
21364 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21365 Likewise.
21366 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21367 Likewise.
21368 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21369 Likewise.
21370 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21371 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21372 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21373
b53ef01a
AS
21374 * sysdeps/powerpc/powerpc32/dl-machine.c
21375 (__elf_machine_runtime_setup) [PROF]: Don't reference
21376 _dl_prof_resolve.
21377
7a185db2
AJ
213782012-05-18 Andreas Jaeger <aj@suse.de>
21379
21380 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21381 function only available for GCCs before 3.4 since GCC 3.4
21382 introduced a builtin.
21383 (lrint): Likewise.
21384 (llrintf): Likewise.
21385 (llrint): Likewise.
21386 (fmaxf): Likewise.
21387 (fmax): Likewise.
21388 (fminf): Likewise.
21389 (fmin): Likewise.
21390 (rint): Likewise.
21391 (rintf): Likewise.
21392 (nearbyint): Likewise.
21393 (nearbyintf): Likewise.
21394 (ceil): Likewise.
21395 (ceilf): Likewise.
21396 (floor): Likewise.
21397 (floorf): Likewise.
21398
3e5aef87
L
213992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21400
428bd707
L
21401 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21402 on both fields and cast pointer to __syscall_ulong_t.
21403
3e5aef87
L
21404 * bits/types.h (__fsword_t): New type.
21405 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21406 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21408 (__FSWORD_T_TYPE): Likewise.
21409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21410 (__FSWORD_T_TYPE): Likewise.
21411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21412 (__FSWORD_T_TYPE): Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21414 (__FSWORD_T_TYPE): Likewise.
21415 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21416 __SWORD_TYPE with __fsword_t.
21417 (statfs64): Likewise.
21418
1ba7c3dc
DM
214192012-05-17 David S. Miller <davem@davemloft.net>
21420
21421 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21422
59910343
AJ
214232012-05-17 Andreas Jaeger <aj@suse.de>
21424
21425 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21426 warning.
21427
2e4c1e9e
L
214282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21429
21430 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21431
de7f5ce7
AJ
214322012-05-17 Andreas Jaeger <aj@suse.de>
21433
21434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21435 when it is used.
21436
286abc3d
CM
214372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21438
21439 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21440
477cc68e
L
214412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21444 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21445
1a0994f5
CD
214462012-05-17 Andreas Jaeger <aj@suse.de>
21447 Carlos O'Donell <carlos_odonell@mentor.com>
21448
21449 [BZ #14059]
21450 * sysdeps/x86_64/multiarch/init-arch.h
21451 (bit_YMM_Usable): Rename to...
21452 (bit_AVX_Usable): ... this.
21453 (bit_FMA4_Usable): New macro.
21454 (bit_XMM_state): New macro.
21455 (bit_YMM_state): New macro.
21456 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21457 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21458 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21459 (CPUID_OSXSAVE): New macro.
21460 (CPUID_AVX): New macro.
21461 (CPUID_FMA4): New macro.
21462 (index_YMM_Usable): Rename to...
21463 (index_AVX_Usable): ... this.
21464 (HAS_AVX): Use HAS_ARCH_FEATURE.
21465 (HAS_FMA4): Likewise.
21466 (HAS_YMM_USABLE): Remove.
21467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21468 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21469 are present.
21470 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21471 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21472 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21473 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21474 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21475
0af797de
CM
214762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21477
21478 * math/libm-test.c: Support platforms without multiple rounding modes.
21479 * math/bug-nextafter.c: Support platforms without FP exceptions.
21480 * math/bug-nexttoward.c: Likewise.
21481 * math/test-fenv.c: Likewise.
21482 * math/test-misc.c: Likewise.
21483 * stdlib/bug-getcontext.c: Likewise.
21484
e39745ff
AJ
214852012-05-17 Andreas Jaeger <aj@suse.de>
21486
21487 * manual/examples/search.c (critter_cmp): Change signature to
21488 avoid warnings.
21489 * manual/string.texi (Collation Functions): Likewise.
21490
48970aba
L
214912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * bits/types.h: Fold copyright years.
21494 * bits/typesizes.h: Likewise.
21495 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21499 * time/time.h: Likewise.
21500
bedee953
PP
215012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21502
21503 [BZ #208]
21504 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21505 in instead of returning them. Return void.
21506 (__libc_mallinfo): Accumulate over all arenas.
21507 (__malloc_stats): Adjust for change in int_mallinfo interface.
21508
61653dfb
RM
215092012-05-16 Roland McGrath <roland@hack.frob.com>
21510
30b99d79
RM
21511 [BZ #10375]
21512 * configure.in (NM): Add AC_CHECK_TOOL for it.
21513 (libc_extra_cflags): New substituted variable.
21514 Check for -fstack-protector being used implicitly.
21515 * configure: Regenerated.
21516 * config.make.in (config-extra-cflags): New variable,
21517 gets @libc_extra_cflags@.
21518 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21519
61653dfb
RM
21520 [BZ #10375]
21521 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21522 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21523 * configure: Regenerated.
21524 * config.make.in (CPPUNDEFS): New substituted variable.
21525 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21526 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21527 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21528
661768bb
L
215292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21532 (mq_attr): Use __syscall_slong_t.
21533
d4261567
L
215342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21535
21536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21537 Check __x86_64__ instead of __WORDSIZE.
21538 (_STAT_VER_LINUX): Likewise.
21539 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21540 __syscall_ulong_t and __syscall_slong_t.
21541 (stat64): Likewise.
21542
cf3ff365
L
215432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21546
76cf3e4d
L
215472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21550
a637753a
L
215512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21552
21553 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21554 __syscall_ulong_t.
21555
d5e05119
L
21556 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21557 include <bits/wordsize.h>. Check __x86_64__ instead of
21558 __WORDSIZE.
21559 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21560 defined.
21561 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21562
f62ee380
L
21563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21564 include <bits/wordsize.h>. Check __x86_64__ instead of
21565 __WORDSIZE.
21566 (user_regs_struct): Use "__extension__ unsigned long long"
21567 instead of "unsigned long" if __x86_64__ is defined.
21568 (user): Likewise. Pad after pointer field if __ILP32__ is
21569 defined.
21570
4e124ced
JM
215712012-05-16 Joseph Myers <joseph@codesourcery.com>
21572
6a3951a0
JM
21573 * configure.in (makeinfo): Require version 4.5 or later. Allow
21574 versions 5 to 9.
21575 * configure: Regenerated.
21576 * manual/install.texi (texinfo): Increase version requirement to
21577 4.5 or later.
21578 * INSTALL: Regenerated.
21579
4e124ced
JM
21580 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21581
953ca31a
L
215822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21585
617aca05
L
21586 * sysdeps/x86_64/x32/ffs.c: New file.
21587
5762f7ae
L
21588 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21589 __syscall_ulong_t.
21590 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21591 defined. Use __syscall_ulong_t.
21592 (shminfo): Use __syscall_ulong_t.
21593 (shm_info): Likewise.
21594
a26b6856
L
21595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21596 __syscall_ulong_t.
21597
cb2b9ef7
L
21598 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21599 <bits/wordsize.h>.
21600 (msgqnum_t): Use __syscall_ulong_t.
21601 (msglen_t): Likewise.
21602 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21603 __syscall_ulong_t.
21604
34683bb0
L
21605 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21606 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21607
84a68786
L
21608 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21609
48baa5f1
L
21610 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21611 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21612
180be88b
L
21613 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21614 __syscall_slong_t.
21615
5e90c8ad
L
21616 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21617 include <bits/wordsize.h>. Check __x86_64__ instead of
21618 __WORDSIZE.
21619
23dfb58b
L
21620 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21621 "unsigned long long int" if __x86_64__ is defined.
21622 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21623
ce5d54b0
L
21624 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21625 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21626 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21627
13dc9eac
L
21628 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21629 <stdint.h>.
21630 (GET_PC): Cast to uintptr_t first.
21631 (GET_FRAME): Likewise.
21632 (GET_STACK): Likewise.
21633
a7895d15
L
21634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21635 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21636 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21637 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21638 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21639 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21641 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21644 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21645 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21647 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21648 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21649 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21650 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21653 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21654 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21655 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21656 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21657 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21658 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21660 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21663
656416c9
AS
216642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21665
5bd66283
AS
21666 * Makerules (+depfiles): Also collect depfiles from .oS in
21667 $(extra-objs).
21668 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21669 .oS, $(libnldbl-routines)).
21670
656416c9
AS
21671 * Makerules (native-compile-mkdep-flags): Define.
21672 * sunrpc/Makefile (extra-objs): Add $(addprefix
21673 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21674 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21675 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21676 calling $(make-target-directory).
21677
a46f2169
L
216782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21679
21680 * bits/types.h (__snseconds_t): Removed.
21681 * time/time.h (struct timespec): Replace __snseconds_t with
21682 __syscall_slong_t.
21683 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21684 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21685 Likewise.
21686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21687 (__SNSECONDS_T_TYPE): Likewise.
21688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21689 (__SNSECONDS_T_TYPE): Likewise.
21690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21691 (__SNSECONDS_T_TYPE): Likewise.
21692
6af6528b
L
216932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21694
21695 * sysdeps/mach/hurd/bits/typesizes.h
21696 (__SYSCALL_SLONG_TYPE): New macro.
21697 (__SYSCALL_ULONG_TYPE): Likewise.
21698
de986b56
L
216992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21700
21701 * bits/types.h (__syscall_slong_t): New type.
21702 (__syscall_ulong_t): Likewise.
21703
21704 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21705 (__SYSCALL_ULONG_TYPE): Likewise.
21706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21707 (__SYSCALL_SLONG_TYPE): Likewise.
21708 (__SYSCALL_ULONG_TYPE): Likewise.
21709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21710 (__SYSCALL_SLONG_TYPE): Likewise.
21711 (__SYSCALL_ULONG_TYPE): Likewise.
21712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21713 (__SYSCALL_SLONG_TYPE): Likewise.
21714 (__SYSCALL_ULONG_TYPE): Likewise.
21715
85736dc7
L
217162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21717
21718 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21719 Add sigaltstack-offsets.sym.
21720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21721 <sigaltstack-offsets.h>.
21722 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21723 longjmp_msg pointer.
21724 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21725 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21726 signal stack.
21727 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21728
cc03b296
JM
217292012-05-15 Joseph Myers <joseph@codesourcery.com>
21730
a9538892
JM
21731 * elf/stackguard-macros.h: Remove file.
21732 * sysdeps/generic/stackguard-macros.h: New file.
21733 * sysdeps/i386/stackguard-macros.h: Likewise.
21734 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21735 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21736 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21737 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21738 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21739 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21740 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21741 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21742 <elf/stackguard-macros.h>.
21743
cc03b296
JM
21744 [BZ #14109]
21745 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21746 __aligned__ in attribute.
21747 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21748 (gregset_t): Likewise.
21749
93171016
L
217502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21751
21752 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21753 * sysdeps/x86_64/64/Implies-after: Here. New file.
21754 * sysdeps/x86_64/x32/Implies-after: New file.
21755
d86813a0
L
217562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21757
21758 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21759 and access return value for _dl_profile_fixup. Use R10_LP to
21760 load frame size.
21761
2953ec75
L
217622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21765
3b550e9e
L
217662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21769 * sysdeps/x86_64/x32/sysdep.h: New file.
21770
eda41706
L
217712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21772
21773 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21774 * sysdeps/x86_64/setjmp.S: Likewise.
21775
9ea01d93
AZ
217762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21777
21778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21780 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21781 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21782 remove unused global constant.
21783
02a91938
CM
217842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21785
21786 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21787 include of <not-cancel.h>.
21788
6540185f
RM
217892012-05-15 Roland McGrath <roland@hack.frob.com>
21790
21791 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21792
509072a0
AJ
217932012-05-15 Jeff Law <law@redhat.com>
21794 Andreas Jaeger <aj@suse.de>
21795
21796 [BZ #13594]
21797 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21798 out from...
21799 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21800 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21801 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21802 code changing __hst_map_handle.map.
21803
ba75122d
RM
218042012-05-15 Roland McGrath <roland@hack.frob.com>
21805
21806 * configure.in (sysnames): Look for Implies-before and Implies-after
21807 files.
21808 * configure: Regenerated.
21809
890d8bd8
L
218102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21811
21812 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21813 8-byte data alignment with LP_SIZE alignment.
21814
f6ee6623
L
218152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21818 into R10_LP.
21819
ea2626f6
L
218202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21823
085f715e
L
218242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21827 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21828 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21829 Likewise.
21830 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21831
be8498fc
L
218322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21835 (stackinfo_sub_sp): Likewise.
21836
70bc83b9
L
218372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21838
21839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21840 RAX_LP.
21841
9bc0b730
L
218422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21843
21844 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21845 into R*_LP.
21846
6d2850e7
L
218472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21848
21849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21850 sizes into R*_LP.
21851
3cb84561
L
218522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21855
54e2ed81
L
218562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21859 into R11_LP and load __x86_64_shared_cache_size_half into
21860 R8_LP.
21861
8a17f349
L
218622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21863
21864 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21865 R8_LP.
21866
777b1eea
AZ
218672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21868
21869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21870 logb for POWER7.
21871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21872 logbf for POWER7.
21873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21874 logbl for POWER7.
21875 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21876 powerpc32/power7/fpu/s_logb.c via #include.
21877 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21878 powerpc32/power7/fpu/s_logbf.c via #include.
21879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21880 powerpc32/power7/fpu/s_logbl.c via #include.
21881
d20d4ac2
JM
218822012-05-15 Joseph Myers <joseph@codesourcery.com>
21883
21884 * README.libm: Remove file.
21885
6cdef1ab
L
218862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21889 count for x32. Use R*_LP and omit operand-size suffix.
21890
0b254d8f
L
218912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21892
21893 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21894 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21895 * sysdeps/x86_64/x32/shlib-versions: New file.
21896
ceb809dc
RM
218972012-05-14 Roland McGrath <roland@hack.frob.com>
21898
21899 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21900 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21901 Use _dl_fatal_printf instead.
21902
37f1abd4
JM
219032012-05-14 Joseph Myers <joseph@codesourcery.com>
21904
21905 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21906 set if not set by the user. Do not allow for being unset.
21907 * sysdeps/unix/sysv/linux/configure: Regenerated.
21908
11de3a33
L
219092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21910
21911 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21912 the `q' suffix from lea and replace .quad with ASM_ADDR.
21913
e02f153a
L
219142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21917 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21918 instead of $17.
21919 (PTR_DEMANGLE): Likewise.
21920
520ae0fd
L
219212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21922
21923 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21924 (LP_OP): Likewise.
21925 (ASM_ADDR): Likewise.
21926 (RAX_LP): Likewise.
21927 (RBP_LP): Likewise.
21928 (RBX_LP): Likewise.
21929 (RCX_LP): Likewise.
21930 (RDI_LP): Likewise.
21931 (RSI_LP): Likewise.
21932 (RSP_LP): Likewise.
21933 (R8_LP): Likewise.
21934 (R9_LP): Likewise.
21935 (R10_LP): Likewise.
21936 (R10_LP): Likewise.
21937 (R11_LP): Likewise.
21938 (R12_LP): Likewise.
21939 (R13_LP): Likewise.
21940 (R14_LP): Likewise.
21941 (R15_LP): Likewise.
21942
b985be81
L
219432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 * sysdeps/x86_64/x32/dl-machine.h: New file.
21946
6a4888ff
AJ
219472012-05-14 Andreas Jaeger <aj@suse.de>
21948
21949 * manual/Makefile (subdir): Remove export of subdir.
21950 (all): Remove target.
21951 (.PHONY): Remove all from list.
21952 (mkinstalldirs): Remove.
21953 (.PHONY): Remove installdirs from list.
21954 ($(inst_infodir)/libc.info): Use make-target-directory.
21955 (installdirs): Remove.
21956 (subdir_%): Remove.
21957 (glibc-targets): Remove.
21958 (lib): Remove.
21959 (stubs): Remove.
21960 ($(objpfx)stubs ../po/manual.pot): Remove.
21961 ($(objpfx)stamp%): Remove.
21962 (make-target-directory): Remove.
21963 (subdir_install): Remove.
21964 (routines): Remove.
21965 (aux): Remove.
21966 (sources): Remove.
21967 (objects): Remove.
21968 (headers): Remove.
21969
21970 [BZ #13750]
21971 * manual/.gitignore: Remove, it's not needed anymore.
21972 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21973 all files in it.
21974 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21975 directory.
21976 (texis): Renamed to $(objpfx)texis.
21977 (texis-path): New, contains path to generated files.
21978 (chapters.%): Use texis-path for complete path, add extra argument
21979 libc-texinfo.sh.
21980 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21981 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21982 (summary,texi, stamp-summary): Use complete path of
21983 files. Generate files in build dir.
21984 (dir-add.texi): Build in build dir.
21985 (libm-err.texi,stamp-libm-err): Likewise.
21986 (version.texi, stamp-version): Likewise.
21987 (.%c.texi): Likewise.
21988 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21989 (mostlyclean): Remove target.
21990 (realclean): Remove target.
21991 (generated): Add new variable with contents from mostlyclean and
21992 realclean, remove entries duplicated in common-mostlyclean, add
21993 stamp-libm-err and stamp-version.
21994 (generated-dirs): Add libc directory.
21995 ($(inst_infodir)/libc.info): Install files from build dir.
21996
21997 * manual/install.texi (Configuring and compiling): Adjust since
21998 the info files are not part of the tar ball anymore.
21999
7ac77294
AJ
220002012-05-14 Andreas Jaeger <aj@suse.de>
22001
22002 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22003 variable.
22004
ffb7875d
JM
220052012-05-14 Joseph Myers <joseph@codesourcery.com>
22006
22007 [BZ #13717]
22008 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22009 to 2.2.0 where earlier.
22010 * sysdeps/unix/sysv/linux/configure: Regenerated.
22011 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22012 Remove conditional code.
22013 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22014 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22015 Remove conditional code.
22016 [!__NR_lchown]: Likewise.
22017 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22018 [__NR_lchown]: Likewise.
22019 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22020 comment referencing __ASSUME_LCHOWN_SYSCALL.
22021 * sysdeps/unix/sysv/linux/i386/sigaction.c
22022 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22023 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22024 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22025 Remove conditional code.
22026 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22027 (__protocol_available): Remove #if 0 code.
22028 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22029 conditional code.
22030 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22031 * sysdeps/unix/sysv/linux/kernel-features.h
22032 (__ASSUME_GETCWD_SYSCALL): Don't define.
22033 (__ASSUME_REALTIME_SIGNALS): Likewise.
22034 (__ASSUME_PREAD_SYSCALL): Likewise.
22035 (__ASSUME_PWRITE_SYSCALL): Likewise.
22036 (__ASSUME_POLL_SYSCALL): Likewise.
22037 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22038 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22039 non-SPARC.
22040 (__ASSUME_SIOCGIFNAME): Don't define.
22041 (__ASSUME_MSG_NOSIGNAL): Likewise.
22042 (__ASSUME_SENDFILE): Define unconditionally.
22043 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22044 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22045 conditional code.
22046 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22047 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22048 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22049 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22050 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22051 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22052 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22054 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22057 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22063 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22066 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22069 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22072 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22077 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22078 Remove conditional code.
22079 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22080 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22081 Remove conditional code.
22082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22083 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22084 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22085 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22086 Remove conditional code.
22087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22088 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22089 Remove conditional code.
22090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22091 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22092 Remove conditional code.
22093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22094 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22095 Remove conditional code.
22096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22097 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22098 Remove conditional code.
22099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22100 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22103 * sysdeps/unix/sysv/linux/sigaction.c
22104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22106 * sysdeps/unix/sysv/linux/sigpending.c
22107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22109 * sysdeps/unix/sysv/linux/sigprocmask.c
22110 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22111 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22112 * sysdeps/unix/sysv/linux/sigsuspend.c
22113 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22114 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22115 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22116 (__libc_missing_rt_sigs): Remove.
22117 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22118 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22119 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22120 Remove conditional code.
22121 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22122 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22123 return 1.
22124 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22125 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22127 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22128
1bfb7291
AJ
221292012-05-14 Andreas Jaeger <aj@suse.de>
22130
caae5a81
AJ
22131 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22132 it's not used in glibc.
22133 (__coshm1): Likewise.
22134 (__acosh1p): Likewise.
22135 (__sgn): Likewise.
22136
1bfb7291
AJ
22137 * manual/string.texi (Copying and Concatenation): Add missing
22138 variable in concat example.
22139 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22140
c044d724
L
221412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22142
144c5467 22143 [BZ #14103]
c044d724
L
22144 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22145 __builtin_clzl with __builtin_clzll.
22146
2523c62b
L
221472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 [BZ #14104]
22150 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22151 libc_freeres_ptr.
22152
d7bb4c42
LD
221532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22154
22155 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22156 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22157 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22159
9dc4e1fb
MF
221602012-05-14 Mike Frysinger <vapier@gentoo.org>
22161
22162 * NEWS: Update ia64 info.
22163
c7df0112
AS
221642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22165
22166 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22167 used as bcopy.
22168
dc70356c
TS
221692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22170
22171 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22172 * sysdeps/unix/syscalls.list (dup3): Likewise.
22173 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22174 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22175
9fb1a21f
L
221762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22179 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22180
4822a2a5
L
221812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22184 thread pointer.
22185 (TLS_IE): Use mov/add instead of movq/addq to load thread
22186 pointer.
22187 (TLS_GD_PREFIX): New.
22188 (TLS_GD): Use it.
22189
842b81d6
DM
221902012-05-11 David S. Miller <davem@davemloft.net>
22191
22192 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22193 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22194 (_FPU_SETCW): Likewise.
22195
1cf463cd
L
221962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22197
22198 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22199 is 32-byte aligned.
22200
60cc4a18
AS
222012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22202
22203 [BZ #11837]
22204 * iconvdata/gb18030.c: Update tables.
22205 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22206 characters specially.
22207 (BODY for TO_LOOP): Add encoding of missing ranges.
22208
febb44a4
TS
222092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22210
22211 [BZ #13673]
22212 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22213 * sysdeps/mach/hurd/dup3.c: Likewise.
22214 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22215 * sysdeps/powerpc/memmove.c:: Likewise.
22216
0a10fb9e
L
222172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22218
22219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22220 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22221
df8a552f
L
222222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22223
22224 * elf/elf.h (R_X86_64_RELATIVE64): New.
22225 (R_X86_64_NUM): Updated.
22226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22227 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22228 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22229 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22230 tst-quad1pie tst-quad2pie
22231 (modules-names): Add tst-quadmod1 tst-quadmod2.
22232 ($(objpfx)tst-quad1): New dependency.
22233 ($(objpfx)tst-quad2): Likewise.
22234 ($(objpfx)tst-quad1pie): Likewise.
22235 ($(objpfx)tst-quad2pie): Likewise.
22236 * sysdeps/x86_64/tst-quad1.c: New file.
22237 * sysdeps/x86_64/tst-quad1pie.c: New file.
22238 * sysdeps/x86_64/tst-quad2.c: Likewise.
22239 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22240 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22241 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22242 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22243 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22244
f34d6f84
ST
222452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22246
f42d41d1
ST
22247 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22248 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22249 * streams/stropts.h (t_scalar_t): Define type.
22250
3c3571fc
ST
22251 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22252 (_PATH_PRESERVE): Set to "/var/lib".
22253 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22254
61f06bd3
ST
22255 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22256 instead of int.
22257
918d4d71
ST
22258 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22259 if __dir_mkfile succeeded.
22260
f34d6f84
ST
22261 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22262 checking for _hurd_dtablesize. Unlock it right after having
22263 finished _hurd_dtable allocation.
22264
10589b4a
TS
222652012-05-10 Thomas Schwinge <thomas@schwinge.name>
22266
674cdbc7
TS
22267 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22268 * sysdeps/mach/hurd/configure: Regenerated.
22269 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22270 special-casing to...
22271 * sysdeps/gnu/configure.in: ... this new file.
22272 * sysdeps/unix/sysv/linux/configure: Regenerated.
22273 * sysdeps/gnu/configure: New generated file.
22274
8e41b99f
TS
22275 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22276 for Linux: use nsec instead of usec, as well as:
22277 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22278 members of type struct timespec.
22279 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22280 New macros.
22281 (struct stat64): Likewise.
22282 (_STATBUF_ST_NSEC): New macro.
22283 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22284
10589b4a
TS
22285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22286 __strtoul_internal rather than strtoul.
22287
63643c85
PT
222882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22289
22290 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22291 and reject them.
22292
3faebe6a
ST
222932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22294
22295 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22296 which preserves existing values.
22297 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22298
c6474b07
PT
222992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22300
22301 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22302 TIMEOUT values. Return EINVAL for NFDS values either negative or
22303 greater than FD_SETSIZE.
22304
1043890b
ST
223052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22306
22307 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22308 allocated, call __vm_protect to finish enabling the existing space, and
22309 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22310 allocate the remainder.
22311
37ed8b9b
PT
223122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22313
22314 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22315 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22316
db653660
ST
223172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22318
37ed8b9b
PT
22319 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22320 sysdeps/mach/hurd/readlink.c.
b29d4053 22321
db653660
ST
22322 * posix/tst-sysconf.c (posix_options): Only use
22323 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22324 _POSIX_SYNCHRONIZED_IO when they are defined
22325 * sysdeps/mach/hurd/bits/posix_opt.h:
22326 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22327 (_XOPEN_REALTIME): Undefine macro.
22328 (_XOPEN_REALTIME_THREADS): Undefine macro.
22329 (_XOPEN_SHM): Undefine macro.
22330 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22331 macro to -1.
22332 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22333 macro to -1.
22334 (_POSIX_ASYNC_IO): Undefine macro.
22335 (_POSIX_PRIORITIZED_IO): Undefine macro.
22336 (_POSIX_SPIN_LOCKS): Define macro to -1.
22337
ee16e894
ST
22338 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22339 SA_NODEFER, SA_RESETHAND.
22340 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22341 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22342 F_DUPFD_CLOEXEC.
22343
6103ae3b
TS
223442012-05-10 Thomas Schwinge <thomas@schwinge.name>
22345
22346 * elf/Makefile (pldd-modules): Define unconditionally.
22347
80b4e5f3
TS
223482012-05-10 Thomas Schwinge <thomas@schwinge.name>
22349
22350 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22351
edadcbd6
ST
223522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22353
22354 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22355 Return ENOENT when name is empty.
22356 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22357
80694780
TS
223582012-05-10 Thomas Schwinge <thomas@schwinge.name>
22359
1792c087
TS
22360 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22361
80694780
TS
22362 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22363
6b645f0d
ST
223642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22365
80694780
TS
22366 Fix mlock in all cases except non-readable pages.
22367 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22368 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22369
6b645f0d
ST
22370 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22371 (__mkdir): When path is `/', just fail with EEXIST.
22372 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22373
e468f8a3
TS
223742012-05-10 Thomas Schwinge <thomas@schwinge.name>
22375
22376 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22377 <sys/uio.h> (for writev).
22378 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22379 and <sys/param.h> (for MIN).
22380
a4186cff
PT
223812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22382
22383 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22384 REQUESTED_TIME. Properly set the remaining time and return EINTR
22385 if interrupted.
22386
510bbf14
TS
223872012-05-10 Thomas Schwinge <thomas@schwinge.name>
22388
22389 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22390 Depend on against $(link-rpcuserlibs).
22391
5d5722e8
ST
223922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22393
a4186cff
PT
22394 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22395 (__libc_stack_end): Do not use attribute_relro.
22396 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22397 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22398 to libthread-provided value.
a4186cff
PT
22399 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22400 attribute_relro.
5d5722e8 22401
37233df9
TS
224022012-05-10 Thomas Schwinge <thomas@schwinge.name>
22403
be971a2b
TS
22404 [BZ #3748]
22405 * bits/libc-lock.h (__libc_once_get): New macro.
22406 * sysdeps/mach/bits/libc-lock.h: Likewise.
22407 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22409 instead of using implementation details.
22410
37233df9
TS
22411 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22412 * libio/freopen.c: Likewise.
22413 * libio/freopen64.c: Likewise.
22414 * misc/syslog.c: Likewise.
22415 * nscd/connections.c: Likewise.
22416 * nscd/netgroupcache.c: Likewise.
22417 * sysdeps/posix/getcwd.c: Likewise.
22418
38de94a5
RM
224192012-05-10 Roland McGrath <roland@hack.frob.com>
22420
22421 * math/w_ilogbf.c: Add #include <limits.h>.
22422
67530489
ST
224232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22424
a4186cff 22425 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22426 path instead of returning without unlocking.
22427
67530489
ST
22428 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22429 immediate-write ioctls.
22430 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22431
5aa3a74a
TS
224322012-05-10 Thomas Schwinge <thomas@schwinge.name>
22433
18bad2ae
TS
22434 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22435 __builtin_frame_address instead of making assumptions about the
22436 location of the return address relative to DATA. Force early load of
22437 the return address.
22438 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22439 __builtin_frame_address.
22440
5aa3a74a
TS
22441 dup3 for GNU Hurd.
22442 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22443 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22444 implement dup3 and do some further code clean-ups.
22445 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22446 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22447
ecd0de9a
ST
224482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22449
cd9fa985
ST
22450 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22451
a4186cff
PT
22452 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22453 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22454 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22455 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22456 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22457 d->port.lock.
802ca5a5 22458
a4186cff
PT
22459 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22460 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22461 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22462
bcf55240
TS
224632012-05-10 Thomas Schwinge <thomas@schwinge.name>
22464
6960eb42
TS
22465 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22466 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22467 definitions.
22468
eb43375f
TS
22469 accept4 for GNU Hurd.
22470 * include/sys/socket.h (__libc_accept4): New prototype.
22471 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22472 to implement __libc_accept4.
22473 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22474 __libc_accept4.
22475 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22476
bcf55240
TS
22477 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22478 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22479 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22480 signal-defines.sym.
22481
6178c55b
ST
224822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22483
a4186cff 22484 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22485
6f080c2f
TS
224862012-05-10 Thomas Schwinge <thomas@schwinge.name>
22487
22488 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22489 assertion on O_CLOEXEC flag.
22490 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22491 * hurd/intern-fd.c: Likewise.
22492 * hurd/port2fd.c: Likewise.
22493
bcfe3a54
ST
224942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22495
22496 [BZ #3906]
22497 * bits/in.h (IPV6_PKTINFO): Define new macro.
22498 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22499
89c9aa49
AZ
225002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22501
22502 [BZ #13954]
22503 [BZ #13955]
22504 [BZ #13956]
22505 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22507 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22508 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22510 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22511 * math/libm-test.inc (logb_test) : Additional logb tests.
22512
021db4be
AJ
225132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22514 Andreas Jaeger <aj@suse.de>
22515
22516 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22517 * configure: Regenerated.
22518 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22519 * config.make.in (link-obsolete-rpc): New substituted variable.
22520 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22521 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22522 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22523 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22524 so that libc.a contains the symbols.
22525 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22526 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22527 * sunrpc/auth_none.c: Likewise.
22528 * sunrpc/auth_unix.c: Likewise.
22529 * sunrpc/authdes_prot.c: Likewise.
22530 * sunrpc/authuxprot.c: Likewise.
22531 * sunrpc/clnt_gen.c: Likewise.
22532 * sunrpc/clnt_perr.c: Likewise.
22533 * sunrpc/clnt_raw.c: Likewise.
22534 * sunrpc/clnt_simp.c: Likewise.
22535 * sunrpc/clnt_tcp.c: Likewise.
22536 * sunrpc/clnt_udp.c: Likewise.
22537 * sunrpc/clnt_unix.c: Likewise.
22538 * sunrpc/des_crypt.c: Likewise.
22539 * sunrpc/des_soft.c: Likewise.
22540 * sunrpc/get_myaddr.c: Likewise.
22541 * sunrpc/key_call.c: Likewise.
22542 * sunrpc/key_prot.c: Likewise.
22543 * sunrpc/netname.c: Likewise.
22544 * sunrpc/pm_getmaps.c: Likewise.
22545 * sunrpc/pm_getport.c: Likewise.
22546 * sunrpc/pmap_clnt.c: Likewise.
22547 * sunrpc/pmap_prot.c: Likewise.
22548 * sunrpc/pmap_prot2.c: Likewise.
22549 * sunrpc/pmap_rmt.c: Likewise.
22550 * sunrpc/publickey.c: Likewise.
22551 * sunrpc/rpc_cmsg.c: Likewise.
22552 * sunrpc/rpc_common.c: Likewise.
22553 * sunrpc/rpc_dtable.c: Likewise.
22554 * sunrpc/rpc_prot.c: Likewise.
22555 * sunrpc/rpc_thread.c: Likewise.
22556 * sunrpc/rtime.c: Likewise.
22557 * sunrpc/svc.c: Likewise.
22558 * sunrpc/svc_auth.c: Likewise.
22559 * sunrpc/svc_raw.c: Likewise.
22560 * sunrpc/svc_run.c: Likewise.
22561 * sunrpc/svc_tcp.c: Likewise.
22562 * sunrpc/svc_udp.c: Likewise.
22563 * sunrpc/svc_unix.c: Likewise.
22564 * sunrpc/svcauth_des.c: Likewise.
22565 * sunrpc/xcrypt.c: Likewise.
22566 * sunrpc/xdr.c: Likewise.
22567 * sunrpc/xdr_array.c: Likewise.
22568 * sunrpc/xdr_float.c: Likewise.
22569 * sunrpc/xdr_intXX_t.c: Likewise.
22570 * sunrpc/xdr_mem.c: Likewise.
22571 * sunrpc/xdr_rec.c: Likewise.
22572 * sunrpc/xdr_ref.c: Likewise.
22573 * sunrpc/xdr_sizeof.c: Likewise.
22574 * sunrpc/xdr_stdio.c: Likewise.
22575
b5c086a2
RM
225762012-05-10 Roland McGrath <roland@hack.frob.com>
22577
22578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22579 change. Update copyright years.
22580
6d74dd09
JM
225812012-05-10 Joseph Myers <joseph@codesourcery.com>
22582
22583 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22584
28e72501
MK
225852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22586 Joseph Myers <joseph@codesourcery.com>
22587 Paul Pluzhnikov <ppluzhnikov@google.com>
22588
22589 [BZ #14012]
22590 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22591 requiring rpcgen.
22592 [cross-compiling] (extra-libs): Likewise.
22593 [cross-compiling] (extra-libs-others): Likewise.
22594 [cross-compiling] (librpcsvc-routines): Likewise.
22595 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22596 [cross-compiling] (omit-deps): Likewise.
22597 (sunrpc-CPPFLAGS): New variable.
22598 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22599 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22600 (cross-rpcgen-objs): New variable.
22601 (extra-objs): Append $(cross-rpcgen-objs).
22602 ($(cross-rpcgen-objs)): New rule.
22603 ($(objpfx)cross-rpcgen): Likewise.
22604 (rpcgen-cmd): Define to use $(built-program-file). Expand
22605 comment.
22606 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22607 ($(objpfx)x%.stmp): Likewise.
22608 * sunrpc/proto.h [IS_IN_build] (_): Define.
22609 [IS_IN_build] (_libc_intl_domainname): Likewise.
22610
c8c59454
L
226112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22612
22613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22614 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22615 and R_X86_64_TPOFF64.
22616
6f27cd16
JM
226172012-05-10 Joseph Myers <joseph@codesourcery.com>
22618
22619 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22620 sysdeps/unix/sysv/syscalls.list.
22621 (stime): Likewise.
22622 (utime): Likewise.
22623 * sysdeps/unix/sysv/syscalls.list: Remove file.
22624
02467e1c
PE
226252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22626
22627 [BZ #3440]
22628 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22629 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22630 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22631 (__LC_IDENTIFICATION): Make these macros useful in #if
22632 expressions, as required by C99.
22633
da392631
AS
226342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22635
22636 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22637 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22638 after this.
22639
8115f29b
L
226402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * stdlib/longlong.h: Updated from GCC.
22643
bdd74070
AJ
226442012-05-09 Andreas Jaeger <aj@suse.de>
22645
edfe0dbe
AJ
22646 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22647 default is first entry.
22648 (run_mode): Set type.
22649 (main): Remove informal message about syslog.
22650 (options): Fix typo.
22651
bcfe3a54
ST
22652 [BZ #14053]
22653 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22654 to asm.
bcfe3a54
ST
22655 (lrint): Likewise.
22656 (llrintf): Likewise.
22657 (llrint): Likewise.
22658 (rint): Likewise.
22659 (rintf): Likewise.
22660 (nearbyint): Likewise.
22661 (nearbyintf): Likewise.
bdd74070 22662
91d8d69e
AJ
226632012-05-09 Andreas Jaeger <aj@suse.de>
22664 Pedro Alves <palves@redhat.com>
22665
22666 * nscd/nscd.c (run_mode): Use enum.
22667 (main): Cleanup coding style issue.
22668
bb90b80b
AJ
226692012-05-09 Alexandre Oliva <aoliva@redhat.com>
22670 Andreas Jaeger <aj@suse.de>
22671
bcfe3a54
ST
22672 * nscd/nscd.c (go_background): Replaced with...
22673 (run_mode): ... this.
bb90b80b 22674 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22675 (options): Add -F --foreground.
22676 (main): Implement it.
22677 (parse_opt): Parse it.
bb90b80b 22678
1a4b75a1
AJ
226792012-05-09 Andreas Jaeger <aj@suse.de>
22680
22681 [BZ #14083]
22682 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22683 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22684 -Wconversion warning.
22685 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22686 Likewise.
22687
b1cc2472
JM
226882012-05-09 Joseph Myers <joseph@codesourcery.com>
22689
22690 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22691 == 0.
22692 (LC_ALL): Use macro-int-constant.
22693 (LC_COLLATE): Likewise.
22694 (LC_CTYPE): Likewise.
22695 (LC_MESSAGES): Likewise.
22696 (LC_MONETARY): Likewise.
22697 (LC_NUMERIC): Likewise.
22698 (LC_TIME): Likewise.
22699 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22700 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22702 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22703 Specify type.
22704 [C99-based standards] (float_t): Expect type.
22705 [C99-based standards] (double_t): Expect type.
22706 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22707 type.
22708 [C99-based standards] (HUGE_VALL): Likewise.
22709 [C99-based standards] (INFINITY): Likewise.
22710 [C99-based standards] (NAN): Likewise.
22711 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22712 [C99-based standards] (FP_NAN): Likewise.
22713 [C99-based standards] (FP_NORMAL): Likewise.
22714 [C99-based standards] (FP_SUBNORMAL): Likewise.
22715 [C99-based standards] (FP_ZERO): Likewise.
22716 [C99-based standards] (FP_FAST_FMA): Use
22717 optional-macro-int-constant. Specify type. Require == 1.
22718 [C99-based standards] (FP_FAST_FMAF): Likewise.
22719 [C99-based standards] (FP_FAST_FMAL): Likewise.
22720 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22721 [C99-based standards] (FP_ILOGBNAN): Likewise.
22722 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22723 Specify type.
22724 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22725 [C99-based standards] (math_errhandling): Specify type.
22726 [ISO99 || ISO11] (signgam): Do not allow.
22727 [non-C99-based standards] (copysignf): Do not allow.
22728 [non-C99-based standards] (exp2f): Likewise.
22729 [non-C99-based standards] (log2f): Likewise.
22730 [non-C99-based standards] (modff): Allow.
22731 [non-C99-based standards] (erff): Do not allow.
22732 [non-C99-based standards] (erfcf): Likewise.
22733 [non-C99-based standards] (gammaf): Likewise.
22734 [non-C99-based standards] (hypotf): Likewise.
22735 [non-C99-based standards] (j0f): Likewise.
22736 [non-C99-based standards] (j1f): Likewise.
22737 [non-C99-based standards] (jnf): Likewise.
22738 [non-C99-based standards] (lgammaf): Likewise.
22739 [non-C99-based standards] (tgammaf): Likewise.
22740 [non-C99-based standards] (y0f): Likewise.
22741 [non-C99-based standards] (y1f): Likewise.
22742 [non-C99-based standards] (ynf): Likewise.
22743 [non-C99-based standards] (isnanf): Likewise.
22744 [non-C99-based standards] (acoshf): Likewise.
22745 [non-C99-based standards] (asinhf): Likewise.
22746 [non-C99-based standards] (atanhf): Likewise.
22747 [non-C99-based standards] (cbrtf): Likewise.
22748 [non-C99-based standards] (expm1f): Likewise.
22749 [non-C99-based standards] (ilogbf): Likewise.
22750 [non-C99-based standards] (log1pf): Likewise.
22751 [non-C99-based standards] (logbf): Likewise.
22752 [non-C99-based standards] (nextafterf): Likewise.
22753 [non-C99-based standards] (remainderf): Likewise.
22754 [non-C99-based standards] (rintf): Likewise.
22755 [non-C99-based standards] (scalbf): Likewise.
22756 [non-C99-based standards] (copysignl): Likewise.
22757 [non-C99-based standards] (exp2l): Likewise.
22758 [non-C99-based standards] (log2l): Likewise.
22759 [non-C99-based standards] (modfl): Allow.
22760 [non-C99-based standards] (erfl): Do not allow.
22761 [non-C99-based standards] (erfcl): Likewise.
22762 [non-C99-based standards] (gammal): Likewise.
22763 [non-C99-based standards] (hypotl): Likewise.
22764 [non-C99-based standards] (j0l): Likewise.
22765 [non-C99-based standards] (j1l): Likewise.
22766 [non-C99-based standards] (jnl): Likewise.
22767 [non-C99-based standards] (lgammal): Likewise.
22768 [non-C99-based standards] (tgammal): Likewise.
22769 [non-C99-based standards] (y0l): Likewise.
22770 [non-C99-based standards] (y1l): Likewise.
22771 [non-C99-based standards] (ynl): Likewise.
22772 [non-C99-based standards] (isnanl): Likewise.
22773 [non-C99-based standards] (acoshl): Likewise.
22774 [non-C99-based standards] (asinhl): Likewise.
22775 [non-C99-based standards] (atanhl): Likewise.
22776 [non-C99-based standards] (cbrtl): Likewise.
22777 [non-C99-based standards] (expm1l): Likewise.
22778 [non-C99-based standards] (ilogbl): Likewise.
22779 [non-C99-based standards] (log1pl): Likewise.
22780 [non-C99-based standards] (logbl): Likewise.
22781 [non-C99-based standards] (nextafterl): Likewise.
22782 [non-C99-based standards] (remainderl): Likewise.
22783 [non-C99-based standards] (rintl): Likewise.
22784 [non-C99-based standards] (scalbl): Likewise.
22785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22786 [non-C99-based standards] (FP_*): Do not allow.
22787 [C99-based standards] (FP_*): Change to
22788 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22789 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22790 allow.
22791 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22792 (SIG_ERR): Likewise.
22793 [X/Open-based standards] (SIG_HOLD): Likewise.
22794 (SIG_IGN): Likewise.
22795 (SIGABRT): Use macro-int-constant. Specify type. Require
22796 positive value.
22797 (SIGFPE): Likewise.
22798 (SIGILL): Likewise.
22799 (SIGINT): Likewise.
22800 (SIGSEGV): Likewise.
22801 (SIGTER): Likewise.
22802 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22803 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22804 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22805 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22806 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22807 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22808 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22809 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22810 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22811 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22812 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22813 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22814 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22815 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22816 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22817 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22818 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22819 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22820 [X/Open-based standards] (SIGTRAP): Likewise.
22821 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22822 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22823 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22824 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22825 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22826 allow.
22827
b9f1922d
IW
228282012-05-08 Ian Wienand <ianw@vmware.com>
22829
22830 [BZ #14080]
22831 * time/tzset.c (__tzset_parse_tz): Update default rules for
22832 daylight time changes in the Energy Policy Act of 2005.
22833
1db86e88
AJ
228342012-05-09 Andreas Jaeger <aj@suse.de>
22835
22836 [BZ #13983]
22837 * elf/ldconfig.c (parse_conf): Change string to make clear that
22838 ldconfig only issued a warning if ld.so.conf does not exist.
22839
dee4a4e3
DM
228402012-05-08 David S. Miller <davem@davemloft.net>
22841
ee0db190
DM
22842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22843 movxtod instead of popping the value on the stack.
22844
dee4a4e3
DM
22845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22846
6a43ec98
CD
228472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22848
22849 * config.h.in: Add HAVE_ARM_PCS_VFP.
22850
05c2c961
RMG
228512012-05-08 Roland Mc Grath <roland@hack.frob.com>
22852
bcfe3a54
ST
22853 [BZ #13979]
22854 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22855 checking but the checks are disabled for any reason.
05c2c961 22856
4b30f61a
L
228572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22860 and ELF64_R_TYPE with ELFW(R_TYPE).
22861
eee2bc67
JM
228622012-05-08 Joseph Myers <joseph@codesourcery.com>
22863
7ea5391a
JM
22864 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22865 (ulimit): Likewise.
22866
eee2bc67
JM
22867 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22868 (settimeofday): Likewise.
22869
abb66a67
MF
228702012-05-08 Mike Frysinger <vapier@gentoo.org>
22871
22872 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22873 a struct th_u2 inside the union, and move tu_block/tu_code into
22874 a new th_u3 union of tu_block/tu_code inside of that. Move
22875 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22876 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22877 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22878 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22879 (th_stuff): Change to th_u1.tu_stuff.
22880 (th_data): Define.
22881 (th_msg): Change to th_u1.th_u2.tu_data.
22882
7f18b530
DM
228832012-05-07 David S. Miller <davem@davemloft.net>
22884
05760585
DM
22885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22886
7f18b530
DM
22887 [BZ #14074]
22888 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22889 (SETUP_PIC_REG): Use it.
22890 (SETUP_PIC_REG_LEAF): Use it.
22891
495fd99f
JM
228922012-05-07 Joseph Myers <joseph@codesourcery.com>
22893
22894 [BZ #13885]
22895 [BZ #13923]
22896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22897 USE_AS_EXPM1L.
22898 (EXPL_FINITE): Likewise.
22899 (FLDLOG): Likewise.
22900 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22901 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22902 e_expl.S.
22903 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22904 USE_AS_EXPM1L.
22905 (EXPL_FINITE): Likewise.
22906 (FLDLOG): Likewise.
22907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22908 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22909 e_expl.S.
22910 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22911 test of -max_value argument for long double.
22912 * sysdeps/i386/fpu/libm-test-ulps: Update.
22913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22914
6693d694
DM
229152012-05-06 David S. Miller <davem@davemloft.net>
22916
22917 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22918 quad soft-float symbols whose references which are compiler
22919 generated.
22920 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22921
6c23e11c
JM
229222012-05-06 Joseph Myers <joseph@codesourcery.com>
22923
d8b82cad
JM
22924 [BZ #13884]
22925 [BZ #13914]
22926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22927 USE_AS_EXP10L.
22928 (EXPL_FINITE): Likewise.
22929 (FLDLOG): Likewise.
22930 (c0): Likewise.
22931 (c1): Likewise.
22932 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22933 Adjust comments for base varying.
22934 (__expl_finite): Change alias to EXPL_FINITE.
22935 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22936 e_expl.S.
22937 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22938 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22940 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22942 USE_AS_EXP10L.
22943 (EXPL_FINITE): Likewise.
22944 (FLDLOG): Likewise.
22945 (c0): Likewise.
22946 (c1): Likewise.
22947 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22948 Adjust comments for base varying.
22949 (__expl_finite): Change alias to EXPL_FINITE.
22950 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22951 tests for bugs.
22952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22953
6c23e11c
JM
22954 [BZ #14064]
22955 * math/libm-test.inc (check_float_internal): Correct ulp
22956 calculation for subnormal expected results.
22957
29ba805c
AJ
229582012-05-06 Andreas Jaeger <aj@suse.de>
22959
22960 * Makeconfig (+math-flags): New, set to -frounding-math.
22961 (+cflags): Add +math-flags so that all of glibc gets compiled with
22962 it.
22963
22964 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22965
7b17aeda
JM
229662012-05-05 Joseph Myers <joseph@codesourcery.com>
22967
5779f134
JM
22968 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22969 Disable one test.
22970
41498f4d
JM
22971 [BZ #13787]
22972 [BZ #13922]
22973 [BZ #14036]
22974 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22975 (__ieee754_expl): Allow for and saturate large arguments.
22976 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22977 (u_threshold): Likewise.
22978 (__exp): Call __ieee754_exp before checking for overflow and
22979 underflow.
22980 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22981 (u_threshold): Likewise.
22982 (__expf): Call __ieee754_expf before checking for overflow and
22983 underflow.
22984 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22985 (u_threshold): Likewise.
22986 (__expl): Call __ieee754_expl before checking for overflow and
22987 underflow.
22988 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22989 (__ieee754_expl): Allow for and saturate large arguments.
22990 * math/libm-test.inc (exp_test): Add another test. Do not allow
22991 missing overflow exception on overflow.
22992 (expm1_test): Do not allow missing overflow exception on overflow.
22993
6698b8bf
JM
22994 * sysdeps/i386/fpu/e_expl.c: Move to ...
22995 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22996 rather than using inline asm.
22997 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22998 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22999 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23000
7b17aeda
JM
23001 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23002 (nice): Likewise.
23003 (poll): Likewise.
23004 (signal): Likewise.
23005 (time): Likewise.
23006 (times): Likewise.
23007
f7c85819
JM
230082012-05-04 Joseph Myers <joseph@codesourcery.com>
23009
23010 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23011 sysdeps/unix/common/syscalls.list.
23012 (fchmod): Likewise.
23013 (fchown): Likewise.
23014 (ftruncate): Likewise.
23015 (getrusage): Likewise.
23016 (gettimeofday): Likewise.
23017 (setpgid): Likewise.
23018 (setregid): Likewise.
23019 (setreuid): Likewise.
23020 (sigaction): Likewise.
23021 (truncate): Likewise.
23022 (vhangup): Likewise.
23023 * sysdeps/unix/common/syscalls.list: Remove file.
23024 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23025 * sysdeps/unix/sysv/linux/Implies: Likewise.
23026
336270d0
L
230272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23028
23029 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23031 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23032 Moved to ...
23033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23034 Here.
23035 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23036 to ...
23037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23038 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23039 to ...
23040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23041 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23042 to ...
23043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23044 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23045 to ...
23046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23047 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23048 to ...
23049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23050 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23051 to ...
23052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23053 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23054 to ...
23055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23056 Here.
23057 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23058 to ...
23059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23060 Here.
23061 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23062 to ...
23063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23064 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23065 Moved to ...
23066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23067 Here.
23068 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23069 to ...
23070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23071
d128e450
JM
230722012-05-04 Joseph Myers <joseph@codesourcery.com>
23073
fa8ee516
JM
23074 * sysdeps/unix/common/bits/dirent.h: Remove file.
23075 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23076
d128e450
JM
23077 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23078 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23079 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23080 * sysdeps/unix/bsd/isatty.c: Likewise.
23081 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23082 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23083 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23084
ff8faaf0 230852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23086
62881be4 23087 [BZ #13563]
31dc8730
AZ
23088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23089 long double comparison inaccuracies.
23090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23092
6fef930c
AS
230932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23094
23095 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23097
8f203e6c
JM
230982012-05-04 Joseph Myers <joseph@codesourcery.com>
23099
23100 [BZ #14049]
23101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23102 nonzero digits before rounding a hex value.
23103 * stdlib/tst-strtod.c (tests): Add another test.
23104
5197d9c2
AK
231052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23106
23107 * sysdeps/s390/fpu/libm-test-ulps: Update.
23108
f0c1dedf
AJ
231092012-05-03 Andreas Jaeger <aj@suse.de>
23110
23111 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23112 does not get optimized out.
23113 (malloc_opt_barrier): New.
23114
a65ef2ae 231152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23116 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23117
2b942cb7 23118 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23119 intermediate file deletion.
2b942cb7 23120 (generated): Add .symlist files.
a65ef2ae 23121
54b71e02
JM
231222012-05-03 Joseph Myers <joseph@codesourcery.com>
23123
23124 [BZ #13775]
23125 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23126 Redirect under this condition.
23127 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23128 [__USE_GNU] (__dprintf_chk): Not under this condition.
23129 [__USE_GNU] (__vdprintf_chk): Likewise.
23130 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23131 under this condition.
23132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23133 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23134 [__USE_XOPEN2K8] (vdprintf): Likewise.
23135 [__USE_GNU] (__dprintf_chk): Not under this condition.
23136 [__USE_GNU] (__vdprintf_chk): Likewise.
23137 [__USE_GNU] (dprintf): Likewise.
23138 [__USE_GNU] (vdprintf): Likewise.
23139
d3dfcc41
RM
231402012-05-03 Roland McGrath <roland@hack.frob.com>
23141
23142 * elf/Makefile (common-generated): Set this instead of generated for
23143 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23144 $(all-built-dso)-derived lists.
23145
7ac30cc5
AJ
231462012-05-03 Andreas Jaeger <aj@suse.de>
23147
0c51e550
AJ
23148 * sysdeps/i386/fpu/libm-test-ulps: Update.
23149
7ac30cc5
AJ
23150 * FAQ: Removed.
23151 * FAQ.in: Likewise.
23152 * scripts/gen-FAQ.pl: Likewise.
23153 * manual/install.texi (Installation): Point to online location of
23154 FAQ.
23155 * Makefile (files-for-dist): Remove FAQ.
23156 (FAQ): Remove.
23157
d4c2917f
AM
231582012-05-02 Allan McRae <allan@archlinux.org>
23159
23160 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23161 (LDFLAGS-reldepmod5.so): Likewise.
23162 (LDFLAGS-reldep6mod1.so): Likewise.
23163 (LDFLAGS-reldep6mod4.so): Likewise.
23164 (LDFLAGS-reldep8mod3.so): Likewise.
23165 (LDFLAGS-unload4mod1.so): Likewise.
23166 (LDFLAGS-unload4mod2.so): Likewise.
23167 (LDFLAGS-tst-initorder): Likewise.
23168 (LDFLAGS-tst-initordera2.so): Likewise.
23169 (LDFLAGS-tst-initordera3.so): Likewise.
23170 (LDFLAGS-tst-initordera4.so): Likewise.
23171 (LDFLAGS-tst-initorderb2.so): Likewise.
23172 (LDFLAGS-noload): Likewise.
23173 (LDFLAGS-next): Likewise.
23174 (LDFLAGS-order2mod1.so): Likewise.
23175 (LDFLAGS-order2mod2.so): Likewise.
23176 (LDFLAGS-tst-initorder2): Likewise.
23177 (LDFLAGS-tst-initorder2a.so): Likewise.
23178 (LDFLAGS-tst-initorder2b.so): Likewise.
23179 (LDFLAGS-tst-initorder2c.so): Likewise.
23180 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23181
d77f993f
DM
231822012-05-02 David S. Miller <davem@davemloft.net>
23183
23184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23185
171a70b4
PP
231862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23187
23188 [BZ #14055]
23189 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23190
0be196ad
AJ
231912012-05-02 Andreas Jaeger <aj@suse.de>
23192
23193 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23194 since we manipulate rounding mode.
23195 (CPPFLAGS-test-idouble.c): Likewise.
23196 (CPPFLAGS-test-ifloat.c): Likewise.
23197 (CFLAGS-test-ldouble.c): Likewise.
23198 (CFLAGS-test-double.c): Likewise.
23199 (CFLAGS-test-float.c): Likewise.
23200 (CFLAGS-test-misc.c): Likewise.
23201 (CFLAGS-test-test-fenv.c): Likewise.
23202
4f9d04aa
AZ
232032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23204
2b942cb7
RM
23205 [BZ #2550]
23206 [BZ #2570]
23207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23208 comparisons to determine direction to adjust input.
4f9d04aa 23209
82a79e7d
RM
232102012-05-01 Roland McGrath <roland@hack.frob.com>
23211
f5a01ca9
RM
23212 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23213 output to the target.
23214
90fe4186
RM
23215 * scripts/localplt.awk: New file.
23216 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23217 (check-localplt-CFLAGS): Variable removed.
23218 ($(all-built-dso:=.jmprel)): New static pattern rule.
23219 (generated): Add those targets.
23220 (localplt-built-dso): New variable.
23221 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23222
23223 * elf/check-localplt.c: File removed.
23224
82397ed6
RM
23225 * scripts/check-execstack.awk: New file.
23226 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23227 (check-execstack-CFLAGS): Variable removed.
23228 ($(objpfx)check-execstack.h): Target removed.
23229 ($(objpfx)execstack-default): New target.
23230 (generated): Add that instead of check-execstack.h.
23231 ($(all-built-dso:=.phdr)): New static pattern rule.
23232 (generated): Add those targets.
23233 * elf/check-execstack.c: File removed.
23234
82a79e7d
RM
23235 * scripts/check-textrel.awk: New file.
23236 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23237 (check-textrel-CFLAGS): Variable removed.
23238 (all-built-dso): Use := to define.o
23239 ($(all-built-dso:=.dyn)): New static pattern rule.
23240 (generated): Add those targets.
23241 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23242 * config.make.in (READELF): New substituted variable.
23243 * elf/check-textrel.c: File removed.
23244
62fde54f 232452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23246
615605c9
JM
23247 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23248 allow.
23249 * conform/data/ctype.h-data [C99-based standards] (isblank):
23250 Expect function.
23251 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23252 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23254 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23255 Specify type. Require positive value.
23256 (EILSEQ): Likewise.
23257 (ERANGE): Likewise.
23258 [ISO || POSIX] (EILSEQ): Do not expect.
23259 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23260 Specify type. Require positive value.
23261 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23262 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23263 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23264 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23265 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23266 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23267 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23268 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23269 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23270 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23271 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23272 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23273 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23274 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23275 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23276 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23277 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23278 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23279 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23280 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23281 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23282 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23283 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23284 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23285 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23286 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23287 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23288 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23289 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23290 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23291 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23292 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23293 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23294 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23295 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23296 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23297 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23298 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23299 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23300 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23301 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23302 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23303 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23304 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23305 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23306 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23307 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23308 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23309 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23310 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23311 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23312 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23313 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23314 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23315 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23316 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23317 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23318 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23319 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23320 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23321 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23322 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23323 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23324 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23325 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23326 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23327 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23328 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23329 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23330 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23331 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23332 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23333 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23334 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23335 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23336 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23337 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23338 Require >= 2.
23339 (FLT_ROUNDS): Expect as macro, not constant.
23340 (FLT_MANT_DIG): Use macro-int-constant.
23341 (DBL_MANT_DIG): Likewise.
23342 (LDBL_MANT_DIG): Likewise.
23343 (FLT_DIG): Likewise.
23344 (DBL_DIG): Likewise.
23345 (LDBL_DIG): Likewise.
23346 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23347 (DBL_MIN_EXP): Likewise.
23348 (LDBL_MIN_EXP): Likewise.
23349 (FLT_MAX_EXP): Use macro-int-constant.
23350 (DBL_MAX_EXP): Likewise.
23351 (LDBL_MAX_EXP): Likewise.
23352 (FLT_MAX_10_EXP): Likewise.
23353 (DBL_MAX_10_EXP): Likewise.
23354 (LDBL_MAX_10_EXP): Likewise.
23355 (FLT_MAX): Use macro-constant.
23356 (DBL_MAX): Likewise.
23357 (LDBL_MAX): Likewise.
23358 (FLT_EPSILON): Use macro-constant. Give upper bound.
23359 (DBL_EPSILON): Likewise.
23360 (LDBL_EPSILON): Likewise.
23361 (FLT_MIN): Likewise.
23362 (DBL_MIN): Likewise.
23363 (LDBL_MIN): Likewise.
23364 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23365 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23366 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23367 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23368 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23369 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23370 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23371 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23372 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23373 [ISO11] (FLT_TRUE_MIN): Likewise.
23374 [ISO11] (LDBL_TRUE_MIN): Likewise.
23375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23376 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23377 (SCHAR_MIN): Use macro-int-constant. Specify type.
23378 (SCHAR_MAX): Likewise.
23379 (UCHAR_MAX): Likewise.
23380 (CHAR_MIN): Likewise.
23381 (CHAR_MAX): Likewise.
23382 (MB_LEN_MAX): Use macro-int-constant.
23383 (SHRT_MIN): Use macro-int-constant. Specify type.
23384 (SHRT_MAX): Likewise.
23385 (USHRT_MAX): Likewise.
23386 (INT_MAX): Likewise.
23387 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23388 bound negative.
23389 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23390 bound with "U".
23391 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23392 bound with "L".
23393 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23394 bound negative. Suffix upper bound with "L".
23395 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23396 bound with "UL".
23397 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23398 Specify type.
23399 [C99-based standards] (LLONG_MAX): Likewise.
23400 [C99-based standards] (ULLONG_MAX): Likewise.
23401 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23402 == 0.
23403 [ISO11] (max_align_t): Require type.
23404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23405
c9140a62
JM
23406 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23407 from $CFLAGS, without defining away __attribute__ calls.
23408 (checknamespace): Use $CFLAGS_namespace.
23409
9af0bf29
JM
23410 * conform/conformtest.pl (@keywords): Only include C99 keywords
23411 for standards based on C99 or C11.
23412
343222a2
JM
23413 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23414 Disable tests.
23415 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23416 UNIX98]: Likewise.
23417
661f8cf0
JM
23418 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23419 usability of symbols in #if.
23420
ee74b9cb
JM
23421 * conform/conformtest.pl: If macro or constant types start
23422 "promoted:", expect the symbol to be of the following type
23423 promoted by the integer promotions.
62fde54f 23424
aafc49b3
JM
23425 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23426 in one place. Also handle "macro-constant".
23427
fefdf574
JM
23428 * conform/conformtest.pl: Only accept expected macro values with
23429 "==". Parse all "macro" lines in one place.
23430 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23431
f2d922fe
JM
23432 * conform/conformtest.pl: Handle braced types on "constant" lines
23433 instead of handling "typed-constant".
23434 * conform/data/signal.h-data: Use "constant" instead of
23435 "typed-constant".
23436
d22956c9
JM
23437 * conform/conformtest.pl: Handle "optional-" at start of lines in
23438 one place rather than duplicating several cases. Handle each
23439 format of "macro" line with initial "optional-".
23440
028e2e38
JM
23441 * conform/conformtest.pl: Only accept expected constant or
23442 optional-constant values with "==". Parse all "constant" lines in
23443 one place. Parse all "optional-constant" lines in one place.
23444 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23445 * conform/data/fmtmsg.h-data: Likewise.
23446 * conform/data/netinet/in.h-data: Likewise.
23447 * conform/data/tar.h-data: Likewise.
23448 * conform/data/limits.h-data: Use "==" form on "constant" and
23449 "optional-constant" lines.
23450
1b8f2850
JM
23451 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23452 Use -std=c99 for XOPEN2K.
23453 (@knownproblems): Remove.
23454 (newtoken): Don't check %isknown.
23455
a05a144b
JM
23456 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23457 Do not expect macro.
23458 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23459 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23460 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23461 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23462 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23463 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23464 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23465 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23466 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23467 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23468 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23469 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23470 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23471 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23472 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23473 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23474 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23475 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23476 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23477 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23478 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23479 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23480 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23481 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23482 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23483 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23484 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23485 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23486 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23487 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23488 [XPG3] (acosh): Likewise.
23489 [XPG3] (asinh): Likewise.
23490 [XPG3] (atanh): Likewise.
23491 [XPG3] (cbrt): Likewise.
23492 [XPG3] (expm1): Likewise.
23493 [XPG3] (ilogb): Likewise.
23494 [XPG3] (log1p): Likewise.
23495 [XPG3] (logb): Likewise.
23496 [XPG3] (nextafter): Likewise.
23497 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23498 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23499 [XPG3] (remainder): Likewise.
23500 [XPG3] (rint): Likewise.
23501 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23502 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23503 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23504 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23505 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23506 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23507 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23508 [UNIX98 || XOPEN2K] (scalb): Expect.
23509 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23510 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23511 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23512 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23513 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23514 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23515 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23516 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23517 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23518 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23519 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23520 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23521 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23522 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23523 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23524 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23525 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23526 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23527 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23528 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23529 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23530 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23531 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23532 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23533 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23534 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23535 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23536 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23537 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23538 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23539 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23540 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23541 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23542 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23543 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23544 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23545 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23546 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23547 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23548 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23549 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23550 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23551 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23552 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23553 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23554 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23555 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23556 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23557 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23558 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23559 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23560 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23561 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23562 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23563 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23564 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23565 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23566 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23567 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23568 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23569 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23570 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23571 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23572 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23573 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23574 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23586 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23587 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23604 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23605 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23606 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23607 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23608 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23609 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23610 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23611 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23612 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23615 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23616 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23624 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23625 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23626 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23646
73c5ebe3
JM
23647 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23648 _XOPEN_SOURCE_EXTENDED for XPG4.
23649
39c33b6c
JM
23650 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23651
62fde54f
JM
23652 * Makeconfig (localtime): Remove variable.
23653 (inst_localtime-file): Likewise.
23654
0741d64c
AS
236552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23656
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23658 Update.
23659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23660 Update.
23661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23662 Update.
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23664 Update.
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23666 Update.
23667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23668 Update.
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23670 Update.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23672 Update.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23674 Update.
23675
7cb029ee
JM
236762012-05-01 Joseph Myers <joseph@codesourcery.com>
23677
23678 [BZ #2550]
23679 [BZ #2570]
23680 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23681 comparisons to determine direction to adjust input.
23682 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23683 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23685 Likewise.
23686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23687 Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23689 Likewise.
23690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23692 Likewise.
23693 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23694 Likewise.
23695 * math/libm-test.inc (nexttoward_test): Add more tests.
23696
412bd966
AS
236972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23698
23699 [BZ #14040]
23700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23701 in version GLIBC_2.1, not GLIBC_2.0.
23702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23703 Likewise.
23704
9568c0c2
JM
237052012-04-30 Joseph Myers <joseph@codesourcery.com>
23706
adfbc8ac
JM
23707 [BZ #13942]
23708 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23709 (1 - x) * (1 + x).
23710 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23711 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23712 * math/libm-test.inc (acos_test): Add more tests.
23713 (asin_test): Likewise.
23714 * sysdeps/i386/fpu/libm-test-ulps: Update.
23715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23716
5ba3cc69
JM
23717 [BZ #14034]
23718 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23719 of square root.
23720 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23721 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23722 * math/libm-test.inc (acos_test_tonearest): New function.
23723 (acos_test_towardzero): Likewise.
23724 (acos_test_downward): Likewise.
23725 (acos_test_upward): Likewise.
23726 (asin_test_tonearest): Likewise.
23727 (asin_test_towardzero): Likewise.
23728 (asin_test_downward): Likewise.
23729 (asin_test_upward): Likewise.
23730 (main): Call the new functions.
23731 * sysdeps/i386/fpu/libm-test-ulps: Update.
23732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23733
9568c0c2
JM
23734 [BZ #13884]
23735 [BZ #13924]
23736 * math/e_exp10.c: Include <float.h>.
23737 (__ieee754_exp10): Handle underflow here rather than multiplying
23738 large negative argument by M_LN10.
23739 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23740 of __ieee754_expf.
23741 * math/e_exp10l.c: Include <float.h>.
23742 (__ieee754_exp10l): Handle underflow here rather than multiplying
23743 large negative argument by M_LN10l.
23744 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23745 spurious overflow exception on underflow.
23746
5ac3ea17
MP
237472012-04-29 Marek Polacek <polacek@redhat.com>
23748
23749 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23750 (__fortify_function): New macro.
23751 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23752 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23753 __extern_always_inline.
23754 * libio/bits/stdio2.h: Likewise.
23755 * libio/bits/stdio.h: Likewise.
23756 * string/string.h: Likewise.
23757 * string/bits/string3.h: Likewise.
23758 * include/stdio.h: Likewise.
23759 * stdlib/bits/stdlib.h: Likewise.
23760 * stdlib/stdlib.h: Likewise.
23761 * rt/bits/mqueue2.h: Likewise.
23762 * rt/mqueue.h: Likewise.
23763 * posix/bits/unistd.h: Likewise.
23764 * posix/unistd.h: Likewise.
23765 * io/bits/poll2.h: Likewise.
23766 * io/bits/fcntl2.h: Likewise.
23767 * io/fcntl.h: Likewise.
23768 * io/sys/poll.h: Likewise.
23769 * misc/bits/syslog.h: Likewise.
23770 * misc/bits/syslog-ldbl.h: Likewise.
23771 * misc/sys/syslog.h: Likewise.
23772 * socket/bits/socket2.h: Likewise.
23773 * socket/sys/socket.h: Likewise.
23774 * debug/tst-chk1.c: Likewise.
23775 * wcsmbs/bits/wchar2.h: Likewise.
23776 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23777 * wcsmbs/wchar.h: Likewise.
23778
ecf0ebfb
AJ
237792012-04-29 Andreas Jaeger <aj@suse.de>
23780
23781 * Makerules (tests): Remove enable-check-abi protection.
23782 (check-abi-warn): Remove.
23783 (check-abi-%): Remove check-abi-warn usage.
23784
23785 * configure.in: Remove check-abi configure option.
23786 * configure: Regenerated.
23787 * config.make.in (enable-check-abi): Remove.
23788
6d5c57fa
AS
237892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23790
24c5d07e 23791 [BZ #14033]
ded5180a
AS
23792 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23793 double functions to double *_finite functions.
23794
7e0d315d
AS
23795 [BZ #13941]
23796 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23797 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23798 LDBL_MIN_EXP.
23799 * stdio-common/Makefile (tests): Add tst-sprintf3.
23800 * stdio-common/tst-sprintf3.c: New file.
23801
6d5c57fa
AS
23802 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23803 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23804
0749ff8b
JM
238052012-04-28 Joseph Myers <joseph@codesourcery.com>
23806
23807 * conform/conformtest.pl: Remove duplicate typed-constant
23808 handling.
23809
8dbd5d7b
DM
238102012-04-28 David S. Miller <davem@davemloft.net>
23811
23812 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23813 (check-abi-%): Remove AWK script prerequisite and explicit
23814 abilist directory.
23815 (check-abi): Rewrite to just diff the symlist with the abilist.
23816 (config-tls, config-abi-config): Delete, no longer used.
23817 (update-abi-%): Remove AWK script and explicit abilist directory.
23818 (update-abi): Rewrite to simply compare and conditionally copy the
23819 symlist and the sysdep abilist file. Remove update-abi-config
23820 checks.
23821 * abilist/ld.abilist: Remove.
23822 * abilist/libBrokenLocale.abilist: Remove.
23823 * abilist/libanl.abilist: Remove.
23824 * abilist/libcrypt.abilist: Remove.
23825 * abilist/libdl.abilist: Remove.
23826 * abilist/librt.abilist: Remove.
23827 * abilist/libthread_db.abilist: Remove.
23828 * abilist/libutil.abilist: Remove.
23829 * scripts/extract-abilist.awk: Remove.
23830 * scripts/merge-abilist.awk: Remove.
23831 * sysdeps/generic/libcidn.abilist: New file.
23832 * sysdeps/generic/libnss_compat.abilist: New file.
23833 * sysdeps/generic/libnss_db.abilist: New file.
23834 * sysdeps/generic/libnss_dns.abilist: New file.
23835 * sysdeps/generic/libnss_files.abilist: New file.
23836 * sysdeps/generic/libnss_hesiod.abilist: New file.
23837 * sysdeps/generic/libnss_nis.abilist: New file.
23838 * sysdeps/generic/libnss_nisplus.abilist: New file.
23839 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23840 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23841 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23842 file.
23843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23844 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23845 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23846 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23847 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23848 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23849 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23850 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23851 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23852 file.
23853 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23854 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23856 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23857 file.
23858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23859 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23860 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23861 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23862 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23863 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23864 file.
23865 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23866 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23867 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23868 file.
23869 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23871 New file.
23872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23873 New file.
23874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23875 New file.
23876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23877 New file.
23878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23879 New file.
23880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23881 New file.
23882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23883 New file.
23884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23885 New file.
23886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23887 New file.
23888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23889 New file.
23890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23891 New file.
23892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23893 New file.
23894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23895 New file.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23897 file.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23899 New file.
23900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23901 New file.
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23903 file.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23905 New file.
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23907 New file.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23909 file.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23911 New file.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23913 New file.
23914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23915 New file.
23916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23917 New file.
23918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23919 New file.
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23921 New file.
23922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23924 file.
23925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23926 New file.
23927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23928 file.
23929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23930 file.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23932 file.
23933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23934 file.
23935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23936 file.
23937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23938 New file.
23939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23940 file.
23941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23942 file.
23943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23944 New file.
23945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23946 file.
23947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23949 file.
23950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23951 New file.
23952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23953 file.
23954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23955 file.
23956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23957 file.
23958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23959 file.
23960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23961 file.
23962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23963 New file.
23964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23965 file.
23966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23967 file.
23968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23969 New file.
23970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23971 file.
23972 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23973 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23974 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23975 file.
23976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23977 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23978 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23979 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23980 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23981 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23982 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23983 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23984 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23985 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23988 file.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23990 New file.
23991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23992 file.
23993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23994 file.
23995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23996 file.
23997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23998 file.
23999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24000 file.
24001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24002 New file.
24003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24004 New file.
24005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24006 file.
24007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24008 New file.
24009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24010 file.
24011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24013 file.
24014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24015 New file.
24016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24017 file.
24018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24019 file.
24020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24021 file.
24022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24023 file.
24024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24025 file.
24026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24027 New file.
24028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24029 New file.
24030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24031 file.
24032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24033 New file.
24034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24035 file.
24036
41d73a1b
JM
240372012-04-28 Joseph Myers <joseph@codesourcery.com>
24038
24039 * conform/conformtest.pl: Fix typo in handling typed-constant from
24040 allow-header.
24041
28aeeda4
JM
240422012-04-27 Joseph Myers <joseph@codesourcery.com>
24043
adae8f5e
JM
24044 * README: Cut down references to pre-2.6 Linux kernels and
24045 Linuxthreads. Update lists of configurations in libc and ports
24046 and sort alphabetically. Say "or newer" with Linux kernel version
24047 requirements.
24048
28aeeda4
JM
24049 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24050
a462cb63
RA
240512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24052
24053 [BZ #887]
24054 * math/libm-test.inc (logb_test_downward): New test to expose
24055 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24056 rounding mode.
24057
6ad3493e
JM
240582012-04-27 Joseph Myers <joseph@codesourcery.com>
24059
24060 [BZ #14027]
24061 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24062 to be done.
24063 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24064 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24065
2ce4f015
JM
240662012-04-26 Joseph Myers <joseph@codesourcery.com>
24067
5aeb141a
JM
24068 * sysdeps/unix/i386/brk.S: Remove file.
24069 * sysdeps/unix/i386/dl-brk.S: Likewise.
24070 * sysdeps/unix/i386/pipe.S: Likewise.
24071 * sysdeps/unix/i386/sigreturn.S: Likewise.
24072 * sysdeps/unix/i386/syscall.S: Likewise.
24073 * sysdeps/unix/i386/vfork.S: Likewise.
24074 * sysdeps/unix/i386/wait.S: Likewise.
24075
7143acae
JM
24076 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24077 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24078
2ce4f015
JM
24079 * configure.in (arm*-none*): Do not allow without
24080 --enable-hacker-mode.
24081 (netbsd*): Remove case setting base_os.
24082 (386bsd*): Likewise.
24083 (freebsd*): Likewise.
24084 (bsdi*): Likewise.
24085 (osf*): Likewise.
24086 (sunos*): Likewise.
24087 (ultrix*): Likewise.
24088 (newsos*): Likewise.
24089 (dynix*): Likewise.
24090 (*bsd*): Likewise.
24091 (sysv*): Likewise.
24092 (isc*): Likewise.
24093 (esix*): Likewise.
24094 (sco*): Likewise.
24095 (minix*): Likewise.
24096 (irix4*): Likewise.
24097 (irix6*): Likewise.
24098 (solaris[2-9]*): Likewise.
24099 (none): Likewise.
24100 * configure: Regenerated.
24101
0ac229c8
AZ
241022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24103
24104 [BZ #11521]
24105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24106 overflow or cancellation in calculating denominator.
24107 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24109 down expression to avoid unexpected rounding in newer GCCs.
24110 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24111
33f244f4
DM
241122012-04-26 David S. Miller <davem@davemloft.net>
24113
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24115 long-double compat symbols.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24129
cfa1f3e8
DM
241302012-04-25 David S. Miller <davem@davemloft.net>
24131
24132 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24133 HWCAP_* values only after the memory barriers have been defined.
24134 (atomic_full_barrier): Define.
24135 (atomic_read_barrier): Define.
24136 (atomic_write_barrier): Define.
24137
6e236b92
SP
241382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24139
24140 * shlib-versions: Add libgcc_s version information.
24141 * sysdeps/generic/libgcc_s.h: Remove.
24142 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24143 libgcc_s.h.
24144 * sysdeps/gnu/unwind-resume.c: Likewise.
24145 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24146
aab39a09
DM
241472012-04-25 David S. Miller <davem@davemloft.net>
24148
24149 * sysdeps/unix/sparc/brk.S: Delete.
24150 * sysdeps/unix/sparc/dl-brk.S: Delete.
24151 * sysdeps/unix/sparc/pipe.S: Delete.
24152 * sysdeps/unix/sparc/sysdep.S: Delete.
24153 * sysdeps/unix/sparc/sysdep.h: Delete.
24154 * sysdeps/unix/sparc/vfork.S: Delete.
24155 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24156 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24158 ret_ERRVAL, r0, r1, MOVE): Define.
24159 (JUMPTARGET): Remove.
24160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24161 sysdeps/unix/sparc/sysdep.h
24162 (ENTRY, END): Remove.
24163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24164
a3cc4f48
JM
241652012-04-25 Joseph Myers <joseph@codesourcery.com>
24166
2ed8cda2
JM
24167 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24168 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24169 -DIS_IN_build.
24170
35d76d59
JM
24171 * timezone/README: Update upstream location and email address for
24172 tzcode and tzdata.
24173 * timezone/zdump.c: Update from tzcode 2012b.
24174 * timezone/zic.c: Likewise.
24175
a3cc4f48
JM
24176 * configure.in (libc_cv_as_needed): Remove test.
24177 * configure: Regenerated.
24178 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24179 conditional definition.
24180 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24181 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24182 * config.make.in (have-as-needed): Remove variable.
24183
ceab42c3
SP
241842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24185 Paul Pluzhnikov <ppluzhnikov@google.com>
24186
24187 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24188 strings correctly.
24189
3ce2865f
CLT
241902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24191
24192 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24193 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24194 * sysdeps/sh/strlen.S: Likewise.
24195
f37e0d68
JM
241962012-04-24 Joseph Myers <joseph@codesourcery.com>
24197
ae186e9a
JM
24198 * sysdeps/unix/fork.S: Remove file.
24199 * sysdeps/unix/i386/fork.S: Likewise.
24200 * sysdeps/unix/sparc/fork.S: Likewise.
24201
b96914af
JM
24202 * sysdeps/unix/system.c: Remove file.
24203 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24204
f37e0d68
JM
24205 * sysdeps/unix/getegid.S: Remove file.
24206 * sysdeps/unix/geteuid.S: Likewise.
24207
87ef29ca
RM
242082012-04-24 Roland McGrath <roland@hack.frob.com>
24209
83bcd236
RM
24210 * scripts/check-localplt.awk: New file.
24211 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24212 of diff.
24213 * scripts/data/localplt-generic.data: Add a comment.
24214
87ef29ca
RM
24215 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24216 NODE when __dir_mkfile failed.
24217 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24218 Reported by Ludovic Courtès <ludo@gnu.org>.
24219
e5a6e567
AJ
242202012-04-24 Andreas Jaeger <aj@suse.de>
24221
24222 * Makerules (common-clean): Also remove gen-as-const-headers
24223 files.
24224
c1820385
JM
242252012-04-24 Joseph Myers <joseph@codesourcery.com>
24226
24227 * Makerules (native-compile): Do not change working directory for
24228 build. Use $(OUTPUT_OPTION) in command.
24229 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24230
94e02fc4
AZ
242312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24232
24233 [BZ #13886]
24234 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24235 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24236 * math/libm-test.inc (floor_test): Add more tests.
24237 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24238
3a533ca3
JM
242392012-04-24 Joseph Myers <joseph@codesourcery.com>
24240
940ab4b3
JM
24241 * sysdeps/unix/getdents.c: Remove file.
24242 * sysdeps/unix/sysv/getdents.c: Likewise.
24243 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24244
90e037bd
JM
24245 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24246 sysdeps/unix/mman/syscalls.list.
24247 (mmap): Likewise.
24248 (mprotect): Likewise.
24249 (msync): Likewise.
24250 (munmap): Likewise.
24251 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24252 * sysdeps/unix/mman/syscalls.list: Remove.
24253 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24254
3a533ca3
JM
24255 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24256 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24257 * configure: Regenerated.
24258 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24259 $(libgcc_s_suffix).
24260 * config.make.in (libgcc_s_suffix): Remove variable.
24261
1ad743de
JM
242622012-04-23 Joseph Myers <joseph@codesourcery.com>
24263
4ad451e2
JM
24264 * sysdeps/unix/sysv/gethostname.c: Move to ...
24265 * sysdeps/posix/gethostname.c: ... here.
24266
5e37ce39
JM
24267 * sysdeps/unix/execve.S: Remove file.
24268
1ad743de
JM
24269 * sysdeps/unix/_exit.S: Remove file.
24270
4e681b5b
AJ
242712012-04-23 Andreas Jaeger <aj@suse.de>
24272
24273 [BZ #13739]
24274 * manual/Makefile: Remove make dist support, there's no
24275 need for a stand-alone documentation tar ball.
24276 (TEXI2DVI): Define always, it's not in Makeconfig.
24277 (dist): Removed.
24278 (tar-it): Removed.
24279 (edition): Removed.
24280 (glibc-doc-$(edition).tar): Removed
24281 (%.Z): Removed.
24282 (%.gz): Removed.
24283 (%.uu): Removed.
24284 (ETAGS): Remove, it's in Makeconfig.
24285 (move-if-change): Remove, it's in Makeconfig.
24286
38686a03 242872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24288
24289 [BZ #13970]
24290 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24291 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24292 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24293 (strtod_l, strtof_l, strtold_l): Remove __wur.
24294 It is not necessarily an error to ignore strtol's return value.
24295 One can reliably look at the stored endptr to decide whether
24296 the number had valid syntax.
24297
7c0616fa
AJ
242982012-04-21 Andreas Jaeger <aj@suse.de>
24299
803cb6b7 24300 [BZ #13739]
7c0616fa
AJ
24301 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24302
b0fe253f
JM
243032012-04-21 Joseph Myers <joseph@codesourcery.com>
24304
24305 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24306 * sysdeps/unix/sysv/Versions: Remove file.
24307
8280f22d
MT
243082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24309
24310 [BZ #13927]
24311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24312
75ce411f 243132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24314
24315 [BZ #7064]
24316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24317 version from __vm86.
24318
097d59fa
JM
243192012-04-20 Joseph Myers <joseph@codesourcery.com>
24320
a90f3bcb
JM
24321 * sysdeps/unix/common/lxstat.c: Remove file.
24322 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24323
edc7ea78
JM
24324 * sysdeps/unix/sysv/Makefile: Remove file.
24325
cb78c221
JM
24326 * sysdeps/unix/sysv/direct.h: Remove file.
24327
efa6a45f
JM
24328 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24329 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24330 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24331 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24332 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24333 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24334 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24335
9c9f2d0c
JM
24336 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24337
4541c83b
JM
24338 * sysdeps/unix/xmknod.c: Remove file.
24339 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24340
f5d153a0
JM
24341 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24342
aa746595
JM
24343 * sysdeps/unix/sysv/i386/time.S: Remove file.
24344
cce5905e
JM
24345 * sysdeps/unix/fxstat.c: Remove file.
24346 * sysdeps/unix/xstat.c: Likewise.
24347 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24348
37fa3841
JM
24349 * sysdeps/unix/sysv/sigaction.c: Remove file.
24350
ff1962a3
JM
24351 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24352 (sysdep_headers): Remove variable.
24353 [termio.h not in sysdep_headers] (generated): Likewise.
24354 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24355 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24356 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24357 * sysdeps/unix/sysv/tcflow.c: Likewise.
24358 * sysdeps/unix/sysv/tcflush.c: Likewise.
24359 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24360 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24361 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24362 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24363 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24364
e7740d31
JM
24365 * sysdeps/unix/siglist.c: Remove file.
24366
ee06f18b
JM
24367 * sysdeps/unix/getppid.S: Remove file.
24368
097d59fa
JM
24369 * sysdeps/unix/mkdir.c: Remove file.
24370 * sysdeps/unix/rmdir.c: Likewise.
24371
ff3d51ec
AS
243722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24373
24374 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24375 ERR_MAX value.
24376 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24377 errlist-compat value.
24378
50f81fd7
DM
243792012-04-18 David S. Miller <davem@davemloft.net>
24380
24381 * sysdeps/generic/memcopy.h (reg_char): Delete.
24382 * debug/strcat_chk.c: Use char, not reg_char.
24383 * debug/strcpy_chk.c: Likewise.
24384 * debug/strncat_chk.c: Likewise.
24385 * debug/strncpy_chk.c: Likewise.
24386 * string/memchr.c: Likewise.
24387 * string/memrchr.c: Likewise.
24388 * string/rawmemchr.c: Likewise.
24389 * string/strcat.c: Likewise.
24390 * string/strchr.c: Likewise.
24391 * string/strchrnul.c: Likewise.
24392 * string/strcmp.c: Likewise.
24393 * string/strcpy.c: Likewise.
24394 * string/strncat.c: Likewise.
24395 * string/strncmp.c: Likewise.
24396 * string/strncpy.c: Likewise.
24397
8ff41c46
WS
243982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24399
24400 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24401 __builtin_memcopy is called when src and dest ranges are known to not
24402 overlap.
24403
6b652f46
WS
244042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24405
24406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24407 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24408 fwd_align_merge macro call.
24409 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24410 bwd_align_merge macro call.
24411 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24412
b282631e
WS
244132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24414
24415 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24416 bwd_align_merge macros.
24417 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24418 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24419 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24420
95aa737c
DM
244212012-04-18 David S. Miller <davem@davemloft.net>
24422
24423 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24424
7a99a614
AJ
244252012-04-18 Andreas Jaeger <aj@suse.de>
24426
24427 [BZ# 6794]
24428 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24429 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24430 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24431
24432 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24433 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24435
24436 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24437 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24438 Adjust for changed ldbl-128 files.
24439
24440 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24441 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24442 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24443
e5270c23
DM
244442012-04-17 David S. Miller <davem@davemloft.net>
24445
24446 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24447
fb5e92c9
AS
244482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24449
24450 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24451 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24452 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24453 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24454 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24455 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24456
76da7265
AZ
244572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24458
24459 [BZ #6794]
24460 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24461 * math/libm-test.inc: Add ilogb errno and exception tests.
24462 * math/w_ilogb.c: New file: ilogb wrapper.
24463 * math/w_ilogbf.c: New file: ilogbf wrapper.
24464 * math/w_ilogbl.c: New file: ilogbl wrapper.
24465 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24466 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24467 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24468 exception being thrown with 0.0 as argument.
24469 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24470 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24471 exception being thrown with 0.0 as argument.
24472 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24473 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24474 exception being thrown with 0.0 as argument.
24475 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24476 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24477 exception being thrown with 0.0 as argument.
24478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24479 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24480 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24481 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24483 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24484 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24485 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24486 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24487
0396e69d
PB
244882012-04-17 Petr Baudis <pasky@ucw.cz>
24489
24490 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24491 with altivec.
24492
750b5926
MP
244932012-04-16 Marek Polacek <polacek@redhat.com>
24494
24495 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24496
751728a1
MP
244972012-04-16 Marek Polacek <polacek@redhat.com>
24498
24499 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24500 operands of fdivp instruction.
24501
34a27407
L
245022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24503
24504 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24505 * elf/tst-auditmod3b.c: Likewise.
24506 * elf/tst-auditmod4b.c: Likewise.
24507 * elf/tst-auditmod5b.c: Likewise.
24508 * elf/tst-auditmod6b.c: Likewise.
24509 * elf/tst-auditmod6c.c: Likewise.
24510 * elf/tst-auditmod7b.c: Likewise.
24511 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24512 * sysdeps/x86_64/preconfigure.in: Likewise.
24513 * sysdeps/x86_64/preconfigure: Regenerated.
24514
7e73e17d
L
245152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24516
24517 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24518 __ILP32__.
24519
c7a6ab72
AB
245202012-04-13 Antoine Balestrat <merkil33@gmail.com>
24521
24522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24523 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24524
a9e8e0e0
CL
245252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24526
24527 [BZ #13973]
24528 * locale/iso-639.def: Fix gl language name. Spotted by
24529 Yaron Shahrabani.
24530
ec98af7d
RM
245312012-04-12 Roland McGrath <roland@hack.frob.com>
24532
24533 [BZ #2074]
24534 * libio/libio.h (__io_write_fn): Update comment.
24535
247c3ede
PB
245362012-04-12 Petr Baudis <pasky@ucw.cz>
24537
24538 [BZ #2074]
24539 * stdio.texi (Hook Functions): The user provided writer function
24540 is not allowed to return -1.
24541
55939d6d
DM
245422012-04-11 David S. Miller <davem@davemloft.net>
24543
24544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24545
90020f5a
MF
245462012-04-11 Mike Frysinger <vapier@gentoo.org>
24547
24548 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24549 Add a leading slash to rtkaio.
24550
288f9098
JM
245512012-04-11 Jim Meyering <meyering@redhat.com>
24552
90020f5a
MF
24553 [BZ #11959]
24554 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24555 It is not necessarily an error to ignore fwrite's return
24556 value. One can reliably use ferror to test for errors after
24557 the fact.
288f9098 24558
4be2b570
L
245592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24560
24561 * bits/types.h (__snseconds_t): New type.
24562 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24563
24564 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24566 (__SNSECONDS_T_TYPE): Likewise.
24567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24568 (__SNSECONDS_T_TYPE): Likewise.
24569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24570 (__SNSECONDS_T_TYPE): Likewise.
24571
288f9098 245722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24573
24574 [BZ #2636]
24575 * manual/time.texi (Processor Time): Return type of times is
24576 elapsed real time since an arbitrary point in the past.
24577 (CPU Time): Move CLK_TCK from here...
24578 (Processor Time): ...to here. Correct description.
24579 * manual/conf.texi (Constants for Sysconf): Correct description of
24580 _SC_CLK_TCK.
24581
d7dd4413
DM
245822012-04-10 David S. Miller <davem@davemloft.net>
24583
24584 [BZ #13967]
24585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24586 where the is a gap between DT_REL(A) and DT_JMPREL.
24587
b46068fc
L
245882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24589
24590 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24591 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24592 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24593
73d65cc3
SP
245942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24595
24596 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24597 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24598 (dl_main): Handle --inhibit-cache.
24599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24600 _dl_inhibit_cache.
24601 * elf/dl-load.c (_dl_map_object): Use it.
24602 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24603
bcc8d661
JM
246042012-04-09 Joseph Myers <joseph@codesourcery.com>
24605
8f9a2fae
JM
24606 [BZ #13872]
24607 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24608 (__ieee754_powl): Saturate large exponents rather than testing for
24609 overflow of y*log2(x).
24610 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24611 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24612 exceptions.
24613
bcc8d661
JM
24614 [BZ #11521]
24615 * math/s_ctan.c: Include <float.h>.
24616 (__ctan): Avoid internal overflow or cancellation in calculating
24617 denominator.
24618 * math/s_ctanf.c: Likewise.
24619 * math/s_ctanl.c: Likewise.
24620 * math/s_ctanh.c: Likewise.
24621 * math/s_ctanhf.c: Likewise.
24622 * math/s_ctanhl.c: Likewise.
24623 * math/libm-test.inc (ctan_test): Add more tests.
24624 (ctanh_test): Likewise.
24625 * sysdeps/i386/fpu/libm-test-ulps: Update.
24626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24627
823fbbb4
AJ
246282012-04-09 Andreas Jaeger <aj@suse.de>
24629
03879793
AJ
24630 [BZ #6894]
24631 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24632 is an optional BSD extension.
24633
823fbbb4
AJ
24634 [BZ #10254]
24635 * manual/stdio.texi (Opening Streams): Document additional fopen
24636 parameters.
24637
8de131cb
RM
246382012-04-09 Roland McGrath <roland@hack.frob.com>
24639
24640 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24641 %eax without telling the compiler.
24642
c0ed9d7d
CD
246432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24644
24645 [BZ # 13963]
24646 * manual/install.texi: Use sourceware.org.
24647
c483f6b4
JM
246482012-04-09 Joseph Myers <joseph@codesourcery.com>
24649
d7dd9453
JM
24650 [BZ #13873]
24651 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24652 (__ieee754_pow): Generate overflow and underflow using huge*huge
24653 and tiny*tiny rather than just returning constant infinity or zero
24654 for large exponents.
24655 * math/libm-test.inc (pow_test): Require overflow exceptions for
24656 applicable cases of large exponents.
24657
c483f6b4
JM
24658 [BZ #706]
24659 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24660 (__ieee754_pow): Use iterative multiplication algorithm only for
24661 integer exponents with absolute value below 1024. Check for odd
24662 integer exponents when using algorithm for real exponents.
24663 * math/libm-test.inc (pow_test): Add more tests.
24664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24665
d2de7579
JM
246662012-04-08 Joseph Myers <joseph@codesourcery.com>
24667
24668 [BZ #13705]
24669 * math/libm-test.inc (exp_test): Do not allow overflow exception
24670 on underflow test.
24671
f77f1232
AJ
246722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24673
24674 [BZ #13705]
24675 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24676 instead of __kernel_standard_f.
24677
3884932b
MF
246782012-04-08 Mike Frysinger <vapier@gentoo.org>
24679
24680 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24681 * sysdeps/x86_64/memset_chk.S: Likewise.
24682
54472e9c
AJ
246832012-04-08 Andreas Jaeger <aj@suse.de>
24684
6ab0fbfc
AJ
24685 [BZ #10153]
24686 * manual/startup.texi (Environment Access): Describe return value
24687 for putenv and setenv.
24688
61efba8c
AJ
24689 [BZ #6895]
24690 * manual/filesys.texi (Directory Entries): Add description for
24691 DT_LNK.
24692
95c3f29a
AJ
24693 [BZ #6890]
24694 * manual/filesys.texi (Directory Entries): Clarify that it's file
24695 system not operating system in the description of DT_UNKNOWN.
24696
54472e9c
AJ
24697 [BZ #6578]
24698 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24699
624254b1
SC
247002012-04-08 Stephen Compall <s11@member.fsf.org>
24701
24702 [BZ #6649]
24703 * manual/llio.texi (Opening and Closing Files): Add cross
24704 reference to explain mode argument.
24705
1e4920e0
MF
247062012-04-07 Mike Frysinger <vapier@gentoo.org>
24707
24708 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24709 * sysdeps/x86_64/memset_chk.S: Likewise.
24710
5ed848f3
DM
247112012-04-07 David S. Miller <davem@davemloft.net>
24712
24713 * elf/elf.h (R_SPARC_WDISP10): Define.
24714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24715 R_SPARC_SIZE32.
24716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24717 R_SPARC_SIZE64 and R_SPARC_H34.
24718
96154cd8
CD
247192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24720
24721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24722 conditions and remove no longer applicable assertion.
24723
9904dc47
L
247242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24725
24726 * bits/byteswap.h: Include <features.h>.
24727 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24728 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24729
f8887d0a
L
247302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24731
24732 * bits/byteswap.h (__bswap_16): Removed.
24733 Include <bits/byteswap-16.h> to get __bswap_16.
24734 * sysdeps/i386/bits/byteswap.h: Likewise.
24735 * sysdeps/s390/bits/byteswap.h: Likewise.
24736 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24737 * bits/byteswap-16.h: New file.
24738 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24739 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24740 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24741 * string/Makefile (headers): Add bits/byteswap-16.h.
24742
62470f60
PP
247432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24744
24745 [BZ #13895]
24746 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24747 extra indirection.
24748 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24749 * nss/tst-nss-static.c: New.
24750
4dad7bab
RM
247512012-04-06 Robert Millan <rmh@gnu.org>
24752
24753 [BZ #6486]
24754 * manual/llio.texi (File Position Primitive): lseek
24755 refers to WHENCE when it really means OFFSET.
24756
e9142a17
AJ
247572012-04-06 Andreas Jaeger <aj@suse.de>
24758
2c040eff
AJ
24759 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24760 strncmp declarations.
24761
e9142a17
AJ
24762 * abilist/libc.abilist: Add __poll and __ppoll.
24763
ff9f1c5f
DM
247642012-04-05 David S. Miller <davem@davemloft.net>
24765
dcd2ae90
DM
24766 * scripts/check-local-headers.sh: Accept a host triplet in the
24767 path matched by the exclude regexp.
24768
993eb054
DM
24769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24770 definition.
24771 * sysdeps/powerpc/powerpc32/dl-machine.h
24772 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24773 * sysdeps/s390/s390-32/dl-machine.h
24774 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24775 * sysdeps/sparc/sparc32/dl-machine.h
24776 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24777 * sysdeps/sparc/sparc64/dl-machine.h
24778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24779
ff9f1c5f
DM
24780 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24781 lazy binding.
48e2e132 24782 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24783 undefined symbol errors.
24784
48e2e132 24785 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24786 DT_NEEDED entries.
24787
e80d6f94
MM
247882012-04-05 Michael Matz <matz@suse.de>
24789
24790 [BZ #13592]
24791 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24792
349fa79f
AJ
247932012-04-05 Andreas Jaeger <aj@suse.de>
24794
24795 [BZ #13908]
24796 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24797 comment.
24798
f402708f
KK
247992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24800
24801 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24802 which ROUND is no valid rounding mode.
24803
2ecccfc9
KK
248042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24805
24806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24807 read again.
24808 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24809
8a53f50f
KK
248102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24811
24812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24813 an exception using FPU order intentionally.
24814
248152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24816
24817 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24818 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24819 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24820 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24821
d653abb7
SJ
248222012-04-05 Simon Josefsson <simon@josefsson.org>
24823
24824 [BZ #12340]
24825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24826 EINVAL when BUFLEN is too smal.
24827
c3b1bf7d
TS
248282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24829
24830 [BZ #13553]
24831 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24832 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24833
b1aa60f3
AJ
248342012-04-03 Andreas Jaeger <aj@suse.de>
24835
c3b1bf7d 24836 [BZ #13938]
67f60a26
AJ
24837 * manual/setjmp.texi (System V contexts): Fix sentence.
24838
b1aa60f3
AJ
24839 [BZ #13926]
24840 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24841 New macro for this case.
24842 [!__GNUC__] (__bswap_64): New inline function for this case.
24843 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24844 * bits/byteswap.h: Likewise.
24845 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24846 ull, guard with __GLIBC_HAVE_LONG_LONG.
24847
24848 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24849 __GLIBC_HAVE_LONG_LONG.
24850
24851 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24852 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24853
39c59c35
TMQMF
248542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24855
24856 [BZ #13691]
24857 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24858 inptr and inend, rather than using last_ch.
24859
135ffda8
DM
248602012-04-02 David S. Miller <davem@davemloft.net>
24861
24862 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24863 * stdio-common/printf-parse.h (read_int): Change return type to
24864 'int', return -1 on INT_MAX overflow.
24865 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24866 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24867 overflows INT_MAX. Check for overflow of in-format-string precision
24868 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24869 SIZE_MAX not INT_MAX for integer overflow test.
24870 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24871 skip the construct in the format string but do not record anything.
24872 * stdio-common/bug22.c: Adjust to test both width/prevision
24873 INT_MAX overflow as well as total length INT_MAX overflow. Check
24874 explicitly for proper errno values.
24875
228c019e
TS
248762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24877
302cadd3
TS
24878 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24879 CHAR_MAX.
24880 * string/test-strcmp.c [! WIDE]: Likewise.
24881 * time/tst-mktime2.c: Likewise for INT_MAX.
24882 * string/test-string.h: #include <sys/param.h> for MIN.
24883
228c019e
TS
24884 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24885 * sysdeps/i386/init-first.c (init): Likewise.
24886 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24887 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24888 * sysdeps/sh/init-first.c (init): Likewise.
24889
cfa633f5
UD
248902012-04-01 Ulrich Drepper <drepper@gmail.com>
24891
24892 * po/ru.po: Update from translation team.
d1635ef8 24893 * po/vi.po: Likewise.
cfa633f5 24894
6cd0a5ea
SP
248952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24896
24897 * resolv/nss_dns/dns-host.c: Merge copyright years.
24898
4b43400f
LD
248992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24900
24901 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24902 Optimize memcpy with prefetch if
24903 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24904 src, dst pointers have unequal 16 byte alignments.
24905
48c41d04
SP
249062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24907
24908 [BZ #13928]
24909 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24910 from a CNAME entry and return the minimum ttl for the query.
24911 (gaih_getanswer_slice): Likewise.
24912
b8dc394d
JL
249132012-03-30 Jeff Law <law@redhat.com>
24914
24915 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24916 due to long keys.
24917 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24918 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24919
2f5a5ed0
JL
24920 * resolv/nss_dns/dns-host.c: Update copyright year.
24921
1d39e359
UD
249222012-03-30 Ulrich Drepper <drepper@gmail.com>
24923
c030f70c 24924 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24925 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24926
1d39e359
UD
24927 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24928 comments for sendmmsg.
24929
249302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24931
24932 [BZ #13691]
24933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24934 with only 1 character between 0x0041 and 0x01b0.
24935 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24936 * wcsmbs/tst-mbsnrtowcs.c: New file.
24937
20fde227
DM
249382012-03-29 David S. Miller <davem@davemloft.net>
24939
24940 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24941 small copies by hand.
24942
984a4237
JL
249432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24944
24945 [BZ #13761]
24946 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24947 _nss_compat_initgroups_dyn): Fall back to malloc/free
24948 for large group memberships.
24949
18c9d62b
DM
249502012-03-28 David S. Miller <davem@davemloft.net>
24951
88d85d4f
DM
24952 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24953 that branches into memcpy.
24954 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24955 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24957 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24959 bits.
24960 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24961 implementation too.
24962 * sysdeps/sparc/mempcpy.S: New file.
24963
e5aa83e1
DM
24964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24965 the IFUNC routine in the libc case.
24966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24967
88570753
DM
24968 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24969 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24970 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24972 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24973 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24974 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24975 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24976
249d7567
DM
24977 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24978 loop to 256 bytes instead of 64 bytes and fix test signedness.
24979
18c9d62b
DM
24980 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24981 * sysdeps/sparc/sparc32/Makefile: rather than here...
24982 * sysdeps/sparc/sparc64/Makefile: and here.
24983
05f3d1f6
UD
249842012-03-28 Ulrich Drepper <drepper@gmail.com>
24985
24986 * malloc/mallocbug.c: Avoid warnings about unused variables.
24987
86ae07a8
JL
249882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24989
24990 [BZ #13760]
24991 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24992 in the right place. Discard and retry query if response is
24993 larger than input buffer size.
24994
41bf21a1
JM
249952012-03-28 Joseph Myers <joseph@codesourcery.com>
24996
d6270972
JM
24997 [BZ #369]
24998 [BZ #2678]
24999 [BZ #3866]
25000 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25001 x for large integer exponent.
25002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25003 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25004 sign of result as needed afterwards.
25005 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25006 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25007 result for underflowing pow the same as for overflow.
25008 (__kernel_standard_l): Handle powl overflow and underflow here
25009 rather than calling __kernel_standard.
25010 * math/libm-test.inc (pow_test): Add more tests.
25011
414fca03 25012 [BZ #3868]
41bf21a1
JM
25013 [BZ #13879]
25014 [BZ #13910]
25015 [BZ #13911]
25016 [BZ #13912]
25017 [BZ #13913]
25018 [BZ #13915]
25019 [BZ #13916]
25020 [BZ #13917]
25021 [BZ #13918]
25022 [BZ #13919]
25023 [BZ #13920]
25024 [BZ #13921]
25025 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25026 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25027 (__kernel_standard_l): New function.
25028 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25029 __kernel_standard.
25030 * math/w_acosl.c (__acosl): Likewise.
25031 * math/w_asinl.c (__asinl): Likewise.
25032 * math/w_atan2l.c (__atan2l): Likewise.
25033 * math/w_atanhl.c (__atanhl): Likewise.
25034 * math/w_coshl.c (__coshl): Likewise.
25035 * math/w_exp10l.c (__exp10l): Likewise.
25036 * math/w_exp2l.c (__exp2l): Likewise.
25037 * math/w_fmodl.c (__fmodl): Likewise.
25038 * math/w_hypotl.c (__hypotl): Likewise.
25039 * math/w_j0l.c (__j0l, __y0l): Likewise.
25040 * math/w_j1l.c (__j1l, __y1l): Likewise.
25041 * math/w_jnl.c (__jnl, __ynl): Likewise.
25042 * math/w_lgammal.c (__lgammal): Likewise.
25043 * math/w_log10l.c (__log10l): Likewise.
25044 * math/w_log2l.c (__log2l): Likewise.
25045 * math/w_logl.c (__logl): Likewise.
25046 * math/w_powl.c (__powl): Likewise.
25047 * math/w_remainderl.c (__remainderl): Likewise.
25048 * math/w_scalbl.c (sysv_scalbl): Likewise.
25049 * math/w_sinhl.c (__sinhl): Likewise.
25050 * math/w_sqrtl.c (__sqrtl): Likewise.
25051 * math/w_tgammal.c (__tgammal): Likewise.
25052 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25053 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25054 * math/libm-test.inc (acos_test): Add more tests.
25055 (acosh_test): Likewise.
25056 (asin_test): Likewise.
25057 (atanh_test): Likewise.
25058 (exp_test): Likewise.
25059 (exp10_test): Likewise.
25060 (exp2_test): Likewise.
25061 (expm1_test): Likewise.
25062 (lgamma_test): Likewise.
25063 (log_test): Likewise.
25064 (log10_test): Likewise.
25065 (log1p_test): Likewise.
25066 (log2_test): Likewise.
25067 (pow_test): Do not allow some spurious overflow exceptions.
25068 (sqrt_test): Add more tests.
25069 (tgamma_test): Likewise.
25070 (y0_test): Likewise.
25071 (y1_test): Likewise.
25072 (yn_test): Likewise.
25073
dd62fda6
AB
250742012-03-27 Anton Blanchard <anton@samba.org>
25075
25076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25077 MAP_HUGETLB.
25078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25079 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25081
1e3cdfda
AJ
250822012-03-27 David S. Miller <davem@davemloft.net>
25083
b855ab85
DM
25084 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25085
1e3cdfda
AJ
25086 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25087 have-as-vis3 check.
25088
250892012-03-27 Andreas Jaeger <aj@suse.de>
25090
25091 * sysdeps/x86_64/elf/configure.in: Moved to ...
25092 * sysdeps/x86_64/configure.in: ... here.
25093 * sysdeps/x86_64/elf/start.S: Moved to ...
25094 * sysdeps/x86_64/start.S: ... here.
25095 * sysdeps/x86_64/elf/configure: Delete.
25096
25097 * sysdeps/x86_64/configure.in: Merge contents from
25098 sysdeps/i386/configure.in (without i686 check).
25099
25100 * sysdeps/i386/elf/Versions: Merge into ...
25101 * sysdeps/i386/Versions: ... this.
25102 * sysdeps/i386/elf/Versions: Delete file.
25103 * sysdeps/i386/elf/start.S: Moved to ...
25104 * sysdeps/i386/start.S: ...here.
25105 * sysdeps/i386/elf/configure.in: Merge into...
25106 * sysdeps/i386/configure.in: ...here.
25107 * sysdeps/i386/elf/configure.in: Delete file.
25108 * sysdeps/i386/elf/configure: Delete file.
25109
25110 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25111 * debug/backtracesyms.c: ... here.
25112 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25113 * debug/backtracesymsfd.c: ... here.
25114 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25115 * sysdeps/generic/ifunc-sel.h: ... here.
25116
25117 * sysdeps/unix/i386/start.c: Delete file.
25118 * sysdeps/unix/sparc/start.c: Delete file.
25119 * sysdeps/unix/start.c: Delete file.
25120
25121 * sysdeps/sh/elf/configure.in: Moved to ...
25122 * sysdeps/sh/configure.in: ... here.
25123 * sysdeps/sh/elf/start.S: Moved to ...
25124 * sysdeps/sh/start.S: ... here.
25125 * sysdeps/sh/elf/configure: Delete file.
25126
25127 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25128 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25129 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25130 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25131 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25132 * sysdeps/powerpc/powerpc64/start.S: here.
25133 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25134 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25135 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25136 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25137 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25138
25139 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25140 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25141 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25142 * sysdeps/powerpc/powerpc32/start.S: ... here.
25143 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25144 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25145 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25146
25147 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25148 * sysdeps/powerpc/ifunc-sel.h: ... here.
25149 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25150 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25151
25152 * sysdeps/sparc/elf/configure.in: Moved to ...
25153 * sysdeps/sparc/configure.in: ... here.
25154 * sysdeps/sparc/elf/configure: Delete file.
25155 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25156 * sysdeps/sparc/sparc32/start.S: ... here.
25157 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25158 * sysdeps/sparc/sparc64/start.S: ... here.
25159 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25160 * sysdeps/sparc/sparc32/Makefile: ... this.
25161 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25162 * sysdeps/sparc/sparc64/Makefile: ... this.
25163
25164 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25165 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25166 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25167 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25168 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25169 * sysdeps/s390/s390-32/setjmp.S: ... here.
25170 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25171 * sysdeps/s390/s390-32/configure.in: ... here.
25172 * sysdeps/s390/s390-32/elf/configure: Delete file.
25173 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25174 * sysdeps/s390/s390-32/start.S: ... here.
25175
25176 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25177 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25178 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25179 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25180 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25181 * sysdeps/s390/s390-64/setjmp.S: ... here.
25182 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25183 * sysdeps/s390/s390-64/configure.in: ... here
25184 * sysdeps/s390/s390-64/elf/configure: Delete file.
25185 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25186 * sysdeps/s390/s390-64/start.S: ... here.
25187 * sysdeps/s390/s390-64/elf/configure: Delete.
25188
25189 * configure.in: Remove support for elf directories in sysdeps.
25190
25191 * configure: Regenerated.
25192 * sysdeps/i386/configure: Regenerated.
25193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25194 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25195 * sysdeps/s390/s390-32/configure: Regenerated.
25196 * sysdeps/s390/s390-64/configure: Regenerated.
25197 * sysdeps/sh/configure: Regenerated.
25198 * sysdeps/sparc/configure: Regenerated.
25199 * sysdeps/x86_64/configure: Regenerated.
25200
a3f61311
AS
252012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25202
c876e002
AS
25203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25204
a3f61311
AS
25205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25206 denormal result into account.
25207
ac4c54f0
RM
252082012-03-25 Roland McGrath <roland@hack.frob.com>
25209
25210 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25211 Reported by Allan McRae <allan@archlinux.org>.
25212
6a9b9c02
JL
252132012-03-23 Jeff Law <law@redhat.com>
25214
25215 * nss/getnssent.c (__nss_getent): Fix typo.
25216
4c42a0c1
DM
252172012-03-23 David S. Miller <davem@davemloft.net>
25218
25219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25220
1532c7ac
L
252212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25222
25223 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25224 to pad to uint64_t for each field.
25225 (dl_tls_index): Replace unsigned long with uint64_t.
25226
3ff42526
PP
252272012-03-23 Daniel Jacobowitz <dmj@google.com>
25228 Paul Pluzhnikov <ppluzhnikov@google.com>
25229
25230 [BZ #6528]
25231 * grp/Makefile (otherlibs): Don't set it.
25232 * inet/Makefile (otherlibs): Likewise.
25233 * login/Makefile (otherlibs): Likewise.
25234 * nscd/Makefile (otherlibs): Likewise.
25235 * posix/Makefile (otherlibs): Likewise.
25236 * pwd/Makefile (otherlibs): Likewise.
25237 * rt/Makefile (otherlibs): Likewise.
25238 * sunrpc/Makefile (otherlibs): Likewise.
25239 * nss/Makefile (otherlibs): Likewise.
25240 Add libnss_files to routines and static-only-routines.
25241 ($(objpfx)getent): Remove rule.
25242 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25243 static-only-routines.
25244
7c69cd14
JM
252452012-03-22 Joseph Myers <joseph@codesourcery.com>
25246
25247 [BZ #13892]
25248 * math/s_cexp.c: Include <float.h>.
25249 (__cexp): Handle exp result overflowing not necessarily
25250 overflowing both real and imaginary parts of result.
25251 * math/s_cexpf.c: Likewise.
25252 * math/s_cexpl.c: Likewise.
25253 * math/libm-test.inc (cexp_test): Add more tests.
25254 * sysdeps/i386/fpu/libm-test-ulps: Update.
25255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25256
81b035fe
L
252572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25258
25259 * include/link.h (ELFW): New macro.
25260 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25261 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25262
1da7940c
L
252632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25264
25265 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25266 with uint64_t.
25267
b749dbb9
L
252682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25271 declaration.
25272 (struct La_x32_retval): Likewise.
25273
2ff87f3f
L
252742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25275
25276 * sysdeps/x86_64/preconfigure.in: New file.
25277 * sysdeps/x86_64/preconfigure: New generated file.
25278
c0df8e69
JM
252792012-03-22 Joseph Myers <joseph@codesourcery.com>
25280
48e44791
JM
25281 [BZ #13824]
25282 * math/e_exp2l.c: Include <float.h>.
25283 (__ieee754_exp2l): Handle overflow and underflow cases
25284 separately. Only pass fractional part of argument to
25285 __ieee754_expl.
25286 * math/libm-test.inc (exp2_test): Add more tests.
25287
c0df8e69
JM
25288 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25289 negating x to take absolute value.
25290 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25291 Likewise.
25292 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25293 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25294 Likewise.
25295 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25296 computing low part if x was negated.
25297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25298
c8e43ba7
L
252992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25300
25301 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25302 la_x32_gnu_pltexit.
25303 (pltexit): Cast int_retval to ptrdiff_t.
25304 * elf/tst-auditmod3b.c: Likewise.
25305 * elf/tst-auditmod4b.c: Likewise.
25306 * elf/tst-auditmod5b.c: Likewise.
25307 * elf/tst-auditmod6b.c: Likewise.
25308 * elf/tst-auditmod6c.c: Likewise.
25309 * elf/tst-auditmod7b.c: Likewise.
25310
25311 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25312 and x32_gnu_pltexit.
25313
25314 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25315 __ELF_NATIVE_CLASS.
25316 (La_x32_regs): New macro.
25317 (La_x32_retval): Likewise.
25318 (la_x32_gnu_pltenter): New function prototype.
25319 (la_x32_gnu_pltexit): Likewise.
25320
7998fa78
AS
253212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25322
dcb33988
AS
25323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25324 exponent.
25325
233fc563
AS
25326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25327
7998fa78
AS
25328 * configure.in (libc_cv_cc_nofma): Check for option to disable
25329 generation of FMA instructions.
25330 * configure: Regenerate.
25331 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25332 * sysdeps/ieee754/dbl-64/Makefile: New file.
25333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25334 Remove brandred-fma4.
25335 (CFLAGS-brandred-fma4.c): Remove.
25336 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25337 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25338 define.
25339 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25340 define.
25341
8e95c99a
L
253422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25343
25344 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25345 LLONG_MAX != LONG_MAX.
25346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25347 (_fitoa_word): Likewise.
25348 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25349 LLONG_MAX != LONG_MAX.
25350 * stdio-common/_itowa.h: Include <_itoa.h>.
25351 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25352 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25353 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25354 only if not defined.
25355 (_ITOA_WORD_TYPE): Likewise.
25356 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25357 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25358
6f4db457
DM
253592012-03-21 David S. Miller <davem@davemloft.net>
25360
25361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25362
7785fe5a
L
253632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25364
25365 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25366 of x86_64 when setting libc_cv_slibdir, libdir and
25367 libc_cv_localedir.
25368 * sysdeps/unix/sysv/linux/configure: Regenerated.
25369
4535cd55
JM
253702012-03-21 Joseph Myers <joseph@codesourcery.com>
25371
25372 * manual/lang.texi (Old Varargs): Remove section.
25373 (How Variadic): Update menu.
25374 (va_start): Do not mention varargs.h.
25375
17228132
TS
253762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25377 Joseph Myers <joseph@codesourcery.com>
25378
25379 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25380 link test.
25381 * configure: Regenerated.
25382
8149f976
TS
253832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25384
05f3d1f6
UD
25385 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25386 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25387 conformtest.pl
8149f976 25388
1a4ac776
JM
253892012-03-21 Joseph Myers <joseph@codesourcery.com>
25390
be22ce65
JM
25391 * NOTES: Remove.
25392 * Makefile (files-for-dist): Remove NOTES.
25393 (NOTES): Remove rule.
25394 * README: Don't refer to NOTES.
25395 * manual/creature.texi: Don't include macros.texi.
25396 * manual/intro.texi (creature.texi): Remove comment referring to
25397 NOTES.
25398
40b601fb
JM
25399 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25400 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25401 * configure: Regenerated.
25402 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25403 LIBC_TRY_CC_OPTION.
25404 (libc_cv_as_i686): Likewise.
25405 (libc_cv_cc_avx): Likewise.
25406 (libc_cv_cc_sse2avx): Likewise.
25407 (libc_cv_cc_fma4): Likewise.
25408 (libc_cv_cc_novzeroupper): Likewise.
25409 * sysdeps/i386/configure: Regenerated.
25410
1a4ac776
JM
25411 [BZ #13883]
25412 * sysdeps/i386/fpu/s_cexp.S: Remove.
25413 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25414 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25415 * math/libm-test.inc (cexp_test): Add more tests.
25416 * sysdeps/i386/fpu/libm-test-ulps: Update.
25417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25418
a458e7fe
AM
254192012-03-21 Allan McRae <allan@archlinux.org>
25420
25421 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25422
0cb7efc5
JM
254232012-03-21 Joseph Myers <joseph@codesourcery.com>
25424
25425 [BZ #13871]
25426 * math/w_exp2.c: Do not include <float.h>.
25427 (o_threshold, u_threshold): Remove.
25428 (__exp2): Calculate result before checking finiteness and calling
25429 __kernel_standard.
25430 * math/w_exp2f.c: Likewise.
25431 * math/w_exp2l.c: Likewise.
25432 * math/libm-test.inc (exp2_test): Require overflow exception for
25433 1e6 input.
2460d3aa
JM
25434
25435 [BZ #3866]
25436 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25437 range of signed 64-bit integers before using fistpll. Remove
25438 checks for whether integers fit in mantissa bits.
25439 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25440 the range of signed 32-bit integers before using fistpl. Remove
25441 checks for whether integers fit in mantissa bits.
25442 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25443 (__ieee754_powl): Test for y outside the range of signed 64-bit
25444 integers before using fistpll. Reduce 64-bit values to 63-bit
25445 ones as needed.
25446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25447 divide-by-zero is raised for zero to large negative powers.
25448 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25449 (__ieee754_powl): Test for y outside the range of signed 64-bit
25450 integers before using fistpll. Reduce 64-bit values to 63-bit
25451 ones as needed.
25452 * math/libm-test.inc (pow_test): Add more tests.
25453
eb96ffb0
L
254542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25455
25456 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25457 <stdio-common/_itoa.h>.
25458 * debug/segfault.c: Likewise.
25459 * elf/dl-cache.c: Likewise.
25460 * elf/dl-minimal.c: Likewise.
25461 * elf/dl-misc.c: Likewise.
25462 * elf/dl-sysdep.c: Likewise.
25463 * elf/dl-version.c: Likewise.
25464 * elf/rtld.c: Likewise.
25465 * hurd/hurdsock.c: Likewise.
25466 * hurd/lookup-retry.c: Likewise.
25467 * malloc/malloc.c: Likewise.
25468 * malloc/mtrace.c: Likewise.
25469 * nscd/nscd_getgr_r.c: Likewise.
25470 * nscd/nscd_getpw_r.c: Likewise.
25471 * nscd/nscd_getserv_r.c: Likewise.
25472 * posix/getopt_init.c: Likewise.
25473 * posix/wordexp.c: Likewise.
25474 * stdio-common/_itoa.c: Likewise.
25475 * stdio-common/printf_fphex.c: Likewise.
25476 * stdio-common/vfprintf.c: Likewise.
25477 * string/_strerror.c: Likewise.
25478 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25479 * sysdeps/i386/i686/hp-timing.h: Likewise.
25480 * sysdeps/mach/_strerror.c: Likewise.
25481 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25482 * sysdeps/mach/hurd/sethostid.c: Likewise.
25483 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25484 * sysdeps/mach/xpg-strerror.c: Likewise.
25485 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25487 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25488 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25489 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25490 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25491 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25492 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25493 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25494 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25495 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25496 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25497 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25498 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25499 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25500 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25501 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25502 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25503 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25504 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25505 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25506
25507 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25508
25509 * stdio-common/_itoa.h: Moved to ...
25510 * sysdeps/generic/_itoa.h: Here.
25511
25512 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25513
25514 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25515 instead of "_itoa.h" and "_itowa.h".
25516 * stdio-common/vfprintf.: Likewise.
25517
d1af992d
L
255182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25521 <bits/wordsize.h>.
25522 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25523 (__signbit): Likwise.
25524 (llrintf): Likwise.
25525 (llrint): Likwise.
25526
114883e0
L
255272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25528
25529 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25530 __WORDSIZE != 64.
25531
c135cc1b
JM
255322012-03-20 Joseph Myers <joseph@codesourcery.com>
25533
25534 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25535 OVERFLOW_EXCEPTION_OK.
25536 * math/libm-test.inc ("Philosophy"): Update comment about
25537 exception testing.
25538 (OVERFLOW_EXCEPTION): Define.
25539 (OVERFLOW_EXCEPTION_OK): Likewise.
25540 (INVALID_EXCEPTION_OK): Renumber.
25541 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25542 (IGNORE_ZERO_INF_SIGN): Likewise.
25543 (test_exceptions): Handle FE_OVERFLOW.
25544 (exp10_test): Expect overflow exceptions.
25545 (exp2_test): Likewise.
25546 (expm1_test): Likewise.
25547 (nextafter_test): Likewise.
25548 (pow_test): Likewise.
25549 (scalbn_test): Likewise.
25550 (scalbln_test): Likewise.
25551
95443d88
L
255522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25553
25554 * sysdeps/x86_64/bits/atomic.h
25555 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25556 64bit integer.
25557 (atomic_exchange_acq): Likewise.
25558 (__arch_exchange_and_add_body): Likewise.
25559 (__arch_add_body): Likewise.
25560 (atomic_add_negative): Likewise.
25561 (atomic_add_zero): Likewise.
25562
490df6c4
L
255632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25564
c2722551 25565 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25566 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25567
5e52b189
L
255682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25571 Check __x86_64__ instead of __WORDSIZE.
25572
a9879d4c
L
255732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25574
25575 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25576
5df98260
DM
255772012-03-19 David S. Miller <davem@davemloft.net>
25578
e1497744
DM
25579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25580
5df98260
DM
25581 * sysdeps/sparc/fpu/fenv_private.h: New file.
25582 * sysdeps/sparc/fpu/math_private.h: Use it.
25583 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25584 Remove.
25585 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25586 (libc_feholdexcept_setroundl): Remove.
25587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25588 Remove.
25589 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25590 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25591
b4c35121
L
255922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25593
25594 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25595 int64_t instead of long int.
25596 (INSERT_WORDS64): Likwise.
25597
56965fd7
L
255982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25599
25600 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25601 _Unwind_GetCFA return to _Unwind_Ptr first.
25602
83d1aec8
JM
256032012-03-19 Joseph Myers <joseph@codesourcery.com>
25604
1897ad44
JM
25605 [BZ #13629]
25606 * math/s_clog.c: Include <float.h>.
25607 (__clog): Scale large or subnormal inputs.
25608 * math/s_clogf.c: Likewise.
25609 * math/s_clogl.c: Likewise.
25610 * math/s_clog10.c: Include <float.h>.
25611 (M_LOG10_2): Define.
25612 (__clog10): Scale large or subnormal inputs.
25613 * math/s_clog10f.c: Likewise.
25614 * math/s_clog10l.c: Likewise.
25615 * math/libm-test.inc (clog_test): Add more tests.
25616 (clog10_test): Likewise.
25617 * sysdeps/i386/fpu/libm-test-ulps: Update.
25618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619
7726d6a9
JM
25620 [BZ #11451]
25621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25622 x and y.
25623 * math/libm-test.inc (atan2_test): Add another test.
25624
83d1aec8
JM
25625 * Makerules (common-objdir-compile): Remove.
25626 * sysdeps/unix/Makefile (config-generated): Do not add
25627 $(unix-generated) to variable.
25628 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25629 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25630 Remove rule.
25631 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25632 Likewise.
25633 [generic bits/local_lim.h] (before-compile): Do not append to
25634 variable.
25635 [generic bits/local_lim.h] (common-generated): Likewise.
25636 [generic sys/param.h] (before-compile): Do not append to variable.
25637 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25638 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25639 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25640 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25641 include.
25642 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25643 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25644 [generic sys/param.h] ($(addprefix
25645 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25646 [generic sys/param.h] (common-generated): Do not append to
25647 variable.
25648 [generic sys/param.h] (sysdep_headers): Likewise.
25649 [generic bits/errno.h] (before-compile): Do not append to
25650 variable.
25651 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25652 rule.
25653 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25654 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25655 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25656 [generic bits/errno.h] (common-generated): Do not append to
25657 variable.
25658 [generic bits/ioctls.h] (before-compile): Do not append to
25659 variable.
25660 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25661 rule.
25662 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25663 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25664 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25665 rule.
25666 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25667 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25668 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25669 [generic bits/ioctls.h] (common-generated): Do not append to
25670 variable.
25671 [generic sys/syscall.h] (syscall.h): Remove variable.
25672 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25673 rule.
25674 [generic sys/syscall.h] (before-compile): Do not append to
25675 variable.
25676 [generic sys/syscall.h] (common-generated): Likewise.
25677 * sysdeps/unix/errnos-tmpl.c: Remove file.
25678 * sysdeps/unix/errnos.awk: Likewise.
25679 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25680 * sysdeps/unix/ioctls.awk: Likewise.
25681 * sysdeps/unix/mk-local_lim.c: Likewise.
25682 * sysdeps/unix/snarf-ioctls: Likewise.
25683
4851a949
RH
256842012-03-19 Richard Henderson <rth@twiddle.net>
25685
bd37f2ee
RH
25686 * sysdeps/i386/fpu/fenv_private.h: New file.
25687 * sysdeps/i386/fpu/math_private.h: Use it.
25688 (math_opt_barrier, math_force_eval): Remove.
25689 (libc_feholdexcept_setround_53bit): Remove.
25690 (libc_feupdateenv_53bit): Remove.
25691 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25692 (math_opt_barrier, math_force_eval): Remove.
25693 (libc_feholdexcept): Remove.
25694 (libc_feholdexcept_setround): Remove.
25695 (libc_fetestexcept, libc_fesetenv): Remove.
25696 (libc_feupdateenv_test): Remove.
25697 (libc_feupdateenv, libc_feholdsetround): Remove.
25698 (libc_feresetround): Remove.
25699
d0adc922
RH
25700 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25701 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25702
0fe0f1f8
RH
25703 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25704 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25705 (libc_feupdateenv_testl): New.
25706 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25707 (libc_feupdateenv_testf): New.
25708 (libc_feupdateenv): Use libc_feupdateenv_test.
25709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25710 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25711
eb92c487
RH
25712 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25713 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25714 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25715 (libc_feresetround_noex): New.
25716 (libc_feresetround_noexf): New.
25717 (libc_feresetround_noexl): New.
25718 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25719 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25720 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25721 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25722 SET_RESTORE_ROUND.
25723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25725 (__cos): Likewise.
25726 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25727 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25728 SET_RESTORE_ROUND_NOEX.
25729 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25730 SET_RESTORE_ROUND_NOEXF.
25731 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25732 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25733 (libc_feholdsetroundf): New.
25734 (libc_feresetround, libc_feresetroundf): New.
25735
7d2e8012
RH
25736 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25737 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25738 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25739
b4dabbb4
RH
25740 * sysdeps/generic/math_private.h: Include <fenv.h>.
25741 (default_libc_feholdexcept): New.
25742 (default_libc_feholdexcept_setround): New.
25743 (default_libc_fesetenv, default_libc_feupdateenv): New.
25744 (libc_feholdexcept): Only define if undefined.
25745 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25746 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25747 (libc_feholdexcept_setroundl): Likewise.
25748 (libc_feholdexcept_setround_53bit): Likewise.
25749 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25750 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25751 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25752 (libc_feupdateenv_53bit): Likewise.
25753 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25754 (libc_feholdexcept): Convert from macro to inline function.
25755 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25756 (libc_fesetenv, libc_feupdateenv): Likewise.
25757
4851a949
RH
25758 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25759 not previously defined.
25760 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25761 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25762 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25763 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25764 * sysdeps/ieee754/flt-32/math_private.h: New file.
25765 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25766 math_private.h below SET_FLOAT_WORD.
25767 (__isnan, __isinf_ns, __finite): Remove.
25768 (__isnanf, __isinf_nsf, __finitef): Remove.
25769
e79d442e
AS
257702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25771
25772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25773
90b80344
DM
257742012-03-17 David S. Miller <davem@davemloft.net>
25775
25776 [BZ #6471]
25777 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25778 for 2.16.
25779
edc21804
DM
257802012-03-16 David S. Miller <davem@davemloft.net>
25781
77e927af
DM
25782 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25783 warnings.
25784
374976dd
DM
25785 [BZ #6471]
25786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25787 properly.
25788 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25789 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25790 sysdep_routines when subdir is sysvipc.
25791 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25792 __getshmlba helper.
25793
edc21804
DM
25794 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25795
473c3ef3
L
257962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25797
25798 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25799 [__LP64__].
25800
eb0f39b6
L
258012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25802
25803 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25804 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25805 (__lround): Renamed to ...
25806 (__llround): This. Replace long int with long long int.
25807 Define lround functions as aliases of llround functions.
25808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25809
6b6cd74b
L
258102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25813 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25814 adresses to uintptr_t. Replace "long int" and "unsigned long
25815 int" with "greg_t" on va_arg.
25816
f1a77b01
L
258172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25818
25819 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25820 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25821
25822 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25823 Move e_machine check before EI_CLASS check. Handle x32
25824 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25825 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25826 SKIP_EM_IA_64 and include
25827 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25828
25829 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25830 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25831 (add_system_dir): New macro.
25832
25833 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25834 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25835
11b90b9f
JM
258362012-03-16 Joseph Myers <joseph@codesourcery.com>
25837
c36e1d23
JM
25838 [BZ #2551]
25839 [BZ #2552]
25840 [BZ #2553]
25841 [BZ #2554]
25842 [BZ #2562]
25843 [BZ #2563]
25844 [BZ #2565]
25845 [BZ #2566]
25846 [BZ #2576]
25847 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25848 (y0): Likewise.
25849 * math/w_j0f.c (j0f): Likewise.
25850 (y0f): Likewise.
25851 * math/w_j0l.c (__j0l): Likewise.
25852 (__y0l): Likewise.
25853 * math/w_j1.c (j1): Likewise.
25854 (y1): Likewise.
25855 * math/w_j1f.c (j1f): Likewise.
25856 (y1f): Likewise.
25857 * math/w_j1l.c (__j1l): Likewise.
25858 (__y1l): Likewise.
25859 * math/w_jn.c (jn): Likewise.
25860 (yn): Likewise.
25861 * math/w_jnf.c (jnf): Likewise.
25862 (ynf): Likewise.
25863 * math/w_jnl.c (__jnl): Likewise.
25864 (__ynl): Likewise.
25865 * math/libm-test.inc (j0_test): Add more tests.
25866 (j1_test): Likewise.
25867 (jn_test): Likewise. Add trailing semicolon to existing test.
25868 (y0_test): Likewise.
25869 (y1_test): Likewise.
25870 * sysdeps/i386/fpu/libm-test-ulps: Update.
25871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25872
11b90b9f
JM
25873 [BZ #13851]
25874 [BZ #13854]
25875 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25876 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25877 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25879 (__tanl): Set errno for infinite argument.
25880 * sysdeps/i386/fpu/mptan.c: Remove.
25881 * sysdeps/i386/fpu/s_tan.S: Likewise.
25882 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25883 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25884 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25885 * math/libm-test.inc (tan_test): Add more tests and enable more
25886 tests for double and long double.
25887 * sysdeps/i386/fpu/libm-test-ulps: Update.
25888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25889
6a1bd2a1
JK
258902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25891
25892 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25893 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25894
10a803e0
RM
258952012-03-16 Roland McGrath <roland@hack.frob.com>
25896
25897 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25898 * configure.in: Use it for both main tree and add-ons.
25899 * configure: Regenerated.
25900
f196c7f7
L
259012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25904
8848d99d
JM
259052012-03-16 Joseph Myers <joseph@codesourcery.com>
25906
96cbe7f4
JM
25907 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25908 in comment.
25909
8848d99d
JM
25910 [BZ #13851]
25911 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25912 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25916 infinite argument.
25917 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25918 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25919 != 0 for prec == 2.
25920 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25921 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25922 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25923 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25924 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25925 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25926 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25927 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25928 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25929 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25930 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25931 * math/libm-test.inc (cos_test): Add more tests and enable more
25932 tests for long double.
25933 (sin_test): Likewise.
25934 (sincos_test): Likewise.
25935 * sysdeps/i386/fpu/libm-test-ulps: Update.
25936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25937
dd7f4703
DM
259382012-03-16 David S. Miller <davem@davemloft.net>
25939
25940 * sysdeps/sparc/fpu/math_private.h: New file.
25941
006f1daa
DM
259422012-03-15 David S. Miller <davem@davemloft.net>
25943
c0c83bc8
DM
25944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25945 file.
e6a62e18 25946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25948 file.
e6a62e18
DM
25949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25955 sysdep routines.
25956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25957
88cb87d9
DM
25958 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25959 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25960
006f1daa 25961 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25963 sparc-ifunc.h
006f1daa 25964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25966 Likewise.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25968 Likewise.
006f1daa
DM
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25973 Likewise.
006f1daa
DM
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25979 Likewise.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25981 Likewise.
006f1daa
DM
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26006
11e0098e
AS
260072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26008
26009 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26010 scaling.
26011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26012
e85b09d0
AJ
260132012-03-15 Andreas Jaeger <aj@suse.de>
26014
26015 [BZ #13852]
26016 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26017 ieee754/flt-32 implementation for sin, cos and sincos.
26018 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26019 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26020 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26021 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26022 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26023 ieee754/flt-32 implementation for tan.
26024
26025 * math/libm-test.inc (cos_test): Enable some large input tests for
26026 float as well
26027 (sin_test): Likewise.
26028 (sincos_test): Likewise.
26029 (tan_test): Add tests for large input.
26030
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032
81c64153
AJ
260332012-03-15 Andreas Jaeger <aj@suse.de>
26034
26035 [BZ #13658]
26036 * math/libm-test.inc (cos_test): Add more test cases.
26037 (sin_test): Likewise.
26038 (sincos_test): Likewise.
26039
7bbfa5c6
AJ
260402012-03-15 Andreas Jaeger <aj@suse.de>
26041
26042 [BZ #13837]
26043 * math/libm-test.inc (cos_test): Add a test case for large input
26044 value.
26045 (sin_test): Likewise.
26046 (sincos_test): Likewise.
26047
260482012-03-15 Andreas Jaeger <aj@suse.de>,
26049 Joseph Myers <joseph@codesourcery.com>
26050
26051 [BZ #13658]
0671f479 26052 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26053 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26054 * sysdeps/i386/fpu/branred.c: Likewise.
26055 * sysdeps/i386/fpu/dosincos.c: Likewise.
26056 * sysdeps/i386/fpu/mpa.c: Likewise.
26057 * sysdeps/i386/fpu/s_cos.S: Likewise.
26058 * sysdeps/i386/fpu/s_sin.S: Likewise.
26059 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26060 * sysdeps/i386/fpu/sincos32.c: Likewise.
26061
26062 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26063 Define.
26064 (libc_feupdateenv_53bit): Define.
26065 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26066 Define.
26067 (libc_feupdateenv_53bit): Define.
26068
26069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26070 53 bit (without extend i386 double precision).
26071
26072 * math/libm-test.inc (sincos_test): Add tests for large input.
26073 (sin): Likewise.
26074 (cos): Likewise.
26075
26076 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26077
9cad04ea
AS
260782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26079
26080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26081
f7062b9a
DM
260822012-03-15 David S. Miller <davem@davemloft.net>
26083
26084 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26085 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26086 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26087 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26100 file.
f7062b9a 26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26103 file.
f7062b9a 26104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26106 file.
f7062b9a 26107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26109 file.
f7062b9a
DM
26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26112 fmin/fmax sysdep routines.
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26114
7bd951ff
DM
261152012-03-14 David S. Miller <davem@davemloft.net>
26116
559398ab
DM
26117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26146 routines.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26148 file.
559398ab 26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26151 file.
559398ab 26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26154 file.
559398ab 26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26157 file.
559398ab 26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26160 file.
559398ab 26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26163 file.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26165 file.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26167 file.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26169 file.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26171 New file.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26173 file.
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26175 file.
559398ab 26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26178 file.
559398ab 26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26181 file.
559398ab 26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26184 file.
559398ab 26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26187 VIS3 routines.
559398ab
DM
26188
26189 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26190 New file.
26191
5a1c1e32
DM
26192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26193
eae47a36
DM
26194 * sysdeps/sparc/configure.in: New file.
26195 * sysdeps/sparc/configure: Generate.
26196 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26197 * configure: Regenerate.
26198 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26199 * config.make.in (have-as-vis3): New.
26200 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26201 available use -Av9d instead of -Av9a.
26202 * sysdeps/sparc/sparc64/Makefile: Likewise.
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26205 New file.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26207 file.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26209 New file.
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26211 file.
eae47a36
DM
26212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26217
c0c83bc8
DM
26218 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26219 fzeros/fnegs to load 0x80000000 into a float register instead of
26220 using the stack.
7bd951ff
DM
26221 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26222
bd951ccb
JM
262232012-03-14 Joseph Myers <joseph@codesourcery.com>
26224
26225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26226 bits/syscall.h.
26227 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26228 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26229 ($(inst_includedir)/bits/syscall.h): Remove rule.
26230 ($(objpfx)bits/syscall.d): Include instead of
26231 $(objpfx)syscall-list.d.
26232 (generated): Change syscall-list.h and syscall-list.d to
26233 bits/syscall.h and bits/syscall.d.
26234
bb4e6db2
RM
262352012-03-14 Roland McGrath <roland@hack.frob.com>
26236
26237 [BZ #13846]
26238 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26239
aa4a2ae1
JM
262402012-03-14 Joseph Myers <joseph@codesourcery.com>
26241
e456826d
JM
26242 [BZ #13841]
26243 * math/s_csqrt.c: Include <float.h>.
26244 (__csqrt): Scale large or subnormal inputs.
26245 * math/s_csqrtf.c: Likewise.
26246 * math/s_csqrtl.c: Likewise.
26247 * math/libm-test.inc (csqrt_test): Add more tests.
26248 * sysdeps/i386/fpu/libm-test-ulps: Update.
26249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250
aa4a2ae1
JM
26251 [BZ #13840]
26252 * math/libm-test.inc (hypot_test): Add more tests.
26253
7c10fd35
DM
262542012-03-13 David S. Miller <davem@davemloft.net>
26255
26256 [BZ #13840]
26257 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26258 double-precision for the calculation instead of scaling.
26259
f453b98b
JM
262602012-03-13 Joseph Myers <joseph@codesourcery.com>
26261
26262 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26263 manipulate bits before adding and subtracting TWO52[sx].
26264 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26265 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26266 Likewise.
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26268
09a3453f
DM
262692012-03-13 David S. Miller <davem@davemloft.net>
26270
8e59da90
DM
26271 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26272 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26274 rtld-global-offsets.h
26275 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26276
2a8ab7f2
DM
26277 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26278 large parameters.
26279
10f62770
DM
26280 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26281
5f0bdb18
DM
26282 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26283 'err' in the ifdef scope in which it is actually used.
26284
09a3453f
DM
26285 * nss/nss_db/db-init.c: Include string.h
26286
b4b2eb5e
DM
262872012-03-12 David S. Miller <davem@davemloft.net>
26288
98bb2f1c
DM
26289 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26290 masking out of the most significant byte of random value used.
26291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26292 Fix coding style in previous change.
26293
b4b2eb5e
DM
26294 * sysdeps/unix/sysv/linux/kernel-features.h
26295 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26296 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26297 expression.
26298 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26299 later.
26300
6e226b09
DM
263012012-03-11 David S. Miller <davem@davemloft.net>
26302
a1bcbd40
DM
26303 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26304 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26306 for 'resultvar' otherwise things get truncated on 64-bit.
26307
cb9d6174
DM
26308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26309 Fix masking out of the most significant byte of random value used.
26310
6e226b09
DM
26311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26312
058c132d
AS
263132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26314
26315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26316
2d2cd515
DM
263172012-03-09 David S. Miller <davem@davemloft.net>
26318
26319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26320 variables with appropriate CPP guards.
26321 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26322 frame pointer, not the stack pointer. Correct layout comments. Fix test
26323 on resulting framesize and the management of the outregs buffer for pltexit.
26324 Preserve floating point return values across _dl_call_pltexit call.
26325 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26326 framesize and the management of the outregs buffer for pltexit.
26327 Preserve floating point return values across _dl_call_pltexit
26328 call.
26329 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26330 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26331 (print_exit): Fix format string for return register value.
26332
9a07f9d0
JM
263332012-03-10 Joseph Myers <joseph@codesourcery.com>
26334
26335 * sunrpc/Makefile (others): Add rpcgen.
26336 ($(objpfx)rpcgen): Remove special build rule and dependency on
26337 libc.
26338 * sunrpc/rpcgen.c: New file.
26339
547b5e30
PE
263402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26341
c524201a
PE
26342 [BZ #13673]
26343 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26344 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26345 * sysdeps/i386/crti.S: Likewise.
26346 * sysdeps/i386/crtn.S: Likewise.
26347 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26348 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26349 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26350 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26351 * sysdeps/sh/crti.S: Likewise.
26352 * sysdeps/sh/crtn.S: Likewise.
26353 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26354
7b6235f2
PE
26355 [BZ #13673]
26356 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26357 with URL.
26358 * locale/programs/locfile-kw.gperf: Likewise.
26359 * locale/programs/charmap-kw.h: Regenerated.
26360 * locale/programs/locfile-kw.h: Likewise.
26361
547b5e30
PE
26362 [BZ #13673]
26363 * intl/plural.y: Replace FSF snail mail address with URL.
26364 * intl/plural.c: Regenerated.
26365
5f0a5dae
RH
263662012-03-09 Richard Henderson <rth@twiddle.net>
26367
26368 * include/math_private.h: Remove file.
26369 * math/math_private.h: Move file ...
26370 * sysdeps/generic/math_private.h: ... here.
26371
b8c03620
RH
26372 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26373 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26374 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26375
4e234f5d 26376 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26377 and <math_private.h>.
26378 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26379 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26380 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26381 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26382 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26383 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26384 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26466 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26469 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26471 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26472 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26473 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26478 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26479 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26480 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26481 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26482 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26483 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26484 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26485 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26486 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26488 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26489 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26490 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26491 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26493 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26495 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26496 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26497 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26499 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26501 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26509 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26511 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26512 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26516 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26517 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26519 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26521 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26523 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26525 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26526 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26527 * sysdeps/ieee754/k_standard.c: Likewise.
26528 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26655 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26688 * sysdeps/ieee754/s_lib_version.c: Likewise.
26689 * sysdeps/ieee754/s_matherr.c: Likewise.
26690 * sysdeps/ieee754/s_signgam.c: Likewise.
26691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26693 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26694 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26695 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26696 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26697 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26698 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26699 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26700 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26701 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26702 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26705 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26706 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26707 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26712
1991fa03
JM
267132012-03-09 Joseph Myers <joseph@codesourcery.com>
26714
26715 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26716 * sunrpc/rpc_main.c: Likewise.
26717 * sunrpc/rpc_svcout.c: Likewise.
26718
60d6f5a6
DM
267192012-03-09 David S. Miller <davem@davemloft.net>
26720
26721 * include/math_private.h: New file.
26722
4962050e
JM
267232012-03-09 Joseph Myers <joseph@codesourcery.com>
26724
02a6f887
JM
26725 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26726 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26727 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26728 from <bits/socket_type.h>.
26729 (enum __socket_type): Don't define here.
26730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26732 bits/socket_type.h.
26733
c6e013c1
JM
26734 [BZ #13566]
26735 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26736 checking __USE_GNU.
26737
4962050e
JM
26738 * Makerules ($(inst_includedir)/%.h): New rule.
26739 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26740 (install-others): Remove variable setting.
26741 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26742
38842f45
RH
267432012-03-08 Richard Henderson <rth@twiddle.net>
26744
67bb6da6
RH
26745 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26746 from macro to inline function; merge with the
26747 !__LIBC_INTERNAL_MATH_INLINES version.
26748 (__ieee754_sqrtf): Likewise.
26749
15194b4b
RH
26750 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26751 to inline function.
26752 (__rintf, __floor, __floorf): Likewise.
26753
64e21ede
RH
26754 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26755 macro to inline function.
26756 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26757
38842f45
RH
26758 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26759 not <math/math_private.h>.
26760
c64bf5fe
DM
267612012-03-08 David S. Miller <davem@davemloft.net>
26762
26763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26764 copyright year.
26765 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26766
82d86f28
TS
267672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26768
26769 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26770 normalization.
26771 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26772 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26773
aea5d727
UD
267742012-03-08 Ulrich Drepper <drepper@gmail.com>
26775
26776 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26777 be defined individually, they must be defined as a block. Define
26778 S for printing a string instead of hidint the different by using a
26779 macro for adding the 'l'.
26780 * stdio-common/tst-fphex-wide.c: Adjust.
26781
70bca0a3
MP
267822012-03-07 Marek Polacek <polacek@redhat.com>
26783
26784 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26785
65b81130
MP
267862012-03-08 Marek Polacek <polacek@redhat.com>
26787
26788 [BZ #13806]
26789 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26790 * stdio-common/tst-fphex.c: Define a few macros to make the
26791 test reusable. Use them.
26792 * stdio-common/tst-fphex-wide.c: New file.
26793
07037eeb
JM
267942012-03-08 Joseph Myers <joseph@codesourcery.com>
26795
a7a93d50
JM
26796 [BZ #6911]
26797 * manual/macros.texi (gnusystems): New macro.
26798 (nongnusystems): Likewise.
26799 (gnulinuxhurdsystems): Likewise.
26800 (gnuhurdsystems): Likewise..
26801 (gnulinuxsystems): Likewise.
26802 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26803 variants of the GNU system, not "GNU system".
26804 * manual/conf.texi: Likewise.
26805 * manual/errno.texi: Likewise. Update example of errno macro
26806 expansion.
26807 * manual/filesys.texi: Likewise.
26808 (getumask): Document as specific to GNU/Hurd.
26809 * manual/install.texi: Likewise. Reword some references to
26810 GNU/Linux.
26811 * manual/intro.texi: Likewise.
26812 * manual/io.texi: Likewise.
26813 (File Name Portability): Detail which constraints are inapplicable
26814 to all GNU systems and which are only inapplicable to GNU/Hurd.
26815 * manual/job.texi: Likewise.
26816 * manual/llio.texi: Likewise.
26817 (O_NOCTTY): Document as present on GNU/Linux.
26818 * manual/maint.texi: Likewise.
26819 * manual/memory.texi: Likewise.
26820 * manual/pattern.texi: Likewise.
26821 * manual/pipe.texi: Likewise.
26822 * manual/process.texi: Likewise.
26823 * manual/resource.texi: Likewise.
26824 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26825 child on GNU/Hurd.
26826 * manual/setjmp.texi: Likewise.
26827 * manual/signal.texi: Likewise.
26828 * manual/startup.texi: Likewise.
26829 * manual/stdio.texi: Likewise.
26830 * manual/terminal.texi: Likewise.
26831 (ONLCR): Document as POSIX.
26832 (OXTABS): Document availability on GNU/Linux as XTABS.
26833 (ONOEOT): Document availability separately from other bits.
26834 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26835 * manual/time.texi: Likewise.
26836 * manual/users.texi: Likewise.
26837 * INSTALL: Regenerated.
26838 * sysdeps/gnu/errlist.c: Regenerated.
26839
07037eeb
JM
26840 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26841 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26842 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26843 puts.
26844 * configure: Regenerated.
26845
d1d3431a
JM
268462012-03-07 Joseph Myers <joseph@codesourcery.com>
26847
af6a1e37
JM
26848 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26849 default includes instead of AC_HEADER_CHECK.
26850 * sysdeps/i386/configure: Regenerated.
26851
d1d3431a
JM
26852 [BZ #10716]
26853 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26854 * math/s_cacoshf.c (__cacoshf): Likewise.
26855 * math/s_cacoshl.c (__cacoshl): Likewise.
26856 * math/s_casinh.c (__casinh): Set signs of result from argument.
26857 * math/s_casinhf.c (__casinhf): Likewise.
26858 * math/s_casinhl.c (__casinhl): Likewise.
26859 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26860 (casinh_test): Add more tests.
26861 * sysdeps/i386/fpu/libm-test-ulps: Update.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863
482ff4da
UD
268642012-03-07 Ulrich Drepper <drepper@gmail.com>
26865
872fda05
UD
26866 * po/zh_TW.po: Update from translation team.
26867
a4300c7a
UD
26868 * login/Makefile (distribute): Remove variable.
26869 * catgets/Makefile: Likewise.
26870 * mach/Makefile: Likewise.
26871 * malloc/Makefile: Likewise.
26872 * misc/Makefile: Likewise.
26873 * iconv/Makefile: Likewise.
26874 * nscd/Makefile: Likewise.
26875 * hurd/Makefile: Likewise.
26876 * manual/Makefile: Likewise.
26877 * locale/Makefile: Likewise.
26878 * intl/Makefile: Likewise.
26879 * conform/Makefile: Likewise.
26880 * nss/Makefile: Likewise.
26881 * time/Makefile: Likewise.
26882 * soft-fp/Makefile: Likewise.
26883 * dirent/Makefile: Likewise.
26884 * gmon/Makefile: Likewise.
26885 * po/Makefile: Likewise.
26886 * rt/Makefile: Likewise.
26887 * socket/Makefile: Likewise.
26888 * math/Makefile: Likewise.
26889 * signal/Makefile: Likewise.
26890 * debug/Makefile: Likewise.
26891 * elf/Makefile: Likewise.
26892 * timezone/Makefile: Likewise.
26893 * stdlib/Makefile: Likewise.
26894 * iconvdata/Makefile: Likewise.
26895 * sunrpc/Makefile: Likewise.
26896 * io/Makefile: Likewise.
26897 * argp/Makefile: Likewise.
26898 * inet/Makefile: Likewise.
26899 * hesiod/Makefile: Likewise.
26900 * grp/Makefile: Likewise.
26901 * csu/Makefile: Likewise.
26902 * wctype/Makefile: Likewise.
26903 * crypt/Makefile: Likewise.
26904 * libio/Makefile: Likewise.
26905 * string/Makefile: Likewise.
26906 * nis/Makefile: Likewise.
26907 * resolv/Makefile: Likewise.
26908 * stdio-common/Makefile: Likewise.
26909 * wcsmbs/Makefile: Likewise.
26910 * dlfcn/Makefile: Likewise.
26911 * posix/Makefile: Likewise.
26912
3b7c4e74 26913 [BZ #6959]
482ff4da
UD
26914 * timezone/Makefile: Don't install timezone files, just the programs
26915 and scripts.
26916
f72ed77d
UD
269172012-03-06 Ulrich Drepper <drepper@gmail.com>
26918
a000466f
UD
26919 * nss/databases.def: Add missing gshadow entry.
26920
f72ed77d
UD
26921 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26922
a53b7a4e
MP
269232012-03-06 Marek Polacek <polacek@redhat.com>
26924
26925 [BZ #13726]
26926 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26927 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26928 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26929 * stdio-common/tst-long-dbl-fphex.c: New file.
26930
e9258400
DM
269312012-03-06 David S. Miller <davem@davemloft.net>
26932
26933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26934 (set_obp_int): New function.
26935 (get_obp_int): New function.
26936 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26938 Avoid unused variable warnings on 'val' and use builtin_expect.
26939 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26940 __builtin_expect.
e9258400
DM
26941 (INLINE_CLONE_SYSCALL): Likewise.
26942
3bd2c723
DM
269432012-03-05 David S. Miller <davem@davemloft.net>
26944
26945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26946
bbb78d03
AS
269472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26948
884c5db4
AS
26949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26950
bbb78d03
AS
26951 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26952 only for |x| >= 40.
26953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26954
1c9f702a 269552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26956
26957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26958 Replace gettimeofday with __vdso_gettimeofday.
26959
7be16f82
RM
26960 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26961 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26962 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26963
26964 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26965 time with __vdso_time.
26966
ed58a00f
JM
269672012-03-05 Joseph Myers <joseph@codesourcery.com>
26968
26969 * manual/lang.texi (size_t): Note types to which size_t may be
26970 equivalent with the GNU C Library, but do not describe when
26971 differences between them are significant.
26972
30ee4ced
AJ
269732012-03-05 Andreas Jaeger <aj@suse.de>
26974
26975 * sysdeps/i386/fpu/libm-test-ulps: Update.
26976
b7cd39e8
JM
269772012-03-05 Joseph Myers <joseph@codesourcery.com>
26978
26979 [BZ #3976]
26980 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26981 (__ieee754_pow): Save and restore rounding mode and use
26982 round-to-nearest for main computations.
26983 * math/libm-test.inc (pow_test_tonearest): New function.
26984 (pow_test_towardzero): Likewise.
26985 (pow_test_downward): Likewise.
26986 (pow_test_upward): Likewise.
26987 (main): Call the new functions.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26990
26991 [BZ #3976]
26992 * math/libm-test.inc (cosh_test_tonearest): New function.
26993 (cosh_test_towardzero): Likewise.
26994 (cosh_test_downward): Likewise.
26995 (cosh_test_upward): Likewise.
26996 (sinh_test_tonearest): Likewise.
26997 (sinh_test_towardzero): Likewise.
26998 (sinh_test_downward): Likewise.
26999 (sinh_test_upward): Likewise.
27000 (main): Call the new functions.
27001 * sysdeps/i386/fpu/libm-test-ulps: Update.
27002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003
6c6a98c9
TV
270042012-03-05 Tom de Vries <tom@codesourcery.com>
27005
27006 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27007 default stack guard is set in last bytes.
27008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27009
21bb2d2e 270102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27011
21bb2d2e 27012 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27013
21bb2d2e
AJ
27014 [BZ #13656]
27015 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27016 possibly allocate from heap instead of stack.
27017 * stdio-common/bug-vfprintf-nargs.c: New file.
27018 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27019
c6922934
AS
270202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27021
27022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27023
bc957d53
MP
270242012-03-03 Marek Polacek <polacek@redhat.com>
27025
27026 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27027 * math/math_private.h: Likewise.
27028 * stdlib/tst-strtod.c: Likewise.
27029 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27030 * sysdeps/x86_64/bits/atomic.h: Likewise.
27031
6358490d
DM
270322012-03-02 David S. Miller <davem@davemloft.net>
27033
27034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27038 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27039 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27040 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27041 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27042
01ae168d
RM
270432012-03-02 Roland McGrath <roland@hack.frob.com>
27044
d9a17c07
RM
27045 [BZ #13792]
27046 * manual/examples/README: New file, says the example source files
27047 can be used under GPL>=2.
27048 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27049 line containing just "*/".
27050 * manual/examples/add.c: Add copyright header (GPL>=2).
27051 * manual/examples/argp-ex1.c: Likewise.
27052 * manual/examples/argp-ex2.c: Likewise.
27053 * manual/examples/argp-ex3.c: Likewise.
27054 * manual/examples/argp-ex4.c: Likewise.
27055 * manual/examples/atexit.c: Likewise.
27056 * manual/examples/db.c: Likewise.
27057 * manual/examples/dir.c: Likewise.
27058 * manual/examples/dir2.c: Likewise.
27059 * manual/examples/execinfo.c: Likewise.
27060 * manual/examples/filecli.c: Likewise.
27061 * manual/examples/filesrv.c: Likewise.
27062 * manual/examples/fmtmsgexpl.c: Likewise.
27063 * manual/examples/genpass.c: Likewise.
27064 * manual/examples/inetcli.c: Likewise.
27065 * manual/examples/inetsrv.c: Likewise.
27066 * manual/examples/isockad.c: Likewise.
27067 * manual/examples/longopt.c: Likewise.
27068 * manual/examples/memopen.c: Likewise.
27069 * manual/examples/memstrm.c: Likewise.
27070 * manual/examples/mkfsock.c: Likewise.
27071 * manual/examples/mkisock.c: Likewise.
27072 * manual/examples/mygetpass.c: Likewise.
27073 * manual/examples/pipe.c: Likewise.
27074 * manual/examples/popen.c: Likewise.
27075 * manual/examples/rprintf.c: Likewise.
27076 * manual/examples/search.c: Likewise.
27077 * manual/examples/select.c: Likewise.
27078 * manual/examples/setjmp.c: Likewise.
27079 * manual/examples/sigh1.c: Likewise.
27080 * manual/examples/sigusr.c: Likewise.
27081 * manual/examples/stpcpy.c: Likewise.
27082 * manual/examples/strdupa.c: Likewise.
27083 * manual/examples/strftim.c: Likewise.
27084 * manual/examples/strncat.c: Likewise.
27085 * manual/examples/subopt.c: Likewise.
27086 * manual/examples/swapcontext.c: Likewise.
27087 * manual/examples/termios.c: Likewise.
27088 * manual/examples/testopt.c: Likewise.
27089 * manual/examples/testpass.c: Likewise.
27090 * manual/examples/timeval_subtract.c: Likewise.
27091
01ae168d
RM
27092 [BZ #13792]
27093 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27094 function to ...
27095 * manual/timeval_subtract.c.texi: ... here, new file.
27096
49efa33d
DM
270972012-03-02 David S. Miller <davem@davemloft.net>
27098
27099 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27100
28afd92d
JM
271012012-03-02 Joseph Myers <joseph@codesourcery.com>
27102
804360ed
JM
27103 [BZ #3976]
27104 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27105 (__sin): Save and restore rounding mode and use round-to-nearest
27106 for all computations.
27107 (__cos): Save and restore rounding mode and use round-to-nearest
27108 for all computations.
27109 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27110 <fenv.h>.
27111 (tan): Save and restore rounding mode and use round-to-nearest for
27112 all computations.
27113 * math/libm-test.inc (cos_test_tonearest): New function.
27114 (cos_test_towardzero): Likewise.
27115 (cos_test_downward): Likewise.
27116 (cos_test_upward): Likewise.
27117 (sin_test_tonearest): Likewise.
27118 (sin_test_towardzero): Likewise.
27119 (sin_test_downward): Likewise.
27120 (sin_test_upward): Likewise.
27121 (tan_test_tonearest): Likewise.
27122 (tan_test_towardzero): Likewise.
27123 (tan_test_downward): Likewise.
27124 (tan_test_upward): Likewise.
27125 (main): Call the new functions.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27128
a6d06d7b
JM
27129 [BZ #10135]
27130 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27131 small n, then large n, before computing and testing k+n.
27132 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27134 Likewise.
27135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27136 Likewise.
27137 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27138 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27143 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27144 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27145 * math/libm-test.inc (scalbn_test): Add more tests.
27146 (scalbln_test): Likewise.
27147
07e12bb3
JM
27148 * manual/filesys.texi (mode_t): Describe constraints on size and
27149 signedness, not exact equivalence to a particular type.
27150 (ino_t): Likewise.
27151 (ino64_t): Likewise.
27152 (dev_t): Likewise.
27153 (nlink_t): Likewise.
27154 (blkcnt_t): Likewise.
27155 (blkcnt64_t): Likewise.
27156 * manual/llio.texi (off_t): Likewise.
27157
28afd92d
JM
27158 [BZ #3976]
27159 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27160 (__ieee754_exp): Save and restore rounding mode and use
27161 round-to-nearest for all computations.
27162 * math/libm-test.inc (exp_test_tonearest): New function.
27163 (exp_test_towardzero): Likewise.
27164 (exp_test_downward): Likewise.
27165 (exp_test_upward): Likewise.
27166 (main): Call the new functions.
27167 * sysdeps/i386/fpu/libm-test-ulps: Update.
27168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27169
b1eeb65d
CD
271702012-03-01 Chris Demetriou <cgd@google.com>
27171
27172 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27173 have predictable order.
27174
53362a4b
DM
271752012-03-01 David S. Miller <davem@davemloft.net>
27176
3c969083
DM
27177 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27178
759707de
DM
27179 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27180 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27181 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27182 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27183
dfdb8ff2
DM
27184 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27185 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27186 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27188 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27189 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27191 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27193
ead89f96
DM
27194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27195
7f66bd07
DM
27196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27197 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27199
53362a4b
DM
27200 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27201 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27203 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27204 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27207 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27208 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27209 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27210 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27214 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27216 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27217 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27218 * sysdeps/sparc/elf/configure: Regenerated.
27219
7b1902cb
JM
272202012-03-01 Joseph Myers <joseph@codesourcery.com>
27221
bec039bc
JM
27222 * configure.in (AS, LD): Require binutils 2.20 or later.
27223 * configure: Regenerated.
27224 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27225 as required minimum version.
27226 * INSTALL: Regenerated.
27227
7b1902cb
JM
27228 [BZ #2541]
27229 [BZ #4108]
27230 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27231 before squaring exponent.
27232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27233 bottom long double and 27 bits of top long double before squaring
27234 exponent.
27235 * math/libm-test.inc (erfc_test): Add more tests.
27236 * sysdeps/i386/fpu/libm-test-ulps: Update.
27237 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27239
f775c276
KT
272402012-03-01 Kai Tietz <ktietz@redhat.com>
27241
27242 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27243 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27244 containing bit-fields.
27245 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27246 * soft-fp/single.h (_FP_UNION_S): Likewise.
27247 * soft-fp/double.h (_FP_UNION_D): Likewise.
27248
5b8a4d4a
JM
272492012-02-29 Joseph Myers <joseph@codesourcery.com>
27250
0bab47b6
JM
27251 [BZ #13786]
27252 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27253 not include ../strcmp.S.
27254 [USE_AS_STRNCASECMP_L]: Likewise.
27255 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27256 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27257 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27258 (__strncasecmp_l_ia32): Define as alias to
27259 __strncasecmp_l_nonascii.
27260
0fcad3e2
JM
27261 [BZ #5794]
27262 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27263 * sysdeps/i386/fpu/libm-test-ulps: Update.
27264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27265
5b8a4d4a
JM
27266 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27268
8fdceb2e
JL
272692012-02-29 Jeff Law <law@redhat.com>
27270
27271 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27272 out of bounds read.
27273
1f393a11
MP
272742012-02-29 Marek Polacek <polacek@redhat.com>
27275
27276 [BZ #13706]
27277 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27278 * elf/Makefile: Add rules to run tst-unused-dep.out.
27279
8847f037
DM
272802012-02-28 David S. Miller <davem@davemloft.net>
27281
27282 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27283 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27286 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27287 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27288
169d7f11
JM
272892012-02-29 Joseph Myers <joseph@codesourcery.com>
27290
27291 * math/libm-test.inc (llround_test): Move one test from
27292 lround_test. Use TEST_f_L in moved test.
27293 (lround_test): Move misplaced test to llround_test. Add testcase
27294 from bug 2561.
27295
39adf059
UD
272962012-02-28 Ulrich Drepper <drepper@gmail.com>
27297
27298 * sysdeps/x86_64/fpu/e_expf.S: New file.
27299 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27300
71b5d1c5
SB
273012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27302
27303 [BZ #13637]
27304 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27305 of remain_len that may cause incomplete multi-byte character and
27306 false match.
27307 * posix/bug-regex33.c: New file.
27308 * posix/Makefile (tests): Add bug-regex33.
27309
1f77f049
JM
273102012-02-28 Joseph Myers <joseph@codesourcery.com>
27311
27312 * manual/macros.texi: New file.
27313 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27314 * manual/libc.texinfo: Include macros.texi.
27315 * manual/creatute.texi: Likewise.
27316 * manual/install.texi: Likewise.
27317 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27318 @glibcadj{} in references to the GNU C Library.
27319 * manual/charset.texi: Likewise.
27320 * manual/conf.texi: Likewise.
27321 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27322 when not using those macros.
27323 * manual/creature.texi: Likewise.
27324 * manual/crypt.texi: Likewise.
27325 * manual/errno.texi: Likewise.
27326 * manual/filesys.texi: Likewise.
27327 * manual/header.texi: Likewise.
27328 * manual/install.texi: Likewise.
27329 * manual/intro.texi: Likewise.
27330 * manual/io.texi: Likewise.
27331 * manual/job.texi: Likewise.
27332 * manual/lang.texi: Likewise.
27333 * manual/libc.texiinfo: Likewise.
27334 * manual/llio.texi: Likewise.
27335 * manual/locale.texi: Likewise.
27336 * manual/maint.texi: Likewise.
27337 * manual/math.texi: Likewise.
27338 * manual/memory.texi: Likewise.
27339 * manual/message.texi: Likewise.
27340 * manual/nss.texi: Likewise.
27341 * manual/pattern.texi: Likewise.
27342 * manual/process.texi: Likewise.
27343 * manual/resource.texi: Likewise.
27344 * manual/search.texi: Likewise.
27345 * manual/setjmp.texi: Likewise.
27346 * manual/signal.texi: Likewise.
27347 * manual/socket.texi: Likewise.
27348 * manual/startup.texi: Likewise.
27349 * manual/stdio.texi: Likewise.
27350 * manual/string.texi: Likewise.
27351 * manual/sysinfo.texi: Likewise.
27352 * manual/syslog.texi: Likewise.
27353 * manual/terminal.texi: Likewise.
27354 * manual/time.texi: Likewise.
27355 * manual/users.texi: Likewise.
27356 * INSTALL: Regenerated.
27357 * NOTES: Regenerated.
d40c5d54 27358 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27359
450bf206
AS
273602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27361
27362 * include/dirent.h: Include <dirstream.h> before
27363 <dirent/dirent.h>.
27364
741a235b
DM
273652012-02-28 David S. Miller <davem@davemloft.net>
27366
27367 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27368 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27369 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27370 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27371
d6b5aa58
DM
273722012-02-27 David S. Miller <davem@davemloft.net>
27373
1aff59a3
DM
27374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27376 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27377 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27378
d6b5aa58
DM
27379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27380 frame pointer instead of stack pointer relative arg slot.
27381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27382 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27383 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27384
433f48bf
CD
273852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27386
27387 [BZ #3992]
27388 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27389
d674b76d
DM
273902012-02-27 David S. Miller <davem@davemloft.net>
27391
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27396 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27397 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27398 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27399 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27400
0e7727f7
JM
274012012-02-27 Joseph Myers <joseph@codesourcery.com>
27402
27403 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27404 later. Allow versions 5-9.
43be4ca2 27405 * configure: Regenerated.
0e7727f7
JM
27406 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27407 required minimum version and 4.6 as recommended version. Do not
27408 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27409 * INSTALL: Regenerated.
0e7727f7 27410
a78bc654
DM
274112012-02-27 David S. Miller <davem@davemloft.net>
27412
428d5830
DM
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27417 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27418 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27420 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27421
a78bc654
DM
27422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27423 manipulate bits before adding and subtracting TWO112[sx].
27424 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27425
4579f81c
RM
274262012-02-27 Roland McGrath <roland@hack.frob.com>
27427
36c8acb4
RM
27428 [BZ #13775]
27429 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27430 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27431 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27432 being in POSIX, because they are in 1003.1-2008.
27433
84ad622b
RM
27434 * rt/tst-aio.c: Include <fcntl.h>.
27435 * rt/tst-aio7.c: Likewise.
27436 * rt/tst-aio64.c: Likewise.
27437
4579f81c
RM
27438 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27439
abd923db
JM
274402012-02-27 Joseph Myers <joseph@codesourcery.com>
27441
27442 * manual/install.texi (--with-headers): Describe headers as
27443 interface headers, not private headers.
27444 (Specific advice for GNU/Linux systems): Describe use of headers
27445 from "make headers_install", not private headers from older
27446 kernels.
43be4ca2 27447 * INSTALL: Regenerated.
abd923db
JM
27448 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27449 Change to 2.6.19.
27450 * sysdeps/unix/sysv/linux/configure: Regenerated.
27451
6664049b
JM
27452 * manual/llio.texi (fclean): Remove documentation.
27453
bb8b6697
JM
27454 * manual/Makefile (libc-texi-generated): New variable. Include
27455 version.texi.
27456 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27457 $(libc-texi-generated), not duplicated list of files.
27458 (version.texi, stamp-version): New rules.
27459 (realclean): Remove $(libc-texi-generated), not individual files
27460 from that list. Do not remove dir-add.texinfo.
27461 * manual/libc.texinfo: Comment out uses of edition numbers and
27462 references to printed manual. Remove last-updated dates.
27463 (EDITION): Comment out.
27464 (ISBN): Likewise.
27465 (VERSION, UPDATED): Remove.
27466 (version.texi): Include.
27467
12e5c3b9
AS
274682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27469
27470 * sysdeps/posix/spawni.c: Include <signal.h>.
27471 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27472 * sysdeps/pthread/aio_fsync.c: Likewise.
27473
4efeffc1 274742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27475
ba63ba08
UD
27476 * conform/Makefile (tests): Run only when not cross-compiling and
27477 when fast-check is not defined.
27478
d94a4670
UD
27479 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27480 * conform/data/limits.h-data: Fixes for POSIX2008.
27481 * conform/run-conformtest.sh: Run all tests.
27482 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27483 headers.
27484 * include/bits/dlfcn.h: Likewise.
27485 * include/langinfo.h: Likewise.
27486 * include/monetary.h: Likewise.
27487 * include/sys/poll.h: Likewise.
27488
27489 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27490 for __USE_GNU.
27491 * posix/spawn.h: Define __need_sigset_t.
27492 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27493 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27494 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27495 to get sigevent_t only.
27496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27497 only for __USE_GNU.
27498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27499 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27500 process_vm_writev only for __USE_GNU.
27501 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27502
27503 * conform/Makefile: For now ignore errors from run-conformtest.
27504 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27505 POSIX to avoid namespace pollution. Don't prepend headers.
27506 * conform/data/aio.h-data: Fixes for POSIX testing.
27507 * conform/data/fcntl.h-data: Likewise.
27508 * conform/data/glob.h-data: Likewise.
27509 * conform/data/grp.h-data: Likewise.
27510 * conform/data/pthread.h-data: Likewise.
27511 * conform/data/pwd.h-data: Likewise.
27512 * conform/data/signal.h-data: Likewise.
27513 * conform/data/spawn.h-data: Likewise.
27514 * conform/data/stdio.h-data: Likewise.
27515 * conform/data/stdlib.h-data: Likewise.
27516 * conform/data/stropts.h-data: Likewise.
27517 * conform/data/sys/mman.h-data: Likewise.
27518 * conform/data/sys/stat.h-data: Likewise.
27519 * conform/data/sys/types.h-data: Likewise.
27520 * conform/data/sys/wait.h-data: Likewise.
27521 * conform/data/time.h-data: Likewise.
27522 * conform/data/unistd.h-data: Likewise.
27523 * conform/data/utime.h-data: Likewise.
27524
27525 * io/sys/stat.h: fchmod was always in POSIX.
27526 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27527 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27528 * rt/aio.h: Define __need_timespec before including <time.h>.
27529 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27530 struct. Add forward declaration of pthread_attr_t and use it in
27531 sigevent.
27532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27534 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27535 always remove CLK_TCK definition.
27536
c20105c3
AS
275372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27538
27539 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27540
7a270350
UD
275412012-02-25 Ulrich Drepper <drepper@gmail.com>
27542
31341567
UD
27543 * conform/run-conformtest.sh: New file.
27544 * conform/Makefile: Run run-conformtest for tests.
27545 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27546 support.
27547
27548 * conform/data/uchar.h-data: New file.
27549 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27550 * conform/data/arpa/inet.h-data: Likewise.
27551 * conform/data/assert.h-data: Likewise.
27552 * conform/data/complex.h-data: Likewise.
27553 * conform/data/cpio.h-data: Likewise.
27554 * conform/data/ctype.h-data: Likewise.
27555 * conform/data/dirent.h-data: Likewise.
27556 * conform/data/dlfcn.h-data: Likewise.
27557 * conform/data/errno.h-data: Likewise.
27558 * conform/data/fcntl.h-data: Likewise.
27559 * conform/data/float.h-data: Likewise.
27560 * conform/data/fmtmsg.h-data: Likewise.
27561 * conform/data/fnmatch.h-data: Likewise.
27562 * conform/data/ftw.h-data: Likewise.
27563 * conform/data/glob.h-data: Likewise.
27564 * conform/data/grp.h-data: Likewise.
27565 * conform/data/iconv.h-data: Likewise.
27566 * conform/data/inttypes.h-data: Likewise.
27567 * conform/data/langinfo.h-data: Likewise.
27568 * conform/data/libgen.h-data: Likewise.
27569 * conform/data/limits.h-data: Likewise.
27570 * conform/data/locale.h-data: Likewise.
27571 * conform/data/math.h-data: Likewise.
27572 * conform/data/monetary.h-data: Likewise.
27573 * conform/data/mqueue.h-data: Likewise.
27574 * conform/data/ndbm.h-data: Likewise.
27575 * conform/data/net/if.h-data: Likewise.
27576 * conform/data/netdb.h-data: Likewise.
27577 * conform/data/netinet/in.h-data: Likewise.
27578 * conform/data/nl_types.h-data: Likewise.
27579 * conform/data/poll.h-data: Likewise.
27580 * conform/data/pthread.h-data: Likewise.
27581 * conform/data/pwd.h-data: Likewise.
27582 * conform/data/regex.h-data: Likewise.
27583 * conform/data/sched.h-data: Likewise.
27584 * conform/data/search.h-data: Likewise.
27585 * conform/data/semaphore.h-data: Likewise.
27586 * conform/data/setjmp.h-data: Likewise.
27587 * conform/data/signal.h-data: Likewise.
27588 * conform/data/spawn.h-data: Likewise.
27589 * conform/data/stdarg.h-data: Likewise.
27590 * conform/data/stdio.h-data: Likewise.
27591 * conform/data/stdlib.h-data: Likewise.
27592 * conform/data/string.h-data: Likewise.
27593 * conform/data/strings.h-data: Likewise.
27594 * conform/data/stropts.h-data: Likewise.
27595 * conform/data/sys/ipc.h-data: Likewise.
27596 * conform/data/sys/mman.h-data: Likewise.
27597 * conform/data/sys/msg.h-data: Likewise.
27598 * conform/data/sys/resource.h-data: Likewise.
27599 * conform/data/sys/select.h-data: Likewise.
27600 * conform/data/sys/sem.h-data: Likewise.
27601 * conform/data/sys/shm.h-data: Likewise.
27602 * conform/data/sys/socket.h-data: Likewise.
27603 * conform/data/sys/stat.h-data: Likewise.
27604 * conform/data/sys/statvfs.h-data: Likewise.
27605 * conform/data/sys/time.h-data: Likewise.
27606 * conform/data/sys/timeb.h-data: Likewise.
27607 * conform/data/sys/times.h-data: Likewise.
27608 * conform/data/sys/types.h-data: Likewise.
27609 * conform/data/sys/uio.h-data: Likewise.
27610 * conform/data/sys/un.h-data: Likewise.
27611 * conform/data/sys/utsname.h-data: Likewise.
27612 * conform/data/sys/wait.h-data: Likewise.
27613 * conform/data/syslog.h-data: Likewise.
27614 * conform/data/tar.h-data: Likewise.
27615 * conform/data/termios.h-data: Likewise.
27616 * conform/data/utime.h-data: Likewise.
27617 * conform/data/utmpx.h-data: Likewise.
27618 * conform/data/varargs.h-data: Likewise.
27619 * conform/data/wchar.h-data: Likewise.
27620 * conform/data/wctype.h-data: Likewise.
27621 * conform/data/wordexp.h-data: Likewise.
27622
27623 * include/stropts.h: New file.
27624 * include/uchar.h: New file.
27625 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27626 * include/assert.h: Likewise.
27627 * include/ctype.h: Likewise.
27628 * include/dirent.h: Likewise.
27629 * include/dlfcn.h: Likewise.
27630 * include/fcntl.h: Likewise.
27631 * include/fnmatch.h: Likewise.
27632 * include/glob.h: Likewise.
27633 * include/grp.h: Likewise.
27634 * include/libio.h: Likewise.
27635 * include/locale.h: Likewise.
27636 * include/math.h: Likewise.
27637 * include/net/if.h: Likewise.
27638 * include/netdb.h: Likewise.
27639 * include/netinet/in.h: Likewise.
27640 * include/pthread.h: Likewise.
27641 * include/pwd.h: Likewise.
27642 * include/regex.h: Likewise.
27643 * include/sched.h: Likewise.
27644 * include/search.h: Likewise.
27645 * include/setjmp.h: Likewise.
27646 * include/signal.h: Likewise.
27647 * include/stdio.h: Likewise.
27648 * include/stdlib.h: Likewise.
27649 * include/string.h: Likewise.
27650 * include/sys/cdefs.h: Likewise.
27651 * include/sys/mman.h: Likewise.
27652 * include/sys/msg.h: Likewise.
27653 * include/sys/resource.h: Likewise.
27654 * include/sys/select.h: Likewise.
27655 * include/sys/socket.h: Likewise.
27656 * include/sys/stat.h: Likewise.
27657 * include/sys/statvfs.h: Likewise.
27658 * include/sys/time.h: Likewise.
27659 * include/sys/times.h: Likewise.
27660 * include/sys/uio.h: Likewise.
27661 * include/sys/utsname.h: Likewise.
27662 * include/sys/wait.h: Likewise.
27663 * include/termios.h: Likewise.
27664 * include/time.h: Likewise.
27665 * include/ulimit.h: Likewise.
27666 * include/unistd.h: Likewise.
27667 * include/utime.h: Likewise.
27668 * include/wchar.h: Likewise.
27669 * include/wctype.h: Likewise.
27670 * include/wordexp.h: Likewise.
27671
27672 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27673
7a270350
UD
27674 * time/time.h: TIME_UTC must be a macro.
27675 Make timespec_get available for ISO C11 only as well.
27676
7724defc
UD
276772012-02-24 Ulrich Drepper <drepper@gmail.com>
27678
27679 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27680 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27681
6b1d1d46
JM
276822012-02-24 Joseph Myers <joseph@codesourcery.com>
27683
27684 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27685
0f8bbd69
JM
276862012-02-24 Joseph Myers <joseph@codesourcery.com>
27687
27688 * manual/texinfo.tex: Update to version 2012-01-19.16.
27689
66ab80bc
JM
276902012-02-24 Joseph Myers <joseph@codesourcery.com>
27691
27692 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27693
74981cc5
RM
276942012-02-24 Roland McGrath <roland@hack.frob.com>
27695
ee968201
RM
27696 [BZ #13738]
27697 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27698 * manual/fdl-1.3.texi: New file.
27699 * manual/fdl-1.1.texi: File removed.
27700
74981cc5
RM
27701 [BZ #13738]
27702 * manual/libc.texinfo (FDL_VERSION): New @set.
27703 Use it for mention of FDL in cover text.
27704 (Documentation License): Use it in @include file name.
27705
7bb764bc
JM
277062012-02-22 Joseph Myers <joseph@codesourcery.com>
27707 Roland McGrath <roland@hack.frob.com>
27708
27709 [BZ #5461]
27710 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27711 not LONG_LONG_MAX and LONG_LONG_MIN.
27712 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27713 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27714 name.
27715 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27716
6cbeae47
JM
277172012-02-22 Joseph Myers <joseph@codesourcery.com>
27718
27719 [BZ #2547]
27720 [BZ #11365]
27721 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27722 manipulate bits before adding and subtracting TWO23[sx].
27723 * math/libm-test.inc (nearbyint_test): Add more tests.
27724
fe45ce09
JM
277252012-02-22 Joseph Myers <joseph@codesourcery.com>
27726
27727 [BZ #2548]
27728 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27729 bits before adding and subtracting TWO23[sx].
27730 * math/libm-test.inc (rint_test): Add more tests.
27731 (rint_test_tonearest): Likewise.
27732 (rint_test_towardzero): Likewise.
27733 (rint_test_downward): Likewise.
27734 (rint_test_upward: Likewise.
27735
ff3b3d82
JM
277362012-02-22 Joseph Myers <joseph@codesourcery.com>
27737
27738 [BZ #10110]
27739 * include/stdc-predef.h: New file. Extracted from features.h.
27740 * include/features.h: Include stdc-predef.h.
27741 * Makefile (headers): Add stdc-predef.h.
27742 * CONFORMANCE (Compiler limitations): Update.
27743
ef0aab35
JM
277442012-02-22 Joseph Myers <joseph@codesourcery.com>
27745
27746 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27747
58639409
DM
277482012-02-21 David S. Miller <davem@davemloft.net>
27749
27750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27752
c0e70b25
DM
277532012-02-20 David S. Miller <davem@davemloft.net>
27754
27755 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27756 using a normal save/restore sequence, rather than allocating a
27757 dummy stack frame just to store a frame pointer and restore.
27758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27759
fb06851d
JM
277602012-02-21 Joseph Myers <joseph@codesourcery.com>
27761
27762 * manual/install.texi: Fix stray word in line-wrapped comment.
27763
7a8b71c3
DM
277642012-02-20 David S. Miller <davem@davemloft.net>
27765
d510c123
DM
27766 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27767 both binutils and gcc support GOTDATA.
27768
0722d7c2
DM
27769 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27770 "rd %pc" in the PIC register setup sequences.
27771
3d2b3019
DM
27772 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27773 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27774 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27775 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27776 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27779 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27781 (SYSCALL_ERROR_HANDLER): Likewise.
27782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27785 (SYSCALL_ERROR_HANDLER): Likewise.
27786
c80098a9
DM
27787 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27788 (HAVE_GCC_GOTDATA): New.
27789 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27790 relocation support in both binutils and gcc.
27791 * sysdeps/sparc/elf/configure: Regenerate.
27792
3a2545a0
DM
27793 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27794 * sysdeps/sparc/sparc32/elf/configure: Delete.
27795 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27796 * sysdeps/sparc/sparc64/elf/configure: Delete.
27797 * sysdeps/sparc/elf/configure.in: New file.
27798 * sysdeps/sparc/elf/configure: Generate.
27799
7a8b71c3
DM
27800 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27801 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27802 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27803 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27804 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27805
f1e86fca
JM
278062012-02-21 Joseph Myers <joseph@codesourcery.com>
27807
27808 * manual/install.texi: Do not mention specific glibc version
27809 numbers.
27810 * manual/libc.texinfo (VERSION, UPDATED): Update.
27811 (@copying): Use @copyright{} and range of years.
27812
0e7dfaef
JM
278132012-02-21 Joseph Myers <joseph@codesourcery.com>
27814
27815 [BZ #13695]
27816 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27817 [crti.S not in sysdirs] (generated): Do not append.
27818 [crti.S not in sysdirs] (omit-deps): Likewise.
27819 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27820 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27821 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27822 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27823 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27824 Likewise.
27825 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27826 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27827 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27828 * csu/defs.awk: Remove file.
27829 * sysdeps/generic/initfini.c: Likewise.
27830 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27831 variable.
27832 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27833 Likewise.
27834
599af3ca
JM
278352012-02-20 Joseph Myers <joseph@codesourcery.com>
27836
27837 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27838 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27839 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27841 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27842 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27843 <bits/epoll.h>.
27844 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27845 (__EPOLL_PACKED): Define to empty if not defined by
27846 <bits/epoll.h>.
27847 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27849 bits/epoll.h.
27850
0e499750
JM
278512012-02-20 Joseph Myers <joseph@codesourcery.com>
27852
27853 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27854 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27855 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27856 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27857 <bits/timerfd.h>.
27858 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27860 bits/timerfd.h.
27861
5ad91f6e
JM
278622012-02-20 Joseph Myers <joseph@codesourcery.com>
27863
27864 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27865 in C locale.
27866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27867 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27868 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27870
06b99b02
AJ
278712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27872
27873 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27875
7638c0fd
AS
278762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27877
27878 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27879 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27880 defined.
27881 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27882 Likewise.
27883 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27884 entry for 2.16.
27885
92221550
AJ
278862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27887
27888 * math/w_acos.c: Use non-signaling floating-point comparisons.
27889 * math/w_acosf.c: Likewise.
27890 * math/w_acosh.c: Likewise.
27891 * math/w_acoshf.c: Likewise.
27892 * math/w_acoshl.c: Likewise.
27893 * math/w_acosl.c: Likewise.
27894 * math/w_asin.c: Likewise.
27895 * math/w_asinf.c: Likewise.
27896 * math/w_asinl.c: Likewise.
27897 * math/w_atanh.c: Likewise.
27898 * math/w_atanhf.c: Likewise.
27899 * math/w_atanhl.c: Likewise.
27900 * math/w_exp2.c: Likewise.
27901 * math/w_exp2f.c: Likewise.
27902 * math/w_exp2l.c: Likewise.
27903 * math/w_j0.c: Likewise.
27904 * math/w_j0f.c: Likewise.
27905 * math/w_j0l.c: Likewise.
27906 * math/w_j1.c: Likewise.
27907 * math/w_j1f.c: Likewise.
27908 * math/w_j1l.c: Likewise.
27909 * math/w_jn.c: Likewise.
27910 * math/w_jnf.c: Likewise.
27911 * math/w_log.c: Likewise.
27912 * math/w_log10.c: Likewise.
27913 * math/w_log10f.c: Likewise.
27914 * math/w_log10l.c: Likewise.
27915 * math/w_log2.c: Likewise.
27916 * math/w_log2f.c: Likewise.
27917 * math/w_log2l.c: Likewise.
27918 * math/w_logf.c: Likewise.
27919 * math/w_logl.c: Likewise.
27920 * math/w_sqrt.c: Likewise.
27921 * math/w_sqrtf.c: Likewise.
27922 * math/w_sqrtl.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27927 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27928
ebaf36eb
JM
279292012-02-19 Joseph Myers <joseph@codesourcery.com>
27930
27931 [BZ #9739]
27932 * manual/string.texi (strnlen): Use correct parameter name in
27933 equivalent expression.
27934
71c254a6
JM
279352012-02-19 Joseph Myers <joseph@codesourcery.com>
27936
27937 [BZ #11174]
27938 * manual/users.texi (seteuid): Consistently use neweuid for
27939 argument name.
27940
16d2c631
JM
279412012-02-19 Joseph Myers <joseph@codesourcery.com>
27942
27943 [BZ #13704]
27944 * manual/nss.texi (Services in the NSS configuration): Correct
27945 list of services in example configuration file.
27946
cd837b09
NB
279472012-02-19 Nick Bowler <nbowler@draconx.ca>
27948
27949 [BZ #11322]
27950 * manual/arith.texi: Remove statements about negative zero
27951 behaving identically to zero.
27952
02c4bbad
JM
279532012-02-18 Joseph Myers <joseph@codesourcery.com>
27954
27955 [BZ #5993]
27956 * manual/install.texi: Do not document upgrading from libc5.
27957
366842e7
JM
279582012-02-18 Joseph Myers <joseph@codesourcery.com>
27959
27960 [BZ #4596]
27961 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27962
dd54084d
DM
279632012-02-18 David S. Miller <davem@davemloft.net>
27964
27965 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27966 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27967 %o7 across the call.
27968 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27969 instead.
27970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27971 SETUP_PIC_REG_LEAF.
27972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27973 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27974 * sysdeps/sparc/crtn.S: Likewise.
27975
2bcc53a3
UD
279762012-02-17 Ulrich Drepper <drepper@gmail.com>
27977
27978 * aout/Makefile: Remove.
27979
09c093b5
RK
279802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27981
27982 [BZ #13058]
27983 * manual/examples/argp-ex1.c (main): Format definition in GNU
27984 style.
27985 * manual/examples/argp-ex2.c (main): Likewise.
27986 * manual/examples/argp-ex3.c (main): Likewise.
27987 * manual/examples/argp-ex4.c (main): Likewise.
27988 * manual/examples/longopt.c (main): Use new-style prototype
27989 definition.
27990 * manual/examples/strncat.c (main): Specify return type and use
27991 (void) for arguments.
27992 * manual/examples/subopt.c (main): Use char **argv argument.
27993
2ee633a2
JM
279942012-02-17 Joseph Myers <joseph@codesourcery.com>
27995
27996 [BZ #5077]
27997 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27998 rounding modes.
27999
0520adde
FB
280002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28001
28002 [BZ #6907]
28003 * manual/string.texi (strchr): Change when strchrnul is
28004 recommended.
28005
3f4081cd
DGM
280062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28007
28008 [BZ #174]
28009 * manual/locale.texi (setlocale): Document LOCPATH.
28010
d1b10e78
JM
280112012-02-17 Joseph Myers <joseph@codesourcery.com>
28012
28013 [BZ #10210]
28014 * manual/process.texi (execle): Move @dots{} before last argument.
28015
79c6869c
PB
280162012-02-17 Paul Bolle <pebolle@tiscali.nl>
28017
28018 [BZ #12047]
28019 * manual/charset.texi (Generic Charset Conversion): Fix typo
28020 (LC_TYPE -> LC_CTYPE).
28021
cc6e48bc
NB
280222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28023
28024 [BZ #5805]
28025 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28026 (scalbnf): Likewise.
28027 (scalbnl): Likewise.
28028 (scalbln): Likewise.
28029 (scalblnf): Likewise.
28030 (scalblnl): Likewise.
28031 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28032 (vwarnx): Likewise.
28033 (verr): Likewise.
28034 (verrx): Likewise.
28035 * manual/filesys.texi (telldir): Use braces around return type.
28036 * manual/llio.texi (mmap): Add space after comma.
28037 (mmap64): Likewise.
28038 * manual/math.texi (jn): Use @var{} on parameter names.
28039 (jnf): Likewise.
28040 (jnl): Likewise.
28041 (yn): Likewise.
28042 (ynf): Likewise.
28043 (ynl): Likewise.
28044 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28045 line.
28046 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28047 "...".
28048 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28049 (sched_get_priority_max): Likewise.
28050 * manual/signal.texi (sigvec): Add space after comma.
28051 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28052 names.
28053 (if_indextoname): Likewise.
28054 (if_freenameindex): Likewise.
28055 (sendto): Use ',' instead of '.' in prototype.
28056 * manual/startup.texi (syscall): Use @dots{} instead of literal
28057 "...".
28058 * manual/stdio.texi (__fpending): Separate initial words of
28059 paragraph from @deftypefun line.
28060 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28061 "...".
28062 (vsyslog): Use @var{} on parameter names.
28063 * manual/terminal.texi (stty): Use @var{} on parameter names.
28064 * manual/users.texi (getutmp): Use @var{} on parameter names.
28065 (getutmpx): Likewise.
28066
5b23062f
JM
280672012-02-17 Joseph Myers <joseph@codesourcery.com>
28068
28069 [BZ #6884]
28070 * manual/stdio.texi (fopen): Fix typos in description of
28071 ",ccs=STRING".
28072
8dee4833
AJ
280732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28074
28075 [BZ #4026]
28076 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28077 get clock_id definition.
28078
9078ce93
TS
280792012-02-17 Thomas Schwinge <thomas@schwinge.name>
28080
28081 [BZ #4822]
28082 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28083 (madvise): Cast every argument to void on its own.
28084
3835c55f
JM
280852012-02-17 Joseph Myers <joseph@codesourcery.com>
28086
28087 [BZ #9902]
28088 * manual/startup.texi (Exit Status): Fix typo.
28089
35c47e37
JM
280902012-02-17 Joseph Myers <joseph@codesourcery.com>
28091
28092 [BZ #10140]
28093 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28094 * manual/examples/argp-ex2.c: Likewise.
28095 * manual/examples/argp-ex3.c: Likewise.
28096
e3b69ca7
RH
280972012-02-16 Richard Henderson <rth@redhat.com>
28098
28099 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28100 * sysdeps/s390/s390-32/initfini.c: Remove.
28101 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28102 * sysdeps/s390/s390-64/initfini.c: Remove.
28103
df83af67
KK
281042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28105
28106 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28107 compiler output for sysdeps/generic/initfini.c.
28108 * sysdeps/sh/elf/initfini.c: Remove file.
28109
f63f3380
DM
281102012-02-16 David S. Miller <davem@davemloft.net>
28111
fb59b3a4
DM
28112 [BZ #11494]
28113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28114
f63f3380
DM
28115 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28116 * sysdeps/sparc/crti.S: New file.
28117 * sysdeps/sparc/crtn.S: New file.
28118 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28119 * sysdeps/sparc/sparc64/Makefile: Likewise.
28120
df6a4a4a
MF
281212012-02-15 Mike Frysinger <vapier@gentoo.org>
28122
6dd8f3dc 28123 [BZ #3335]
df6a4a4a
MF
28124 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28125
1cac7236
RM
281262012-02-15 Roland McGrath <roland@hack.frob.com>
28127
d2c736f8
RM
28128 [BZ #4822]
28129 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28130
1cac7236
RM
28131 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28132 (write, read, close): Likewise.
28133 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28134
8e475601
JM
281352012-02-15 Joseph Myers <joseph@codesourcery.com>
28136
28137 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28138 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28139 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28140 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28141 <bits/signalfd.h>.
28142 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28144 bits/signalfd.h.
28145
ed656b40
MP
281462012-02-14 Marek Polacek <polacek@redhat.com>
28147
28148 * sysdeps/x86_64/crti.S: New file.
28149 * sysdeps/x86_64/crtn.S: New file.
28150 * sysdeps/x86_64/elf/initfini.c: Remove file.
28151
2a979d3a
JM
281522012-02-13 Joseph Myers <joseph@codesourcery.com>
28153
28154 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28155 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28156 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28157 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28158 <bits/inotify.h>.
28159 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28161 bits/inotify.h.
28162
2a418ac3
JM
281632012-02-13 Joseph Myers <joseph@codesourcery.com>
28164
28165 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28166 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28168 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28169 <bits/eventfd.h>.
28170 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28172 bits/eventfd.h.
28173
fb779be7
TS
281742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28175
e19e83c5
RM
28176 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28177 __feraiseexcept instead of feraiseexcept.
7c35ffed 28178
fb779be7
TS
28179 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28180 nanosleep invocations.
28181 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28182 strings, and add error checking for a nanosleep invocations.
28183
59ba27a6
PE
281842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28185
28186 Replace FSF snail mail address with URLs, as per GNU coding standards.
28187 Most of the snail mail addresses were wrong anyway, and omitting
28188 them makes the source code easier to maintain. Almost all of the
28189 changes are to license notices and to locale LC_IDENTIFICATION
28190 addresses, except for this one:
28191 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28192 not its snail mail address.
28193
57b957eb
RH
281942012-02-09 Richard Henderson <rth@twiddle.net>
28195
af850b1c
RH
28196 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28197 of kernel-features.h.
28198
57b957eb
RH
28199 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28200
6b73181a
MP
282012012-02-08 Marek Polacek <polacek@redhat.com>
28202
28203 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28204 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28205 * sysdeps/gnu/_G_config.h: Likewise.
28206 * sysdeps/generic/_G_config.h: Likewise.
28207
26ecc33a
AS
282082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28209
6c6dbc63
AS
28210 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28211 tests.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213
e216c012
AS
28214 * sysdeps/powerpc/powerpc32/crti.S: New file.
28215 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28216 * sysdeps/powerpc/powerpc64/crti.S: New file.
28217 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28218
26ecc33a
AS
28219 * Makeconfig (have-initfini): Don't set.
28220 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28221 * configure.in (nopic_initfini): Don't substitute.
28222 * config.h.in (HAVE_INITFINI): Don't #undef.
28223 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28224 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28225
3add8e13
JM
282262012-02-08 Joseph Myers <joseph@codesourcery.com>
28227
28228 Support crti.S and crtn.S provided directly by architectures.
28229 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28230 [crti.S in sysdirs] (omit-deps): Likewise.
28231 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28232 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28233 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28234 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28235 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28236 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28237 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28238 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28239 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28240 compiler output for sysdeps/generic/initfini.c.
28241 * sysdeps/i386/elf/Makefile: Remove file.
28242 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28243
a22f12b4
MP
282442012-02-07 Marek Polacek <polacek@redhat.com>
28245
28246 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28247 * sysdeps/gnu/_G_config.h: Likewise.
28248 * sysdeps/mach/hurd/_G_config.h: Likewise.
28249
148cf100
MP
282502012-02-07 Marek Polacek <polacek@redhat.com>
28251
28252 * math/Makefile (tests): Add tst-CMPLX2.
28253 * math/tst-CMPLX2.c: New file.
28254
cfdc0dd7
AS
282552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28256
84ba42c4
AS
28257 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28258
cfdc0dd7
AS
28259 * math/libm-test.inc (jn_test): Add missing L suffix.
28260
622c86f4
MP
282612012-02-06 Marek Polacek <polacek@redhat.com>
28262
28263 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28264 * sysdeps/i386/fpu/e_powf.S: Likewise.
28265 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28266 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28267 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28268 * sysdeps/i386/fpu/e_pow.S: Likewise.
28269 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28270 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28271 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28272 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28273 * sysdeps/i386/fpu/e_log2.S: Likewise.
28274 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28275 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28276 * sysdeps/i386/fpu/e_powl.S: Likewise.
28277 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28278 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28279 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28280 * sysdeps/i386/fpu/e_logl.S: Likewise.
28281 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28282 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28283 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28284 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28285 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28286 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28287 * sysdeps/i386/fpu/e_log.S: Likewise.
28288 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28289 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28290 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28291 * sysdeps/i386/fpu/e_logf.S: Likewise.
28292 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28293 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28294 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28295 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28296 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28297 * sysdeps/i386/fpu/e_log10.S: Likewise.
28298 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28299 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28300 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28301 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28302 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28303 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28304 * sysdeps/i386/asm-syntax.h: Likewise.
28305 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28307 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28308 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28309 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28310 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28311 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28312 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28313 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28314 * sysdeps/powerpc/sysdep.h: Likewise.
28315 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28316 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28317
d4a54ac6
JM
283182012-02-06 Joseph Myers <joseph@codesourcery.com>
28319
28320 [BZ #411]
28321 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28322
314054ea
JM
283232012-02-06 Joseph Myers <joseph@codesourcery.com>
28324
28325 * sysdeps/i386/sysdep.h: Include <features.h>.
28326 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28327 version.
28328
d8e0ca50
JM
283292012-02-05 Joseph Myers <joseph@codesourcery.com>
28330
28331 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28332 Define.
28333 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28334 LOAD_PIC_REG_STR.
28335
b1da7dd9
JM
283362012-02-03 Joseph Myers <joseph@codesourcery.com>
28337
28338 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28339 (SETUP_PIC_REG): Use GET_PC_THUNK.
28340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28341 macro.
28342
9a1d9254
JM
283432012-02-03 Joseph Myers <joseph@codesourcery.com>
28344
28345 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28346 for non-PIC compilation.
28347 (SETUP_PIC_REG): Add .p2align directive.
28348 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28349 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28352 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28389
65dc3b75
JM
283902012-02-03 Joseph Myers <joseph@codesourcery.com>
28391
28392 * math/tst-CMPLX.c: Include <stdio.h>.
28393
d55bf177
JM
283942012-01-31 Joseph Myers <joseph@codesourcery.com>
28395
28396 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28397 float.
28398 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28399 * sysdeps/sparc/bits/mathdef.h: Likewise.
28400
69db4f8f
MP
284012012-01-31 Marek Polacek <polacek@redhat.com>
28402
28403 * libio/libio.h: Don't define _PARAMS.
28404 * locale/programs/config.h: Don't define PARAMS.
28405 * stdlib/strtol_l.c: Likewise.
28406 (__strtol_l): Remove PARAMS from the prototype.
28407
41b81892
UD
284082012-01-31 Ulrich Drepper <drepper@gmail.com>
28409
3b49edc0
UD
28410 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28411 names. Just use the correct names. Remove unnecessary wrapper
28412 functions.
28413 * malloc/arena.c: Likewise.
28414 * malloc/hooks.c: Likewise.
28415
41b81892
UD
28416 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28417 ARENA_TEST says not to. Simplify test for creation of a new arena.
28418 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28419
27a25b6e
UD
284202012-01-30 Ulrich Drepper <drepper@gmail.com>
28421
28422 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28423 into tail calls.
28424 (update_get_addr): New function.
28425 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28426 GET_ADDR_MODULE parameter.
28427
c8a89e7d
JM
284282012-01-30 Joseph Myers <joseph@codesourcery.com>
28429
28430 * crypt/cert.c: Remove __STDC__ conditionals.
28431 * crypt/crypt-entry.c: Likewise.
28432 * crypt/crypt_util.c: Likewise.
28433 * libio/filedoalloc.c: Likewise.
28434 * libio/fileops.c: Likewise.
28435 * libio/genops.c: Likewise.
28436 * libio/iofclose.c: Likewise.
28437 * libio/iofdopen.c: Likewise.
28438 * libio/iofopen.c: Likewise.
28439 * libio/iofopen64.c: Likewise.
28440 * libio/iogetdelim.c: Likewise.
28441 * libio/iopopen.c: Likewise.
28442 * libio/obprintf.c: Likewise.
28443 * libio/oldfileops.c: Likewise.
28444 * libio/oldiofclose.c: Likewise.
28445 * libio/oldiofdopen.c: Likewise.
28446 * libio/oldiofopen.c: Likewise.
28447 * libio/oldiopopen.c: Likewise.
28448 * libio/wfiledoalloc.c: Likewise.
28449 * libio/wgenops.c: Likewise.
28450 * locale/programs/xmalloc.c: Likewise.
28451 * misc/syslog.c: Likewise.
28452 * stdio-common/xbug.c: Likewise.
28453 * string/memchr.c: Likewise.
28454 * string/memcmp.c: Likewise.
28455 * string/memrchr.c: Likewise.
28456 * string/rawmemchr.c: Likewise.
28457 * sysdeps/posix/getcwd.c: Likewise.
28458 * time/strftime_l.c: Likewise.
28459
3b100462
JM
284602012-01-30 Joseph Myers <joseph@codesourcery.com>
28461
28462 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28463 * config.make.in (config-cflags-sse2avx): Define.
28464 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28465 Fix typo.
28466
607998af
CM
284672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28468
28469 * scripts/config.guess: Update from upstream config git repository.
28470 * scripts/config.sub: Likewise.
28471
3601428f
CM
284722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28473
3ac8b282
CM
28474 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28475 (EM_NUM): Update.
28476 (R_TILEPRO_*, R_TILEGX_*): New macros.
28477
e034841e
CM
28478 * scripts/firstversions.awk: Fix bug in version range handling.
28479
540d7568
CM
28480 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28481
3601428f
CM
28482 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28483
463de862
CM
28484 * include/sys/epoll.h: New file.
28485 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28486 libc_hidden_def.
28487
73139a76
UD
284882012-01-28 Ulrich Drepper <drepper@gmail.com>
28489
96bc5b45
UD
28490 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28491 Avoid unnecessary __WORDSIZE == 64 test.
28492 (fmaxf): Use VEX format if possible.
28493 (fmax): Likewise.
28494 (fminf): Likewise.
28495 (fmin): Likewise.
28496
56f6f6a2
UD
28497 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28498 * math/math_private.h: Remove libc_fegetround* and
28499 libc_fesetround*.
28500 * sysdeps/i386/configure.in: Check for -msse2avx.
28501 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28502 also if SSE2AVX is defined.
28503 Remove libc_fegetround* and libc_fesetround*.
28504 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28505 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28507 of HAS_YMM_USABLE.
28508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28513
73139a76
UD
28514 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28515
d73f93a4
AZ
285162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28517
28518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28519 size is not set.
28520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28521
6ee65ed6
UD
285222012-01-27 Ulrich Drepper <drepper@gmail.com>
28523
28524 [BZ #13618]
28525 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28526 relocation.
28527 * Makeconfig (libm): Define.
28528 * elf/Makefile: Add rules to build and run tst-relsort1.
28529 * elf/tst-relsort1.c: New file.
28530 * elf/tst-relsort1mod1.c: New file.
28531 * elf/tst-relsort1mod2.c: New file.
28532
8db21882
JM
285332012-01-27 Joseph Myers <joseph@codesourcery.com>
28534
28535 * math/s_ldexp.c: Remove __STDC__ conditionals.
28536 * math/s_ldexpf.c: Likewise.
28537 * math/s_ldexpl.c: Likewise.
28538 * math/s_nextafter.c: Likewise.
28539 * math/s_nexttowardf.c: Likewise.
28540 * math/s_significand.c: Likewise.
28541 * math/s_significandf.c: Likewise.
28542 * math/s_significandl.c: Likewise.
28543 * math/w_jnl.c: Likewise.
28544 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28545 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28546 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28547 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28548 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28563 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28566 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28568 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28576 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28578 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28584 * sysdeps/ieee754/k_standard.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28646 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28659 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28664 * sysdeps/ieee754/s_matherr.c: Likewise.
28665 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28666 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28669
965a54a4
JM
286702012-01-26 Joseph Myers <joseph@codesourcery.com>
28671
28672 * crypt/md5.h: Remove __STDC__ conditionals.
28673 * libio/libioP.h: Likewise.
28674 * locale/programs/config.h: Likewise.
28675 * sysdeps/generic/sysdep.h: Likewise.
28676 * sysdeps/i386/asm-syntax.h: Likewise.
28677 * sysdeps/s390/asm-syntax.h: Likewise.
28678 * sysdeps/unix/sysdep.h: Likewise.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28681
7071ad79
JM
286822012-01-26 Joseph Myers <joseph@codesourcery.com>
28683
28684 * libio/libio.h: Remove __STDC__ conditionals.
28685 * malloc/obstack.h: Likewise.
28686 * math/complex.h: Likewise.
28687 * math/math.h: Likewise.
28688 * sysdeps/generic/_G_config.h: Likewise.
28689 * sysdeps/gnu/_G_config.h: Likewise.
28690 * sysdeps/mach/hurd/_G_config.h: Likewise.
28691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28692 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28693 * sysdeps/sparc/bits/mathdef.h: Likewise.
28694
afc5ed09
UD
286952012-01-26 Ulrich Drepper <drepper@gmail.com>
28696
28697 [BZ #13583]
28698 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28699 Clean up HAS_* macros.
afc5ed09 28700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28701 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28702 possible.
28703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28704 HAS_AVX.
28705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28710
bdb6de1d
JM
287112012-01-25 Joseph Myers <joseph@codesourcery.com>
28712
28713 * elf/tst-unique3.cc (gets): Remove declaration.
28714 * elf/tst-unique3lib.cc (gets): Likewise.
28715 * elf/tst-unique3lib2.cc (gets): Likewise.
28716 * elf/tst-unique4.cc (gets): Likewise.
28717
b15549e6
UD
287182012-01-24 Ulrich Drepper <drepper@gmail.com>
28719
28720 * include/stdio.h: Add C++ protection. Add gets declarations and
28721 definitions.
28722 * debug/tst-chk1.c: Don't declare gets here.
28723 * stdio-common/tst-gets.c: Likewise.
28724
a037381f
JM
287252012-01-24 Joseph Myers <joseph@codesourcery.com>
28726
28727 * posix/glob: Remove directory.
28728
f1d4aa75
JM
287292012-01-24 Joseph Myers <joseph@codesourcery.com>
28730
28731 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28732
81c0c964
PT
287332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28734
28735 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28736 of the non-standard EPFNOSUPPORT.
28737
0ea698ae
ST
287382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28739
28740 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28741 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28742 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28743
d220b117
UD
287442012-01-21 Ulrich Drepper <drepper@gmail.com>
28745
28746 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28747
3e1aa84e
UD
287482012-01-20 Ulrich Drepper <drepper@gmail.com>
28749
28750 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28751 transient errors.
28752 * nscd/grpcache.c (cache_addgr): Likewise.
28753 * nscd/hstcache.c (cache_addhst): Likewise.
28754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28755 * nscd/pwdcache.c (cache_addpw): Likewise.
28756 * nscd/servicescache.c (cache_addserv): Likewise.
28757
400aa020
UD
287582012-01-16 Ulrich Drepper <drepper@gmail.com>
28759
d77e7869
UD
28760 * malloc/malloc.c: Various cleanups.
28761 * malloc/hooks.c: Likewise.
28762
400aa020
UD
28763 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28764 * stdlib/bug-fmtmsg1.c: New file.
28765
28766 * stdlib/fmtmsg.c (init): Add missing unlock.
28767 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28768
e0a309cf
MP
287692012-01-12 Marek Polacek <polacek@redhat.com>
28770
28771 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28772 and _GNU_SOURCE.
28773
929d11c7
WS
287742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28775
28776 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28777 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28778 macro to ensure uniqueness of label name.
28779 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28780 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28781
41d0e869
UD
287822012-01-11 Ulrich Drepper <drepper@gmail.com>
28783
0cc5ed3b
UD
28784 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28785
41d0e869
UD
28786 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28787 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28790
a47a831a
UD
287912012-01-10 Ulrich Drepper <drepper@gmail.com>
28792
daa891c0
UD
28793 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28794
28795 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28796 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28797 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28798
e58ef0f2
UD
28799 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28800
a47a831a 28801 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28802 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28805
28806 * math/bits/math-finite.h: Add ldexp support.
28807
a0bfc9c7
MP
288082012-01-10 Marek Polacek <polacek@redhat.com>
28809
28810 * locale/programs/localedef.h (show_archive_content): Add noreturn
28811 attribute.
28812
d6e97a1d
UD
288132012-01-09 Ulrich Drepper <drepper@gmail.com>
28814
28815 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28816
d5835c26
UD
288172012-01-08 Ulrich Drepper <drepper@gmail.com>
28818
e5f484c6
UD
28819 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28820
d5835c26
UD
28821 * io/Makefile (headers): Add bits/poll2.h.
28822
d1f741e9
WS
288232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28824
28825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28826 typo #include statement.
28827
ec09c1c4
UD
288282012-01-08 Ulrich Drepper <drepper@gmail.com>
28829
28830 * include/sys/cdefs.h: Define __attribute_alloc_size.
28831 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28832 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28833 * elf/pldd.c: Likewise.
28834 * iconv/iconv_charmap.c: Likewise.
28835 * iconv/iconvconfig.c: Likewise.
28836 * iconv/strtab.c: Likewise.
28837 * locale/programs/locale.c: Likewise.
28838 * locale/programs/localedef.h: Likewise.
28839 * locale/programs/simple-hash.c: Likewise.
28840 * nscd/nscd.h: Likewise.
28841 * nss/makedb.c: Likewise.
28842 * sysdeps/generic/ldconfig.h: Likewise.
28843 * locale/programs/localedef.c: Remove xmalloc prototype.
28844 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28845
20b38e03
PP
288462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28847
28848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28849 appropriate.
28850
a0da5fe1
UD
288512012-01-08 Ulrich Drepper <drepper@gmail.com>
28852
1d5a644a 28853 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28854 * math/tst-CMPLX.c: New file.
1d5a644a 28855
8784a6db
UD
28856 * math/complex.h (CMPLXL): Fix typo.
28857
d9a216c0
UD
28858 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28859 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28860 GLIBC_2.16.
28861 * debug/tst-chk1.c: Add poll and ppoll tests.
28862 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28863 * include/sys/poll.h: Add hidden proto for ppoll.
28864 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28865 * sysdeps/mach/hurd/ppoll.c: Likewise.
28866 * io/ppoll.c: Likewise.
28867 * debug/poll_chk.c: New file.
28868 * debug/ppoll_chk.c: New file.
28869 * include/bits/poll2.h: New file.
28870 * io/bits/poll2.h: New file.
28871
ac097f5c
UD
28872 [BZ #1350]
28873 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28874
2119dcfa
UD
28875 * configure.in: static is always set to yes. Remove.
28876 * config.make.in: Don't set build-static.
28877 * Makeconfig: Remove use of build-static.
28878 * dlfcn/Makefile: Likewise.
28879 * elf/Makefile: Likewise.
28880 * math/Makefile: Likewise.
28881 * misc/Makefile: Likewise.
28882 * nptl/Makefile: Likewise.
28883 * sysdeps/mach/hurd/Makefile: Likewise.
28884
121766a9
UD
28885 * configure.in: PWD_P is not used anymore.
28886 * config.make.in: Remove PWD_P entry.
28887
51a1d39c 28888 * configure.in: Remove last remnants of RANLIB.
8720d066 28889 No need to check for signed size_t anymore.
215f4bdc
UD
28890 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28891 and IA-64.
3857022a 28892 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28893 * aclocal.m4: Likewise.
28894
d3ed7225
UD
28895 * wcsmbs/mbrtoc16.c: Implement using towc function.
28896 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28897 * wcsmbs/wcsmbsload.c: Likewise.
28898 * iconv/gconv_simple.c: Likewise.
28899 * iconv/gconv_int.h: Likewise.
28900 * iconv/gconv_builtin.h: Likewise.
28901 * iconv/iconv_prog.c: Remove CHAR16 handling.
28902
28903 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28904
28905 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28906
a0da5fe1
UD
28907 * configure.in: Remove --with-elf and --enable-bounded options.
28908 Dont set base_machine for ia64. More non-ELF conditions removed.
28909 Remove testing and setting of leading underscore information.
28910 * config.make.in (build-bounded): Set to no.
28911 * config.h.in: Remove NO_UNDERSCORES entry.
28912 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28913 them.
28914 * csu/start.c: Remove !NO_UNDERSCORE code.
28915 * locale/localeinfo.h: Likewise.
28916 * sysdeps/generic/machine-gmon.h: Likewise.
28917 * sysdeps/generic/sysdep.h: Likewise.
28918 * sysdeps/i386/sysdep.h: Likewise.
28919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28920 * sysdeps/mach/sysdep.h: Likewise.
28921 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28923 * sysdeps/sh/sysdep.h: Likewise.
28924 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28925 * sysdeps/unix/i386/sysdep.S: Likewise.
28926 * sysdeps/unix/sparc/start.c: Likewise.
28927 * sysdeps/unix/sparc/sysdep.S: Likewise.
28928 * sysdeps/unix/sparc/sysdep.h: Likewise.
28929 * sysdeps/unix/start.c: Likewise.
28930 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28931 * sysdeps/x86_64/sysdep.h: Likewise.
28932
df78418a
UD
289332012-01-07 Ulrich Drepper <drepper@gmail.com>
28934
a784e502
UD
28935 [BZ #13553]
28936 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28937 for non-gcc.
28938 * argp/argp-fmtstream.h: Use const instead __const.
28939 * argp/argp.h: Likewise.
28940 * assert/assert.h: Likewise.
28941 * bits/fenv.h: Likewise.
28942 * bits/sched.h: Likewise.
28943 * bits/sigset.h: Likewise.
28944 * bits/sigthread.h: Likewise.
28945 * catgets/nl_types.h: Likewise.
28946 * conform/data/pthread.h-data: Likewise.
28947 * crypt/crypt-private.h: Likewise.
28948 * crypt/crypt.h: Likewise.
28949 * crypt/crypt_util.c: Likewise.
28950 * ctype/ctype.h: Likewise.
28951 * debug/execinfo.h: Likewise.
28952 * debug/mbsnrtowcs_chk.c: Likewise.
28953 * debug/mbsrtowcs_chk.c: Likewise.
28954 * debug/wcsnrtombs_chk.c: Likewise.
28955 * debug/wcsrtombs_chk.c: Likewise.
28956 * debug/wcstombs_chk.c: Likewise.
28957 * dirent/dirent.h: Likewise.
28958 * dlfcn/dlfcn.h: Likewise.
28959 * elf/neededtest4.c: Likewise.
28960 * grp/grp.h: Likewise.
28961 * gshadow/gshadow.h: Likewise.
28962 * iconv/gconv.h: Likewise.
28963 * iconv/gconv_int.h: Likewise.
28964 * iconv/gconv_simple.c: Likewise.
28965 * iconv/iconv.h: Likewise.
28966 * iconv/loop.c: Likewise.
28967 * iconv/skeleton.c: Likewise.
28968 * include/aio.h: Likewise.
28969 * include/aliases.h: Likewise.
28970 * include/argz.h: Likewise.
28971 * include/arpa/inet.h: Likewise.
28972 * include/assert.h: Likewise.
28973 * include/dirent.h: Likewise.
28974 * include/dlfcn.h: Likewise.
28975 * include/execinfo.h: Likewise.
28976 * include/fcntl.h: Likewise.
28977 * include/fenv.h: Likewise.
28978 * include/glob.h: Likewise.
28979 * include/grp.h: Likewise.
28980 * include/libintl.h: Likewise.
28981 * include/mntent.h: Likewise.
28982 * include/netdb.h: Likewise.
28983 * include/pwd.h: Likewise.
28984 * include/rpc/netdb.h: Likewise.
28985 * include/sched.h: Likewise.
28986 * include/search.h: Likewise.
28987 * include/shadow.h: Likewise.
28988 * include/signal.h: Likewise.
28989 * include/stdio.h: Likewise.
28990 * include/stdlib.h: Likewise.
28991 * include/string.h: Likewise.
28992 * include/sys/socket.h: Likewise.
28993 * include/sys/stat.h: Likewise.
28994 * include/sys/statfs.h: Likewise.
28995 * include/sys/statvfs.h: Likewise.
28996 * include/sys/syslog.h: Likewise.
28997 * include/sys/time.h: Likewise.
28998 * include/sys/uio.h: Likewise.
28999 * include/time.h: Likewise.
29000 * include/unistd.h: Likewise.
29001 * include/utmp.h: Likewise.
29002 * include/wchar.h: Likewise.
29003 * include/wctype.h: Likewise.
29004 * inet/aliases.h: Likewise.
29005 * inet/arpa/inet.h: Likewise.
29006 * inet/netinet/ether.h: Likewise.
29007 * inet/netinet/in.h: Likewise.
29008 * intl/libintl.h: Likewise.
29009 * io/bits/fcntl2.h: Likewise.
29010 * io/fcntl.h: Likewise.
29011 * io/ftw.h: Likewise.
29012 * io/sys/poll.h: Likewise.
29013 * io/sys/stat.h: Likewise.
29014 * io/sys/statfs.h: Likewise.
29015 * io/sys/statvfs.h: Likewise.
29016 * io/utime.h: Likewise.
29017 * libio/bits/stdio.h: Likewise.
29018 * libio/bits/stdio2.h: Likewise.
29019 * libio/libio.h: Likewise.
29020 * libio/libioP.h: Likewise.
29021 * libio/stdio.h: Likewise.
29022 * locale/lc-ctype.c: Likewise.
29023 * locale/locale.h: Likewise.
29024 * login/utmp.h: Likewise.
29025 * malloc/arena.c: Likewise.
29026 * malloc/malloc.c: Likewise.
29027 * malloc/malloc.h: Likewise.
29028 * malloc/mcheck.c: Likewise.
29029 * malloc/mtrace.c: Likewise.
29030 * math/bits/mathcalls.h: Likewise.
29031 * math/fenv.h: Likewise.
29032 * math/math_private.h: Likewise.
29033 * misc/bits/error.h: Likewise.
29034 * misc/bits/syslog.h: Likewise.
29035 * misc/err.h: Likewise.
29036 * misc/error.h: Likewise.
29037 * misc/fstab.h: Likewise.
29038 * misc/mntent.h: Likewise.
29039 * misc/regexp.h: Likewise.
29040 * misc/search.h: Likewise.
29041 * misc/sgtty.h: Likewise.
29042 * misc/sys/mman.h: Likewise.
29043 * misc/sys/syslog.h: Likewise.
29044 * misc/sys/uio.h: Likewise.
29045 * misc/sys/xattr.h: Likewise.
29046 * misc/ttyent.h: Likewise.
29047 * nis/rpcsvc/ypclnt.h: Likewise.
29048 * nss/nss.h: Likewise.
29049 * posix/bits/unistd.h: Likewise.
29050 * posix/fnmatch.h: Likewise.
29051 * posix/glob.h: Likewise.
29052 * posix/sched.h: Likewise.
29053 * posix/spawn.h: Likewise.
29054 * posix/sys/wait.h: Likewise.
29055 * posix/unistd.h: Likewise.
29056 * posix/wordexp.h: Likewise.
29057 * pwd/pwd.h: Likewise.
29058 * resolv/netdb.h: Likewise.
29059 * resource/sys/resource.h: Likewise.
29060 * rt/aio.h: Likewise.
29061 * rt/bits/mqueue2.h: Likewise.
29062 * rt/mqueue.h: Likewise.
29063 * shadow/shadow.h: Likewise.
29064 * signal/signal.h: Likewise.
29065 * socket/send.c: Likewise.
29066 * socket/sendto.c: Likewise.
29067 * socket/sys/socket.h: Likewise.
29068 * stdio-common/printf.h: Likewise.
29069 * stdlib/bits/stdlib.h: Likewise.
29070 * stdlib/fmtmsg.h: Likewise.
29071 * stdlib/monetary.h: Likewise.
29072 * stdlib/stdlib.h: Likewise.
29073 * stdlib/ucontext.h: Likewise.
29074 * streams/stropts.h: Likewise.
29075 * string/argz.h: Likewise.
29076 * string/bits/string2.h: Likewise.
29077 * string/string.h: Likewise.
29078 * string/strings.h: Likewise.
29079 * sunrpc/rpc/auth.h: Likewise.
29080 * sunrpc/rpc/auth_des.h: Likewise.
29081 * sunrpc/rpc/clnt.h: Likewise.
29082 * sunrpc/rpc/netdb.h: Likewise.
29083 * sunrpc/rpc/pmap_clnt.h: Likewise.
29084 * sunrpc/rpc/xdr.h: Likewise.
29085 * sysdeps/generic/inttypes.h: Likewise.
29086 * sysdeps/generic/net/if.h: Likewise.
29087 * sysdeps/generic/sys/swap.h: Likewise.
29088 * sysdeps/gnu/net/if.h: Likewise.
29089 * sysdeps/gnu/utmpx.h: Likewise.
29090 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29091 * sysdeps/i386/i486/bits/string.h: Likewise.
29092 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29093 * sysdeps/s390/bits/string.h: Likewise.
29094 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29095 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29096 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29097 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29098 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29099 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29100 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29102 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29103 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29104 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29105 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29106 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29107 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29108 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29109 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29110 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29112 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29115 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29116 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29117 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29118 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29119 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29120 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29122 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29124 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29125 * sysvipc/sys/ipc.h: Likewise.
29126 * sysvipc/sys/msg.h: Likewise.
29127 * sysvipc/sys/sem.h: Likewise.
29128 * sysvipc/sys/shm.h: Likewise.
29129 * termios/termios.h: Likewise.
29130 * time/sys/time.h: Likewise.
29131 * time/time.h: Likewise.
29132 * wcsmbs/bits/wchar2.h: Likewise.
29133 * wcsmbs/uchar.h: Likewise.
29134 * wcsmbs/wchar.h: Likewise.
29135 * wctype/wctype.h: Likewise.
29136
0269750c
UD
29137 [BZ #13551]
29138 * Makeconfig: Remove all but ELF support including AIX support.
29139 * Makerules: Likewise.
29140 * config.h.in: Likewise.
29141 * config.make.in: Likewise.
29142 * configure: Likewise.
29143 * configure.in: Likewise.
29144 * csu/Makefile: Likewise.
29145 * csu/version.c: Likewise.
29146 * debug/Makefile: Likewise.
29147 * dlfcn/Makefile: Likewise.
29148 * elf/Makefile: Likewise.
29149 * extra-lib.mk: Likewise.
29150 * iconv/Makefile: Likewise.
29151 * include/libc-symbols.h: Likewise.
29152 * include/shlib-compat.h: Likewise.
29153 * resolv/Makefile: Likewise.
29154 * resolv/res_libc.c: Likewise.
29155 * rt/Makefile: Likewise.
29156 * sysdeps/i386/asm-syntax.h: Likewise.
29157 * sysdeps/i386/sysdep.h: Likewise.
29158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29159 * sysdeps/mach/sysdep.h: Likewise.
29160 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29161 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29162 * sysdeps/s390/asm-syntax.h: Likewise.
29163 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29164 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29165 * sysdeps/sh/sysdep.h: Likewise.
29166 * sysdeps/unix/sparc/sysdep.h: Likewise.
29167 * sysdeps/wordsize-32/divdi3.c: Likewise.
29168 * sysdeps/x86_64/sysdep.h: Likewise.
29169
00bbd29b
UD
29170 * argp/Versions: Remove _argp_unlock_xxx.
29171
29172 [BZ #13559]
29173 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29174 * abilist/libBrokenLocale.abilist: Likewise.
29175 * abilist/libanl.abilist: Likewise.
29176 * abilist/libc.abilist: Likewise.
29177 * abilist/libcrypt.abilist: Likewise.
29178 * abilist/libdl.abilist: Likewise.
29179 * abilist/libm.abilist: Likewise.
29180 * abilist/libnsl.abilist: Likewise.
29181 * abilist/libpthread.abilist: Likewise.
29182 * abilist/libresolv.abilist: Likewise.
29183 * abilist/librt.abilist: Likewise.
29184 * abilist/libthread_db.abilist: Likewise.
29185 * abilist/libutil.abilist: Likewise.
29186 * abilist/libnss_db.abilist: New file.
29187
29188 * scripts/abilist.awk: Add support for indirect functions.
29189
a2693a0e
UD
29190 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29191
3f05895f
UD
29192 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29193
ecb6fb48
UD
29194 * shlib-versions: Remove entries for ports architectures.
29195
664f8cb9
UD
29196 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29197 files in ports.
29198 * elf/stackguard-macros.h: Remove support for IA-64.
29199 * elf/tst-auditmod1.c: Likewise.
29200 * sysdeps/generic/ldsodefs.h: Likewise.
29201
7ae81d88
UD
29202 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29203 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29204 configure files.
29205
bdeba135
UD
29206 [BZ #13552]
29207 * configure.in: Remove --enable-omitfp support.
29208 * FAQ.in: Adjust.
29209 * config.make.in: Likewise.
29210 * Makeconfig: Likewise.
29211 * manual/install.texi: Likewise.
29212
d75a0a62
UD
29213 In case anyone cares, the IA-64 architecture could move to ports.
29214 * sysdeps/ia64/*: Removed.
29215 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29216 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29217
dcc9756b
UD
29218 [BZ #13555]
29219 * configure.in: Remove entries for unsupported architectures.
29220
d3761ebc 29221 [BZ #13533]
9954432e
UD
29222 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29223 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29224 routines.
29225 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29226 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29227 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29228 fall back to using wcrtomb.
29229 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29230 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29231 renaming.
29232 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29233 * wcsmbs/tst-c16c32-1.c: New file.
29234
29235 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29236 local variable.
29237
c3a87236
UD
29238 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29239
28926a1b
UD
29240 * elf/tst-unique3.cc: Add explicit declaration of gets.
29241 * elf/tst-unique3lib.cc: Likewise.
29242 * elf/tst-unique3lib2.cc: Likewise.
29243 * elf/tst-unique4.cc: Likewise.
29244
df78418a
UD
29245 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29246
8ecd6b2a
JM
292472012-01-06 Joseph Myers <joseph@codesourcery.com>
29248
29249 [BZ #13566]
29250 * assert/assert.h (static_assert): Don't define for C++.
29251 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29252 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29253
9f115170
UD
292542012-01-03 Ulrich Drepper <drepper@gmail.com>
29255
5e0d0300
UD
29256 * iconv/loop.c (single loop): Fix assertion in storing of
29257 remaining bytes.
29258
9f115170
UD
29259 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29260
81fb02b0
UD
292612012-01-01 Ulrich Drepper <drepper@gmail.com>
29262
29263 * posix/getconf.c: Update copyright year.
29264 * nss/getent.c: Likewise.
a316c1f6 29265 * nss/makedb.c: Likewise.
81fb02b0
UD
29266 * iconv/iconvconfig.c: Likewise.
29267 * iconv/iconv_prog.c: Likewise.
29268 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29269 * elf/pldd.c: Likewise.
29270 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29271 * catgets/gencat.c: Likewise.
29272 * csu/version.c: Likewise.
29273 * elf/ldd.bash.in: Likewise.
29274 * elf/sprof.c (print_version): Likewise.
29275 * locale/programs/locale.c: Likewise.
29276 * locale/programs/localedef.c: Likewise.
a316c1f6 29277 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29278 * nscd/nscd.c (print_version): Likewise.
29279 * debug/xtrace.sh: Likewise.
29280 * malloc/memusage.sh: Likewise.
29281 * malloc/mtrace.pl: Likewise.
29282 * debug/catchsegv.sh: Likewise.
29283
2ba92745
JJ
292842011-12-30 Jakub Jelinek <jakub@redhat.com>
29285
29286 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29287 pure attribute.
29288
dadebdae
UD
292892011-12-24 Ulrich Drepper <drepper@gmail.com>
29290
d3761ebc 29291 [BZ #13533]
db6af3eb
UD
29292 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29293 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29294 transformations.
29295 * iconv/gconv_int.h: Likewise.
29296 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29297 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29298 from libc for GLIBC_2.16.
29299 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29300 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29301 * wcsmbs/uchar.h: Really define mbstate_t.
29302 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29303 * wcsmbs/c16rtomb.c: New file.
29304 * wcsmbs/mbrtoc16.c: New file.
29305 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29306 for C/POSIX locale.
29307 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29308 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29309
dadebdae
UD
29310 * wcsmbs/wchar.h: Add missing __restrict.
29311
67371b56
UD
293122011-12-23 Ulrich Drepper <drepper@gmail.com>
29313
74033a25
UD
29314 [BZ #13532]
29315 * time/Makefile (routines): Add timespec_get.
29316 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29317 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29318 timespec for ISO C11.
29319 * time/timespec_get.c: New file.
29320 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29321 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29322
380d7e87
UD
29323 [BZ #13531]
29324 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29325 * stdlib/stdlib.h: Declare aligned_alloc.
29326 * Versions.def: Add GLIBC_2.16 for libc.
29327 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29328
4e9e7a35
UD
29329 [BZ 13527]
29330 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29331 ISO C11.
29332
380d7e87 29333 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29334 code.
29335
03a71829
UD
29336 [BZ #13528]
29337 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29338
839e283e
UD
29339 [BZ #13529]
29340 * assert/assert.h (static_assert): Define.
29341
ce5294e2 29342 * version.h: Update for 2.16 development version.
90fa7312 29343
8d44e150 29344 [BZ #13526]
d7809905
UD
29345 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29346 _ISOC11_SOURCE.
29347
c0da14cd
UD
29348 * version.h (RELEASE): Bump for 2.15 release.
29349 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29350
530a3249
MP
29351 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29352 Patch by Marek Polacek <mpolacek@redhat.com>.
29353
67371b56
UD
29354 * bits/byteswap.h: Protect long long constants with __extension__.
29355 * sysdeps/i386/bits/byteswap.h: Likewise.
29356 * sysdeps/ia64/bits/byteswap.h: Likewise.
29357 * sysdeps/s390/bits/byteswap.h: Likewise.
29358 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29359
15db4de1
LD
293602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29361
29362 [BZ #13540]
bbe315ea
LD
29363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29364 destination buffer.
15db4de1
LD
29365 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29366
2b2596b1
MP
293672011-12-23 Marek Polacek <polacek@redhat.com>
29368
29369 * elf/dl-addr.c (determine_info): Add inline keyword.
29370 * elf/tst-auditmod4b.c (check_avx): Likewise.
29371 * elf/tst-auditmod6b.c (check_avx): Likewise.
29372 * elf/tst-auditmod6c.c (check_avx): Likewise.
29373 * elf/tst-auditmod7b.c (check_avx): Likewise.
29374
70c6c246
UD
293752011-12-23 Ulrich Drepper <drepper@gmail.com>
29376
29377 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29378 !__SSE_MATH__.
29379
c044cf14
LD
293802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29381
15db4de1 29382 [BZ #13540]
c044cf14
LD
29383 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29384 processing for last bytes.
29385
6b13d9d9
BH
293862011-08-06 Bruno Haible <bruno@clisp.org>
29387
d455f537
BH
29388 [BZ #13061]
29389 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29390 U+0385, not to U+1FEE.
29391
6b13d9d9
BH
29392 [BZ #13062]
29393 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29394 entry for U+00A5 U+0301.
29395
db910efd
UD
293962011-12-22 Ulrich Drepper <drepper@gmail.com>
29397
27deeafc
UD
29398 [BZ #13166]
29399 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29400 buffer for the output is too small.
29401
aed9d171
UD
29402 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29403 optimization.
29404
db910efd
UD
29405 [BZ #13185]
29406 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29407 SSE flags if possible.
29408
2bd779ae
LD
294092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29410
e7f9dac3 29411 [BZ #13540]
2bd779ae
LD
29412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29413 processing for last bytes.
29414
154bfc16
JM
294152011-12-22 Joseph Myers <joseph@codesourcery.com>
29416
29417 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29418 (syscall-list-default-options, syscall-list-default-condition)
29419 (syscall-list-includes): Define.
29420 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29421 list of ABIs and options and #if conditions for each ABI. Do not
29422 handle common syscalls between ABIs specially.
29423 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29424 Remove.
29425 (syscall-list-variants, syscall-list-32bit-options)
29426 (syscall-list-32bit-condition, syscall-list-64bit-options)
29427 (syscall-list-64bit-condition): Define.
29428 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29429 (syscall-list-variants, syscall-list-32bit-options)
29430 (syscall-list-32bit-condition, syscall-list-64bit-options)
29431 (syscall-list-64bit-condition): Define.
29432 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29433 Remove.
29434 (syscall-list-variants, syscall-list-32bit-options)
29435 (syscall-list-32bit-condition, syscall-list-64bit-options)
29436 (syscall-list-64bit-condition): Define.
29437 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29438 Remove.
29439 (syscall-list-variants, syscall-list-32bit-options)
29440 (syscall-list-32bit-condition, syscall-list-64bit-options)
29441 (syscall-list-64bit-condition): Define.
29442
21eaf3a5
UD
294432011-12-22 Ulrich Drepper <drepper@gmail.com>
29444
16c6f992
UD
29445 * locale/iso-639.def: Add brx entry.
29446
41043168
UD
29447 [BZ #13328]
29448 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29449 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29450
21eaf3a5
UD
29451 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29452 __feraiseexcept_renamed.
29453
e3a851a2
UD
294542011-12-21 Ulrich Drepper <drepper@gmail.com>
29455
4920765e
UD
29456 [BZ #13538]
29457 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29458 EPOLLET with unsigned values.
29459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29461
e3a851a2
UD
29462 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29463 to large cancellation.
29464 * math/s_cacoshf.c: Likewise.
29465 * math/s_cacoshl.c: Likewise.
29466
b27e24b8
RK
294672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29468
29469 [BZ #13305]
aebefeee 29470 [BZ #12786]
b27e24b8
RK
29471 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29472 * math/s_cacoshf.c: Likewise.
29473 * math/s_cacoshl.c: Likewise.
29474
ee190f67
UD
294752011-12-21 Ulrich Drepper <drepper@gmail.com>
29476
29477 [BZ #13439]
29478 * iconv/gconv.h: Define __GCONV_SWAP.
29479 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29480 * iconvdata/utf-16.c: Likewise.
29481 * iconvdata/utf-32.c: Likewise.
29482
707f25df
AS
294832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29484
29485 [BZ #13524]
29486 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29487 numerator after shifting it by one limb.
29488
d2daaa1e
RÁE
294892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29490
29491 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29492 under [__USE_EXTERN_INLINES].
29493
a4647e72
UD
294942011-12-17 Ulrich Drepper <drepper@gmail.com>
29495
29496 [BZ #13446]
29497 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29498
f0b264f1
AZ
294992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29500
29501 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29502 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29503 optimized code.
29504 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29505 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29506 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29507 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29508 for strncasecmp/strncasecmp_l compilation.
29509 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29510 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29511
8ef4f244
MP
295122011-12-08 Marek Polacek <mpolacek@redhat.com>
29513
29514 [BZ #13484]
29515 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29516 of __asm__.
29517
97ac2654
UD
295182011-12-17 Ulrich Drepper <drepper@gmail.com>
29519
29520 [BZ #13506]
29521 * time/tzfile.c (__tzfile_read): Check values from file header.
29522
91d2a845
WS
295232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29524
29525 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29526 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29527 * powerpc/powerpc32/dl-start.S: Likewise.
29528 * powerpc/powerpc32/elf/start.S: Likewise.
29529 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29530 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29531 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29532 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29533 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29534 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29535 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29536 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29537 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29538 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29539 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29540 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29541 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29542 * powerpc/powerpc32/memset.S: Likewise.
29543 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29544 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29545 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29546 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29547 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29548 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29549 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29550 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29551 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29552 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29553 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29554 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29555 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29556
a1267ba1
AZ
295572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29558
29559 * math/libm-test.inc: Added more nearbyint tests.
29560 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29561 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29562 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29564
ad8ac1bd
RL
295652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29566
29567 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29568 FD_CLOEXEC.
29569
1d3e4b61
UD
295702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29571
29572 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29573 Add wcscpy-ssse3 wcscpy-c.
29574 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29575 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29576 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29577 * sysdeps/x86_64/wcschr.S: New file.
29578 * sysdeps/x86_64/wcsrchr.S: New file.
29579 * string/test-strcmp.c: Remove checking of wcscmp function for
29580 wrong alignments.
29581 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29582 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29583 wcsrchr-sse2 wcsrchr-c.
29584 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29585 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29586 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29587 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29588 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29589 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29590 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29591 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29592 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29593 * wcsmbc/wcschr.c (WCSCHR): New macro.
29594
5b330a2d
UD
295952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29596
29597 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29598 * wcsmbs/test-wcsrchr.c: New file.
29599 * string/test-strrchr.c: Add wcsrchr support.
29600 (WIDE): New macro.
29601 * wcsmbs/test-wcscpy.c: New file.
29602 * string/test-strcpy.c: Add wcscpy support.
29603 (WIDE): New macro.
26428b7c 29604
f039c043
UD
296052011-12-10 Ulrich Drepper <drepper@gmail.com>
29606
29607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29608 the inner loop.
29609
850fb039
AS
296102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29611
29612 [BZ #13472]
29613 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29614
4efbd5cb
UD
296152011-12-04 Ulrich Drepper <drepper@gmail.com>
29616
52ff5dd0 29617 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29618 Minor optimizations.
52ff5dd0 29619
4efbd5cb
UD
29620 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29621 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29622 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29623
8a426e12
UD
296242011-12-03 Ulrich Drepper <drepper@gmail.com>
29625
aff2453d
UD
29626 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29627 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29628 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29629 for gcc to avoid warnings.
29630 * inet/Makefile (tests): Add tst-checks.
29631 * inet/tst-checks.c: New file.
29632
29633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29634 warning.
29635
29636 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29637 __wmemcmp_sse2.
29638
29639 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29640 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29641
8a426e12
UD
29642 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29643
9bea3473
UD
296442011-12-02 Ulrich Drepper <drepper@gmail.com>
29645
3a965496
UD
29646 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29647 problem.
29648
9bea3473
UD
29649 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29650
f101631b
UD
296512011-11-29 Joseph Myers <joseph@codesourcery.com>
29652
29653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29654 conditional on GCC version.
29655 (__arch_compare_and_exchange_val_8_acq)
29656 (__arch_compare_and_exchange_val_16_acq)
29657 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29658 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29659 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29660
a98275aa
UD
296612011-12-02 Joseph Myers <joseph@codesourcery.com>
29662
29663 * sysdeps/sh/backtrace.c: New file.
29664
d4cc29a2
AS
296652011-12-02 Andreas Schwab <schwab@redhat.com>
29666
29667 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29668 parenthesis.
29669
6257af2d
AS
296702011-12-01 Andreas Schwab <schwab@redhat.com>
29671
29672 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29673 falling back to utime.
29674
b5f44c1a
AS
296752011-11-30 Andreas Schwab <schwab@redhat.com>
29676
29677 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29678 expectations for float.
29679
f3a6cc0a
AS
296802011-11-29 Andreas Schwab <schwab@redhat.com>
29681
29682 * locale/weight.h (findidx): Add parameter len.
29683 * locale/weightwc.h (findidx): Likewise.
29684 * posix/fnmatch_loop.c (FCT): Adjust caller.
29685 * posix/regcomp.c (build_equiv_class): Likewise.
29686 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29687 * posix/regexec.c (check_node_accept_bytes): Likewise.
29688 * string/strcoll_l.c (STRCOLL): Likewise.
29689 * string/strxfrm_l.c (STRXFRM): Likewise.
29690
9d65ea3a
UD
296912011-11-17 Ulrich Drepper <drepper@gmail.com>
29692
29693 * Makefile.in: Remove CVSOPT handling.
29694 * configure.in: Remove use of AC_REVISION.
29695 * iconvdata/Makefile (distribute): No need to filter out CVS.
29696 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29697 handling.
29698
5583a086
AS
296992011-11-16 Andreas Schwab <schwab@redhat.com>
29700
29701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29702 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29703 [USE_AS_STRNCASECMP_L]: Likewise.
29704 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29705 NO_TLS_DIRECT_SEG_REFS.
29706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29707 Fix argument offsets for non-PIC.
29708 [USE_AS_STRNCASECMP_L]: Likewise.
29709 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29710 NO_TLS_DIRECT_SEG_REFS.
29711
d62a8200
UD
297122011-11-15 Ulrich Drepper <drepper@gmail.com>
29713
9d65ea3a 29714 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29715 O_CLOEXEC.
29716 * locale/loadlocale.c (_nl_load_locale): Likewise.
29717
09f93bd3
AS
297182011-11-15 Andreas Schwab <schwab@redhat.com>
29719
446514f9
AS
29720 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29721 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29723 (SYSCALL_GETTIME): Set errno on error.
29724
09f93bd3
AS
29725 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29726 count references to noai6ai_cached.
29727
312be3f9
UD
297282011-11-15 Ulrich Drepper <drepper@gmail.com>
29729
29730 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29731
29732 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29733 FD_CLOEXEC for /proc/self/maps.
29734
29735 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29736 FD_CLOEXEC for /proc/meminfo.
29737
29738 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29739 gai.conf.
29740
29741 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29742 FD_CLOEXEC for given file.
29743
29744 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29745
29746 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29747 FD_CLOEXEC for /etc/hosts.
29748 (_gethtent): Likewise.
29749
29750 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29751
29752 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29753 cancellation and set FD_CLOEXEC for /etc/netgroup.
29754
29755 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29756 reading /etc/publickey.
29757
29758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29759 allow cancellation when reading /etc/group.
29760
29761 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29762 cancellation.
29763 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29764
29765 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29766 when using data file.
29767
29768 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29769
29770 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29771 (write_nis_obj): Use "c" and "e" in fopen.
29772
29773 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29774
29775 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29776
29777 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29778
29779 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29780
29781 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29782 locale.alias.
29783
29784 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29785
29786 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29787
29788 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29789
29790 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29791 file parsing and set FD_CLOEXEC.
29792
82af0fa8
UD
297932011-11-14 Ulrich Drepper <drepper@gmail.com>
29794
29795 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29796
a5fb313c
AS
297972011-11-14 Andreas Schwab <schwab@redhat.com>
29798
29799 * malloc/arena.c (arena_get2): Don't call reused_arena when
29800 _int_new_arena failed.
29801
6abf3465
UD
298022011-11-14 Ulrich Drepper <drepper@gmail.com>
29803
29804 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29805 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29806 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29807 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29808 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29810 to compile strcasecmp and strncasecmp.
29811 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29812 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29813
29814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29815
76e3966e
UD
298162011-11-13 Ulrich Drepper <drepper@gmail.com>
29817
29818 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29819 locale-defines.sym to gen-as-const-headers.
29820 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29821 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29823 to compile strcasecmp and strncasecmp.
29824 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29825 strcasecmp_l and strncasecmp_l.
29826 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29827 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29828 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29830 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29831 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29832 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29833 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29834 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29835 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29836 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29837
ab26144e
UD
298382011-11-12 Ulrich Drepper <drepper@gmail.com>
29839
7edb22ef
UD
29840 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29841 result of SYSDEP_GETTIME_CPU to retval.
29842 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29843 parameter list to macro. Remove trailing semicolon. Adjust users.
29844
9694fc44
UD
29845 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29846 variable.
29847
8ad89ef8
UD
29848 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29849 mantissa words.
29850 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29851
0c822ef9
UD
29852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29853 from unused variable.
29854
874e0564
UD
29855 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29856 DWARF definitions.
29857 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29858 for assembling.
29859
3a2edc79
UD
29860 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29861 over namespaces.
29862
f3c2577f
UD
29863 * sunrpc/rpc_prot.c (rejected): Fix case value.
29864
294ce126
UD
29865 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29866 unsigned long long int to avoid warnings in shift.
29867
5e2b63c6
UD
29868 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29869 of use of trans.
29870 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29871 variable tmp.
29872
e7f4b08e
UD
29873 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29874 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29875 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29876
ab26144e
UD
29877 * nis/nis_table.c (nis_list): Use variable of correct type for
29878 result of __follow_path call.
29879
8a6d5255
AZ
298802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29881
29882 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29883 of math functions ceil, trunc, floor, round, and sqrt, when
29884 avaliable on the platform.
29885 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29886 name clash.
29887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29888 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29890
aaddc98c
MP
298912011-10-30 Marek Polacek <mpolacek@redhat.com>
29892
29893 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29894 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29895
95b7042b
RM
298962011-11-11 Roland McGrath <roland@hack.frob.com>
29897
29898 * include/unistd.h: Fix __readlink return type.
29899 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29900
57769839
UD
299012011-11-11 Ulrich Drepper <drepper@gmail.com>
29902
29903 * stdlib/ucontext.h: Undo last change for makecontext.
29904
edc5984d
AS
299052011-11-11 Andreas Schwab <schwab@redhat.com>
29906
98591e58
AS
29907 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29908
edc5984d
AS
29909 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29910 * setjmp/setjmp.h: Mark functions as non-leaf.
29911 * setjmp/bits/setjmp2.h: Likewise.
29912 * stdlib/ucontext.h: Likewise.
29913
77cdc054
AS
299142011-11-10 Andreas Schwab <schwab@redhat.com>
29915
29916 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29917 (reused_arena): Don't check arena limit.
29918 (arena_get2): Atomically check arena limit.
29919
fe72eebd
UD
299202011-11-08 Ulrich Drepper <drepper@gmail.com>
29921
5f078c32
UD
29922 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29923 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29924
fe72eebd
UD
29925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29926 instructions.
29927
ae1bc2fa
AS
299282011-11-07 Andreas Schwab <schwab@redhat.com>
29929
7583a88d
AS
29930 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29931 handler when locking.
29932
ae1bc2fa
AS
29933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29934 Fix size of allocated buffer.
29935
10fb0bfa
AS
299362011-11-04 Andreas Schwab <schwab@redhat.com>
29937
998832a4
AS
29938 [BZ #10103]
29939 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29940 declarations for long double functions.
29941 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29942
10fb0bfa
AS
29943 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29944
3d7ba52b
AS
299452011-11-03 Andreas Schwab <schwab@redhat.com>
29946
a9ae54a1
AS
29947 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29948 installed.
29949
3d7ba52b
AS
29950 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29951 is disabled.
29952
bc8db248
ST
299532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29954
29955 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29956
45b96dd6
AS
299572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29958
647776f6
AS
29959 * include/alloca.h (stackinfo_alloca_round): Define.
29960 (extend_alloca): Use it.
29961 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29962 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29963 here.
29964
d91a8b93
AS
29965 * scripts/check-local-headers.sh: Ignore libaudit.h.
29966
45b96dd6
AS
29967 * nscd/Makefile (extra-objs): Make recursively expanded.
29968
432d41ce
UD
299692011-11-01 Ulrich Drepper <drepper@gmail.com>
29970
34372fc6
UD
29971 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29973
fadb59f8
UD
29974 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29975 * posix/tst-rfc3484-2.c: Likewise.
29976 * posix/tst-rfc3484-3.c: Likewise.
29977
78239589
UD
29978 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29979 process_vm_writev.
29980 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29981 process_vm_writev.
29982 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29983 process_vm_writev from libc using GLIBC_2.15 version.
29984
432d41ce
UD
29985 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29986
02f9c6cf
PP
299872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29988
29989 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29990 stack usage.
29991
3a2c0242
UD
299922011-10-31 Ulrich Drepper <drepper@gmail.com>
29993
f4ec4833
UD
29994 [BZ #13367]
29995 * nss/getent.c (initgroups_keys): Show error message in case no group
29996 names are given.
29997
3a2c0242
UD
29998 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29999 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30000 __bump_nl_timestamp.
30001 * nscd/connections (nscd_init): When host database is served open
30002 netlink socket and request notification about configuration changes.
30003 (main_loop_poll): Track netlink file descriptor and bump timestamp
30004 in case data becomes available.
30005 (main_loop_epoll): Likewise.
30006 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30007 (database_pers_head): Add extra_data fileds.
30008 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30009 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30010 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30011 Adjust caller.
30012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30013 in6ai data, call __free_in6ai.
30014 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30015 Add -DHAVE_NETLINK.
30016 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30017 interface information. Reuse previous data if netlink timestamp
30018 is not changed.
30019 (__bump_nl_timestamp): New function.
30020 (__free_in6ai): New function.
30021
636064eb
UD
300222011-10-30 Ulrich Drepper <drepper@gmail.com>
30023
30024 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30025 close_not_cancel_no_status here.
30026 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30027
9beb2334
UD
300282011-10-29 Ulrich Drepper <drepper@gmail.com>
30029
6ef76f3b
UD
30030 [BZ #13276]
30031 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30032 return value.
30033
0ffc4f3e 30034 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30035 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30036 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30037
cb95113e
UD
300382011-07-03 Andreas Jaeger <aj@suse.de>
30039
30040 [BZ #10709]
30041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30042 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30043 * math/libm-test.inc (sin_test): Add test case.
30044
a1b560ff
UD
300452011-10-29 Ulrich Drepper <drepper@gmail.com>
30046
c9aaface
UD
30047 [BZ #13337]
30048 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30049 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30050
d272e7f1
UD
30051 * elf/chroot_canon.c (chroot_canon): Cleanups.
30052
1bc33071
UD
30053 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30054
1760874d
TJ
30055 [BZ #13335]
30056 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30057 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30058
51d91b18
UD
30059 * string/test-strchr.c: Make usable for strchrnul testing.
30060 * string/test-strchrnul.c: New file.
30061 * string/Makefile (strop-tests): Add strchrnul.
30062
a1b560ff 30063 * po/it.po: Update from translation team.
b611fb81 30064 * po/es.po: Likewise.
a1b560ff 30065
a5b81e1f
UD
300662011-10-28 Ulrich Drepper <drepper@gmail.com>
30067
fd52bc6d
UD
30068 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30069 the three constants needed as parameters. Drop the others.
30070 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30071 __m128i_strloadu_tolower.
52e4b9eb
UD
30072 Create and initialize variable zero and use it in all the places
30073 where _mm_setzero_si128 was used.
fd52bc6d 30074
a5b81e1f
UD
30075 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30076 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30077 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30079 anymore.
30080 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30081 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30082 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30083 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30084 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30085 __mpranred, __mptan.
30086 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30087 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30088 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30089 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30094 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30095
b4343346
AS
300962011-10-28 Andreas Schwab <schwab@redhat.com>
30097
0c92d8a8
AS
30098 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30099 redefine if SHARED.
30100 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30101
b4343346
AS
30102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30103 wide char related routines to wcsmbs subdir.
30104
3871f58f
AS
301052011-10-27 Andreas Schwab <schwab@redhat.com>
30106
30107 [BZ #13344]
30108 * misc/sys/cdefs.h (__THROWNL): Define.
30109 * posix/unistd.h: Use __THREADNL instead of __THREAD
30110 for memory synchronization functions.
30111
94d44d9f
RM
301122011-10-26 Roland McGrath <roland@hack.frob.com>
30113
21b64b15 30114 [BZ #13349]
94d44d9f
RM
30115 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30116 doesn't exist.
30117 * manual/stdio.texi (Obstack Streams): Node removed.
30118
f6ce9294
AS
301192011-10-26 Andreas Schwab <schwab@redhat.com>
30120
80479147
AS
30121 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30124
f6ce9294
AS
30125 * math/math_private.h (math_force_eval): Allow non-addressable
30126 arguments.
30127 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30128
618280a1
UD
301292011-10-25 Ulrich Drepper <drepper@gmail.com>
30130
e0016b11
UD
30131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30132 file is not needed.
30133
30134 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30141 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30142 Add AVX variants.
30143 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30144 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30145 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30146 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30147 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30148 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30149 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30151 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30152 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30153 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30154 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30156 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30159 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30160 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30161 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30162
30163 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30164 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30165
618280a1
UD
30166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30167 place. Use VEX encoding when compiling for AVX.
30168
37822576
AS
301692011-10-25 Andreas Schwab <schwab@redhat.com>
30170
1f1e1947
AS
30171 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30172 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30173
37822576
AS
30174 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30175
31ea014d
UD
301762011-10-25 Ulrich Drepper <drepper@gmail.com>
30177
d7826aa1 30178 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30179 useless if() expression.
d7826aa1
UD
30180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30192 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30193 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30194 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30195 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30197 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30198 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30199
31ea014d
UD
30200 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30201
16437fec
AS
302022011-10-25 Andreas Schwab <schwab@redhat.com>
30203
30204 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30205 condition.
30206 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30207
31d3cc00
UD
302082011-10-25 Ulrich Drepper <drepper@gmail.com>
30209
30210 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30211 .text section. Avoid duplicate constants.
30212 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30222 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30224 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30236 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30237 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30238 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30239 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30240 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30242 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30256 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30257
58985aa9
UD
302582011-10-24 Ulrich Drepper <drepper@gmail.com>
30259
202c9deb
UD
30260 * sysdeps/x86_64/dla.h: Move to ...
30261 * sysdeps/x86_64/fpu/dla.h: ...here.
30262 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30263 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30264
af968f62
UD
30265 * config.make.in: Add have-mfma4 entry.
30266 * configure.in: Substitute libc_cv_cc_fma4.
30267 * math/Makefile (dbl-only-routines): Add sincostab.
30268 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30269 Use __sincostab not sincos.
30270 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30271 name is a macro.
30272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30276 using __copysign.
30277 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30278 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30279 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30280 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30281 and __inv.
30282 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30283 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30284 __copysign.
30285 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30286 define aliases when function name is a macro.
30287 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30288 sysdeps/ieee754/dbl-64/sincos.tbl.
30289 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30290 fma4-enabled routines.
30291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30292 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30293 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30294 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30296 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30297 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30300 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30301 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30306 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30307 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30308 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30309 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30311 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30312 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30318 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30319 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30320 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30321
58985aa9
UD
30322 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30323 rename.
30324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30332
a201fbcf
AS
303332011-10-24 Andreas Schwab <schwab@redhat.com>
30334
30335 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30336
fc2ee42a
LD
303372011-10-23 Ulrich Drepper <drepper@gmail.com>
30338
bb3129bd
UD
30339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30340
0275fff8
UD
30341 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30342 prediction.
30343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30344
2fa2ae85
UD
30345 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30346 Remove unused variable magic_bits.
30347 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30348
fc2ee42a
LD
30349 * string/strnlen.c: Define and use STRNLEN macro.
30350 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30351 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30353 * wcsmbs/wcslen.c: Define and use WCSLEN.
30354 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30355 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30356 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30357 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30358 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30359 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30360 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30361
ce7dd29f
LD
303622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30363
30364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30365 strnlen-sse2-no-bsf.
30366 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30368 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30369 Add strnlen support.
30370 (USE_AS_STRNLEN): New macro.
30371 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30372 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30373 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30374 * sysdeps/x86_64/wcslen.S: New file.
30375
979c70a3
MZ
303762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30377
30378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30379 XMM-moves are used for copying on small sizes.
30380
2d09f82f
LD
303812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30382
30383 * wcsmbs/Makefile (strop-tests): Add wcschr.
30384 * wcsmbs/test-wcschr.c: New file.
30385 * string/test-strchr.c: Update.
30386 Add wcschr support.
30387 (WIDE): New macro.
30388
619fccca
LD
303892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30390
2d09f82f 30391 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30392 * wcsmbs/test-wcslen.c: New file.
30393 * string/test-strlen.c: Update.
30394 Add wcslen support.
30395 (WIDE): New macro.
30396
09f699ea
UD
303972011-10-23 Ulrich Drepper <drepper@gmail.com>
30398
30399 * po/it.po: Update from translation team.
30400
95584d3b
LD
304012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30402
30403 * sysdeps/x86_64/wcscmp.S: Update.
30404 Fix wrong comparison semantics.
30405 wcscmp shall use signed comparison not unsigned.
30406 Don't use substraction to avoid overflow bug.
30407 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30408 * wcsmbc/wcscmp.c: Likewise.
30409 * string/test-strcmp.c: Likewise.
30410 Add new tests to check cases with negative values.
30411
c8b3296b
UD
304122011-10-23 Ulrich Drepper <drepper@gmail.com>
30413
30414 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30415 * sysdeps/x86_64/dla.h: ...here. New file.
30416 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30425
246ad57a
AS
304262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30427
30428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30429 __ynl_finite aliases.
30430
a1a87169
UD
304312011-10-22 Ulrich Drepper <drepper@gmail.com>
30432
0d355eb7
UD
30433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30434
a1a87169
UD
30435 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30436 define DLA_FMA.
30437 [DLA_FMA] (EMULV): Use DLA_FMA.
30438 [DLA_FMA] (MUL12): Use EMULV.
30439 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30440 that are not needed.
30441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30448
ee2aafe0
AS
304492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30450
30451 * math/s_nan.c: Undef __nan.
30452 * math/s_nanf.c: Undef __nanf.
30453 * math/s_nanl.c: Undef __nanl.
30454 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30455 "math_private.h".
30456
bc62c2fb
UD
304572011-10-22 Ulrich Drepper <drepper@gmail.com>
30458
77425c63
UD
30459 * math/s_catan.c: Add branch predictions.
30460 * math/s_catanf.c: Likewise.
30461 * math/s_catanh.c: Likewise.
30462 * math/s_catanhf.c: Likewise.
30463 * math/s_catanhl.c: Likewise.
30464 * math/s_catanl.c: Likewise.
30465 * math/s_cexp.c: Likewise.
30466 * math/s_cexpf.c: Likewise.
30467 * math/s_cexpl.c: Likewise.
30468 * math/s_clog.c: Likewise.
30469 * math/s_clog10.c: Likewise.
30470 * math/s_clog10f.c: Likewise.
30471 * math/s_clog10l.c: Likewise.
30472 * math/s_clogf.c: Likewise.
30473 * math/s_clogl.c: Likewise.
30474 * math/s_csqrt.c: Likewise.
30475 * math/s_csqrtf.c: Likewise.
30476 * math/s_csqrtl.c: Likewise.
30477 * math/s_ctanf.c: Likewise.
30478 * math/s_ctanh.c: Likewise.
30479 * math/s_ctanhf.c: Likewise.
30480 * math/s_ctanhl.c: Likewise.
30481 * math/s_ctanl.c: Likewise.
30482
bc62c2fb
UD
30483 * math/math_private.h: Define __nan, __nanf, __nanl.
30484 * math/s_cacosh.c: Include <math_private.h>.
30485 * math/s_cacoshl.c: Likewise.
30486 * math/s_casinh.c: Likewise.
30487 * math/s_casinhf.c: Likewise.
30488 * math/s_casinhl.c: Likewise.
30489 * math/s_ccos.c: Rely entire on ccosh.
30490 * math/s_ccosf.c: Rely entire on ccoshf.
30491 * math/s_ccosl.c: Rely entirely on ccoshl.
30492 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30493 Remove tests for FE_INVALID.
30494 * math/s_ccoshf.c: Likewise.
30495 * math/s_ccoshl.c: Likewise.
30496 * math/s_csin.c: Likewise.
30497 * math/s_csinf.c: Likewise.
30498 * math/s_csinh.c Likewise.
30499 * math/s_csinhf.c: Likewise.
30500 * math/s_csinhl.c: Likewise.
30501 * math/s_csinl.c: Likewise.
30502 * math/s_ctan.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30504 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30506
8ec250a4
UD
305072011-10-21 Ulrich Drepper <drepper@gmail.com>
30508
c196fed8
UD
30509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30510 compilation problems.
30511
8ec250a4
UD
30512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30513 __builtin_expect.
30514
8d4f46c6
UD
305152011-10-20 Ulrich Drepper <drepper@gmail.com>
30516
ed72b654
UD
30517 * sysdeps/i386/configure.in: Test for -mfma4 option.
30518 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30519 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30520 COMMON_CPUID_INDEX_80000001.
30521 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30522 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30523 use it if FMA3 is not supported.
30524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30525
8d4f46c6
UD
30526 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30528
d45c60c2
AS
305292011-10-20 Andreas Schwab <schwab@redhat.com>
30530
30531 [BZ #12892]
30532 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30533 it would create a cycle with a link time dependency.
30534
d9a4d2ab
UD
305352011-10-19 Ulrich Drepper <drepper@gmail.com>
30536
855d1560
UD
30537 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30538 instruction.
30539 * string/Makefile (strop-tests): Add rawmemchr.
30540 * string/test-rawmemchr.c: New file.
30541
d9a4d2ab
UD
30542 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30544 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30545 when compiling str{,n}casecmp and when AVX is available. Hook up
30546 new optimized code in initializers.
30547
8f3b1ffe
AS
305482011-10-19 Andreas Schwab <schwab@redhat.com>
30549
30550 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30551 __feraiseexcept instead of feraiseexcept.
30552
d38f1dba
UD
305532011-10-18 Ulrich Drepper <drepper@gmail.com>
30554
d9a8d0ab
UD
30555 * math/math_private.h: Define defaults for libc_fetestexcept and
30556 libc_feupdateenv.
30557 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30558 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30559 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30560 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30561 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30563 libc_fetestexcept and libc_feupdateenv.
30564
4855e3dd
UD
30565 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30566 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30567 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30568 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30569 libc_feholdexcept_setround.
30570
581d30e3
UD
30571 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30572 Add s_nearbyint-c and s_nearbyintf-c.
30573 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30574 nearbyintf inlines.
30575 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30576 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30577 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30578 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30579
d38f1dba
UD
30580 * math/math_private.h: Define defaults for libc_fegetround,
30581 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30582 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30583 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30584 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30585 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30586 standard functions.
30587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30588 Remove comments and hacks for old compiler versions.
30589 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30590 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30591 libc_feholdexceptl.
30592
caa6c9d8
AS
305932011-10-18 Andreas Schwab <schwab@redhat.com>
30594
30595 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30596 (__feraiseexcept_renamed): Add __NTH.
30597 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30598 namespace violations.
30599
97c066e6
UD
306002011-10-17 Ulrich Drepper <drepper@gmail.com>
30601
99ce7b04
UD
30602 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30603
1004d182
UD
30604 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30605
228a984d
UD
30606 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30607 recently added interfaces.
30608 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30609
c8553a6a
UD
30610 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30611 about macro parameter expansion.
30612
ed22dcf6
UD
30613 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30614 __NO_MATH_INLINES is defined. Cleanups.
30615
30616 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30617 and __floorf is target has SSE4.1.
30618 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30619 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30620 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30621 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30622
b171c137
UD
30623 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30624 name.
30625 (floorf): Likewise.
30626
97c066e6
UD
30627 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30628
629f62ef
AS
306292011-10-17 Andreas Schwab <schwab@redhat.com>
30630
49a43d80
AS
30631 * misc/sys/cdefs.h: Fix last change.
30632
629f62ef
AS
30633 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30634 database lookup.
30635
e453f6cd
UD
306362011-10-16 Ulrich Drepper <drepper@gmail.com>
30637
aa78043a
UD
30638 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30639
ad0f5cad
UD
30640 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30646 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30648 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30649 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30650 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30651 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30652 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30653 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30654 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30655 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30656 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30657 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30659 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30660 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30661 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30662
30663 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30664 ceil, ceilf, floor, floorf.
30665
30666 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30667 Perform IRELATIVE relocations last.
30668
e453f6cd
UD
30669 * elf/do-rel.h: Add another parameter nrelative, replacing the
30670 local variable with the same name. Change name of the function
30671 to end in Rel or Rela (uppercase).
30672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30673 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30674 elf_dynamic_do_##reloc function.
30675
fd5bdc09
UD
306762011-10-15 Ulrich Drepper <drepper@gmail.com>
30677
79b195b5
UD
30678 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30679 is sufficient, at least on modern CPUs.
30680
d4a28569
UD
30681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30682
b61099b5
UD
30683 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30684 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30685
bcf01e6d
UD
30686 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30687 __expl_finite.
30688 * math/bits/math-finite.h: Add entries for exp.
30689 * math/e_expl.c: Add __*_finite alias.
30690 * sysdeps/i386/fpu/e_exp.S: Likewise.
30691 * sysdeps/i386/fpu/e_expf.S: Likewise.
30692 * sysdeps/i386/fpu/e_expl.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30698 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30699 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30700
ba1a0d59
UD
30701 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30702 is sufficient, at least on modern CPUs.
30703
fd5bdc09
UD
30704 * ctype/ctype-info.c (__ctype_init): Define.
30705 * include/ctype.h (__ctype_init): Declare.
30706 (__ctype_b_loc): The variable is always initialized.
30707 (__ctype_toupper_loc): Likewise.
30708 (__ctype_tolower_loc): Likewise.
30709 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30710 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30711
7872cfb0
AS
307122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30713
b468825a
AS
30714 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30715
7872cfb0
AS
30716 * configure.in: Also look in $cxxmachine/include for C++ system
30717 headers.
30718
be13f7bf
LD
307192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30720
30721 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30722 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30723 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30724 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30725 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30726 (USE_AS_WMEMCMP): New macro.
30727 Fixing indents.
30728 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30729 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30730 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30731 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30733 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30734 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30735 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30736 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30737 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30738 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30739 (USE_AS_WMEMCMP): New macro.
30740 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30741 * sysdeps/string/test-memcmp.c: Update.
30742 Fix simple_wmemcmp.
30743 Add new tests.
30744 * wcsmbs/wmemcmp.c: Update.
30745 (WMEMCMP): New macro.
30746 Fix overflow bug.
30747
556a2007
AJ
307482011-10-12 Andreas Jaeger <aj@suse.de>
30749
30750 [BZ #13268]
30751 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30752
538faaa7
UD
307532011-10-15 Ulrich Drepper <drepper@gmail.com>
30754
ab6737ff
UD
30755 * libio/iofwide.c (do_length): Avoid warning.
30756
538faaa7
UD
30757 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30758
396a21b1
UD
307592011-10-14 Ulrich Drepper <drepper@gmail.com>
30760
cdf2901f
UD
30761 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30762
38ad40ce
UD
30763 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30764 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30765 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30766 * sysdeps/i386/i686/fpu/e_log.S: New file.
30767 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30768 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30769
396a21b1
UD
30770 * ctype/ctype.h: Add support for inlined isXXX functions when
30771 compiling C++ code.
30772
6b1f68c9
AS
307732011-10-14 Andreas Schwab <schwab@redhat.com>
30774
349290c0
AS
30775 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30776
6b1f68c9
AS
30777 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30778
f2282d42
RM
307792011-10-13 Roland McGrath <roland@hack.frob.com>
30780
30781 [BZ #13291]
30782 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30783
5298ffa8
AS
307842011-10-13 Andreas Schwab <schwab@redhat.com>
30785
714fad23
AS
30786 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30787 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30788 feraiseexcept.
30789
81dcc7fb
AS
30790 * sysdeps/x86_64/memrchr.S: Check for zero size.
30791
5298ffa8
AS
30792 * string/stratcliff.c: Add memrchr tests.
30793
951fbcec
LD
307942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30795
30796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30797 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30798 rawmemchr-sse2 rawmemchr-sse2-bsf.
30799 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30800 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30801 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30802 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30803 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30804 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30805 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30806 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30807 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30808 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30809 * string/memrchr.c (MEMRCHR): New macro.
30810
0ac5ae23
UD
308112011-10-12 Ulrich Drepper <drepper@gmail.com>
30812
30813 Add integration with gcc's -ffinite-math-only and optimize wrapper
30814 functions in libm.
30815 * Versions.def: Define GLIBC_2.15 version for libm.
30816 * math/Makefile (headers): Add bits/math-finite.h.
30817 * math/bits/math-finite.h: New file.
30818 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30819 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30820 * math/e_acoshl.c: Add __*_finite alias.
30821 * math/e_acosl.c: Likewise.
30822 * math/e_asinl.c: Likewise.
30823 * math/e_atan2l.c: Likewise.
30824 * math/e_atanhl.c: Likewise.
30825 * math/e_coshl.c: Likewise.
30826 * math/e_exp10.c: Likewise.
30827 * math/e_exp10f.c: Likewise.
30828 * math/e_exp10l.c: Likewise.
30829 * math/e_exp2l.c: Likewise.
30830 * math/e_fmodl.c: Likewise.
30831 * math/e_gammal_r.c: Likewise.
30832 * math/e_hypotl.c: Likewise.
30833 * math/e_j0l.c: Likewise.
30834 * math/e_j1l.c: Likewise.
30835 * math/e_jnl.c: Likewise.
30836 * math/e_lgammal_r.c: Likewise.
30837 * math/e_log10l.c: Likewise.
30838 * math/e_log2l.c: Likewise.
30839 * math/e_logl.c: Likewise.
30840 * math/e_powl.c: Likewise.
30841 * math/e_sinhl.c: Likewise.
30842 * math/e_sqrtl.c: Likewise.
30843 * math/e_scalb.c: Completely rewritten and optimized.
30844 * math/e_scalbf.c: Likewise.
30845 * math/e_scalbl.c: Likewise.
30846 * math/w_acos.c: Likewise.
30847 * math/w_acosf.c: Likewise.
30848 * math/w_acosl.c: Likewise.
30849 * math/w_acosh.c: Likewise.
30850 * math/w_acoshf.c: Likewise.
30851 * math/w_acoshl.c: Likewise.
30852 * math/w_asin.c: Likewise.
30853 * math/w_asinf.c: Likewise.
30854 * math/w_asinl.c: Likewise.
30855 * math/w_atan2.c: Likewise.
30856 * math/w_atan2f.c: Likewise.
30857 * math/w_atan2l.c: Likewise.
30858 * math/w_atanh.c: Likewise.
30859 * math/w_atanhf.c: Likewise.
30860 * math/w_atanhl.c: Likewise.
30861 * math/w_exp10.c: Likewise.
30862 * math/w_exp10f.c: Likewise.
30863 * math/w_exp10l.c: Likewise.
30864 * math/w_fmod.c: Likewise.
30865 * math/w_fmodf.c: Likewise.
30866 * math/w_fmodl.c: Likewise.
30867 * math/w_j0.c: Likewise.
30868 * math/w_j0f.c: Likewise.
30869 * math/w_j0l.c: Likewise.
30870 * math/w_j1.c: Likewise.
30871 * math/w_j1f.c: Likewise.
30872 * math/w_j1l.c: Likewise.
30873 * math/w_jn.c: Likewise.
30874 * math/w_jnf.c: Likewise.
30875 * math/w_log.c: Likewise.
30876 * math/w_logf.c: Likewise.
30877 * math/w_logl.c: Likewise.
30878 * math/w_log10.c: Likewise.
30879 * math/w_log10f.c: Likewise.
30880 * math/w_log10l.c: Likewise.
30881 * math/w_log2.c: Likewise.
30882 * math/w_log2f.c: Likewise.
30883 * math/w_log2l.c: Likewise.
30884 * math/w_pow.c: Likewise.
30885 * math/w_powf.c: Likewise.
30886 * math/w_powl.c: Likewise.
30887 * math/w_remainder.c: Likewise.
30888 * math/w_remainderf.c: Likewise.
30889 * math/w_remainderl.c: Likewise.
30890 * math/w_scalb.c: Likewise.
30891 * math/w_scalbf.c: Likewise.
30892 * math/w_scalbl.c: Likewise.
30893 * math/w_sqrt.c: Likewise.
30894 * math/w_sqrtf.c: Likewise.
30895 * math/w_sqrtl.c: Likewise.
30896 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30897 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30898 used.
30899 * math/math_private.h: Declare __kernel_standard_f.
30900 * math/w_cosh.c: Remove cruft and optimize a bit.
30901 * math/w_coshf.c: Likewise.
30902 * math/w_coshl.c: Likewise.
30903 * math/w_exp2.c: Likewise.
30904 * math/w_exp2f.c: Likewise.
30905 * math/w_exp2l.c: Likewise.
30906 * math/w_hypot.c: Likewise.
30907 * math/w_hypotf.c: Likewise.
30908 * math/w_hypotl.c: Likewise.
30909 * math/w_lgamma.c: Likewise.
30910 * math/w_lgamma_r.c: Likewise.
30911 * math/w_lgammaf.c: Likewise.
30912 * math/w_lgammaf_r.c: Likewise.
30913 * math/w_lgammal.c: Likewise.
30914 * math/w_lgammal_r.c: Likewise.
30915 * math/w_sinh.c: Likewise.
30916 * math/w_sinhf.c: Likewise.
30917 * math/w_sinhl.c: Likewise.
30918 * math/w_tgamma.c: Likewise.
30919 * math/w_tgammaf.c: Likewise.
30920 * math/w_tgammal.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30923 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30924 Minor optimizations. Pretty printing. Remove cruft.
30925 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30929 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30930 * sysdeps/i386/fpu/e_asin.S: Likewise.
30931 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30932 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30933 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30934 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30935 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30937 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30938 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30939 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30940 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30941 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30942 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30943 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30944 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30945 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30946 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30947 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30948 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30949 * sysdeps/i386/fpu/e_log.S: Likewise.
30950 * sysdeps/i386/fpu/e_log10.S: Likewise.
30951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30952 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30953 * sysdeps/i386/fpu/e_log2.S: Likewise.
30954 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30955 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30956 * sysdeps/i386/fpu/e_logf.S: Likewise.
30957 * sysdeps/i386/fpu/e_logl.S: Likewise.
30958 * sysdeps/i386/fpu/e_pow.S: Likewise.
30959 * sysdeps/i386/fpu/e_powf.S: Likewise.
30960 * sysdeps/i386/fpu/e_powl.S: Likewise.
30961 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30962 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30963 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30964 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30965 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30966 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30967 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30968 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30969 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30991 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30992 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30993 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30994 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30995 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30997 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30999 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31001 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31003 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31004 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31005 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31007 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31008 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31009 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31010 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31050 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31055 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31058 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31061 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31062 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31063 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31064 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31065 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31066 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31067 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31068 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31069 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31070 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31071 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31072 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31073 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31074 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31075 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31076 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31078 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31079 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31080 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31081 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31082 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31083 (__isnanf): Likewise.
31084 (__isinf_ns): Likewise.
31085 (__isinf_nsf): Likewise.
31086 (__finite): Likewise.
31087 (__finitef): Likewise.
31088 (__ieee754_sqrt): Define as macro.
31089 (__ieee754_sqrtf): Define as macro.
31090 (__ieee754_sqrtl): Define as macro.
31091 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31092 inlined copy.
31093 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31094 __FINITE_MATH_ONLY__ consistent.
31095 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31096
12cc2fcd
AS
310972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31098
a843a204
AS
31099 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31100 of rawmemchr.
31101
12cc2fcd
AS
31102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31103
c853acd5
UD
311042011-10-09 Ulrich Drepper <drepper@gmail.com>
31105
31106 * po/ja.po: Update from translation team.
31107
c658d255
RM
311082011-10-08 Roland McGrath <roland@hack.frob.com>
31109
110946e4
RM
31110 * locale/programs/locarchive.c (prepare_address_space): New function.
31111 (create_archive, enlarge_archive, open_archive): Use it.
31112
50604220
RM
31113 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31114 inside [SHARED], where it is used.
31115
c658d255
RM
31116 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31117
31118 * nss/getent.c (netgroup_keys): Remove unused variable.
31119 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31120
6a621eb7
UD
311212011-10-08 Ulrich Drepper <drepper@gmail.com>
31122
7edb55ce
UD
31123 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31128 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31129 * math/Makefile (libm-calls): Add s_isinf_ns.
31130 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31131 * math/multc3.c: Likewise.
31132 * math/s_casin.c: Likewise.
31133 * math/s_casinf.c: Likewise.
31134 * math/s_casinl.c: Likewise.
31135 * math/s_ccos.c: Likewise.
31136 * math/s_ccosf.c: Likewise.
31137 * math/s_ccosl.c: Likewise.
31138 * math/s_ctan.c: Likewise.
31139 * math/s_ctanf.c: Likewise.
31140 * math/s_ctanh.c: Likewise.
31141 * math/s_ctanhf.c: Likewise.
31142 * math/s_ctanhl.c: Likewise.
31143 * math/s_ctanl.c: Likewise.
31144 * math/w_fmod.c: Likewise.
31145 * math/w_fmodf.c: Likewise.
31146 * math/w_fmodl.c: Likewise.
31147 * math/w_remainder.c: Likewise.
31148 * math/w_remainderf.c: Likewise.
31149 * math/w_remainderl.c: Likewise.
31150 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31151 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31152 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31154 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31155 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31156 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31157 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31158
187da0ae
UD
31159 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31160 of the number.
31161 * stdio-common/printf_fphex.c: Likewise.
31162 * stdio-common/printf_size.c: Likewise.
31163
9277c064
UD
31164 * math/e_exp10.c: Include math_private.h using <...> not "...".
31165 * math/e_exp10f.c: Likewise.
31166 * math/e_exp10l.c: Likewise.
31167 * math/e_exp2l.c: Likewise.
31168 * math/e_j0l.c: Likewise.
31169 * math/e_j1l.c: Likewise.
31170 * math/e_jnl.c: Likewise.
31171 * math/e_lgammal_r.c: Likewise.
31172 * math/e_rem_pio2l.c: Likewise.
31173 * math/e_scalb.c: Likewise.
31174 * math/e_scalbf.c: Likewise.
31175 * math/e_scalbl.c: Likewise.
31176 * math/k_cosl.c: Likewise.
31177 * math/k_sinl.c: Likewise.
31178 * math/k_tanl.c: Likewise.
31179 * math/s_cacoshf.c: Likewise.
31180 * math/s_catan.c: Likewise.
31181 * math/s_catanf.c: Likewise.
31182 * math/s_catanh.c: Likewise.
31183 * math/s_catanhf.c: Likewise.
31184 * math/s_catanhl.c: Likewise.
31185 * math/s_catanl.c: Likewise.
31186 * math/s_ccosh.c: Likewise.
31187 * math/s_ccoshf.c: Likewise.
31188 * math/s_ccoshl.c: Likewise.
31189 * math/s_cexp.c: Likewise.
31190 * math/s_cexpf.c: Likewise.
31191 * math/s_cexpl.c: Likewise.
31192 * math/s_clog.c: Likewise.
31193 * math/s_clog10.c: Likewise.
31194 * math/s_clog10f.c: Likewise.
31195 * math/s_clog10l.c: Likewise.
31196 * math/s_clogf.c: Likewise.
31197 * math/s_clogl.c: Likewise.
31198 * math/s_csin.c: Likewise.
31199 * math/s_csinf.c: Likewise.
31200 * math/s_csinh.c: Likewise.
31201 * math/s_csinhf.c: Likewise.
31202 * math/s_csinhl.c: Likewise.
31203 * math/s_csinl.c: Likewise.
31204 * math/s_csqrt.c: Likewise.
31205 * math/s_csqrtf.c: Likewise.
31206 * math/s_csqrtl.c: Likewise.
31207 * math/s_ctan.c: Likewise.
31208 * math/s_ctanf.c: Likewise.
31209 * math/s_ctanh.c: Likewise.
31210 * math/s_ctanhf.c: Likewise.
31211 * math/s_ctanhl.c: Likewise.
31212 * math/s_ctanl.c: Likewise.
31213 * math/s_ldexp.c: Likewise.
31214 * math/s_ldexpf.c: Likewise.
31215 * math/s_ldexpl.c: Likewise.
31216 * math/s_significand.c: Likewise.
31217 * math/s_significandf.c: Likewise.
31218 * math/s_significandl.c: Likewise.
31219 * math/w_acos.c: Likewise.
31220 * math/w_acosf.c: Likewise.
31221 * math/w_acosh.c: Likewise.
31222 * math/w_acoshf.c: Likewise.
31223 * math/w_acoshl.c: Likewise.
31224 * math/w_acosl.c: Likewise.
31225 * math/w_asin.c: Likewise.
31226 * math/w_asinf.c: Likewise.
31227 * math/w_asinl.c: Likewise.
31228 * math/w_atan2.c: Likewise.
31229 * math/w_atan2f.c: Likewise.
31230 * math/w_atan2l.c: Likewise.
31231 * math/w_atanh.c: Likewise.
31232 * math/w_atanhf.c: Likewise.
31233 * math/w_atanhl.c: Likewise.
31234 * math/w_cosh.c: Likewise.
31235 * math/w_coshf.c: Likewise.
31236 * math/w_coshl.c: Likewise.
31237 * math/w_dremf.c: Likewise.
31238 * math/w_exp10.c: Likewise.
31239 * math/w_exp10f.c: Likewise.
31240 * math/w_exp10l.c: Likewise.
31241 * math/w_exp2.c: Likewise.
31242 * math/w_exp2f.c: Likewise.
31243 * math/w_fmod.c: Likewise.
31244 * math/w_fmodf.c: Likewise.
31245 * math/w_fmodl.c: Likewise.
31246 * math/w_hypot.c: Likewise.
31247 * math/w_hypotf.c: Likewise.
31248 * math/w_hypotl.c: Likewise.
31249 * math/w_j0.c: Likewise.
31250 * math/w_j0f.c: Likewise.
31251 * math/w_j0l.c: Likewise.
31252 * math/w_j1.c: Likewise.
31253 * math/w_j1f.c: Likewise.
31254 * math/w_j1l.c: Likewise.
31255 * math/w_jn.c: Likewise.
31256 * math/w_jnf.c: Likewise.
31257 * math/w_jnl.c: Likewise.
31258 * math/w_lgamma.c: Likewise.
31259 * math/w_lgamma_r.c: Likewise.
31260 * math/w_lgammaf.c: Likewise.
31261 * math/w_lgammaf_r.c: Likewise.
31262 * math/w_lgammal.c: Likewise.
31263 * math/w_lgammal_r.c: Likewise.
31264 * math/w_log.c: Likewise.
31265 * math/w_log10.c: Likewise.
31266 * math/w_log10f.c: Likewise.
31267 * math/w_log10l.c: Likewise.
31268 * math/w_log2.c: Likewise.
31269 * math/w_log2f.c: Likewise.
31270 * math/w_log2l.c: Likewise.
31271 * math/w_logf.c: Likewise.
31272 * math/w_logl.c: Likewise.
31273 * math/w_pow.c: Likewise.
31274 * math/w_powf.c: Likewise.
31275 * math/w_powl.c: Likewise.
31276 * math/w_remainder.c: Likewise.
31277 * math/w_remainderf.c: Likewise.
31278 * math/w_remainderl.c: Likewise.
31279 * math/w_scalb.c: Likewise.
31280 * math/w_scalbf.c: Likewise.
31281 * math/w_scalbl.c: Likewise.
31282 * math/w_sinh.c: Likewise.
31283 * math/w_sinhf.c: Likewise.
31284 * math/w_sinhl.c: Likewise.
31285 * math/w_sqrt.c: Likewise.
31286 * math/w_sqrtf.c: Likewise.
31287 * math/w_sqrtl.c: Likewise.
31288 * math/w_tgamma.c: Likewise.
31289 * math/w_tgammaf.c: Likewise.
31290 * math/w_tgammal.c: Likewise.
31291
6a621eb7
UD
31292 * po/ja.po: Update from translation team.
31293
bf582445
AJ
312942011-09-29 Andreas Jaeger <aj@suse.de>
31295
f9efbf3a
AJ
31296 [BZ #13179]
31297 * sunrpc/netname.c (netname2host): Fix logic.
31298
bf582445
AJ
31299 [BZ #6779]
31300 [BZ #6783]
31301 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31302 correctly.
31303 * math/w_remainder.c (__remainder): Likewise.
31304 * math/w_remainderf.c (__remainderf): Likewise.
31305 * math/libm-test.inc (remainder_test): Add test cases.
31306
48693bea
AK
313072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31308
31309 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31310 sdiv_qrnnd.
31311
42622229
LD
313122011-10-07 Ulrich Drepper <drepper@gmail.com>
31313
31314 * string/test-memcmp.c: Avoid unncessary #defines.
31315 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31316
093ecf92
LD
313172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31318
31319 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31320 Use new sse2 version for core i3 - i7 as it's faster
31321 than sse42 version.
31322 (bit_Prefer_PMINUB_for_stringop): New.
31323 * sysdeps/x86_64/rawmemchr.S: Update.
31324 Replace with faster SSE2 version.
31325 * sysdeps/x86_64/memrchr.S: New file.
31326 * sysdeps/x86_64/memchr.S: Update.
31327 Replace with faster SSE2 version.
31328
fde56e5c
MP
313292011-09-12 Marek Polacek <mpolacek@redhat.com>
31330
31331 * elf/dl-load.c (lose): Add cast to avoid warning.
31332
21fd49a9
UD
313332011-10-07 Ulrich Drepper <drepper@gmail.com>
31334
5a06e643
UD
31335 * po/ca.po: Update from translation team.
31336
684ae515
UD
31337 * inet/getnetgrent_r.c: Hook up nscd.
31338 * nscd/Makefile (routines): Add nscd_netgroup.
31339 (nscd-modules): Add netgroupcache.
31340 (CFLAGS-netgroupcache.c): Define.
31341 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31342 (cache_search): Add const to second parameter.
31343 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31344 INNETGR.
31345 (dbs): Add netgrdb entry.
31346 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31347 (verify_persistent_db): Handle netgrdb.
31348 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31349 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31350 GETFDNETGR.
31351 (netgroup_response_header): Define.
31352 (innetgroup_response_header): Define.
31353 (datahead): Add netgroup_response_header and innetgroup_response_header
31354 elements.
31355 * nscd/nscd.conf: Add entries for netgroup cache.
31356 * nscd/nscd.h (dbtype): Add netgrdb.
31357 (_PATH_NSCD_NETGROUP_DB): Define.
31358 (netgroup_iov_disabled): Declare.
31359 (xmalloc, xcalloc, xrealloc): Move declarations here.
31360 (cache_search): Adjust prototype.
31361 Add netgroup-related prototypes.
31362 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31363 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31364 (__nscd_innetgr): Declare.
31365 * nscd/selinux.c (perms): Use access_vector_t as element type and
31366 add netgroup-related initializers.
31367 * nscd/netgroupcache.c: New file.
31368 * nscd/nscd_netgroup.c: New file.
31369 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31370 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31371 For four parameters use innetgr.
31372 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31373 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31374 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31375 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31376
21fd49a9
UD
31377 * nscd/connections.c (register_traced_file): Don't register file
31378 for disabled databases.
31379
054c0457
UD
313802011-10-06 Ulrich Drepper <drepper@gmail.com>
31381
32b63198
UD
31382 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31383
054c0457
UD
31384 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31385 from tree and freeing node.
31386
64031225
JO
313872011-09-25 Jiri Olsa <jolsa@redhat.com>
31388
31389 * nss/nsswitch.c (__nss_database_lookup): Handle
31390 nss_parse_service_list out of memory case.
31391
0490345c
JO
313922011-09-15 Jiri Olsa <jolsa@redhat.com>
31393
31394 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31395 out of memory case.
31396
3a62d00d
AS
313972011-10-04 Andreas Schwab <schwab@redhat.com>
31398
31399 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31400 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31401 pass it down.
31402 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31403 elf_machine_rela, elf_machine_lazy_rel.
31404 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31405 (ELF_DYNAMIC_DO_REL): Likewise.
31406 (ELF_DYNAMIC_DO_RELA): Likewise.
31407 (ELF_DYNAMIC_RELOCATE): Likewise.
31408 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31409 to ELF_DYNAMIC_DO_REL.
31410 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31411 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31412 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31413 elf_machine_rela.
31414 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31415 skip_ifunc, don't call ifunc function if non-zero.
31416 (elf_machine_rela): Likewise.
31417 (elf_machine_lazy_rel): Likewise.
31418 (elf_machine_lazy_rela): Likewise.
31419 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31420 (elf_machine_lazy_rel): Likewise.
31421 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31422 Likewise.
31423 (elf_machine_lazy_rel): Likewise.
31424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31425 Likewise.
31426 (elf_machine_lazy_rel): Likewise.
31427 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31428 (elf_machine_lazy_rel): Likewise.
31429 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31430 (elf_machine_lazy_rel): Likewise.
31431 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31432 (elf_machine_lazy_rel): Likewise.
31433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31434 (elf_machine_lazy_rel): Likewise.
31435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31436 (elf_machine_lazy_rel): Likewise.
31437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31438 (elf_machine_lazy_rel): Likewise.
31439
68577918
UD
314402011-09-28 Ulrich Drepper <drepper@gmail.com>
31441
31442 * nss/nss_files/files-init.c (_nss_files_init): Use static
31443 initialization for all the *_traced_file variables.
31444
68822d74
AS
314452011-09-28 Andreas Schwab <schwab@redhat.com>
31446
31447 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31448
2056100b
RM
314492011-09-27 Roland McGrath <roland@hack.frob.com>
31450
31451 [BZ #13226]
31452 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31453
32c76b63
AS
314542011-09-27 Andreas Schwab <schwab@redhat.com>
31455
31456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31457 Reread the line before reparsing it.
31458
bf972c9d
AS
314592011-09-26 Andreas Schwab <schwab@redhat.com>
31460
31461 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31462
e057a1b5
JM
314632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31464 Maxim Kuvyrkov <maxim@codesourcery.com>
31465 Joseph Myers <joseph@codesourcery.com>
31466
31467 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31468 if needed for __stack_chk_guard.
31469
bc7e1c36
RM
314702011-09-19 Roland McGrath <roland@hack.frob.com>
31471
ecb1482f
RM
31472 * sysdeps/posix/spawni.c (script_execute): Always define it.
31473 It will be optimized away if unused.
31474 (maybe_script_execute): New function.
31475 (__spawni): Call it.
31476
bc7e1c36
RM
31477 * Makerules: Don't include tls.make.
31478 (config-tls): Always set to thread.
31479 * tls.make.c: File removed.
31480
1c3b002b
MF
314812011-09-19 Mike Frysinger <vapier@gentoo.org>
31482
31483 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31484 * config.make.in (CPPFLAGS-config): New substituted variable.
31485
2840865d
UD
314862011-09-15 Ulrich Drepper <drepper@gmail.com>
31487
88738eb6
UD
31488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31489
cbf645a6 31490 [BZ #13192]
2840865d
UD
31491 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31492 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31493
b402e91a
RM
314942011-09-15 Roland McGrath <roland@hack.frob.com>
31495
31496 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31497 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31499 (CALL_FAIL): Likewise.
31500 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31501 (CALL_FAIL): Macro removed.
31502 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31503
4c1a1f71
UD
315042011-09-15 Ulrich Drepper <drepper@gmail.com>
31505
31506 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31507 for __FINITE_MATH_ONLY__ == 1.
31508
edc121be
AS
315092011-09-15 Andreas Schwab <schwab@redhat.com>
31510
31511 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31512 __ieee754_sqrt instead of sqrt.
31513 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31514 __ieee754_sqrtf instead of sqrtf.
31515 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31516 __floorf instead of floorf.
31517 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31518 __floorf, __truncf instead of floorf, truncf.
31519
cd205654
UD
315202011-09-14 Ulrich Drepper <drepper@gmail.com>
31521
ee4d0315
UD
31522 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31523
cd205654
UD
31524 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31525 __extern_always_inline.
31526 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31527 32-bit.
31528
48b67d71
AS
315292011-09-14 Andreas Schwab <schwab@redhat.com>
31530
31531 * elf/rtld.c (dl_main): Also relocate in dependency order when
31532 doing symbol dependency testing.
31533
1ae12c75
AS
315342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31535
31536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31537 Always define `refsym'.
31538
995a80df
AS
315392011-09-13 Andreas Schwab <schwab@redhat.com>
31540
e529793b
AS
31541 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31542 (__FD_ELT): Renamed from __FDELT.
31543 * misc/bits/select2.h (__FD_ELT): Likewise.
31544 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31545 __FD_MASK instead of __FDELT, __FDMASK.
31546 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31547 Likewise.
31548 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31549 Likewise.
31550
52d4fef8
AS
31551 * elf/Makefile (gen-ldd): Fix pattern.
31552
995a80df
AS
31553 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31554 (init_tls): Likewise.
31555
8682f8b0
UD
315562011-09-12 Ulrich Drepper <drepper@gmail.com>
31557
31558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31559
de82006d
AS
315602011-09-12 Andreas Schwab <schwab@redhat.com>
31561
a7c8e6a1
AS
31562 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31563 `struct cmsghdr *' instead of `void *'.
31564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31565 Likewise.
31566
0f31fe77
AS
315672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31568
31569 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31570 if non-absolute.
31571 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31572 ldd_rewrite_script.
0f31fe77 31573
32b4c839
UD
315742011-09-11 Ulrich Drepper <drepper@gmail.com>
31575
83cd1420
UD
31576 * configure.in: Remove --with-tls option.
31577 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31578 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31579 out in case it is missing.
31580 * sysdeps/ia64/elf/configure.in: Likewise.
31581 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31582 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31583 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31584 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31585 * sysdeps/sh/elf/configure.in: Likewise.
31586 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31587 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31588 * sysdeps/x86_64/elf/configure.in: Likewise.
31589 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31590 * sysdeps/mach/hurd/tls.h: Likewise.
31591
633f745d
UD
31592 [BZ #13067]
31593 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31594
f318beb8
UD
31595 [BZ #13090]
31596 * configure.in: Fix use of AC_INIT.
31597
32b4c839
UD
31598 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31599
3ce1f295
UD
316002011-09-10 Ulrich Drepper <drepper@gmail.com>
31601
bb016596
UD
31602 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31603 __set_errno.
8e58439c
UD
31604 * malloc/hooks.c: Likewise.
31605
aebae053 31606 [BZ #11929]
02d46fc4
UD
31607 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31608 variables statically.
31609 (narenas): Initialize.
31610 (list_lock): Initialize.
bb016596
UD
31611 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31612 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31613 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31614 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31615 Add initializers to main_arena and mp_.
31616 (malloc_state): Remove pagesize member. Change all users to use
31617 GLRO(dl_pagesize).
31618
31619 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31620 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31621 is always initialized.
31622
22a89187
UD
31623 * malloc/malloc.c: Removed unused configurations and dead code.
31624 * malloc/arena.c: Likewise.
31625 * malloc/hooks.c: Likewise.
02d46fc4 31626 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31627
d063d164
UD
31628 * include/tls.h: Removed. USE___THREAD must always be defined.
31629 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31630 * elf/dl-libc.c: Likewise.
31631 * elf/dl-tsd.c: Likewise.
31632 * include/errno.h: Likewise.
31633 * include/netdb.h: Likewise.
31634 * include/resolv.h: Likewise.
31635 * inet/herrno-loc.c: Likewise.
31636 * inet/herrno.c: Likewise.
31637 * malloc/arena.c: Likewise.
31638 * malloc/hooks.c: Likewise.
31639 * malloc/malloc.c: Likewise.
31640 * resolv/res-state.c: Likewise.
31641 * resolv/res_libc.c: Likewise.
31642 * sysdeps/i386/dl-machine.h: Likewise.
31643 * sysdeps/ia64/dl-machine.h: Likewise.
31644 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31645 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31646 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31647 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31648 * sysdeps/sh/dl-machine.h: Likewise.
31649 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31650 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31651 * sysdeps/unix/i386/sysdep.S: Likewise.
31652 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31653 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31658 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31663 * sysdeps/x86_64/dl-machine.h: Likewise.
31664 * tls.make.c: Likewise.
31665
3ce1f295
UD
31666 * configure.in: Remove --with-__thread option. Make tests for
31667 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31668 tls_model attribute fail if no support is available. Remove
31669 USE_IN_LIBIO.
31670 * Makeconfig: Adjust for dropped configure option. All features are
31671 now mandatory.
31672 * Makerules: Likewise.
31673 * Versions.def: Likewise.
31674 * argp/argp-fmtstream.c: Likewise.
31675 * argp/argp-fmtstream.h: Likewise.
31676 * argp/argp-help.c: Likewise.
31677 * assert/assert.c: Likewise.
31678 * config.h.in: Likewise.
31679 * config.make.in: Likewise.
31680 * configure: Likewise.
31681 * configure.in: Likewise.
31682 * csu/Versions: Likewise.
31683 * csu/init.c: Likewise.
31684 * elf/tst-audit2.c: Likewise.
31685 * elf/tst-tls10.c: Likewise.
31686 * elf/tst-tls10.h: Likewise.
31687 * elf/tst-tls11.c: Likewise.
31688 * elf/tst-tls12.c: Likewise.
31689 * elf/tst-tls14.c: Likewise.
31690 * elf/tst-tlsmod11.c: Likewise.
31691 * elf/tst-tlsmod12.c: Likewise.
31692 * elf/tst-tlsmod13.c: Likewise.
31693 * elf/tst-tlsmod13a.c: Likewise.
31694 * elf/tst-tlsmod14a.c: Likewise.
31695 * elf/tst-tlsmod15b.c: Likewise.
31696 * elf/tst-tlsmod16a.c: Likewise.
31697 * elf/tst-tlsmod16b.c: Likewise.
31698 * elf/tst-tlsmod7.c: Likewise.
31699 * elf/tst-tlsmod8.c: Likewise.
31700 * elf/tst-tlsmod9.c: Likewise.
31701 * gmon/gmon.c: Likewise.
31702 * grp/fgetgrent_r.c: Likewise.
31703 * grp/putgrent.c: Likewise.
31704 * hurd/fopenport.c: Likewise.
31705 * include/libc-symbols.h: Likewise.
31706 * include/tls.h: Likewise.
31707 * intl/gettextP.h: Likewise.
31708 * intl/loadinfo.h: Likewise.
31709 * locale/global-locale.c: Likewise.
31710 * locale/localeinfo.h: Likewise.
31711 * mach/devstream.c: Likewise.
31712 * malloc/arena.c: Likewise.
31713 * malloc/set-freeres.c: Likewise.
31714 * misc/err.c: Likewise.
31715 * misc/getttyent.c: Likewise.
31716 * misc/mntent_r.c: Likewise.
31717 * posix/getopt.c: Likewise.
31718 * posix/wordexp.c: Likewise.
31719 * pwd/fgetpwent_r.c: Likewise.
31720 * resolv/Versions: Likewise.
31721 * resolv/res_hconf.c: Likewise.
31722 * shadow/fgetspent_r.c: Likewise.
31723 * shadow/putspent.c: Likewise.
31724 * stdio-common/printf_fphex.c: Likewise.
31725 * stdio-common/tmpfile.c: Likewise.
31726 * stdlib/abort.c: Likewise.
31727 * stdlib/fmtmsg.c: Likewise.
31728 * sunrpc/auth_unix.c: Likewise.
31729 * sunrpc/clnt_perr.c: Likewise.
31730 * sunrpc/clnt_tcp.c: Likewise.
31731 * sunrpc/clnt_udp.c: Likewise.
31732 * sunrpc/clnt_unix.c: Likewise.
31733 * sunrpc/openchild.c: Likewise.
31734 * sunrpc/svc_simple.c: Likewise.
31735 * sunrpc/svc_tcp.c: Likewise.
31736 * sunrpc/svc_udp.c: Likewise.
31737 * sunrpc/svc_unix.c: Likewise.
31738 * sunrpc/xdr.c: Likewise.
31739 * sunrpc/xdr_array.c: Likewise.
31740 * sunrpc/xdr_rec.c: Likewise.
31741 * sunrpc/xdr_ref.c: Likewise.
31742 * sunrpc/xdr_stdio.c: Likewise.
31743
1248c1c4
PB
317442011-09-09 Ulrich Drepper <drepper@gmail.com>
31745
31746 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31747
317482011-07-03 Andreas Jaeger <aj@suse.de>
31749
31750 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31751 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31752 regenerate with gen-libm-tests.pl.
31753
317542010-05-12 Petr Baudis <pasky@suse.cz>
31755
31756 [BZ #11589]
31757 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31758 around j0() zero points by switching to j1().
31759 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31763
f22e1074
UD
317642011-09-09 Ulrich Drepper <drepper@gmail.com>
31765
f19009c1
UD
31766 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31767 instead of 0.
31768 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31769 instead of 0.
f19009c1
UD
31770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31771 Patch in part by Pavel Roskin <proski@gnu.org>.
31772
3f8cc204
UD
31773 [BZ #13138]
31774 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31775 realloc.
31776 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31777 Free memory block if necessary.
31778
f22e1074
UD
31779 [BZ #12847]
31780 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31781 be NULL. Don't lock in this case.
31782
0a2349f9
RM
317832011-09-09 Roland McGrath <roland@hack.frob.com>
31784
31785 * elf/elf.h (ELFOSABI_GNU): New macro.
31786 (ELFOSABI_LINUX): Define to that.
31787
f3cdd467
DZ
317882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31789
31790 * string/strncat.c (strncat): Undef the symbol in case it has been
31791 defined in bits/string.h.
31792
74718d13
UD
317932011-09-09 Ulrich Drepper <drepper@gmail.com>
31794
633e9e0f
UD
31795 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31796
0a2349f9 31797 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31798 link map.
31799
f9924780
AJ
318002011-08-17 Andreas Jaeger <aj@suse.de>
31801
31802 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31803
7f5517aa
PP
318042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31805 Ian Lance Taylor <iant@google.com>
31806
31807 * math/libm-test.inc (lround_test): New testcase.
31808 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31809
762011fe
UD
318102011-09-08 Ulrich Drepper <drepper@gmail.com>
31811
92963737
UD
31812 * Makefile: Remove support for automatic cvs check-ins.
31813 * Makerules: Likewise.
31814 * config.make.in: Likewise.
31815 * configure.in: Likewise.
31816 * intl/Makefile: Likewise.
31817 * locale/Makefile: Likewise.
31818 * po/Makefile: Likewise.
31819 * posix/Makefile: Likewise.
31820 * sysdeps/gnu/Makefile: Likewise.
31821 * sysdeps/mach/hurd/Makefile: Likewise.
31822 * sysdeps/sparc/sparc32/Makefile: Likewise.
31823
b0727fd8
JS
31824 [BZ #13118]
31825 * posix/Makefile (bug-regex32-ENV): Define.
31826 Patch by John Stanley <jpsinthemix@verizon.net>.
31827
a0f33f99
UD
31828 * misc/Makefile (headers): Add bits/select2.h.
31829 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31830 * misc/bits/select2.h: New file.
31831 * include/bits/select2.h: New file.
31832 * debug/Makefile (routines): Add fdelt_chk.
31833 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31834 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31835 FD_ISSET.
31836 * debug/fdelt_chk.c: New file.
31837
762011fe
UD
31838 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31839 * wcsmbs/test-wmemcmp.c: Likewise.
31840 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31841 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31842
318432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31844
31845 * string/Makefile (strop-tests): Add memcmp.
31846 * string/test-wmemcmp.c: New file.
31847 * string/test-memcmp.c: Add wmemcmp support.
31848
7f513ec8
RM
318492011-09-08 Roland McGrath <roland@hack.frob.com>
31850
0442afb4
RM
31851 [BZ #13153]
31852 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31853 2011-07-19 change.
31854
7f513ec8
RM
31855 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31856 garbage value in a __mach_port_mod_refs call in the cases of the
31857 task-self and thread-self ports.
31858
a12b2239
ST
318592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31860
31861 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31862
610f9ab4
AS
318632011-09-08 Andreas Schwab <schwab@redhat.com>
31864
7f513ec8 31865 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31866
48882a1a
LD
318672011-09-07 Ulrich Drepper <drepper@gmail.com>
31868
b49865be
UD
31869 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31870
fdc86bc9
UD
31871 * elf/dl-libc.c (dlerror_run): Pass back error code from
31872 dl_catch_error.
31873
c966526a
UD
31874 [BZ #13123]
31875 * elf/dl-load.c (lose): Free l_origin if it is valid.
31876
48882a1a
LD
31877 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31878 names.
31879 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31880 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31881 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31883 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31884 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31885
77a2a8b4
AZ
318862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31887
31888 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31889 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31890 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31891 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31892 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31893 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31894 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31895 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31896 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31897 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31898
24f579d8
AM
318992011-08-15 Alan Modra <amodra@gmail.com>
31900
31901 [BZ #13092]
31902 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31903 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31904 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31905 ppc_mcount to static-only-routines.
31906 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31907 __mcount_internal.
31908 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31909 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31910
3d4837df
UD
319112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31912
31913 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31914 for finite and infinity parameters.
31915
22700377
WS
319162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31917
31918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31919 and add nop instructions for throughput optimization.
31920 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31921
5025581e
WS
319222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31923
31924 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31925 aligned copy for power7 with vector-scalar instructions.
31926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31927
08a300c9
L
319282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31929
31930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31931 AVX check.
31932
59178ef9
AS
319332011-09-07 Andreas Schwab <schwab@redhat.com>
31934
31935 [BZ #13144]
31936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31937 last change.
31938
e38ba7ab
UD
319392011-09-07 Ulrich Drepper <drepper@gmail.com>
31940
31941 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31942 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31943 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31944 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31945 clock_gettime.
31946
d53a73ac
UD
319472011-09-06 Ulrich Drepper <drepper@gmail.com>
31948
fc8bffcc
UD
31949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31950 Forgot to demangle the pointer.
31951
ceaa0c5d
UD
31952 * sysdeps/i386/sysdep.h: Define atom_text_section.
31953 * sysdeps/x86_64/sysdep.h: Likewise.
31954 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31955 section with atom_text_section.
31956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31958 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31960 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31961
a77d3c17
UD
31962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31964 already be defined. Change to take two parameters and don't assign
31965 result to variable. Adjust all users.
31966 Define INTERNAL_GETTIME if not already defined.
31967 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31968 call.
31969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31970 HAVE_CLOCK_GETTIME_VSYSCALL.
31971 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31972
d53a73ac
UD
31973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31974 gettimeofday vsyscall, just use time.
31975
a8f84144
AS
319762011-09-06 Andreas Schwab <schwab@redhat.com>
31977
31978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31979 <errno.h>.
31980
ef606249
UD
319812011-09-06 Ulrich Drepper <drepper@gmail.com>
31982
31983 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31984 syscall on x86-64.
31985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31986 syscall.
31987 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31988 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31989 syscall if possible.
31990
6585cb60
UD
319912011-09-05 Ulrich Drepper <drepper@gmail.com>
31992
31993 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31994 e_ident. Don't pass to find_mapsXX.
31995 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31996
a5f524e4
LD
319972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31998
31999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32000 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32001 * sysdeps/x86_64/multiarch/strchr.S: Update.
32002 Check bit_slow_BSF bit.
32003 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32004 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32005 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32006
554881ef
UD
320072011-09-05 Ulrich Drepper <drepper@gmail.com>
32008
d96de963
UD
32009 [BZ #13134]
32010 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32011 before glibc 2.15.
32012 (tryshell): Define.
32013 (__spawni): Change last parameter to be flag. Test
32014 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32015 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32016 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32017 * posix/spawni.c: Likewise.
32018 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32019 * posix/spawnp.c: Likewise. Change normal version to use
32020 SPAWN_XFLAGS_USE_PATH.
32021 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32022 SPAWN_XFLAGS_TRY_SHELL.
32023
d48e5868
UD
32024 [BZ #13150]
32025 * posix/glob.h: Remove gcc 1.x support.
32026
554881ef
UD
32027 [BZ #13068]
32028 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32029
693fb948
LD
320302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32031
32032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32033 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32034 strrchr-sse2-bsf
32035 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32036 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32037 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32039 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32040 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32041
1b48c537
UD
320422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32043
49d42c37
UD
32044 * sysdeps/x86_64/wcscmp.S: New file.
32045
1b48c537
UD
32046 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32047 wcscmp-c wcscmp-sse2
32048 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32049 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32050 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32051 * wcsmbs/wcscmp.c: Allow renaming.
32052
15c95c5d
DM
320532011-09-05 David S. Miller <davem@davemloft.net>
32054
32055 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32056 stack slot, rather than the struct return pointer slot.
32057 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32058 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32060 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32061
2f0ad8f3
UD
320622011-09-05 Ulrich Drepper <drepper@gmail.com>
32063
d88ae418
UD
32064 * po/ja.po: Update from translation team.
32065
2f0ad8f3
UD
32066 [BZ #13144]
32067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32068 kernel in 64-bit binaries.
32069
5f4318d1
DM
320702011-09-01 David S. Miller <davem@davemloft.net>
32071
32072 * elf/elf.h (HWCAP_SPARC_*): Move to..
32073 * sysdeps/sparc/sysdep.h: this new file and add new values.
32074 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32075 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32076 _DL_HWCAP_COUNT to 24.
32077 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32078 entries.
32079 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32080 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32081 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32083 instead of magic constants.
32084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32085
3ba57516
DM
320862011-08-31 David S. Miller <davem@davemloft.net>
32087
32088 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32090 Reimplement to do errno handling inline.
32091 (SYSCALL_ERROR_HANDLER): New macro.
32092 (__SYSCALL_STRING): Do not do errno handling in asm.
32093 (__CLONE_SYSCALL_STRING): Delete.
32094 (__INTERNAL_SYSCALL_STRING): Delete.
32095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32096 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32097 (PSEUDO): Reimplement to do errno handling inline.
32098 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32099 (SYSCALL_ERROR_HANDLER): New macro.
32100 (__SYSCALL_STRING): Do not do errno handling in asm.
32101 (__CLONE_SYSCALL_STRING): Delete.
32102 (__INTERNAL_SYSCALL_STRING): Delete.
32103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32104 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32105 i386.
32106 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32107 (inline_syscall*): Add 'err' argument.
32108 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32109 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32110 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32111 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32112
32113 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32114 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32115
2bc17433
AS
321162011-08-30 Andreas Schwab <schwab@redhat.com>
32117
32118 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32119
fbeb5f4d
JO
321202011-08-29 Jiri Olsa <jolsa@redhat.com>
32121
32122 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32123 directive.
32124
ad69cc26
DM
321252011-08-24 David S. Miller <davem@davemloft.net>
32126
32127 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32128
39dd69df
AS
321292011-08-24 Andreas Schwab <schwab@redhat.com>
32130
32131 * elf/Makefile: Add rules to build and run unload8 test.
32132 * elf/unload8.c: New file.
32133 * elf/unload8mod1.c: New file.
32134 * elf/unload8mod1x.c: New file.
32135 * elf/unload8mod2.c: New file.
32136 * elf/unload8mod3.c: New file.
32137
32138 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32139 it wasn't used.
32140
2c0b250a
DM
321412011-08-23 David S. Miller <davem@davemloft.net>
32142
32143 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32144 subtract stack bias.
32145 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32146 %sp not %fp in calculations.
32147 (_JMPBUF_UNWINDS_ADJ): Likewise.
32148
22044b48
DM
32149 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32150 (aio_suspend): Call it to force an exception region around the
32151 AIO_MISC_WAIT() invocation.
32152
2cae4995
AS
321532011-08-23 Andreas Schwab <schwab@redhat.com>
32154
32155 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32156 backslash.
32157
873a772e
AJ
321582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32159
32160 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32161 protection macro.
32162 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32163 and <dl-machine.h>.
32164 (Elf64_FuncDesc): Remove.
32165
25ad0df1
DM
321662011-08-22 David S. Miller <davem@davemloft.net>
32167
32168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32169 sigaltstack check, add missing cfi directives.
32170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32171 missing cfi directives, and sigaltstack handling.
32172
e888bcbe
AS
321732011-08-16 Andreas Schwab <schwab@redhat.com>
32174
32175 [BZ #11724]
32176 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32177 object is seen twice.
32178 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32179
32180 * elf/Makefile (distribute): Add tst-initorder2.c.
32181 (tests): Add tst-initorder2.
32182 (modules-names): Add tst-initorder2a tst-initorder2b
32183 tst-initorder2c tst-initorder2d. Add rules to build them.
32184 ($(objpfx)tst-initorder2.out): New rule.
32185 * elf/tst-initorder2.c: New file.
32186 * elf/tst-initorder2.exp: New file.
32187
87162f46
AS
321882011-08-22 Andreas Schwab <schwab@redhat.com>
32189
70538b7f
AS
32190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32191
f55ffe58
AS
32192 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32193 dependencies back to end of function.
32194
87162f46
AS
32195 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32196 $(elfobjdir)/ld.so.
32197
91b392a4
UD
321982011-08-21 Ulrich Drepper <drepper@gmail.com>
32199
32200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32201 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32203 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32204 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32205 of __vdso_gettimeofday.
32206 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32207 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32208 attribute_hidden.
32209 (_libc_vdso_platform_setup): Remove initialization of
32210 __vdso_gettimeofday and __vdso_time.
32211
5c43483f
UD
322122011-08-20 Ulrich Drepper <drepper@gmail.com>
32213
775a77e7
UD
32214 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32215 and fgetc_unlocked.
32216 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32217 getc_unlocked.
89f447ed 32218
49c74ba9
UD
32219 * elf/dl-open.c (add_to_global): Report additions to the global scope
32220 for LD_DEBUG=scopes.
32221 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32222 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32223
5c43483f
UD
32224 [BZ #13114]
32225 * stdio-common/Makefile (tests): Add bug24.
32226 * stdio-common/bug24.c: New file.
32227
a101b025
AJ
322282011-08-19 Andreas Jaeger <aj@suse.de>
32229
32230 [BZ #13114]
32231 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32232 non-existant file when using close-on-exec mode.
32233
c88f1766
UD
322342011-08-20 Ulrich Drepper <drepper@gmail.com>
32235
0276a718
UD
32236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32237 the very first instruction.
32238
c88f1766
UD
32239 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32240 the CFI state in the end.
32241 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32242 inclusion of dl-trampoline.h.
32243 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32244
51ccffa0
AS
322452011-08-19 Andreas Schwab <schwab@redhat.com>
32246
94d7165f
AS
32247 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32248 expectations for long double.
32249
51ccffa0
AS
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32251 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32252
fd708658 322532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32254
32255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32256 artificual limit depends upon the system page size.
32257
44f0a71e
UD
322582011-08-17 Ulrich Drepper <drepper@gmail.com>
32259
32260 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32261 * resolv/Makefile: Define CFLAGS-libresolv.
32262
8de79a24
AS
322632011-08-17 Andreas Schwab <schwab@redhat.com>
32264
32265 * nss/makedb.c (compute_tables): Make variables used in nested
32266 function static.
32267
27724598
UD
322682011-08-17 Ulrich Drepper <drepper@gmail.com>
32269
c5305d88
UD
32270 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32271 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32272 if buffer was too small.
32273
27724598
UD
32274 * elf/pldd.c (main): Attach to all threads in the process.
32275 Rewrite /proc handling to use *at functions.
32276
076fe015
UD
322772011-08-16 Ulrich Drepper <drepper@gmail.com>
32278
174baab3
UD
32279 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32280 specifies first scope to show.
32281 (dl_open_worker): Update callers. Move printing scope of new
32282 object to before the relocation.
44f0a71e 32283 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32284 * sysdeps/generic/ldsodefs.h: Update declaration.
32285
076fe015
UD
32286 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32287 string for the scope number.
32288
a60df2c3
UD
322892011-08-14 Ulrich Drepper <drepper@gmail.com>
32290
32291 * nscd/servicescache.c (cache_addserv): Make sure written is always
32292 initialized.
32293
5e4287d1
RM
322942011-08-14 Roland McGrath <roland@hack.frob.com>
32295
85ae0589
RM
32296 * sysdeps/i386/i486/bits/atomic.h
32297 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32298 statement expression, so as to suppress "set but not used" warning.
32299 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32300
69f63097
RM
32301 * string/strncat.c (STRNCAT): Use prototype definition.
32302
675456ef
RM
32303 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32304 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32305 -Iprograms here.
32306 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32307 (localedef-modules): Add localedef.
32308 (locale-modules): Add locale.
32309
5e4287d1
RM
32310 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32311 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32312 to avoid a warning.
32313
9c96ff23
DM
323142011-08-14 David S. Miller <davem@davemloft.net>
32315
32316 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32317 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32318
f9ddf089
UD
323192011-08-13 Ulrich Drepper <drepper@gmail.com>
32320
44f0a71e 32321 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32322 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32323 * elf/rtld.c (dl_main): Set l_name of vDSO.
32324 Call _dl_show_scope when DL_DEBUG_SCOPES.
32325 (process_dl_debug): Recognize scopes flag and also set it for all.
32326 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32327 Declare _dl_show_scope.
32328
1dc27704
UD
32329 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32330 (do_dlopen): Pass caller_dlopen to dl_open.
32331 (__libc_dlopen_mode): Initialize caller_dlopen.
32332
f9ddf089
UD
32333 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32334 of libc. Make tolower call locale-independent. Optimize a bit by
32335 using isdigit instead of isalnum.
32336 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32337
9ac533d3
UD
323382011-08-12 Ulrich Drepper <drepper@gmail.com>
32339
32340 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32341 was a dependency or dynamically loaded.
32342
89edf2e9
UD
323432011-08-11 Ulrich Drepper <drepper@gmail.com>
32344
8e999d29
UD
32345 * intl/l10nflist.c: Allow architecture-specific pop function.
32346 * sysdeps/x86_64/l10nflist.c: New file.
32347
89edf2e9
UD
32348 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32349 classification.
32350
14d96785
AS
323512011-08-10 Andreas Schwab <schwab@redhat.com>
32352
32353 * include/dirent.h: Add libc_hidden_proto for scandirat and
32354 scandirat64. Don't declare __scandirat64.
32355 * dirent/scandirat.c: Add libc_hidden_def.
32356 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32357 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32358
6761ac04
DM
323592011-08-10 David S. Miller <davem@davemloft.net>
32360
32361 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32362 enum.
32363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32366
c55fbd1e
UD
323672011-08-09 Ulrich Drepper <drepper@gmail.com>
32368
32369 * Versions.def [libc]: Add GLIBC_2.15.
32370 * dirent/Makefile (routines): Add scandirat and scandirat64.
32371 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32372 GLIBC_2.15.
32373 * dirent/dirent.h: Declare scandirat and scandirat64.
32374 * dirent/scandirat.c: New file.
32375 * dirent/scandirat64.c: New file.
32376 * sysdeps/wordsize-64/scandirat.c: New file.
32377 * sysdeps/wordsize-64/scandirat64.c: New file.
32378 * dirent/opendir.c: Define opendirat.
32379 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32380 using scandirat.
32381 * dirent/scandir64.c: Adjust for scandir.c change.
32382 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32383 __scandirat64, and __scandir_cancel_handler.
32384 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32385 additional parameter and use openat instead of open (outside of ld.so).
32386 Add new __opendir as wrapper around __opendirat.
32387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32388 here without requiring old scandirat implementation.
32389
879165f2
UD
323902011-08-08 Ulrich Drepper <drepper@gmail.com>
32391
32392 * dirent/scandir.c (cancel_handler): Renamed to
32393 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32394 defined. Adjust users.
32395 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32396 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32397
cb7e923b
UD
323982011-08-04 Ulrich Drepper <drepper@gmail.com>
32399
16292edd
UD
32400 * string/test-string.h (IMPL): Use __STRING to expand name and then
32401 stringify it.
32402
cb7e923b
UD
32403 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32404 of cleanups.
32405
cff82933
LD
324062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32407
32408 * string/Makefile: Update.
32409 (strop-tests): Append strncat.
32410 * string/test-wcscmp.c: New file.
32411 New comprehensive test for wcscmp.
32412 * string/test-strcmp.c: Update.
32413 (WIDE): New define.
32414
9be9bfcc
AS
324152011-07-22 Andreas Schwab <schwab@redhat.com>
32416
32417 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32418 line.
32419
2e96f1c7
AS
324202011-07-26 Andreas Schwab <schwab@redhat.com>
32421
32422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32423 encoding to ACE if AI_IDN.
32424
85188888
JJ
324252011-08-01 Jakub Jelinek <jakub@redhat.com>
32426
32427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32428 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32429
5fa16e9b
LD
324302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32431
32432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32433 Fix overflow bug in strncat.
32434 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32435
32436 * string/test-strncat.c: Update.
32437 Add new tests for checking overflow bugs.
32438
324392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32440
32441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32442 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32443 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32444 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32446 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32447 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32448 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32449 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32450
32451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32452 (USE_AS_STRCAT): Define.
32453 Add strcat and strncat support.
32454 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32455
8c1a459f
AS
324562011-07-25 Andreas Schwab <schwab@redhat.com>
32457
32458 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32459 __n bigger than INT_MAX+1.
32460 (__strncmp_g): Likewise.
32461
bba33c28
UD
324622011-07-23 Ulrich Drepper <drepper@gmail.com>
32463
798be72d
UD
32464 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32465 * libio/stido.h: Likewise.
32466
8accd4dc
UD
32467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32468 (AF_NFC): Define.
32469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32470 (AF_NFC): Define.
32471
cbff0d96
UD
32472 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32475 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32477
9191c04a
UD
32478 [BZ #13021]
32479 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32480 installed.
32481
bba33c28
UD
32482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32483 typo.
32484 (_dl_x86_64_save_sse): Likewise.
32485
90f139dd
UD
324862011-07-22 Ulrich Drepper <drepper@gmail.com>
32487
1aae088a
UD
32488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32489 OSXSAVE.
32490 (_dl_x86_64_save_sse): Likewise.
32491
8e2045f5
UD
32492 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32493
90f139dd
UD
32494 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32495
1d002f25
AS
324962011-07-21 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32499 change.
32500 (_dl_x86_64_save_sse): Use correct AVX check.
32501
21137f89
UD
325022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32503
32504 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32505 bug in strncpy/strncat.
32506 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32507
a65c0b7a
UD
325082011-07-21 Ulrich Drepper <drepper@gmail.com>
32509
32510 * string/tester.c (test_strcat): Add tests for different alignments
32511 of source and destination.
32512 (test_strncat): Likewise.
32513
6986b98a
UD
325142011-07-20 Ulrich Drepper <drepper@gmail.com>
32515
90bb2039
UD
32516 [BZ #12852]
32517 * posix/glob.c (glob): Check passed in values before using them in
32518 expressions to avoid some overflows.
32519 (glob_in_dir): Likewise.
32520
5644ef54
UD
32521 [BZ #13007]
32522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32523 check for AVX enablement so that we don't crash with old kernels and
32524 new hardware.
32525 * elf/tst-audit4.c: Add same checks here.
32526 * elf/tst-audit6.c: Likewise.
32527
32528 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32529
bfc9dc9b
AS
325302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32531
32532 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32533
702e64bb
UD
325342011-07-20 Ulrich Drepper <drepper@gmail.com>
32535
32536 * po/cs.po: Update from translation team.
32537 * po/bg.po: Likewise.
32538
295e904f
MP
325392011-07-12 Marek Polacek <mpolacek@redhat.com>
32540
32541 * misc/sys/cdefs.h: Add support for const attribute.
32542 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32543 to gnu_dev_{major,minor,makedev} functions.
32544
3ff94596
MP
325452011-07-20 Marek Polacek <mpolacek@redhat.com>
32546
32547 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32548
28b59fca
AS
325492011-07-20 Andreas Schwab <schwab@redhat.com>
32550
32551 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32552 strlen results.
32553
19df733e
AK
325542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32555
32556 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32557 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32558 register in order to avoid conflicts with the soft frame pointer
32559 being held in r11 when necessary.
32560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32561 (INTERNAL_VSYSCALL_NCS): Likewise.
32562
c8835729
MP
325632011-07-14 Marek Polacek <mpolacek@redhat.com>
32564
32565 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32566 * elf/dl-fini.c (_dl_fini): Adjust caller.
32567 * elf/dl-close.c (_dl_close_worker): Likewise.
32568 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32569
b902330c
MP
325702011-07-15 Marek Polacek <mpolacek@redhat.com>
32571
8991e135
MP
32572 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32573 "aux_cache->nlibs < 0".
32574
b902330c
MP
32575 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32576 in the reload-count case.
32577
99710781
LD
325782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32579
32580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32581 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32582 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32583 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32584 * sysdeps/x86_64/multiarch/strcat.S: New file.
32585 * sysdeps/x86_64/multiarch/strncat.S: New file.
32586 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32587 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32588 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32589 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32591 (USE_AS_STRCAT): Define.
32592 Add strcat and strncat support.
32593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32595 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32596 * string/strncat.c: Update.
32597 (USE_AS_STRNCAT): Define.
32598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32599 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32600 and i7.
32601 * sysdeps/x86_64/multiarch/init-arch.h
32602 (bit_Prefer_PMINUB_for_stringop): New.
32603 (index_Prefer_PMINUB_for_stringop): Likewise.
32604 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32605 bit_Prefer_PMINUB_for_stringop.
32606
7dc6bd90
UD
326072011-07-19 Ulrich Drepper <drepper@gmail.com>
32608
32609 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32610 buffer64.
32611 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32612 of casting of buffer.
32613 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32614 buffer32 and buffer64.
32615 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32616 writes instead of casting of buffer.
32617 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32618 buffer32.
32619 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32620 casting of buffer.
32621
e0e72284
AS
326222011-07-19 Andreas Schwab <schwab@redhat.com>
32623
32624 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32625
feb1eb0b
UD
326262011-07-19 Ulrich Drepper <drepper@gmail.com>
32627
32628 * nscd/nscd.c (termination_handler): Don't do anything for a database
32629 if it has not yet been initialized.
32630
298711ff
UD
326312011-07-18 Ulrich Drepper <drepper@gmail.com>
32632
32633 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32634
326352011-07-15 Marek Polacek <mpolacek@redhat.com>
32636
32637 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32638
f9d68389
UD
326392011-07-18 Ulrich Drepper <drepper@gmail.com>
32640
32641 * po/nl.po: Update from translation team.
32642 * po/sv.po: Likewise.
32643
db290cf5
RM
326442011-07-16 Roland McGrath <roland@hack.frob.com>
32645
32646 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32647 now disallowed by GCC.
5c550700 32648
fd5e21c7
RM
32649 * configure.in (use-default-link): Default to yes if a test -shared
32650 link meets our qualifications.
32651 * configure: Regenerated.
32652
5c550700
RM
32653 * config.make.in (output-format): New variable.
32654 * configure.in: Check for ld --print-output-format support.
32655 * configure: Regenerated.
32656 * Makerules ($(common-objpfx)format.lds)
32657 [$(output-format) != unknown]: Just use $(output-format),
32658 instead of the linker-script munging.
32659
9fa2c032
RM
326602011-07-14 Roland McGrath <roland@hack.frob.com>
32661
a6928d51
RM
32662 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32663 of $(common-objpfx)shlib.lds.
32664 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32665
661607b3
RM
32666 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32667 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32668
9fa2c032
RM
32669 * configure.in (-z relro check): Adjust test code to add a large
32670 writable data section after it.
32671 * configure: Regenerated.
32672
defe9061
RM
326732011-07-11 Roland McGrath <roland@hack.frob.com>
32674
32675 * configure.in (-z relro check): Fix test code to make the variable
32676 truly const.
32677 * configure: Regenerated.
32678
319b9ad4
UD
326792011-07-11 Ulrich Drepper <drepper@gmail.com>
32680
32681 * nscd/nscd.h (struct traced_file): Define.
32682 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32683 elements. Add traced_files.
32684 (inotify_fd): Declare.
32685 (register_traced_file): Declare.
32686 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32687 (inotify_fd): Export.
32688 (resolv_conf_descr): Remove.
32689 (nscd_init): Move inotify descriptor creation to main.
32690 Don't register files for notification here.
32691 (register_traced_file): New function.
32692 (invalidate_cache): Don't use reset_res to determine whether to call
32693 res_init, go through the list of registered files.
32694 (main_loop_poll): The inotify descriptors are now stored in the
32695 structures for the traced files.
32696 (main_loop_epoll): Likewise
32697 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32698 to __nss_disable_nscd.
32699 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32700 for a database anymore. Check the records for all the registered
32701 files instead.
32702 * nss/Makefile (libnss_files-routines): Add files-init.
32703 (libnss_db-routines): Add db-init.
32704 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32705 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32706 * nss/nss_db/db-init.c: New file.
32707 * nss/nss_files/files-init.c: New file.
32708 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32709 __nss_lookup_function.
32710 (__nss_lookup_function): Call nss_load_library.
32711 (nss_load_all_libraries): New function.
32712 (__nss_disable_nscd): Take parameter with callback function for files
32713 to register. Set is_nscd. Load all the DSOs for the NSS modules
32714 used for the cached services.
32715 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32716 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32717 options for features to all the files in nscd.
32718
32719 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32720
23bee3e8
RM
327212011-07-10 Roland McGrath <roland@hack.frob.com>
32722
32723 * csu/elf-init.c (__libc_csu_init): Comment typo.
32724
46a5b7f0
UD
327252011-07-09 Ulrich Drepper <drepper@gmail.com>
32726
32727 * po/pl.po: Update from translation team.
32728 * po/ja.po: Likewise.
32729 * po/ru.po: Likewise.
32730 * po/ko.po: Likewise.
32731 * po/fr.po: Likewise.
32732
d30cf5bb
RM
327332011-07-09 Roland McGrath <roland@hack.frob.com>
32734
113ddea4
RM
32735 * configure.in (.ctors/.dtors header and trailer check):
32736 Use an empirical test on a built program.
32737 * configure: Regenerated.
32738
574920b4
RM
32739 * configure.in (-z relro check): Use an empirical test on a built DSO.
32740 Detect, but do not require, on ia64.
32741 * configure: Regenerated.
32742
d30cf5bb
RM
32743 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32744 Update tests that use readelf to use $READELF instead.
32745 * configure: Regenerated.
32746
8538fdb3
UD
327472011-07-08 Ulrich Drepper <drepper@gmail.com>
32748
32749 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32750 if the result is not used.
32751
04d08991
AJ
327522011-07-05 Andreas Jaeger <aj@suse.de>
32753
32754 [BZ#9696]
32755 * stdlib/tst-strtod.c: Add testcase.
32756
de283087
AD
327572011-07-07 Ulrich Drepper <drepper@gmail.com>
32758
4e5f31c8 32759 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32760 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32761 The latter has a higher limit. Take additional parameter to pass to
32762 the new function.
32763 (__pathconf): Pass file to __statfs_link_max.
32764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32765 __statfs_link_max.
32766 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32767 __statfs_link_max.
32768
de283087
AD
32769 [BZ #12868]
32770 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32772 Handle Lustre.
32773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32774 (__statfs_filesize_max): Likewise.
32775 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32776
c75fa153
AJ
327772011-07-05 Andreas Jaeger <aj@suse.de>
32778
32779 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32780
1a544854
UD
327812011-07-06 Marek Polacek <mpolacek@redhat.com>
32782
32783 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32784 `status' variable.
32785 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32786 Likewise.
32787
6f0eec67
UD
327882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 * Makefile (strop-tests): Add strncat.
32791 * string/test-strncat.c: New file.
32792
aae30307
UD
327932011-06-30 Marek Polacek <mpolacek@redhat.com>
32794
32795 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32796
c0cfb5eb
UD
327972011-06-21 Andreas Jaeger <aj@suse.de>
32798
32799 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32800 Copy rule from iconvdata/Makefile.
32801
01636b21
UD
328022011-07-06 Ulrich Drepper <drepper@gmail.com>
32803
32804 [BZ #12922]
32805 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32806 but no long options are defined, just return 'W'.
32807
9895c8bc
UD
328082011-06-22 Marek Polacek <mpolacek@redhat.com>
32809
32810 [BZ #9696]
32811 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32812
5d4cf042
UD
328132011-07-06 Ulrich Drepper <drepper@gmail.com>
32814
32815 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32816 netgroups to read.
960e5535 32817 (innetgr): Likewise.
5d4cf042 32818
751eb97e
RM
328192011-07-05 Roland McGrath <roland@hack.frob.com>
32820
32821 * config.make.in (install_root): Default to $(DESTDIR).
32822
f15f1e45
UD
328232011-07-05 Ulrich Drepper <drepper@gmail.com>
32824
32825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32826
4e34ac6a
RM
328272011-07-02 Roland McGrath <roland@hack.frob.com>
32828
5e9b6af4
RM
32829 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32830
84f9ea0f
RM
32831 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32832 containing directory rather than embedding absolute directory names.
32833
ea5ee9f7
RM
32834 * scripts/check-local-headers.sh: Rewritten using awk.
32835 Match by word, not by line. Print error messages for matches.
32836 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32837
1b74661a
RM
32838 * Makerules [shlib-lds-flags empty]:
32839 ($(common-objpfx)libc_pic.opts): New target.
32840 ($(common-objpfx)libc_pic.os.clean): New target.
32841 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32842
32843 * config.make.in (OBJCOPY): New variable.
32844 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32845 * configure: Regenerated.
32846
f781ef40
RM
32847 * config.make.in (use-default-link): New variable.
32848 * configure.in (use_default_link): Grok --with-default-link to set it.
32849 * configure: Regenerated.
32850 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32851 (shlib-lds, shlib-lds-flags): Define to empty.
32852
2d4fa81e
RM
32853 * Makerules (shlib-lds): New variable.
32854 (shlib-lds-flags): New variable.
32855 (build-shlib, build-moduile, build-module-asneeded): Use it.
32856 ($(common-objpfx)libc.so): Use $(shlib-lds).
32857 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32858 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32859
31fffa6b
RM
32860 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32861 DT_FLAGS/DT_FLAGS_1 with zero flags.
32862
4e34ac6a
RM
32863 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32864 linker script munging.
32865
fcfc776b
UD
328662011-07-02 Ulrich Drepper <drepper@gmail.com>
32867
32868 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32869 as 128-bit value.
32870 * crypt/sha512.c (sha512_process_block): Perform total addition using
32871 128-bit if possible.
32872 (__sha512_finish_ctx): Likewise.
32873 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32874 as 64-bit value.
32875 * crypt/sha256.c (SWAP64): Define.
32876 (sha256_process_block): Perform total addition using 64-bit if
32877 possible.
32878 (__sha256_finish_ctx): Likewise.
32879
99231d9a
UD
328802011-07-01 Ulrich Drepper <drepper@gmail.com>
32881
32882 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32883 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32884 * nscd/hstcache.c (cache_addhst): Likewise.
32885 * nscd/grpcache.c (cache_addgr): Likewise.
32886 * nscd/aicache.c (addhstaiX): Likewise
32887 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32888
445b4a53
TK
328892011-07-01 Thorsten Kukuk <kukuk@suse.de>
32890
32891 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32893 * nscd/hstcache.c (cache_addhst): Likewise.
32894 * nscd/grpcache.c (cache_addgr): Likewise.
32895 * nscd/aicache.c (addhstaiX): Likewise
32896
6d4d8e8e
AS
328972011-07-01 Andreas Schwab <schwab@redhat.com>
32898
32899 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32900 domain only when needed.
32901
89f654c5
AS
329022011-06-30 Andreas Schwab <schwab@redhat.com>
32903
32904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32905 is always restored.
32906
cf3b23ff
UD
329072011-06-29 Ulrich Drepper <drepper@gmail.com>
32908
32909 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32910 are re-adding the entry.
32911 * nscd/servicescache.c (cache_addserv): Likewise.
32912
751626f9
AJ
329132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32914
32915 * sysdeps/generic/dl-irel.h: fix protection against multiple
32916 inclusions.
32917 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32918
9113ea1f
UD
329192011-06-28 Ulrich Drepper <drepper@gmail.com>
32920
5c0b8d90
UD
32921 [BZ #12935]
32922 * malloc/memusage.sh: Fix quoting in message.
32923 * debug/xtrace.sh: Likewise.
32924
9113ea1f
UD
32925 * configure.in: Remove support for --experimental-malloc option, make
32926 it the default.
32927 * config.make.in: Likewise.
32928 * malloc/Makefile: Likewise.
32929
a4172181
AS
329302011-06-27 Andreas Schwab <schwab@redhat.com>
32931
32932 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32933 two-byte characters.
32934
78a7eee7
RM
329352011-06-27 Roland McGrath <roland@hack.frob.com>
32936
62bede13
RM
32937 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32938 AC_CACHE_CHECK invocation.
32939 * configure: Regenerated.
32940
78a7eee7
RM
32941 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32942
5ce33a62
UD
329432011-06-27 Ulrich Drepper <drepper@gmail.com>
32944
034807a9
UD
32945 [BZ #12350]
32946 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32947 bit from old_res_options.
32948
4902da17
UD
32949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32950
5ce33a62
UD
32951 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32952 value type for setfct.
32953
c2344f56
L
329542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32955
32956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32957 __gettimeofday instead of gettimeofday.
32958
68468076
UD
329592011-06-26 Ulrich Drepper <drepper@gmail.com>
32960
32961 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32962
acb0d739
L
329632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32964
32965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32966
32967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32968 info.
32969
8912479f
L
329702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32971
32972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32973 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32974 strcpy-sse2-unaligned strncpy-sse2-unaligned
32975 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32976 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32977 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32978 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32979 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32980 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32981 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32982 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32983 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32984 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32985 (STRCPY): Support SSE2 and SSSE3 versions.
32986
d5495a11
UD
329872011-06-24 Ulrich Drepper <drepper@gmail.com>
32988
32989 [BZ #12874]
32990 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32991 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32992 kernels which artificially limit size of requests.
32993
0b1cbaae
L
329942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32995
32996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32997 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32998 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32999 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33000 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33001 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33002 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33003 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33006 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33007 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33008 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33009 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33010 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33012 Enable unaligned load optimization for Intel Core i3, i5 and i7
33013 processors.
33014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33015 Define.
33016 (index_Fast_Unaligned_Load): Define.
33017 (HAS_FAST_UNALIGNED_LOAD): Define.
33018
07f494a0
MP
330192011-06-23 Marek Polacek <mpolacek@redhat.com>
33020
33021 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33022
fa3fc0fe
UD
330232011-06-22 Ulrich Drepper <drepper@gmail.com>
33024
33025 [BZ #12907]
33026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33027 until it is clear that the information is realy needed.
33028 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33029
e12df166
AS
330302011-06-22 Andreas Schwab <schwab@redhat.com>
33031
33032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33033
852eb34d
UD
330342011-06-22 Ulrich Drepper <drepper@gmail.com>
33035
84e2a551
UD
33036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33037 /sys/devices/system/cpu/online if it is usable.
33038
852eb34d
UD
33039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33040 reading the information from the /proc filesystem to once a second.
33041
6e502e19
UD
330422011-06-21 Andreas Jaeger <aj@suse.de>
33043
33044 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33045 NULL after inclusion of kernel headers.
33046
75d39ff2
UD
330472011-06-21 Ulrich Drepper <drepper@gmail.com>
33048
51f9aa6a
UD
33049 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33050 calls to internal_setent.
33051
c0244a9d
UD
33052 [BZ #12885]
33053 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33054 addresses using gethostbyname4_r ignore IPv4 addresses.
33055
c5e3c2ae
UD
33056 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33057 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33058
75d39ff2
UD
33059 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33060
42675c6f
DM
330612011-06-20 David S. Miller <davem@davemloft.net>
33062
33063 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33064 inclusions.
33065 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33066
33067 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33068 (elf_irel): Use it.
33069 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33070 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33071 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33072 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33073 * sysdeps/x86_64/dl-irel.h: Likewise.
33074
33075 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33076 * elf/dl-sym.c: Likewise.
33077
57912a71
UD
330782011-06-15 Ulrich Drepper <drepper@gmail.com>
33079
33080 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33081 need to dereference resplen2.
33082
ee22793d
AS
330832011-06-14 Andreas Schwab <schwab@redhat.com>
33084
33085 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33086
a9e836b0
UD
330872011-06-15 Ulrich Drepper <drepper@gmail.com>
33088
77fb9117
UD
33089 * Makeconfig: Define vardbdir and inst_vardbdir.
33090 * nss/Makefile: Add rules to install db-Makefile.
33091
40c1b22c
UD
33092 * nss/nss_db/db-XXX.c: Cleanup.
33093
9f2da732
UD
33094 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33095 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33096 GLIBC_PRIVATE.
33097 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33098 * nss/makedb.c: Implement -g option to specify that value strings
33099 are generated and should not be added to table iterated over for
33100 get*ent calls.
33101 * nss/nss_db/db-initgroups.c: New file.
33102
82e9a1f7
UD
33103 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33104 interface.
33105
c41af17e
UD
33106 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33107 (internal_getgrouplist): Adjust to name change.
33108 Update use_initgroups_entry if this is not the first call.
33109 * nss/databases.def: Add initgroups entry.
33110
a9e836b0
UD
33111 * nss/makedb.c (compute_tables): Check result of multiple hash table
33112 sizes to minimize maximum chain length.
33113
2666d441
UD
331142011-06-14 Ulrich Drepper <drepper@gmail.com>
33115
33116 * Versions.def: Add entry for libnss_db.
33117 * shlib-versions: Likewise.
33118 * nss/Makefile: Add rules to build libnss_db.
33119 * nss/Versions: Add libnss_db information. Organize libnss_files
33120 entries better.
33121 * nss/db-Makefile: Add gshadow support. Change rules for the new
33122 makedb progra. Some minor improvements to generate smaller files.
33123 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33124 here from...
33125 * nss/makedb.c: ...here.
33126 Improve database format to be smaller and require less memory at
33127 runtime.
33128 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33129 db anymore.
33130 * nss/nss_db/db-netgrp.c: Likewise.
33131 * nss/nss_db/db-open.c: Likewise.
33132 * nss/nss_files/flies-XXX.x: Adjust comments.
33133 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33134 * nss/nss_files/files-grp.c: Likewise.
33135 * nss/nss_files/files-hosts.c: Likewise.
33136 * nss/nss_files/files-network.c: Likewise.
33137 * nss/nss_files/files-proto.c: Likewise.
33138 * nss/nss_files/files-pwd.c: Likewise.
33139 * nss/nss_files/files-rpc.c: Likewise.
33140 * nss/nss_files/files-service.c: Likewise.
33141 * nss/nss_files/files-sgrp.c: Likewise.
33142 * nss/nss_files/files-spwd.c: Likewise.
33143 * nss/nss_db/db-alias.c: Removed.
33144 * nss/nss_db/dummy-db.h: Removed.
33145
9ee76b5a
UD
331462011-06-02 Ulrich Drepper <drepper@gmail.com>
33147
33148 * nss/makedb.c: Rewritten to not use database library.
33149 * nss/Makefile: Update to build new makedb program.
33150
c71ca1f8
AJ
331512011-06-14 Andreas Jaeger <aj@suse.de>
33152
33153 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33154 memset declaration.
33155
3154bfb8
UD
331562011-06-10 Andreas Schwab <schwab@redhat.com>
33157
33158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33159 tmpbuf.
33160
b350afab
RM
331612011-06-10 Roland McGrath <roland@hack.frob.com>
33162
decd4e50
RM
33163 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33164 * elf/Makefile ($(objpfx)ld.so): Likewise.
33165
5615eaf2
RM
33166 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33167 Don't list ld.so twice in dependencies.
33168
33169 * posix/bug-regex31.c: Include <stdlib.h>.
33170
33171 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33172
33173 * nis/nss_compat/compat-spwd.c
33174 (getspent_next_nss_netgr): Remove unused variable.
33175 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33176
33177 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33178 nonmembers" output to use the right array.
33179
33180 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33181
33182 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33183
33184 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33185 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33186 * catgets/gencat.c (read_input_file): Likewise.
33187 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33188
33189 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33190 variable definition inside #if's controlling its use.
33191
33192 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33193
33194 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33195
33196 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33197
33198 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33199 unreachable code.
33200
33201 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33202
b68e08db
RM
33203 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33204 * configure: Regenerated.
33205
b350afab
RM
33206 * Makerules: Revert last change.
33207 * elf/Makefile: Likewise.
33208
28368601
RM
332092011-06-09 Roland McGrath <roland@hack.frob.com>
33210
33211 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33212 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33213 (reloc-link): Likewise.
33214
11988f8f
UD
332152011-06-09 Ulrich Drepper <drepper@gmail.com>
33216
33217 * elf/Makefile: Add rules to build pldd.
33218 * elf/pldd.c: New file.
33219 * elf/pldd-xx.c: New file.
33220
e80fab37
UD
332212011-06-07 Ulrich Drepper <drepper@gmail.com>
33222
33223 * version.h: Update for 2.15 development version.
33224
9b849836
DM
332252011-06-07 David S. Miller <davem@davemloft.net>
33226
33227 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33228 ifuncs.
33229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33230 elf_machine_lazy_rel): Likewise.
33231 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33233 elf_machine_lazy_rel): Likewise.
33234 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33235 dl_hwcap via passed in argument.
33236 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33237 Likewise.
33238
5a31b283
AK
332392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33240
33241 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33242
069e52f8
RM
332432011-06-06 Roland McGrath <roland@hack.frob.com>
33244
33245 [BZ #12849]
33246 * manual/fdl-1.1.texi: New file, verbatim from:
33247 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33248 * manual/lgpl-2.1.texi: New file, verbatim from:
33249 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33250 * manual/Makefile (licenses): New variable, list those new file names.
33251 (texis): Use it.
33252 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33253
33254 * manual/fdl.texi: File removed.
33255 * manual/lesser.texi: File removed.
33256 * manual/libc.texinfo (Copying, Documentation License):
33257 Use new @include file names, put @appendix directive before @include.
33258
f16846a5
JJ
332592011-06-04 Jakub Jelinek <jakub@redhat.com>
33260
33261 [BZ #12841]
33262 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33263 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33264 (mq_open): Add __NTH.
33265
3d29045b
L
332662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33267
33268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33269 Assume Intel Core i3/i5/i7 processor if AVX is available.
33270
8c297311
UD
332712011-05-31 Ulrich Drepper <drepper@gmail.com>
33272
33273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33274 typo.
33275
c8fc0c91
UD
332762011-05-31 Andreas Schwab <schwab@redhat.com>
33277
33278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33279 memory. Use alloca_account. Fix memory leak when retrying.
33280
5b27a807
UD
332812011-05-31 Ulrich Drepper <drepper@gmail.com>
33282
356f8bc6
UD
33283 * version.h (RELEASE): Bump for 2.14 release.
33284 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33285
5b27a807
UD
33286 * config.make.in (RANLIB): Remove entry.
33287
01f16ab0
UD
332882011-05-30 Ulrich Drepper <drepper@gmail.com>
33289
41fce8bd
UD
33290 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33291 (libc.pot): Work around missing support for .ksh extension in xgettext.
33292
4769ae77
UD
33293 [BZ #12684]
33294 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33295 if both request failed.
33296 (send_dg): In case of server errors clear resplen or *resplen2.
33297
6b1e7d19
UD
33298 [BZ #12454]
33299 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33300 when there are multiple maps.
33301 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33302 (_dl_fini): Remove test here.
33303
01f16ab0
UD
33304 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33305
b1ebd700
UD
333062011-05-29 Ulrich Drepper <drepper@gmail.com>
33307
7ae22829
UD
33308 [BZ #12350]
33309 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33310 bit from old_res_options.
33311 (gaih_inet): Likewise.
33312
553149f6 33313 [BZ #11099]
18a84741 33314 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33315 as signed.
33316
652ffab1
UD
33317 * resolv/res_init.c (res_setoptions): Make the code more compact.
33318
16985fd0
UD
33319 [BZ #11558]
33320 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33321 set RES_USEVC.
33322
0464f746
UD
33323 [BZ #11634]
33324 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33325
7d17596c
UD
33326 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33327
cf6bbbd7
UD
33328 [BZ #11781]
33329 * malloc/malloc.h: Declare malloc hook variables as volatile.
33330
13f1ab36
UD
33331 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33332 in last patch.
33333
b1ebd700
UD
33334 [BZ #11799]
33335 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33336 raise in the comment.
80e2212d
UD
33337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33339 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33340
ce67228d
UD
333412011-05-28 Ulrich Drepper <drepper@gmail.com>
33342
8887a920
UD
33343 [BZ #12811]
33344 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33345 grow the buffers more if it already has to be sufficient.
33346 (build_wcs_upper_buffer): Likewise.
33347 * posix/regexec.c (check_matching): Likewise.
33348 (clean_state_log_if_needed): Likewise.
33349 (extend_buffers): Don't enlarge buffers beyond size of the input
33350 buffer.
33351 Patches mostly by Emil Wojak <emil@wojak.eu>.
33352 * posix/bug-regex32.c: New file.
33353 * posix/Makefile (tests): Add bug-regex32.
33354
4f031072
UD
33355 * locale/findlocale.c (_nl_find_locale): Return right away if
33356 _nl_explode_name failed.
33357 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33358
d0478f0c
UD
33359 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33360
de81b246
UD
33361 * debug/xtrace.sh: Unify messages.
33362 * malloc/memusage.sh: Likewise.
33363
c738465a
UD
33364 [BZ #12813]
33365 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33366 time symbol from vDSO. Substitute with vsyscall if not available.
33367 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33368 __vdso_time.
33369
f1f929d7
UD
33370 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33371 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33372 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33373 Add sendmmsg and internal_sendmmsg.
33374 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33375 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33377
ce67228d
UD
33378 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33379 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33381
e57420c6
UD
333822011-05-27 Ulrich Drepper <drepper@gmail.com>
33383
a8509ca5
UD
33384 [BZ #12813]
33385 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33386 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33387 available.
33388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33389 __vdso_getcpu.
33390
e57420c6
UD
33391 [BZ #12814]
33392 * iconvdata/Makefile (tests): Add bug-iconv9.
33393 * iconvdata/bug-iconv9.c: New file.
33394
4d07db15
AS
333952011-05-27 Andreas Schwab <schwab@redhat.com>
33396
33397 [BZ #12814]
33398 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33399
ea486f69
JJ
334002011-05-25 Jakub Jelinek <jakub@redhat.com>
33401
33402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33403 (struct user_regs_struct): Change intcs field back to cs.
33404
6f038433
UD
334052011-05-25 Ulrich Drepper <drepper@gmail.com>
33406
33407 * po/ja.po: Update from translation team.
33408
67f86a25
UD
334092011-05-23 Ulrich Drepper <drepper@gmail.com>
33410
33411 [BZ #12795]
33412 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33414
def7fbd6
AS
334152011-05-20 Andreas Schwab <schwab@redhat.com>
33416
33417 * stdlib/longlong.h: Update from GCC.
33418
f50ef8f1
AS
334192011-05-23 Andreas Schwab <schwab@redhat.com>
33420
33421 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33422 parameter name.
33423 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33424 Add parameter name.
33425 (__sysconf): Pass it down.
33426
de7ce8f1
UD
334272011-05-22 Ulrich Drepper <drepper@gmail.com>
33428
f2962a71
UD
33429 [BZ #12671]
33430 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33431 some situations.
33432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33433 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33434 add in in __libc_use_alloca calls. Adjust callers.
33435 (glob): Use malloc in some situations.
33436
de7ce8f1
UD
33437 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33438 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33439 pltexit.
33440
aec84f53
UD
334412011-05-21 Ulrich Drepper <drepper@gmail.com>
33442
05bb4a68
UD
33443 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33444 and CLOCK_BOOTTIME_ALARM.
33445
7ea72f99
UD
33446 [BZ #12782]
33447 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33448 is returned.
33449
7e4afad5
UD
33450 * string/_strerror.c (__strerror_r): Print negative errors as signed
33451 numbers.
33452
8e211fec
UD
33453 [BZ #12777]
33454 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33455 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33456 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33457
f7d82dc9
UD
33458 * configure.in: Fix typo in redirection and correct removal of test
33459 files in two cases.
33460
cc9e536d
UD
33461 [BZ #12788]
33462 * locale/setlocale.c (new_composite_name): Fix test to check for
33463 identical name of all categories.
33464
aec84f53
UD
33465 [BZ #12792]
33466 * libio/filedoalloc.c (local_isatty): New function.
33467 (_IO_file_doallocate): Use local_isatty.
33468 * stdio-common/perror.c (perror): In case a new stream is used
33469 forward the stream error.
33470 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33471 error flag.
33472
78e64fdc
RT
334732011-05-20 Ulrich Drepper <drepper@gmail.com>
33474
34a9094f
UD
33475 [BZ #11869]
33476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33477 alloca.
33478 * include/alloca.h (extend_alloca_account): Define.
33479
78e64fdc
RT
33480 [BZ #11857]
33481 * posix/regex.h: Fix comments with documentation of user-accessible
33482 fields after compilation and describe correct free'ing of pattern
33483 after re_compile_pattern.
33484 Patch by Reuben Thomas <rrt@sc3d.org>.
33485
457bddfc
RA
334862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33487
33488 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33489 and -mno-altivec to prevent the compiler from using Altivec and/or
33490 VSX instructions when the corresponding registers are not available.
33491
a4527b51
AS
334922011-05-19 Andreas Schwab <schwab@redhat.com>
33493
33494 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33495
ed690b2f
UD
334962011-05-19 Ulrich Drepper <drepper@gmail.com>
33497
33498 * libio/freopen.c (freopen): Use __dup2, not dup2.
33499 * libio/freopen64.c (freopen64): Likewise.
33500
8db73634
L
335012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33502
33503 [BZ #12775]
33504 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33505 * math/Makefile (tests): Add test-powl.
33506 (CFLAGS-test-powl.c): Define.
33507 * math/test-powl.c: New file.
33508
0a197a9d
L
335092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33510
33511 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33512
ee30c380
UD
335132011-05-17 Ulrich Drepper <drepper@gmail.com>
33514
33515 [BZ #11837]
33516 * iconvdata/gb18030.c: Update to GB18020-2005.
33517
6ce75379
UD
335182011-05-16 Ulrich Drepper <drepper@gmail.com>
33519
a4b89fd8
AR
33520 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33521 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33522 Patch by Aharon Robbins <arnold@skeeve.com>.
33523
ea389b12
UD
33524 [BZ #11892]
33525 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33526 on the stack.
33527
68a3f91f
UD
33528 [BZ #11895]
33529 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33530 through underflows.
33531
15cc7dd1
UD
33532 [BZ #12766]
33533 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33534 point to strings before performing equality test for error_one_per_line
33535 mode.
33536
f3799213
UD
33537 [BZ #11697]
33538 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33539
d79a9c94
UD
33540 [BZ #11820]
33541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33542 (struct user_fpregs_struct): Avoid __uint*_t types.
33543
56e5eb46
UD
33544 [BZ #6420]
33545 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33546 symbol info. Use it instead of calling _dl_addr locally.
33547 (lock_and_info): New function.
33548 (tr_freehook): Call lock_and_info and pass symbol info as additional
33549 parameter to tr_where.
33550 (tr_mallochook): Likewise.
33551 (tr_reallochook): Likewise.
33552 (tr_memalignhook): Likewise.
33553
6ce75379
UD
33554 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33555 used and couldn't be at all thread-safe.
33556
f8a3b5bf
UD
335572011-05-15 Ulrich Drepper <drepper@gmail.com>
33558
94b7cc37
UD
33559 * libio/freopen.c (freopen): Don't close old file descriptor
33560 before the new one is opened. Instead dup the new file descriptor
33561 to the old one after the new stream is created.
33562 * libio/freopen64.c (freopen64): Likewise.
33563 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33564 * libio/fileops.c (_IO_new_file_close_it): Handle new
33565 _IO_FLAGS2_NOCLOSE flag.
33566 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33567 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33568 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33569 _IO_FLAGS2_NOCLOSE flag.
33570 * include/unistd.h: Add hidden_proto for dup3.
33571 Define __have_dup3.
33572 * io/dup3.c: Define hidden symbol.
33573 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33574
bd25564e
UD
33575 [BZ #7101]
33576 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33577 when an incomplete long option is used.
33578 * posix/tst-getopt_long1.c: New file.
33579 * posix/Makefile (tests): Add tst-getopt_long1.
33580
c84cfef4
UD
33581 [BZ #10138]
33582 * scripts/config.guess: Update from autoconf-2.68.
33583 * scripts/config.sub: Likewise.
33584
3b85df27
UD
33585 [BZ #10157]
33586 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33587 tests into ...
33588 (has_cpuclock): ...this. New function.
33589 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33590 macro here based on has_cpuclock code.
33591
15a856b1
UD
33592 [BZ #10149]
33593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33594 First byte (not low byte) is now always NUL.
33595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33596
05f399e6
UD
33597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33598 Use non-cancelable interfaces.
33599
10a52685 33600 [BZ #9809]
94ecc67d
UD
33601 * locale/iso-639.def: Add entry for Sorani.
33602
f8a3b5bf
UD
33603 [BZ #11901]
33604 * include/stdlib.h: Move include protection to the right place.
33605 Define abort_msg_s. Declare __abort_msg with it.
33606 * stdlib/abort.c (__abort_msg): Adjust type.
33607 * assert/assert.c (__assert_fail_base): New function. Majority
33608 of code from __assert_fail. Allocate memory for __abort_msg with
33609 mmap.
33610 (__assert_fail): Now call __assert_fail_base.
33611 * assert/assert-perr.c: Remove bulk of implementation. Use
33612 __assert_fail_base.
33613 * include/assert.hL Declare __assert_fail_base.
33614 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33615 mmap.
33616 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33617
1af4e298
UD
336182011-05-14 Ulrich Drepper <drepper@gmail.com>
33619
f8a3b5bf 33620 [BZ #11952]
d26dfc60
MG
33621 [BZ #12453]
33622 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33623 until all modules are registered in the DTV.
33624 * elf/Makefile: Add rules to build and run tst-tls19.
33625 * elf/tst-tls19.c: New file.
33626 * elf/tst-tls19mod1.c: New file.
33627 * elf/tst-tls19mod2.c: New file.
33628 * elf/tst-tls19mod3.c: New file.
33629 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33630
2fc54d6f
UD
33631 [BZ #12083]
33632 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33633 correctly.
33634
98d76b46
UD
33635 [BZ #12601]
33636 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33637 two-byte sequence errors.
33638 * iconvdata/Makefile (tests): Add bug-iconv8.
33639 * iconvdata/bug-iconv8.c: New file.
33640
da3c19ef
UD
33641 [BZ #12626]
33642 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33643 buf2 definition.
33644
ca408c15
UD
33645 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33646
d6f67f7d
UD
33647 [BZ #12432]
33648 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33649 (dummy_getcfa): New function.
33650 (init): Get _Unwind_GetCFA address, use dummy if not found.
33651 (backtrace_helper): In recursion check, also check whether CFA changes.
33652 (__backtrace): Completely initialize arg.
33653
1af4e298 33654 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33655 storing incomplete byte sequence in state object. Avoid testing for
33656 guaranteed too small input if we know there is enough data available.
1af4e298 33657
da62f81b
AS
336582011-05-11 Andreas Schwab <schwab@redhat.com>
33659
33660 * Makeconfig (+link-pie): Indent.
33661 * Rules (binaries-pie): Define if $(have-fpie) and
33662 $(build-shared).
33663 (binaries-shared): Also filter out $(binaries-pie).
33664 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33665 * nscd/Makefile (others-pie): Add nscd.
33666 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33667 ($(objpfx)nscd): Remove command override.
33668 * login/Makefile (others-pie): Add pt_chown.
33669 ($(objpfx)pt_chown): Remove command override.
33670 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33671 remove command overrides.
33672
fcabc0f8
UD
336732011-05-13 Ulrich Drepper <drepper@gmail.com>
33674
20030ae6
UD
33675 * libio/tst_putwc.c: Fix error messages.
33676
fcabc0f8
UD
33677 [BZ #12724]
33678 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33679 currently writing and seek to current position when not.
33680 * libio/Makefile (tests): Add bug-fclose1.
33681 * libio/bug-fclose1.c: New file.
33682
320a5dc0
PB
336832011-05-12 Ulrich Drepper <drepper@gmail.com>
33684
33685 [BZ #12511]
33686 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33687 don't set DF_1_NODELETE here.
33688 (do_lookup_x): When entering new entry test for copy relocation
33689 and if necessary set DF_1_NODELETE flag.
33690 * elf/tst-unique4.cc: New file.
33691 * elf/tst-unique4.h: New file.
33692 * elf/tst-unique4lib.cc: New file.
33693 * elf/Makefile: Add rules to build and run tst-unique4.
33694 Patch by Piotr Bury <pbury@goahead.com>.
33695
22836f52
UD
336962011-05-11 Ulrich Drepper <drepper@gmail.com>
33697
f574184a
UD
33698 [BZ #12052]
33699 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33700
e1fb097f
UD
33701 [BZ #12625]
33702 * misc/mntent_r.c (addmntent): Flush the stream after the output
33703
22836f52
UD
33704 [BZ #12393]
33705 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33706 (is_trusted_path_normalize): Skip initial colon. Append slash
33707 to empty buffer. Duplicate is_trusted_path code but allow
33708 constructed patch to be prefix.
33709 (is_dst): Allow $ORIGIN followed by /.
33710 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33711 Correct testing of result of is_trusted_path_normalize
33712 (decompose_rpath): Fix warning.
33713
7b3b0b2a
UD
337142011-05-10 Ulrich Drepper <drepper@gmail.com>
33715
33716 [BZ #11257]
33717 * grp/initgroups.c (internal_getgrouplist): When we found the service
33718 list through the initgroups entry in nsswitch.conf do not always
33719 continue on a successful lookup. Don't always use the
eac80ce2 33720 __nss_group_database value if it is set.
7b3b0b2a
UD
33721 * nss/nsswitch.conf (initgroups): Change action for successful db
33722 lookup to continue for compatibility.
33723
2a81eaa5
UD
337242011-05-09 Ulrich Drepper <drepper@gmail.com>
33725
be97a69e
UD
33726 [BZ #11532]
33727 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33728 and CP774 modules.
33729 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33730 and CP774 modules.
33731 * iconvdata/tst-tables.sh: Likewise.
33732 * iconvdata/cp770.c: New file.
33733 * iconvdata/cp771.c: New file.
33734 * iconvdata/cp772.c: New file.
33735 * iconvdata/cp773.c: New file.
33736 * iconvdata/cp774.c: New file.
33737 * iconvdata/testdata/CP770: New file.
33738 * iconvdata/testdata/CP770..UTF8: New file.
33739 * iconvdata/testdata/CP771: New file.
33740 * iconvdata/testdata/CP771..UTF8: New file.
33741 * iconvdata/testdata/CP772: New file.
33742 * iconvdata/testdata/CP772..UTF8: New file.
33743 * iconvdata/testdata/CP773: New file.
33744 * iconvdata/testdata/CP773..UTF8: New file.
33745 * iconvdata/testdata/CP774: New file.
33746 * iconvdata/testdata/CP774..UTF8: New file.
33747
33748 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33749 END CHARMAP line.
33750 * iconvdata/gen-8bit-gap.sh: Likewise.
33751 * iconvdata/gen-8bit.sh: Likewise.
33752
c1e9e399
UD
33753 * locale/iso-639.def: Add ary entry.
33754
24c55fb3 33755 [BZ #11258]
96b4b1b0
UD
33756 * locale/C-translit.h.in: Add U20A1 transliteration.
33757
bdc2f971
KB
33758 [BZ #12178]
33759 * locale/iso-639.def: Add wae entry.
33760 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33761
2952b117
UD
33762 [BZ #12545]
33763 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33764 for n.
33765
2a81eaa5
UD
33766 [BZ #12711]
33767 * locale/C-translit.h.in: Add entry for U20B9.
33768 Patch by pravin.d.s@gmail.com.
33769
28377d1b
UD
337702011-05-08 Ulrich Drepper <drepper@gmail.com>
33771
7fb90fb8
UD
33772 [BZ #12713]
33773 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33774 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33775 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33776 in rtld. Use *stat64.
7fb90fb8 33777 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33778 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33779 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33780 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33781 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33782 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33783 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33784 __fstatat64 macros.
7fb90fb8
UD
33785 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33786 * dirent/rewinddir.c: Add libc_hidden_def.
33787 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33788 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33789
28377d1b
UD
33790 * include/dirent.h (__alloc_dir): Add flags parameter.
33791 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33792 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33793 __alloc_dir.
33794 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33795 from fdopendir if O_CLOEXEC is already set.
33796
66bdbaa4
AM
337972011-03-15 Alan Modra <amodra@gmail.com>
33798
33799 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33800 l_tls_firstbyte_offset non-zero. Save padding offset in
33801 l_tls_firstbyte_offset for later use.
33802 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33803 freeing static tls block.
33804
95721191
JN
338052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33806
33807 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33808 where #ifdef was intended. The intent is to prevent ARG_MAX from
33809 being defined by the kernel headers.
33810
f87dfb1f
UD
338112011-05-07 Ulrich Drepper <drepper@gmail.com>
33812
33813 [BZ #12734]
33814 * resolv/resolv.h: Define RES_NOTLDQUERY.
33815 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33816 no-tld-query and set RES_NOTLDQUERY.
33817 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33818 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33819 modern BIND to search name as TLD unless forbidden.
33820
47c3cd7a
UD
338212011-05-07 Petr Baudis <pasky@suse.cz>
33822 Ulrich Drepper <drepper@gmail.com>
33823
33824 [BZ #12393]
33825 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33826 (is_trusted_path): ...to here.
c1e9ea35 33827 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33828 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33829 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33830
8a35c912
PP
338312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33832
33833 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33834 __BEGIN/__END_DECLS.
33835
acd41f47
UD
338362011-05-06 Ulrich Drepper <drepper@gmail.com>
33837
33838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33839 NSS_STATUS_NOTFOUND if no record was found.
33840
597df647
AS
338412011-05-05 Andreas Schwab <schwab@redhat.com>
33842
33843 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33844 (headers-not-in-tirpc): Remove rpc/netdb.h
33845 * resolv/netdb.h: Revert last change.
33846
b9af1301
PP
338472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33848
33849 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33850 circular dependency between libgcc.a and libc.a.
33851
4e34d5f5
AS
338522011-05-05 Andreas Schwab <schwab@redhat.com>
33853
33854 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33855 * nis/Makefile: Don't install rpcsvc/*.
33856 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33857 instead of <rpc/types.h>.
33858 (MAXHOSTNAMELEN): Define.
33859
00ee369c
AS
338602011-05-03 Andreas Schwab <schwab@redhat.com>
33861
33862 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33863
0b592a30
MB
338642011-04-28 Maciej Babinski <mbabinski@google.com>
33865
33866 [BZ #12714]
33867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33868 gethostbyname4_r when IPv6 results are possible.
33869
6e04cbbe
UD
338702011-05-02 Ulrich Drepper <drepper@gmail.com>
33871
33872 [BZ #12723]
33873 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33874 _PC_PIPE_BUF handling.
33875
e4ecafe0
BH
338762011-04-30 Bruno Haible <bruno@clisp.org>
33877
33878 [BZ #12717]
33879 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33880 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33881 to 'int'.
33882 * inet/getnameinfo.c (getnameinfo): Likewise.
33883
125ee683
UD
338842011-04-29 Ulrich Drepper <drepper@gmail.com>
33885
33886 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33887 to groups setting in database lookup.
33888 * nss/nsswitch.conf: Add initgroups entry.
33889
b722481a
EB
338902011-04-22 Ulrich Drepper <drepper@gmail.com>
33891
33892 [BZ #12685]
33893 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33894 mode string.
33895 Patch by Eric Blake <eblake@redhat.com>.
33896
4df46dbd
L
338972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33898
33899 * sunrpc/Makefile (need-export-routines): Add svc_run.
33900 (routines): Remove svc_run.
33901 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33902 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33903 * sunrpc/svc_run.c (svc_run): Likewise.
33904 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33905
e84142d2
UD
339062011-04-21 Ulrich Drepper <drepper@gmail.com>
33907
33908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33909 problem in reallocation in last patch.
33910
877175d8
UD
339112011-04-20 Ulrich Drepper <drepper@gmail.com>
33912
33913 * sunrpc/Makefile: Move inclusion of Rules.
33914
ab8eed78
UD
339152011-04-19 Ulrich Drepper <drepper@gmail.com>
33916
33917 * nss/nss_files/files-initgroups.c: New file.
33918 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33919 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33920 _nss_files_initgroups_dyn.
33921
e3d8f584
RS
339222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33923
33924 * elf/elf.h (R_ARM_IRELATIVE): Define.
33925
af190f45
UD
339262011-04-19 Ulrich Drepper <drepper@gmail.com>
33927
33928 * po/ru.po: Update from translation team.
33929
53cf59ef
UD
339302011-04-17 Ulrich Drepper <drepper@gmail.com>
33931
33932 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33933 dependencies.
33934
4c559bcd
MF
339352011-02-06 Mike Frysinger <vapier@gentoo.org>
33936
33937 [BZ #12653]
33938 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33939 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33943
4420675c
AS
339442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33945
33946 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33947 differing bytes.
33948 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33951
75ea32ab
UD
339522011-04-17 Ulrich Drepper <drepper@gmail.com>
33953
33954 [BZ #12420]
33955 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33956 storing it.
33957 * stdlib/bug-getcontext.c: New file.
33958 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33959
27390476
AK
339602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33961
33962 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33963 instructions into .machine "z9-109".
33964 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33965 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33966
10442705
AK
339672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33968
33969 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33970 between environment variables and auxiliary vector.
33971
7b57bfe5
UD
339722011-04-16 Ulrich Drepper <drepper@gmail.com>
33973
33974 * Makefile: Add rules to build linkobj/libc.so.
33975 * include/libc-symbols.h: Define libc_hidden_nolink.
33976 * include/rpc/auth.h: Mark functions which are to be hidden.
33977 * include/rpc/auth_des.h: Likewise.
33978 * include/rpc/auth_unix.h: Likewise.
33979 * include/rpc/clnt.h: Likewise.
33980 * include/rpc/des_crypt.h: Likewise.
33981 * include/rpc/key_prot.h: Likewise.
33982 * include/rpc/pmap_clnt.h: Likewise.
33983 * include/rpc/pmap_prot.h: Likewise.
33984 * include/rpc/pmap_rmt.h: Likewise.
33985 * include/rpc/rpc_msg.h: Likewise.
33986 * include/rpc/svc.h: Likewise.
33987 * include/rpc/svc_auth.h: Likewise.
33988 * include/rpc/xdr.h: Likewise.
33989 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33990 * nss/Makefile: Likewise.
33991 * sunrpc/Makefile: Don't install headers. Build library with normal
33992 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33993 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33994 for the compat linking library. Remove use of INTDEF/INTUSE.
33995 * sunrpc/auth_none.c: Likewise.
33996 * sunrpc/auth_unix.c: Likewise.
33997 * sunrpc/authdes_prot.c: Likewise.
33998 * sunrpc/authuxprot.c: Likewise.
33999 * sunrpc/clnt_gen.c: Likewise.
34000 * sunrpc/clnt_perr.c: Likewise.
34001 * sunrpc/clnt_raw.c: Likewise.
34002 * sunrpc/clnt_simp.c: Likewise.
34003 * sunrpc/clnt_tcp.c: Likewise.
34004 * sunrpc/clnt_udp.c: Likewise.
34005 * sunrpc/clnt_unix.c: Likewise.
34006 * sunrpc/des_crypt.c: Likewise.
34007 * sunrpc/des_soft.c: Likewise.
34008 * sunrpc/get_myaddr.c: Likewise.
34009 * sunrpc/key_call.c: Likewise.
34010 * sunrpc/key_prot.c: Likewise.
34011 * sunrpc/netname.c: Likewise.
34012 * sunrpc/pm_getmaps.c: Likewise.
34013 * sunrpc/pm_getport.c: Likewise.
34014 * sunrpc/pmap_clnt.c: Likewise.
34015 * sunrpc/pmap_prot.c: Likewise.
34016 * sunrpc/pmap_prot2.c: Likewise.
34017 * sunrpc/pmap_rmt.c: Likewise.
34018 * sunrpc/publickey.c: Likewise.
34019 * sunrpc/rpc_cmsg.c: Likewise.
34020 * sunrpc/rpc_common.c: Likewise.
34021 * sunrpc/rpc_dtable.c: Likewise.
34022 * sunrpc/rpc_prot.c: Likewise.
34023 * sunrpc/rpc_thread.c: Likewise.
34024 * sunrpc/rtime.c: Likewise.
34025 * sunrpc/svc.c: Likewise.
34026 * sunrpc/svc_auth.c: Likewise.
34027 * sunrpc/svc_authux.c: Likewise.
34028 * sunrpc/svc_raw.c: Likewise.
34029 * sunrpc/svc_run.c: Likewise.
34030 * sunrpc/svc_simple.c: Likewise.
34031 * sunrpc/svc_tcp.c: Likewise.
34032 * sunrpc/svc_udp.c: Likewise.
34033 * sunrpc/svc_unix.c: Likewise.
34034 * sunrpc/svcauth_des.c: Likewise.
34035 * sunrpc/xcrypt.c: Likewise.
34036 * sunrpc/xdr.c: Likewise.
34037 * sunrpc/xdr_array.c: Likewise.
34038 * sunrpc/xdr_float.c: Likewise.
34039 * sunrpc/xdr_intXX_t.c: Likewise.
34040 * sunrpc/xdr_mem.c: Likewise.
34041 * sunrpc/xdr_rec.c: Likewise.
34042 * sunrpc/xdr_ref.c: Likewise.
34043 * sunrpc/xdr_sizeof.c: Likewise.
34044 * sunrpc/xdr_stdio.c: Likewise.
34045
e6c61494
UD
340462011-04-10 Ulrich Drepper <drepper@gmail.com>
34047
34048 [BZ #12650]
34049 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34050 * sysdeps/ia64/dl-tls.h: Likewise.
34051 * sysdeps/powerpc/dl-tls.h: Likewise.
34052 * sysdeps/s390/dl-tls.h: Likewise.
34053 * sysdeps/sh/dl-tls.h: Likewise.
34054 * sysdeps/sparc/dl-tls.h: Likewise.
34055 * sysdeps/x86_64/dl-tls.h: Likewise.
34056 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34057
34fe483e
AS
340582011-03-14 Andreas Schwab <schwab@redhat.com>
34059
34060 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34061 rpath element also skip the following colon.
34062 (expand_dynamic_string_token): Add is_path parameter and pass
34063 down to DL_DST_REQUIRED and _dl_dst_substitute.
34064 (decompose_rpath): Call expand_dynamic_string_token with
34065 non-zero is_path. Ignore empty rpaths.
34066 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34067 with zero is_path.
34068
f12a32e6
AS
340692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34070
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34072 Make cancelable.
34073
38a7d692
UD
340742011-04-09 Ulrich Drepper <drepper@gmail.com>
34075
34076 [BZ #12655]
34077 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34078 Patch by Filipe David Manana <fdmanana@apache.org>.
34079
e451d22b
AS
340802011-04-07 Andreas Schwab <schwab@redhat.com>
34081
34082 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34083 Maintain aligned stack.
34084 (CHECK_RSP): Remove unused macro.
34085
dedc7c7b
UD
340862011-04-03 Ulrich Drepper <drepper@gmail.com>
34087
34088 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34089 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34090
94521213
UD
340912011-04-02 Ulrich Drepper <drepper@gmail.com>
34092
34093 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34094
8cb700c0 34095 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34096
0354e355
L
340972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34098
34099 [BZ #12518]
34100 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34101 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34102 * sysdeps/x86_64/memmove.c: New file.
34103 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34104 (memcpy): Renamed to ...
34105 (__new_memcpy): This.
34106 (memcpy): Provide GLIBC_2_14 memcpy.
34107 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34108 (memcpy): Provide GLIBC_2_2_5 memcpy.
34109
8593482f
UD
341102011-04-01 Ulrich Drepper <drepper@gmail.com>
34111
34112 [BZ #12631]
34113 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34114
81a5726b
AS
341152011-03-30 Andreas Schwab <schwab@redhat.com>
34116
34117 * misc/syncfs.c: New file.
34118 * misc/Makefile (routines): Add syncfs.
34119 * posix/unistd.h: Declare syncfs.
34120 * sysdeps/unix/syscalls.list: Add syncfs.
34121
00e5419f
AS
341222011-04-01 Andreas Schwab <schwab@redhat.com>
34123
34124 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34125 open_by_handle_at.
34126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34131 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34133
748876bf
UD
341342011-04-01 Ulrich Drepper <drepper@gmail.com>
34135
658e451d
UD
34136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34138 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34143
748876bf
UD
34144 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34145 sync_file_range.c with -fexceptions.
34146 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34147 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34148 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34149 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34150 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34151 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34153 sync_file_range as cancellation point
34154 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34155 now a wrapper around __call_sync_file_range with cancellation handling.
34156 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34157 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34158 function name to __call_sync_file_range.
34159 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34160 Add call_sync_file_range.
748876bf 34161
6e63d5e1
AS
341622011-04-01 Andreas Schwab <schwab@redhat.com>
34163
34164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34165 bits/timex.h.
6e63d5e1 34166
46998f74
UD
341672011-04-01 Ulrich Drepper <drepper@gmail.com>
34168
4c1423ed
UD
34169 * iconv/iconv.h: Fix typo in comment.
34170 * io/fcntl.h: Likewise.
34171 * libio/stdio.h: Likewise.
34172 * posix/spawn.h: Likewise.
34173 * posix/unistd.h: Likewise.
34174 * stdlib/stdlib.h: Likewise.
34175 * time/time.h: Likewise.
34176 * wcsmbs/wchar.h: Likewise.
34177
158648c0
UD
34178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34179 open_by_handle): Add.
34180 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34181 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34182 Augment a few comments.
34183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34188 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34189 open_by_handle.
34190
46998f74
UD
34191 * io/fcntl.h (AT_EMPTY_PATH): Define.
34192
83fe108b
UD
341932011-03-30 Ulrich Drepper <drepper@gmail.com>
34194
34195 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34196 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34197 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34198 to...
34199 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34200 * Versions.def: Add GLIBC_2.14.
34201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34202 Export.
83fe108b 34203
bb242059
UD
342042011-03-22 Ulrich Drepper <drepper@gmail.com>
34205
34206 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34207 round counter.
34208 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34209
c97a1282
L
342102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34211
34212 [BZ #12597]
34213 * string/test-strncmp.c (do_page_test): New function.
34214 (check2): Likewise.
34215 (test_main): Call check2.
34216 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34217
2a115601
UD
342182011-03-20 Ulrich Drepper <drepper@gmail.com>
34219
34220 [BZ #12587]
34221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34222 Handle cache information in CPU leaf 4.
34223 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34224
8126d904
UD
342252011-03-18 Ulrich Drepper <drepper@gmail.com>
34226
042c49c6 34227 [BZ #12583]
8126d904
UD
34228 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34229 character representation.
34230 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34231
ccfe366e
RA
342322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34233
34234 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34235 END(__isnan) to END(__isnanf) to match function entry point/label
34236 EALIGN(__isnanf,...).
34237
c6e13027
JJ
342382011-03-10 Jakub Jelinek <jakub@redhat.com>
34239
34240 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34241
33f85a3f
UD
342422011-03-10 Ulrich Drepper <drepper@gmail.com>
34243
028478fa
UD
34244 [BZ #12510]
34245 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34246 copy from the symbol referenced in the relocation to initialize the
34247 used variable.
34248 Patch by Piotr Bury <pbury@goahead.com>.
34249 * elf/Makefile: Add rules to build and tst-unique3.
34250 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34251 * elf/tst-unique3.cc: New file.
34252 * elf/tst-unique3.h: New file.
34253 * elf/tst-unique3lib.cc: New file.
34254 * elf/tst-unique3lib2.cc: New file.
34255
33f85a3f
UD
34256 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34257
03592fc7
MF
342582011-03-10 Mike Frysinger <vapier@gentoo.org>
34259
34260 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34261 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34262 to _start.
03592fc7 34263
6a5ee102
UD
342642011-03-06 Ulrich Drepper <drepper@gmail.com>
34265
34266 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34267 to-be-loaded object along a path to loader is ld.so.
34268
7e4ba49c
HJ
342692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34270 Ulrich Drepper <drepper@gmail.com>
34271
34272 * sysdeps/x86_64/memset.S: After aligning destination, code
34273 branches to different locations depending on the value of
34274 misalignment, when multiarch is enabled. Fix this.
34275
342762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34277
34278 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34279 Set _x86_64_preferred_memory_instruction for AMD processsors.
34280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34281 Set bit_Prefer_SSE_for_memop for AMD processors.
34282
13a804de
UD
342832011-03-04 Ulrich Drepper <drepper@gmail.com>
34284
34285 * libio/fmemopen.c (fmemopen): Optimize a bit.
34286
9d25c392
AS
342872011-03-03 Andreas Schwab <schwab@redhat.com>
34288
34289 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34290
a5543c6a
RM
342912011-03-03 Roland McGrath <roland@redhat.com>
34292
34293 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34294
012d35f7
DM
342952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34296
7e4ba49c 34297 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34298 __bzero_ultra1 instead of __memset_ultra1.
34299
4bff6e01
AS
343002011-02-23 Andreas Schwab <schwab@redhat.com>
34301 Ulrich Drepper <drepper@gmail.com>
34302
34303 [BZ #12509]
34304 * include/link.h (struct link_map): Add l_orig_initfini.
34305 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34306 returning unsuccessfully.
34307 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34308 close of a file loaded at startup, restore the original l_initfini
34309 list.
34310 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34311 list, store the pointer.
34312 * elf/Makefile ($(objpfx)noload-mem): New rule.
34313 (noload-ENV): Define.
34314 (tests): Add $(objpfx)noload-mem.
34315 * elf/noload.c: Include <memcheck.h>.
34316 (main): Call mtrace. Close all opened handles.
34317
f2092faf
AS
343182011-02-17 Andreas Schwab <schwab@redhat.com>
34319
34320 [BZ #12454]
34321 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34322 dependencies are missing.
34323
6c8a2e88
ST
343242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34325
f2092faf 34326 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34327 Hurd needs munmap.
34328 * sysdeps/mach/hurd/ifreq.h: New file.
34329
84a42118
PB
343302011-01-27 Petr Baudis <pasky@suse.cz>
34331 Ulrich Drepper <drepper@gmail.com>
34332
071f805e 34333 [BZ 12445]#
84a42118
PB
34334 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34335 to extend_alloca().
34336 * stdio-common/bug23.c: New file.
34337 * stdio-common/Makefile (tests): Add bug23.
34338
e23fe25b
AS
343392010-09-28 Andreas Schwab <schwab@redhat.com>
34340 Ulrich Drepper <drepper@gmail.com>
34341
34342 [BZ #12489]
34343 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34344 before performing relro protection. At old place add assertion
34345 to make sure nothing changed.
34346
d3f02e10
NS
343472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34348 Glauber de Oliveira Costa <glommer@gmail.com>
34349
34350 * elf/elf.h: Add new ARM TLS relocs.
34351
d55fd7a5
RA
343522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34353
34354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34355 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34356 cast from r3.
34357 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34358 'tests' variable.
34359 * sysdeps/wordsize-64/tst-writev.c: New file.
34360
2206397e
RA
343612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34362
34363 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34364 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34365 insns in _dl_start to prevent a TOC reference before relocs are
34366 resolved.
34367
e9433893
UD
343682011-02-15 Ulrich Drepper <drepper@gmail.com>
34369
34370 [BZ #12469]
34371 * Makeconfig: Remove RANLIB definition.
34372 * Makerules: Don't use RANLIB.
34373 * aclocal.m4: Remove ranlib test.
34374 * configure.in: No need to check for ranlib.
34375 * elf/rtld-Rules: Don't use RANLIB.
34376
f75286c6
ST
343772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34378
8e31c82d
ST
34379 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34380 protection macro.
34381 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34382 inclusion protection macro.
34383
f75286c6
ST
34384 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34385 SIGRTMIN and SIGRTMAX and print information in that case only when
34386 SIGRTMIN is defined.
34387
c1d0e639
JJ
343882011-02-11 Jakub Jelinek <jakub@redhat.com>
34389
34390 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34391 arginfo fn returning -1.
34392
34393 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34394 and thousands string is zero terminated.
34395
edf9294e
AS
343962011-02-03 Andreas Schwab <schwab@redhat.com>
34397
34398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34399 sysdeps/unix/sysv/linux/bits/socket.h.
34400
2b7e92df
ST
344012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34402
edf9294e
AS
34403 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34404 (__CPU_COUNT): Remove old macros.
34405 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34406 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34407 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34408 (__sched_cpualloc, __sched_cpufree): Add declarations.
34409
a4c7ea7b
UD
344102011-02-05 Ulrich Drepper <drepper@gmail.com>
34411
34412 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34413 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34414 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34415 (readdhstai): Return value of addhstaiX call.
34416 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34417 (addgrbyX): Return value returned by cache_addgr.
34418 (readdgrbyname): Return value returned by addgrbyX.
34419 (readdgrbygid): Likewise.
34420 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34421 (addpwbyX): Return value returned by cache_addpw.
34422 (readdpwbyname): Return value returned by addhstbyX.
34423 (readdpwbyuid): Likewise.
34424 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34425 (addservbyX): Return value returned by cache_addserv.
34426 (readdservbyname): Return value returned by addservbyX:
34427 (readdservbyport): Likewise.
34428 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34429 (addhstbyX): Return value returned by cache_addhst.
34430 (readdhstbyname): Return value returned by addhstbyX.
34431 (readdhstbyaddr): Likewise.
34432 (readdhstbynamev6): Likewise.
34433 (readdhstbyaddrv6): Likewise.
34434 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34435 (readdinitgroups): Return value returned by addinitgroupsX.
34436 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34437 (prune_cache): Keep track of timeout value of re-added entries.
34438 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34439 * nscd/nscd.h: Adjust prototypes of readd* functions.
34440
a0bf67cc
RM
344412011-02-04 Roland McGrath <roland@redhat.com>
34442
34443 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34444 (nis_stats): Likewise.
34445 * nis/nis_modify.c (nis_modify): Likewise.
34446 * nis/nis_remove.c (nis_remove): Likewise.
34447 * nis/nis_add.c (nis_add): Likewise.
34448
34449 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34450
34451 * posix/fnmatch_loop.c: Add some consts.
34452
34453 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34454
435b95eb
L
344552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34456
34457 [BZ #12460]
34458 * config.make.in (config-cflags-novzeroupper): Define.
34459 * configure.in: Substitute libc_cv_cc_novzeroupper.
34460 * elf/Makefile (AVX-CFLAGS): Define.
34461 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34462 (CFLAGS-tst-auditmod4a.c): Likewise.
34463 (CFLAGS-tst-auditmod4b.c): Likewise.
34464 (CFLAGS-tst-auditmod6b.c): Likewise.
34465 (CFLAGS-tst-auditmod6c.c): Likewise.
34466 (CFLAGS-tst-auditmod7b.c): Likewise.
34467 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34468
8517b15e
UD
344692011-02-02 Ulrich Drepper <drepper@gmail.com>
34470
34471 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34472 function to the callback.
34473 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34474
10a656fe
AS
344752011-02-02 Andreas Schwab <schwab@redhat.com>
34476
34477 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34478 of errno.
34479
968dad0a
UD
344802011-01-19 Ulrich Drepper <drepper@gmail.com>
34481
9f94d2ea 34482 [BZ #11724]
968dad0a
UD
34483 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34484 of constructors.
34485 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34486 of destructors.
34487 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34488
34489 [BZ #11724]
34490 * elf/Makefile: Add rules to build and run new test.
34491 * elf/tst-initorder.c: New file.
34492 * elf/tst-initorder.exp: New file.
34493 * elf/tst-initordera1.c: New file.
34494 * elf/tst-initordera2.c: New file.
34495 * elf/tst-initordera3.c: New file.
34496 * elf/tst-initordera4.c: New file.
34497 * elf/tst-initorderb1.c: New file.
34498 * elf/tst-initorderb2.c: New file.
34499 * elf/tst-order-a1.c: New file.
34500 * elf/tst-order-a2.c: New file.
34501 * elf/tst-order-a3.c: New file.
34502 * elf/tst-order-a4.c: New file.
34503 * elf/tst-order-b1.c: New file.
34504 * elf/tst-order-b2.c: New file.
34505 * elf/tst-order-main.c: New file.
34506 New test case by George Gensure <werkt0@gmail.com>.
34507
86e92359
UD
345082010-10-01 Andreas Schwab <schwab@redhat.com>
34509
34510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34511 decoding ACE if AI_CANONIDN.
34512
5d5732b0
UD
345132011-01-18 Ulrich Drepper <drepper@gmail.com>
34514
34515 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34516
a77e8cbc
UD
345172011-01-17 Ulrich Drepper <drepper@gmail.com>
34518
6392473f
UD
34519 * version.h (RELEASE): Bump for 2.13 release.
34520 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34521
620a0529
UD
34522 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34523
18ba70a5
UD
34524 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34525 MADV_NOHUGEPAGE.
32465c3e
UD
34526 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34532
c0dafcf1
UD
34533 * posix/getconf.c: Update copyright year.
34534 * catgets/gencat.c: Likewise.
34535 * csu/version.c: Likewise.
34536 * debug/catchsegv.sh: Likewise.
34537 * debug/xtrace.sh: Likewise.
34538 * elf/ldconfig.c: Likewise.
34539 * elf/ldd.bash.in: Likewise.
34540 * elf/sprof.c (print_version): Likewise.
34541 * iconv/iconv_prog.c: Likewise.
34542 * iconv/iconvconfig.c: Likewise.
34543 * locale/programs/locale.c: Likewise.
34544 * locale/programs/localedef.c: Likewise.
34545 * malloc/memusage.sh: Likewise.
34546 * malloc/mtrace.pl: Likewise.
34547 * nscd/nscd.c (print_version): Likewise.
34548 * nss/getent.c: Likewise.
34549
a77e8cbc
UD
34550 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34551 PF_CAIF, and PF_ALG.
34552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34553
77e8bddf
AS
345542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34555
1f20b93a
AS
34556 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34557 (modules-names): Use them.
34558 (ifunc-test-modules, ifunc-pie-tests): Define.
34559 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34560 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34561 (test-extras): Likewise.
34562 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34563 $(compile-command.c).
34564 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34565 (all-built-dso): Define.
34566 (check-textrel.out, check-execstack.out): Depend on it.
34567
77e8bddf
AS
34568 * configure.in: Don't override --enable-multi-arch.
34569
bc425b33
UD
345702011-01-15 Ulrich Drepper <drepper@gmail.com>
34571
34572 [BZ #6812]
34573 * nscd/hstcache.c (tryagain): Define.
34574 (cache_addhst): Return tryagain not notfound for temporary errors.
34575 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34576 failed.
34577
794c3ad3
UD
345782011-01-14 Ulrich Drepper <drepper@gmail.com>
34579
70181fdd
UD
34580 [BZ #10563]
34581 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34582 to make the syscall.
34583 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34584
794c3ad3
UD
34585 [BZ #12378]
34586 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34587 and fall back to matching as normal character if the string ends before
34588 the matching ']' is found. This is what POSIX requires.
34589 * posix/testfnm.c: Adjust test result.
34590 * posix/globtest.sh: Adjust test result. Add new test.
34591 * posix/tst-fnmatch.input: Likewise.
34592 * posix/tst-fnmatch2.c: Add new test.
34593
68dc9497
AS
345942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34595
34596 * elf/Makefile (check-execstack): Revert last change. Depend on
34597 check-execstack.h.
34598 (check-execstack.h): New target.
34599 (generated): Add check-execstack.h.
34600 * elf/check-execstack.c: Include "check-execstack.h".
34601 (main): Revert last change.
34602 (handle_file): Return zero if GNU_STACK is absent and
34603 DEFAULT_STACK_PERMS doesn't include PF_X.
34604
451f001b
UD
346052011-01-13 Ulrich Drepper <drepper@gmail.com>
34606
cfa28e56
UD
34607 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34608 in child fails because the descriptor is already closed.
8cf8ce17
UD
34609 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34610 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34611 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34612
1086d70d
UD
34613 [BZ #12397]
34614 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34615 syscall.
34616
451f001b
UD
34617 [BZ #10484]
34618 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34619 temporary buffer used to handle multi lookups locally.
a85b5cb4 34620 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34621
08769175
UD
346222011-01-12 Ulrich Drepper <drepper@gmail.com>
34623
34624 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34625 loader is ld.so.
34626
5e49c52e
UD
346272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34628
34629 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34630 alignment for SSE2.
34631
60522a5f
UD
346322011-01-12 Ulrich Drepper <drepper@gmail.com>
34633
34634 [BZ #12394]
34635 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34636 characters. When rounding increased number of integer digits recompute
34637 number of groups.
34638 * stdio-common/tst-grouping.c: New file.
34639 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34640
f257bbd7
UD
346412011-01-09 Ulrich Drepper <drepper@gmail.com>
34642
34643 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34644 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34645
34646 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34647 void.
34648 * bits/select.h: Likewise.
34649
fa9c15cb
UD
346502011-01-08 Ulrich Drepper <drepper@gmail.com>
34651
34652 * po/ja.po: Update from translation team.
34653
16c2895f
DM
346542011-01-04 David S. Miller <davem@sunset.davemloft.net>
34655
34656 [BZ #11155]
34657 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34658 implementation just like for lxstat, fxstatat, et al.
34659
2543fef2
JM
346602010-12-27 Jim Meyering <meyering@redhat.com>
34661
34662 [BZ #12348]
34663 * posix/regexec.c (build_trtable): Return failure indication upon
34664 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34665
98727dbe
UD
346662010-12-25 Ulrich Drepper <drepper@gmail.com>
34667
5bd6dc5c
UD
34668 [BZ #12201]
34669 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34670 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34672 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34673
97983464
UD
34674 [BZ #12207]
34675 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34676
98727dbe
UD
34677 [BZ #12204]
34678 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34679 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34680
4a531bb0
L
346812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34682
34683 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34684 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34685 script has SORT_BY_INIT_PRIORITY.
34686 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34687 NO_CTORS_DTORS_SECTIONS is defined.
34688 * elf/soinit.c: Likewise.
34689 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34690 NO_CTORS_DTORS_SECTIONS is defined.
34691 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34692 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34693 * sysdeps/sh/init-first.c: Likewise.
34694 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34695
07eb4b71
UD
346962010-12-24 Ulrich Drepper <drepper@gmail.com>
34697
34698 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34699 always use the slow path.
34700
30950a5f
RA
347012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34702
34703 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34704 similar rule which adds the sysdep directories to the header search in
34705 order to pick up the correct platform stackinfo.h.
34706 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34707 perform test if it is, otherwise return successfully without testing.
34708 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34709 DEFAULT_STACK_PERMS define in stackinfo.h.
34710 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34711 defined in stackinfo.h.
34712 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34713 DEFAULT_STACK_PERMS defined in stackinfo.h.
34714 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34715 * sysdeps/ia64/stackinfo.h: Likewise.
34716 * sysdeps/s390/stackinfo.h: Likewise.
34717 * sysdeps/sh/stackinfo.h: Likewise.
34718 * sysdeps/sparc/stackinfo.h: Likewise.
34719 * sysdeps/x86_64/stackinfo.h: Likewise.
34720 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34721 PF_X for powerpc64. Retain PF_X for powerpc32.
34722
db753e2c
UD
347232010-12-19 Ulrich Drepper <drepper@gmail.com>
34724
14b697f7
UD
34725 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34726 accurately.
db753e2c
UD
34727 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34728 GETDENTS_64BIT_ALIGNED.
34729
28300719
UD
347302010-12-14 Ulrich Drepper <dreper@gmail.com>
34731
14b697f7 34732 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34733
4f197237
AS
347342010-12-10 Andreas Schwab <schwab@redhat.com>
34735
dbb0472f
AS
34736 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34737 _GNU_SOURCE.
34738
4f197237
AS
34739 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34740 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34741 Remove __restrict.
34742 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34743 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34744
fb88ac72
UD
347452010-12-09 Ulrich Drepper <drepper@gmail.com>
34746
34747 [BZ #11655]
34748 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34749 are initialized.
34750
42acbb92
JJ
347512010-12-09 Jakub Jelinek <jakub@redhat.com>
34752
34753 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34754
c038d98d
UD
347552010-12-03 Ulrich Drepper <drepper@gmail.com>
34756
34757 * po/it.po: Update from translation team.
34758
3a4a2499
L
347592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34760
34761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34762 unused codes.
34763
1e24cf6e
UD
347642010-11-30 Ulrich Drepper <drepper@gmail.com>
34765
34766 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34767
a7690819
AS
347682010-11-24 Andreas Schwab <schwab@redhat.com>
34769
34770 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34771 specially.
34772 (gaih_getanswer_slice): Likewise.
34773
3bf8d1b1
JJ
347742010-10-20 Jakub Jelinek <jakub@redhat.com>
34775
34776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34777
6db52fbb
PB
347782010-05-31 Petr Baudis <pasky@suse.cz>
34779
34780 [BZ #11149]
34781 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34782 silently even in the chroot mode.
34783
eaca7569
UD
347842010-11-22 Ulrich Drepper <drepper@gmail.com>
34785
34786 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34787 last patch a bit. Pretty printing
34788
3056dcdb
UD
347892010-05-31 Petr Baudis <pasky@suse.cz>
34790
34791 [BZ #10085]
34792 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34793 initialization of skip_initgroups_dyn.
34794
cf7c9078
UD
347952010-11-19 Ulrich Drepper <drepper@gmail.com>
34796
34797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34798 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34799
a1fb5e3e
UD
348002010-11-16 Ulrich Drepper <drepper@gmail.com>
34801
34802 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34803
3540d66b
AS
348042010-11-11 Andreas Schwab <schwab@redhat.com>
34805
34806 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34807 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34808 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34809 ($(objpfx)tst-fnmatch-mem): New rule.
34810 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34811 * posix/tst-fnmatch.c (main): Call mtrace.
34812
13b69574
L
348132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34814
34815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34816 Support Intel processor model 6 and model 0x2c.
34817
da93d214
LM
348182010-11-10 Luis Machado <luisgpm@br.ibm.com>
34819
34820 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34821 signed comparison.
34822
8ca52c6e
L
348232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34824
34825 [BZ #12205]
34826 * string/test-strncasecmp.c (check_result): New function.
34827 (do_one_test): Use it.
34828 (check1): New function.
34829 (test_main): Use it.
34830 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34831 Support strcasecmp and strncasecmp.
34832
69da074d
UD
348332010-11-08 Ulrich Drepper <drepper@gmail.com>
34834
34835 [BZ #12194]
34836 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34838
ff02d528
L
348392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34840
34841 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34842 IFUNC support.
34843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34844 memset-x86-64.
34845 * sysdeps/x86_64/multiarch/bzero.S: New file.
34846 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34847 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34848 * sysdeps/x86_64/multiarch/memset.S: New file.
34849 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34851 Set bit_Prefer_SSE_for_memop for Intel processors.
34852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34853 Define.
34854 (index_Prefer_SSE_for_memop): Define.
34855 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34856
344d0b54
LM
348572010-11-04 Luis Machado <luisgpm@br.ibm.com>
34858
34859 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34860 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34861
c0dde15b
UD
348622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34863
34864 [BZ #12191]
34865 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34866 (__x86_64_raw_data_cache_size_half): Likewise.
34867 (__x86_64_raw_shared_cache_size): Likewise.
34868 (__x86_64_raw_shared_cache_size_half): Likewise.
34869
34870 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34871 (__x86_64_raw_data_cache_size_half): Likewise.
34872 (__x86_64_raw_shared_cache_size): Likewise.
34873 (__x86_64_raw_shared_cache_size_half): Likewise.
34874 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34875 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34876 and __x86_64_raw_shared_cache_size_half. Round
34877 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34878 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34879 to multiple of 256 bytes.
34880
0e516e0e
MS
348812010-11-03 Ulrich Drepper <drepper@gmail.com>
34882
34883 [BZ #12167]
34884 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34885 of inacessible symlinks. Verify result of symlink before returning it.
34886 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34887 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34888
0e012e87
ER
348892010-10-28 Erich Ritz <erichritz@gmail.com>
34890
34891 * math/math.h (isinf): Fix typo in comment.
34892
de0ff7bc
UD
348932010-11-01 Ulrich Drepper <drepper@gmail.com>
34894
34895 * po/da.po: Update from translation team.
34896
fa41c84d
UD
348972010-10-26 Ulrich Drepper <drepper@gmail.com>
34898
34899 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34900 is added to the list.
34901
f0967738
AK
349022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34903 Ulrich Drepper <drepper@gmail.com>
34904
34905 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34906 the global list here. Move code to...
34907 (_dl_add_to_namespace_list): ...here. New function.
34908 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34909 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34910 * elf/dl-load.c (lose): Don't remove the element from the list.
34911 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34912 (_dl_map_object): Likewise.
34913
349142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34915
34916 [BZ #12159]
34917 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34918 into all bytes of SSE register.
34919 Patch by Richard Li <richardpku@gmail.com>.
34920
f0967738 349212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34922
34923 [BZ #12140]
34924 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34925 perturbing.
34926
d0b9e94f
MB
349272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34928
34929 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34930 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34931 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34932 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34934 submachine.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34936
8e9f92e9
AS
349372010-10-22 Andreas Schwab <schwab@redhat.com>
34938
34939 * include/dlfcn.h (__RTLD_SECURE): Define.
34940 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34941 mode & __RTLD_SECURE instead.
34942 (open_path): Rename preloaded parameter to secure.
34943 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34944 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34945 * elf/dl-deps.c (openaux): Likewise.
34946 * elf/rtld.c (struct map_args): Remove is_preloaded.
34947 (map_doit): Don't use it.
34948 (dl_main): Likewise.
34949 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34950 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34951
bc96fbda
AS
349522010-09-09 Andreas Schwab <schwab@redhat.com>
34953
34954 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34955 (sysd-rules-targets): Remove duplicates.
34956 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34957 rtld-%.$o dependency.
34958
22cd1c9b
AS
349592010-10-18 Andreas Schwab <schwab@redhat.com>
34960
34961 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34962 _dl_map_object do it.
34963
18edac48
UD
349642010-10-19 Ulrich Drepper <drepper@gmail.com>
34965
34966 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34967 fast fma builtins, define the macros in the C99 standard.
34968 (FP_FAST_FMAF): Likewise.
34969 (FP_FAST_FMAL): Likewise.
34970 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34971
34972 * bits/mathdef.h: Update copyright year.
34973 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34974
d2050124
MM
349752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34976
34977 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34978 builtins, define the macros in the C99 standard.
34979 (FP_FAST_FMAF): Likewise.
34980 (FP_FAST_FMAL): Likewise.
34981 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34982 multiply/add.
34983 (FP_FAST_FMAF): Likewise.
34984
475facd1
JJ
349852010-10-15 Jakub Jelinek <jakub@redhat.com>
34986
34987 [BZ #3268]
34988 * math/libm-test.inc (fma_test): Some new testcases.
34989 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34990 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34991 y and infinite z. Do multiplication by C already in long double.
34992 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34994 y and infinite z. Do bitwise or of inexact bit into u.d.
34995 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34996 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34997 * sysdeps/i386/fpu/s_fma.S: Removed.
34998 * sysdeps/i386/fpu/s_fmal.S: Removed.
34999
7c08a05c
JJ
350002010-10-16 Jakub Jelinek <jakub@redhat.com>
35001
35002 [BZ #3268]
35003 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35005 computation is not scheduled after fetestexcept. Fix value
35006 of minimum denormal long double.
35007
f3f7372d
JJ
350082010-10-14 Jakub Jelinek <jakub@redhat.com>
35009
35010 [BZ #3268]
35011 * math/libm-test.inc (fma_test): Add some more tests.
35012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35013 correctly.
35014
14d43591
AS
350152010-10-15 Andreas Schwab <schwab@redhat.com>
35016
35017 * scripts/data/localplt-s390-linux-gnu.data: New file.
35018 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35019
5e908464
JJ
350202010-10-13 Jakub Jelinek <jakub@redhat.com>
35021
35022 [BZ #3268]
35023 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35024 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35025 instead of dbl-64.
35026 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35027 inlines.
35028 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35030 if one of x and y is very large and the other is subnormal.
35031 * sysdeps/s390/fpu/s_fmaf.c: New file.
35032 * sysdeps/s390/fpu/s_fma.c: New file.
35033 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35034 * sysdeps/powerpc/fpu/s_fma.S: New file.
35035 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35036 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35037 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35038
350392010-10-12 Jakub Jelinek <jakub@redhat.com>
35040
35041 [BZ #3268]
35042 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35043 fma tests.
35044 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35045 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35046 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35047 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35048 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35049 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35051
b833d51f
UD
350522010-10-12 Ulrich Drepper <drepper@redhat.com>
35053
35054 [BZ #12078]
35055 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35056 * posix/bug-regex31.input: Add test case.
35057
1751705d
UD
350582010-10-11 Ulrich Drepper <drepper@gmail.com>
35059
e9b9cbf5
UD
35060 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35061 * posix/bug-regex31.input: New file.
35062
35063 [BZ #12078]
35064 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35065 (parse_sub_exp): Fix last change, use postorder.
35066
ef06edbe
UD
35067 * posix/bug-regex31.c: New file.
35068 * posix/Makefile: Add rules to build and run bug-regex31.
35069
a129c80d
UD
35070 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35071
35072 [BZ #12078]
35073 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35074
b76b818e
UD
35075 [BZ #12108]
35076 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35077 to have entries in sys_siglist.
35078
1751705d
UD
35079 [BZ #12093]
35080 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35081 be NULL.
35082
9ff8d36f
JJ
350832010-10-07 Jakub Jelinek <jakub@redhat.com>
35084
35085 [BZ #3268]
35086 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35087 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35088 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35089 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35090 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35091 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35092 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35093 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35094 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35095 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35096 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35097 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35098 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35099 * math/ftestexcept.c (fetestexcept): Likewise.
35100 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35101 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35102 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35103 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35104 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35105 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35107
af325969
UD
351082010-10-11 Ulrich Drepper <drepper@gmail.com>
35109
c579b202 35110 [BZ #12107]
af325969
UD
35111 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35112 newline.
35113
67a67b95
UD
351142010-10-06 Ulrich Drepper <drepper@gmail.com>
35115
35116 * string/bug-strstr1.c: New file.
35117 * string/Makefile: Add rules to build and run bug-strstr1.
35118
5fb308bc
EB
351192010-10-05 Eric Blake <eblake@redhat.com>
35120
35121 [BZ #12092]
35122 * string/str-two-way.h (two_way_long_needle): Always clear memory
35123 when skipping input due to the shift table.
35124
45db99c7
UD
351252010-10-03 Ulrich Drepper <drepper@gmail.com>
35126
3b111893
UD
35127 [BZ #12005]
35128 * malloc/mcheck.c: Handle large requests.
35129
45db99c7
UD
35130 [BZ #12077]
35131 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35132 for strncmp and strncasecmp.
35133 * string/stratcliff.c: Add tests for strcmp and strncmp.
35134 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35135
cf7a1eb8
NI
351362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35137
35138 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35139 __set_fpscr.
35140
6484ba5e
AJ
351412010-09-30 Andreas Jaeger <aj@suse.de>
35142
35143 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35144 (CGROUP_SUPER_MAGIC): Define.
35145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35146 Handle btrfs and cgroup file systems.
35147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35148 Likewise.
35149
91c42559
LM
351502010-09-27 Luis Machado <luisgpm@br.ibm.com>
35151
35152 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35153 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35154
87a97932
AK
351552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35156
35157 [BZ #12067]
35158 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35159 trying to locate the ELF header.
35160
c21cc9bc
AS
351612010-09-27 Andreas Schwab <schwab@redhat.com>
35162
35163 [BZ #11611]
35164 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35165 Mask out sign-bit copies when constructing f_fsid.
35166
315970f6
PB
351672010-09-24 Petr Baudis <pasky@suse.cz>
35168
35169 * debug/stack_chk_fail_local.c: Add missing licence exception.
35170 * debug/warning-nop.c: Likewise.
35171
1ac7a2c7
JM
351722010-09-15 Joseph Myers <joseph@codesourcery.com>
35173
35174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35175 implementing getdents64 using getdents syscall, set d_type if
35176 __ASSUME_GETDENTS32_D_TYPE.
35177
56801c50
AS
351782010-09-16 Andreas Schwab <schwab@redhat.com>
35179
35180 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35181 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35182
dda51327
UD
351832010-09-21 Ulrich Drepper <drepper@redhat.com>
35184
35185 [BZ #12037]
35186 * posix/unistd.h: Undo change of feature selection for ftruncate from
35187 2010-01-11.
35188
8ffcee4a
UD
351892010-09-20 Ulrich Drepper <drepper@redhat.com>
35190
a545ecd9 35191 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35192 detection.
35193
e24f0a8b
AS
351942010-09-20 Andreas Schwab <schwab@redhat.com>
35195
35196 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35197 fanotify_mark.
35198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35199
7291c56f
AS
352002010-09-14 Andreas Schwab <schwab@redhat.com>
35201
35202 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35203 variables after CHECK_SP call.
35204 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35205
bc5fb037
AS
352062010-09-13 Andreas Schwab <schwab@redhat.com>
35207 Ulrich Drepper <drepper@redhat.com>
35208
35209 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35210 re-relocationg ld.so.
35211 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35212 _dl_init_paths call.
35213 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35214 here anymore.
35215
e66e7419
UD
352162010-09-14 Ulrich Drepper <drepper@redhat.com>
35217
35218 * resolv/res_init.c (__res_vinit): Count the default server we added.
35219
c044aa75
CLT
352202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35221 Ulrich Drepper <drepper@redhat.com>
35222
35223 [BZ #11968]
35224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35225 (____longjmp_chk): Use %ebx for saving value across system call.
35226 Add unwind info.
35227
32cf4069
AS
352282010-09-06 Andreas Schwab <schwab@redhat.com>
35229
35230 * manual/Makefile: Don't mix pattern rules with normal rules.
35231
817328ee
AS
352322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35233
35234 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35235 operation.
35236 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35237 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35238 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35239 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35241 Likewise.
35242
29fddf61
UD
352432010-09-04 Ulrich Drepper <drepper@redhat.com>
35244
35245 [BZ #11979]
35246 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35247 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35248
0959ffc9
UD
352492010-09-02 Ulrich Drepper <drepper@redhat.com>
35250
35251 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35252 * sysdeps/x86_64/addmul_1.S: Likewise.
35253 * sysdeps/x86_64/lshift.S: Likewise.
35254 * sysdeps/x86_64/mul_1.S: Likewise.
35255 * sysdeps/x86_64/rshift.S: Likewise.
35256 * sysdeps/x86_64/sub_n.S: Likewise.
35257 * sysdeps/x86_64/submul_1.S: Likewise.
35258
ece29840
ST
352592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35260
0959ffc9
UD
35261 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35262 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35263 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35264 * bits/sched.h [__need_schedparam]
ece29840 35265 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35266 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35267 (__defined_schedparam): Define to 1.
ece29840
ST
35268 (__sched_param): New structure, identical to sched_param.
35269 (__need_schedparam): Undefine.
35270
e53a31fe
MF
352712010-08-31 Mike Frysinger <vapier@gentoo.org>
35272
fdc0c10d
MF
35273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35274 (epoll_create1): Declare.
35275
e53a31fe
MF
35276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35277
a726d796
AS
352782010-08-31 Andreas Schwab <schwab@redhat.com>
35279
35280 [BZ #7066]
35281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35282 shifting retval into place.
35283
2f3e3dc7
UD
352842010-09-01 Ulrich Drepper <drepper@redhat.com>
35285
f2933da9
UD
35286 * nis/rpcsvc/nis.h: Update copyright notice.
35287 * nis/rpcsvc/nis.x: Likewise.
35288 * nis/rpcsvc/nis_callback.h: Likewise.
35289 * nis/rpcsvc/nis_callback.x: Likewise.
35290 * nis/rpcsvc/nis_object.x: Likewise.
35291 * nis/rpcsvc/nis_tags.h: Likewise.
35292 * nis/rpcsvc/yp.h: Likewise.
35293 * nis/rpcsvc/yp.x: Likewise.
35294 * nis/rpcsvc/ypupd.h: Likewise.
35295 * nis/yp_xdr.c: Likewise.
35296 * nis/ypupdate_xdr.c: Likewise.
35297
2f3e3dc7
UD
35298 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35299 mainly the body of pmap_getport. Add parameters to specify timeouts.
35300 (pmap_getport): Use __libc_rpc_getport.
35301 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35302 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35303 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35304
f3dcc2f9
AS
353052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35306
35307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35308 fanotify_mark.
35309
6d34eb5b
RM
353102010-08-27 Roland McGrath <roland@redhat.com>
35311
35312 * sysdeps/i386/i686/multiarch/Makefile
35313 (CFLAGS-varshift.c): New variable.
35314
9ea3de11
UD
353152010-08-27 Ulrich Drepper <drepper@redhat.com>
35316
c96d23fc
UD
35317 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35318 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35319
9ea3de11
UD
35320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35321
35322 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35323
623aac7f
L
353242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35325
35326 * sysdeps/x86_64/strlen.S: Unroll the loop.
35327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35328 strlen-sse2 strlen-sse2-bsf.
35329 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35330 __strlen_no_bsf if bit_Slow_BSF is set.
35331 (__strlen_sse42): Removed.
35332 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35333 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35334
8b2b7715
RM
353352010-08-25 Roland McGrath <roland@redhat.com>
35336
35337 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35338 * sysdeps/x86_64/multiarch/varshift.c: New file.
35339 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35340 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35341 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35343
e73015f2
L
353442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35345
35346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35347 strlen-sse2 strlen-sse2-bsf.
35348 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35349 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35350 (__strlen_sse2): Removed.
35351 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35354 bit_Slow_BSF for Atom.
35355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35356 (index_Slow_BSF): Define.
35357 (HAS_SLOW_BSF): Define.
35358
df24a73e
UD
353592010-08-25 Ulrich Drepper <drepper@redhat.com>
35360
35361 [BZ #10851]
35362 * resolv/res_init.c (__res_vinit): When no server address at all
35363 is given default to loopback.
35364
f2ac4868
RM
353652010-08-24 Roland McGrath <roland@redhat.com>
35366
09055553
RM
35367 * configure.in: Remove config-name.h generation.
35368 * configure: Regenerated.
35369 * config-name.in: File removed.
35370 * scripts/config-uname.sh: New file.
35371 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35372 ($(objdir)config-name.h): New target.
35373
f2ac4868
RM
35374 * sunrpc/rpc_parse.h: Avoid nested comment.
35375
73f27d5e
RH
353762010-08-24 Richard Henderson <rth@redhat.com>
35377 Ulrich Drepper <drepper@redhat.com>
35378 H.J. Lu <hongjiu.lu@intel.com>
35379
35380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35382 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35383 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35384 _mm_alignr_epi8 with _mm_loadu_si128.
35385 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35386 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35387 (__m128i_shift_right): Removed.
35388 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35389 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35390 * sysdeps/x86_64/multiarch/varshift.h: New file.
35391 * sysdeps/x86_64/multiarch/varshift.S: New file.
35392
84b9230c
MF
353932010-08-21 Mike Frysinger <vapier@gentoo.org>
35394
35395 * configure.in: Move assembler checks to before sysdep dir checking.
35396
9bbd0ddc
PB
353972010-08-20 Petr Baudis <pasky@suse.cz>
35398
35399 * LICENSES: Sync the sunrpc license.
35400
9da4bb31
UD
354012010-08-19 Ulrich Drepper <drepper@redhat.com>
35402
a7ab6ec8
UD
35403 * sunrpc/auth_des.c: Update copyright notice once again.
35404 * sunrpc/auth_none.c: Likewise.
35405 * sunrpc/auth_unix.c: Likewise.
35406 * sunrpc/authdes_prot.c: Likewise.
35407 * sunrpc/authuxprot.c: Likewise.
35408 * sunrpc/bindrsvprt.c: Likewise.
35409 * sunrpc/clnt_gen.c: Likewise.
35410 * sunrpc/clnt_perr.c: Likewise.
35411 * sunrpc/clnt_raw.c: Likewise.
35412 * sunrpc/clnt_simp.c: Likewise.
35413 * sunrpc/clnt_tcp.c: Likewise.
35414 * sunrpc/clnt_udp.c: Likewise.
35415 * sunrpc/clnt_unix.c: Likewise.
35416 * sunrpc/des_crypt.c: Likewise.
35417 * sunrpc/des_soft.c: Likewise.
35418 * sunrpc/get_myaddr.c: Likewise.
35419 * sunrpc/getrpcport.c: Likewise.
35420 * sunrpc/key_call.c: Likewise.
35421 * sunrpc/key_prot.c: Likewise.
35422 * sunrpc/openchild.c: Likewise.
35423 * sunrpc/pm_getmaps.c: Likewise.
35424 * sunrpc/pm_getport.c: Likewise.
35425 * sunrpc/pmap_clnt.c: Likewise.
35426 * sunrpc/pmap_prot.c: Likewise.
35427 * sunrpc/pmap_prot2.c: Likewise.
35428 * sunrpc/pmap_rmt.c: Likewise.
35429 * sunrpc/rpc/auth.h: Likewise.
35430 * sunrpc/rpc/auth_unix.h: Likewise.
35431 * sunrpc/rpc/clnt.h: Likewise.
35432 * sunrpc/rpc/des_crypt.h: Likewise.
35433 * sunrpc/rpc/key_prot.h: Likewise.
35434 * sunrpc/rpc/netdb.h: Likewise.
35435 * sunrpc/rpc/pmap_clnt.h: Likewise.
35436 * sunrpc/rpc/pmap_prot.h: Likewise.
35437 * sunrpc/rpc/pmap_rmt.h: Likewise.
35438 * sunrpc/rpc/rpc.h: Likewise.
35439 * sunrpc/rpc/rpc_des.h: Likewise.
35440 * sunrpc/rpc/rpc_msg.h: Likewise.
35441 * sunrpc/rpc/svc.h: Likewise.
35442 * sunrpc/rpc/svc_auth.h: Likewise.
35443 * sunrpc/rpc/types.h: Likewise.
35444 * sunrpc/rpc/xdr.h: Likewise.
35445 * sunrpc/rpc_clntout.c: Likewise.
35446 * sunrpc/rpc_cmsg.c: Likewise.
35447 * sunrpc/rpc_common.c: Likewise.
35448 * sunrpc/rpc_cout.c: Likewise.
35449 * sunrpc/rpc_dtable.c: Likewise.
35450 * sunrpc/rpc_hout.c: Likewise.
35451 * sunrpc/rpc_main.c: Likewise.
35452 * sunrpc/rpc_parse.c: Likewise.
35453 * sunrpc/rpc_parse.h: Likewise.
35454 * sunrpc/rpc_prot.c: Likewise.
35455 * sunrpc/rpc_sample.c: Likewise.
35456 * sunrpc/rpc_scan.c: Likewise.
35457 * sunrpc/rpc_scan.h: Likewise.
35458 * sunrpc/rpc_svcout.c: Likewise.
35459 * sunrpc/rpc_tblout.c: Likewise.
35460 * sunrpc/rpc_util.c: Likewise.
35461 * sunrpc/rpc_util.h: Likewise.
35462 * sunrpc/rpcinfo.c: Likewise.
35463 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35464 * sunrpc/rpcsvc/key_prot.x: Likewise.
35465 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35466 * sunrpc/rpcsvc/mount.x: Likewise.
35467 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35468 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35469 * sunrpc/rpcsvc/rex.x: Likewise.
35470 * sunrpc/rpcsvc/rstat.x: Likewise.
35471 * sunrpc/rpcsvc/rusers.x: Likewise.
35472 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35473 * sunrpc/rpcsvc/spray.x: Likewise.
35474 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35475 * sunrpc/rtime.c: Likewise.
35476 * sunrpc/svc.c: Likewise.
35477 * sunrpc/svc_auth.c: Likewise.
35478 * sunrpc/svc_authux.c: Likewise.
35479 * sunrpc/svc_raw.c: Likewise.
35480 * sunrpc/svc_run.c: Likewise.
35481 * sunrpc/svc_simple.c: Likewise.
35482 * sunrpc/svc_tcp.c: Likewise.
35483 * sunrpc/svc_udp.c: Likewise.
35484 * sunrpc/svc_unix.c: Likewise.
35485 * sunrpc/svcauth_des.c: Likewise.
35486 * sunrpc/xcrypt.c: Likewise.
35487 * sunrpc/xdr.c: Likewise.
35488 * sunrpc/xdr_array.c: Likewise.
35489 * sunrpc/xdr_float.c: Likewise.
35490 * sunrpc/xdr_mem.c: Likewise.
35491 * sunrpc/xdr_rec.c: Likewise.
35492 * sunrpc/xdr_ref.c: Likewise.
35493 * sunrpc/xdr_sizeof.c: Likewise.
35494 * sunrpc/xdr_stdio.c: Likewise.
35495
9da4bb31
UD
35496 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35497 handling.
35498
bdaa77bc
AS
354992010-08-19 Andreas Schwab <schwab@redhat.com>
35500
35501 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35502
fe2f79db
LM
355032010-08-19 Luis Machado <luisgpm@br.ibm.com>
35504
35505 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35506 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35507 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35508 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35510 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35511 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35512 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35513 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35514 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35515 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35516 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35517 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35518 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35519
b9b42ee0
AB
355202010-07-26 Anton Blanchard <anton@samba.org>
35521
35522 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35523 * malloc/arena.c (heap_trim): Likewise.
35524
1c06ba31
UD
355252010-08-16 Ulrich Drepper <drepper@redhat.com>
35526
35527 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35528 here. Not...
35529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35530 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35531
f8392f40
L
355322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35533
35534 * sysdeps/i386/elf/Makefile: New file.
35535
3162f12e
AS
355362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35537
35538 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35539 from fanotify_init.
35540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35542
28c90b2c
UD
355432010-08-15 Ulrich Drepper <drepper@redhat.com>
35544
35545 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35546 of strncasecmp_l.
1feccb6c 35547 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35548
ca6bb004
UD
355492010-08-14 Ulrich Drepper <drepper@redhat.com>
35550
e9f82e0d
UD
35551 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35552 strncase_l-nonascii.
35553 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35554 Add strncase_l-ssse3.
35555 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35556 * sysdeps/x86_64/strcmp.S: Likewise.
35557 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35558 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35559 * sysdeps/x86_64/strncase.S: New file.
35560 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35561 * sysdeps/x86_64/strncase_l.S: New file.
35562 * string/Makefile (strop-tests): Add strncasecmp.
35563 * string/test-strncasecmp.c: New file.
35564
35565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35566 warning.
35567
ca6bb004
UD
35568 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35569 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35570
052fa7b3
AS
355712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35572
35573 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35574
962dba78
UD
355752010-08-12 Ulrich Drepper <drepper@redhat.com>
35576
35577 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35578 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35579 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35580
bebff237
AM
355812010-05-01 Alan Modra <amodra@gmail.com>
35582
35583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35584 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35585 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35586 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35587 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35588 tidying. Don't tail-call __sigjmp_save for static lib.
35589 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35590 save location.
35591 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35592 (CALL_MCOUNT): Add eh info, and nop after bl.
35593 (TAIL_CALL_SYSCALL_ERROR): New macro.
35594 (PSEUDO_RET): Use it.
35595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35596 Correct save location of integer regs and cr.
35597 (_dl_profile_resolve): Correct cr save location. Delete nops
35598 after bl when SHARED. Reduce cfi size a little by better
35599 placement of cfi directives.
35600 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35601 make a stack frame. Instead use parm save area as a temp.
35602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35603 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35605 Don't make a stack frame for parent, use parm save area.
35606 Increase child stack frame to 112 bytes. Don't save unused reg,
35607 and adjust reg usage. Set up cfi on error recovery and
35608 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35610 (__makecontext): Add dummy nop after jump to exit.
35611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35612 Use correct parm save area and cr save, reduce stack frame.
35613 Correct cfi for possible PSEUDO_RET frame setup.
35614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35615 Branch to local label emitted by PSEUDO_RET rather than
35616 __syscall_error.
35617
02637374
AS
356182010-08-12 Andreas Schwab <schwab@redhat.com>
35619
35620 [BZ #11904]
35621 * locale/programs/locale.c (print_assignment): New function.
35622 (show_locale_vars): Use it.
35623
c3e2f19b
UD
356242010-08-11 Ulrich Drepper <drepper@redhat.com>
35625
3cdaa6ad
UD
35626 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35627 field.
35628 (struct statfs64): Likewise.
35629 (_STATFS_F_FLAGS): Define.
35630 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35632 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35633 (ST_VALID): Define locally.
35634 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35635 __statvfs_getflags, use the provided value.
35636 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35637 __ASSUME_STATFS_F_FLAGS.
35638
754f7da3
UD
35639 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35640
10b3bedc
UD
35641 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35642 Add sys/fanotify.h.
35643 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35644 fanotify_mask for GLIBC_2.13.
35645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35646 fanotify_init and fanotify_mark.
35647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35648 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35649
c08fb0d7
UD
35650 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35651 Add prlimit.
35652 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35653 prlimit64 for GLIBC_2.13.
35654 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35655 prlimit64.
35656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35657 syscall.
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35660 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35661 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35663 add prlimit alias.
35664 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35665
15bac72b
UD
35666 [BZ #11903]
35667 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35668 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35669
c3e2f19b
UD
35670 * nss/Makefile: Add rules to build and run tst-nss-test1.
35671 * shlib-versions: Add entry for libnss_test1.
35672 * nss/nss_test1.c: New file.
35673 * nss/tst-nss-test1.c: New file.
35674
35675 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35676 (__nss_configure_lookup): Set appropriate entry in
35677 __nss_configure_lookup to true.
35678 * nss/nsswitch.h: Define enum with indeces of databases in
35679 databases and __nss_database_custom arrays. Declare
35680 __nss_database_custom.
35681 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35682 to avoid using nscd when custom rules are installed.
35683 * nss/getXXbyYY_r.c: Likewise.
35684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35685
35686 * nss/nss_files/files-parse.c: Whitespace fixes.
35687
f15ce4d8
UD
356882010-08-09 Ulrich Drepper <drepper@redhat.com>
35689
35690 [BZ #11883]
35691 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35692 * posix/fnmatch_loop.c: Likewise.
35693
d22e4cc9
AK
356942010-07-17 Andi Kleen <ak@linux.intel.com>
35695
35696 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35697 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35698 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35699 * Versions.def [GLIBC_2.13]: Add.
35700
805bc17d
UD
357012010-08-06 Ulrich Drepper <drepper@redhat.com>
35702
35703 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35704 Also fail if tpwd after pwuid call is NULL.
35705
5a42321d
ST
357062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35707
35708 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35709 when converting to ms.
35710
fd3ebeda
ST
357112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35712
35713 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35714 EOPNOTSUPP errors with ENOTTY.
35715 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35716 EOPNOTSUPP errors with ENOTTY.
35717
73507d3a
UD
357182010-07-31 Ulrich Drepper <drepper@redhat.com>
35719
35720 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35721 Add strcasecmp_l-ssse3.
35722 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35723 strcasecmp.
35724 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35725 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35726 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35727
fe36dd02
UD
357282010-07-30 Ulrich Drepper <drepper@redhat.com>
35729
66f6765a
UD
35730 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35731
42e08a54
UD
35732 * string/Makefile (strop-tests): Add strcasecmp.
35733 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35734 strcasecmp_l-nonascii.
35735 (gen-as-const-headers): Add locale-defines.sym.
35736 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35737 * sysdeps/x86_64/strcasecmp.S: New file.
35738 * sysdeps/x86_64/strcasecmp_l.S: New file.
35739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35740 * sysdeps/x86_64/locale-defines.sym: New file.
35741 * string/test-strcasecmp.c: New file.
35742
fe36dd02
UD
35743 * string/test-strcasestr.c: Test both ends of the range of characters.
35744 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35745
48cbc0d6
RM
357462010-07-29 Roland McGrath <roland@redhat.com>
35747
76e6d6bc 35748 [BZ #11856]
48cbc0d6
RM
35749 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35750
880113d9
UD
357512010-07-27 Ulrich Drepper <drepper@redhat.com>
35752
35753 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35754 for ld.so.
35755
deb9cabb
AS
357562010-07-27 Andreas Schwab <schwab@redhat.com>
35757
35758 * manual/memory.texi (Malloc Tunable Parameters): Document
35759 M_PERTURB.
35760
1c7570ff
RM
357612010-07-26 Roland McGrath <roland@redhat.com>
35762
35763 [BZ #11840]
35764 * configure.in (-fgnu89-inline check): Set and substitute
35765 gnu89_inline, not libc_cv_gnu89_inline.
35766 * configure: Regenerated.
35767 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35768
24fb0f88
UD
357692010-07-26 Ulrich Drepper <drepper@redhat.com>
35770
35771 * string/test-strnlen.c: New file.
35772 * string/Makefile (strop-tests): Add strnlen.
35773 * string/tester.c (test_strnlen): Add a few more test cases.
35774 * string/tst-strlen.c: Better error reporting.
35775
35776 * sysdeps/x86_64/strnlen.S: New file.
35777
8e96b93a
UD
357782010-07-24 Ulrich Drepper <drepper@redhat.com>
35779
35780 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35781 lower-latency instructions.
35782
dbc676d4
UD
357832010-07-23 Ulrich Drepper <drepper@redhat.com>
35784
35785 * string/test-strcasestr.c: New file.
35786 * string/test-strstr.c: New file.
35787 * string/Makefile (strop-tests): Add strstr and strcasestr.
35788 * string/str-two-way.h: Don't undefine MAX.
35789 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35790
f6a31e0e
AS
357912010-07-21 Andreas Schwab <schwab@redhat.com>
35792
35793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35794 strcasestr-nonascii.
35795 (CFLAGS-strcasestr-nonascii.c): Define.
35796 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35798 Remove unused attribute.
35799
5dbc3b6c
RM
358002010-07-20 Roland McGrath <roland@redhat.com>
35801
35802 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35803 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35804 ld.so.cache was broken. With it, there is no way to disable dsocaps
35805 like LD_HWCAP_MASK can disable hwcaps.
35806
23d101d8
EPM
358072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35808
35809 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35810
cc9f2e47
UD
358112010-07-16 Ulrich Drepper <drepper@redhat.com>
35812
35813 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35814 call in strcasestr.
35815 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35816 __strcasestr_sse42_nonascii.
35817 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35818 strcasestr-nonascii.c.
35819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35820
77c1b069
LM
358212010-06-15 Luis Machado <luisgpm@br.ibm.com>
35822
35823 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35825 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35826 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35827
440566c3
UD
358282010-07-09 Ulrich Drepper <drepper@redhat.com>
35829
35830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35831 fcntl.
35832
5be9d05d
AS
358332010-07-06 Andreas Schwab <schwab@redhat.com>
35834
c30b7ee2 35835 [BZ #11577]
5be9d05d
AS
35836 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35837 dl_signal_cerror.
35838
8a492a67
UD
358392010-07-06 Ulrich Drepper <drepper@redhat.com>
35840
35841 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35842 _PC_PIPE_BUF using F_GETPIPE_SZ.
35843
713df3d5
RM
358442010-07-05 Roland McGrath <roland@redhat.com>
35845
35846 * manual/arith.texi (Rounding Functions): Fix rint description
35847 implicit in round description.
35848
702e8f14
UD
358492010-07-02 Ulrich Drepper <drepper@redhat.com>
35850
35851 * elf/Makefile: Fix linking for a few tests to make recent linker
35852 happy.
35853
52ed8be9
AS
358542010-06-30 Andreas Schwab <schwab@redhat.com>
35855
35856 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35857 $(common-objpfx)libc_nonshared.a.
35858
f47c9a11
LM
358592010-06-21 Luis Machado <luisgpm@br.ibm.com>
35860
35861 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35862 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35863 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35864 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35865 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35866 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35867 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35868 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35883 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35884 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35885 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35886 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35887 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35888 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35889 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35890 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35891 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35892 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35893 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35894 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35909
6fb8cbcb
L
359102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35911
35912 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35913 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35914 * string/memmove.c (memmove): Renamed to ...
35915 (MEMMOVE): ...this. Default to memmove.
35916 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35917 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35918 (END_CHK): Define.
35919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35920 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35921 mempcpy-ssse3-back memmove-ssse3-back.
35922 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35925 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35926 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35927 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35928 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35929 * sysdeps/x86_64/multiarch/memmove.c: New file.
35930 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35931 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35932 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35933 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35934 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35936 Define.
35937 (index_Fast_Copy_Backward): Define.
35938 (HAS_ARCH_FEATURE): Define.
35939 (HAS_FAST_REP_STRING): Define.
35940 (HAS_FAST_COPY_BACKWARD): Define.
35941
4e733bac 359422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35943
35944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35945 Restore proper fallback handling.
35946
63c4ed22
UD
359472010-06-19 Ulrich Drepper <drepper@redhat.com>
35948
ac2b484c
UD
35949 [BZ #11701]
35950 * posix/group_member.c (__group_member): Correct checking loop.
35951
63c4ed22
UD
35952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35953 OOM in getpwuid_r correctly. Return error number when the caller
35954 should return, otherwise -1.
35955 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35956 call returning > 0 value.
35957 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35958
765ade4b
AS
359592010-06-07 Andreas Schwab <schwab@redhat.com>
35960
35961 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35962 libc_nonshared.a from targets in modules-names.
35963
80da2e09
KS
359642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35965
35966 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35967 requires it.
35968
158db122
LM
359692010-06-10 Luis Machado <luisgpm@br.ibm.com>
35970
35971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35972 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35975
caa78cf8
AS
359762010-06-02 Andreas Schwab <schwab@redhat.com>
35977
35978 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35979
b2ef2c01
UD
359802010-06-14 Ulrich Drepper <drepper@redhat.com>
35981
35982 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35983 and F_GETPIPE_SZ.
35984 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35989 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35990
fbd643b6
RM
359912010-06-14 Roland McGrath <roland@redhat.com>
35992
35993 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35994
f32f2869
JJ
359952010-06-07 Jakub Jelinek <jakub@redhat.com>
35996
35997 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35998 __REDIRECT followed by __THROW.
35999 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36000 * posix/getopt.h (getopt): Likewise.
36001
2a50c078
EPM
360022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36003
36004 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36005 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36006 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36007 in AT_FLAGS.
36008 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36009 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36010
eb5ad2eb
LM
360112010-05-28 Luis Machado <luisgpm@br.ibm.com>
36012
36013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36014
3c88fe1e
L
360152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36016
36017 [BZ #11640]
36018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36019 Properly check family and model.
36020
d2f73151
TY
360212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36022
36023 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36024
ebd2e13d
LM
360252010-05-24 Luis Machado <luisgpm@br.ibm.com>
36026
36027 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36028
b32b8b45
UD
360292010-05-21 Ulrich Drepper <drepper@redhat.com>
36030
36031 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36032 symbol reference.
36033
9acbe24d
AS
360342010-05-19 Andreas Schwab <schwab@redhat.com>
36035
36036 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36037 symbol reference.
36038
f0ccf6ea
AS
360392010-05-21 Andreas Schwab <schwab@redhat.com>
36040
3d04ff3a
AS
36041 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36042 and internal_recvmmsg.
36043 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36044 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36045 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36046 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36047
f0ccf6ea
AS
36048 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36049 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36050 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36051
5b08ac57
AS
360522010-05-20 Andreas Schwab <schwab@redhat.com>
36053
36054 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36055
4828935d
LM
360562010-05-17 Luis Machado <luisgpm@br.ibm.com>
36057
36058 POWER7 optimizations.
36059 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36060 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36061
373d545e
UD
360622010-05-19 Ulrich Drepper <drepper@redhat.com>
36063
36064 * version.h: Update for 2.13 development version.
36065
21a2b1ae
AS
360662010-05-12 Andrew Stubbs <ams@codesourcery.com>
36067
36068 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36069 exceptions. Return 0.
36070
3f7dcb2b
RM
360712010-05-07 Roland McGrath <roland@redhat.com>
36072
36073 * elf/ldconfig.c (main): Add a const.
36074
5f24d53a 360752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36076
a160f8d8
UD
36077 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36078 (args_options): Add no-idn option.
36079 (ahosts_keys_int): Add idn_flags to ai_flags.
36080 (parse_option): Handle 'i' option to clear idn_flags.
36081
5f24d53a
UD
36082 * malloc/malloc.c (_int_free): Possible race in the most recently
36083 added check. Only act on the data if no current modification
36084 happened.
265bb1ce
UD
36085
36086See ChangeLog.17 for earlier changes.
This page took 4.847744 seconds and 5 git commands to generate.