]> sourceware.org Git - glibc.git/blame - ChangeLog
Update longlong.h from GCC.
[glibc.git] / ChangeLog
CommitLineData
699ff837
JM
12013-12-04 Joseph Myers <joseph@codesourcery.com>
2
ab07cea8
JM
3 * stdlib/longlong.h: Update from GCC.
4
699ff837
JM
5 [BZ #6807]
6 [BZ #15901]
7 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8 * math/w_j0f.c (y0f): Likewise.
9 * math/w_j0l.c (__y0l): Likewise.
10 * math/w_j1.c (y1): Likewise.
11 * math/w_j1f.c (y1f): Likewise.
12 * math/w_j1l.c (__y1l): Likewise
13 * math/w_jn.c (yn): Likewise.
14 * math/w_jnf.c (ynf): Likewise.
15 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17 value for Bessel function domain errors outside _SVID_ mode.
18 Adjust sign of return value for yn (negative integer, 0).
19 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20 by zero in return for negative x and set sign appropriately for
21 negative n.
22 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25 expectations in error cases.
26 (y1_test_data): Likewise.
27 (yn_test_data): Likewise.
28 * sysdeps/i386/fpu/libm-test-ulps: Update.
29 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30
5b118558
UW
312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32
33 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34 "64" to "64-v1". Add "64-v2".
35 (abi-64-options): Rename to ...
36 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
37 (abi-64-condition): Rename to ...
38 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
39 (abi-64-ld-soname): Rename to ...
40 (abi-64-v1-ld-soname): ... this.
41 (abi-64-v2-options): Define.
42 (abi-64-v2-condition): Likewise.
43 (abi-64-v2-ld-soname): Likewise.
44 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49
61cd8fe4
UW
502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51 Alan Modra <amodra@gmail.com>
52
53 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54 New versions for use with the ELFv2 ABI.
55 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57 declaration.
58 (struct La_ppc64v2_retval): Likewise.
59 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
61 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
62 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
63 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
64 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65 Do not save or restore CR.
66 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
67 (_dl_profile_resolve): Do no save or restore CR. Support extended
68 return values for ELFv2 ABI. Fix location of FPR return registers.
69 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
70 updated values for _CALL_ELF == 2.
71 (La_regs, La_retval, int_retval): Likewise.
72
8b8a692c
UW
732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
74
75 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
76 (FRAME_MIN_SIZE_PARM): Likewise.
77 (FRAME_BACKCHAIN): Likewise.
78 (FRAME_CR_SAVE): Likewise.
79 (FRAME_LR_SAVE): Likewise.
80 (FRAME_TOC_SAVE): Likewise.
81 (FRAME_PARM_SAVE): Likewise.
82 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
83 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
84 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
85 (call_mcount_parm_offset): New macro.
86 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
87 (PROF): Use symbolic stack frame offsets.
88 (TAIL_CALL_SYSCALL_ERROR): Likewise.
89 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
90 Redefine in terms of FRAME_MIN_SIZE.
91 (_dl_runtime_resolve): Use symbolic stack frame offsets.
92 (_dl_profile_resolve): Likewise. Update comment.
93 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
94 symbols stack frame offsets.
95 (__sigsetjmp): Likewise.
96 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
97 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
98 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
99 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
100
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
102 (FRAME_BACKCHAIN): Remove.
103 (FRAME_CR_SAVE): Likewise.
104 (FRAME_LR_SAVE): Likewise.
105 (FRAME_COMPILER_DW): Likewise.
106 (FRAME_LINKER_DW): Likewise.
107 (FRAME_TOC_SAVE): Likewise.
108 (FRAME_PARM_SAVE): Likewise.
109 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
110 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
111 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
113 (CHECK_SP): Use symbolic stack frame offsets.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
115 zone" instead of caller's parameter save area for temp storage.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
117 Likewise. Also, use symbolic stack frame offsets.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
119 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
120 our own stack frame instead of the caller's.
121 (__socket): Use symbolic stack frame offsets.
122
122b66de
UW
1232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
124 Alan Modra <amodra@gmail.com>
125
126 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
127 Define.
128 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
129 PPC64_LOCAL_ENTRY_OFFSET): Define.
130 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
131 New function.
132 (elf_machine_fixup_plt): Call it.
133 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
134 reloc arguments.
135 (elf_machine_rela): Update call to elf_machine_plt_conflict.
136 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
137 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
138 r2 before calling target.
139
696caf1d
UW
1402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
141 Alan Modra <amodra@gmail.com>
142
143 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
144 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
145 versions of macros to support ELFv2 ABI.
146 (LOCALENTRY): New macro.
147 (ENTRY, EALIGN): Use it.
148 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
149 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
150 fall through into ENTRY entry point.
151 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
152 Only define if _CALL_ELF != 2.
153
154 (elf_machine_matches_host): Verify ABI version matches.
155 (RTLD_START): Use LOCALENTRY.
156 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
157 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
158 (PLT_ENTRY_WORDS): New macro.
159 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
160 (elf_machine_runtime_setup): Support ELFv2 ABI.
161 (elf_machine_fixup_plt): Likewise.
162 (elf_machine_plt_conflict): Likewise.
163 (resolve_ifunc): Likewise.
164 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
166 Likewise.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
168 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
170 (makecontext): Support ELFv2 ABI.
171 * elf/elf.h (EF_PPC64_ABI): Define.
172
d31beafa
UW
1732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
174
175 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
176 New assembler macro.
177 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
178 [ASSEMBLER] (ENTRY): ... but instead here ...
179 [ASSEMBLER] (EALIGN): ... and here.
180 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
181 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
182 [!ASSEMBLER] (ENTRY_2): Use it.
183 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
184 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
186 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
187 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
189 Use PPC64_LOAD_FUNCPTR.
190
b525166b
UW
1912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
192
193 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
194
7ec07d9a
AM
1952013-12-04 Alan Modra <amodra@gmail.com>
196
197 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
198 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
199 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
200 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
201
202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
203 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
204 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
205 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
206 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
207 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
208
5162e7dd
UW
2092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
210
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
212 (__makecontext): Fix incorrect CFI when backtracing out of
213 context created via makecontext.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
215 (__setcontext): Fix incorrect CFI during switch to new context.
216 (__novec_setcontext): Likewise.
217
19e3372b
OB
2182013-12-04 Ondřej Bílka <neleai@seznam.cz>
219
220 [BZ #4772]
221 * time/strptime_l.c (__strptime_internal): Allow modifiers
222 in strptime.
223 * time/tst-strptime.c (day_tests): Add testcase.
224
225
ecaf142d
SP
2262013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
227
228 * scripts/bench.pl: Skip over blank lines.
229
fbf964ae
PE
2302013-12-04 Paul Eggert <eggert@cs.ucla.edu>
231
232 [BZ #926]
233 * manual/time.texi (Calendar Time): Clarify what timezone functions
234 use.
235
fa60a674
AZ
2362013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237
238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
239
d674f0ef
OB
2402013-12-04 Ondřej Bílka <neleai@seznam.cz>
241
242 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
243 implementation.
244 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
245 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
246 * debug/memset_chk.c (__memset_chk): Likewise.
247 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
248 * debug/strncpy_chk.c: Likewise.
249
17dea188
JM
2502013-12-03 Joseph Myers <joseph@codesourcery.com>
251
749008ff
JM
252 [BZ #15268]
253 [BZ #15425]
254 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
255 (__ieee754_exp): For possibly underflowing results, check size of
256 result and force underflow exception if required.
257 * math/auto-libm-test-in: Add more tests of exp.
258 * math/auto-libm-test-out: Regenerated.
259 * sysdeps/i386/fpu/libm-test-ulps: Update.
260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
261
17dea188
JM
262 [BZ #16283]
263 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
264 * math/w_exp2f.c (__exp2f): Likewise.
265 * math/w_exp2l.c (__exp2l): Likewise.
266 * math/auto-libm-test-in: Do not allow missing errno on exp2
267 underflow.
268 * math/auto-libm-test-out: Regenerated.
269
b20de2c3
OB
2702013-12-03 Ondřej Bílka <neleai@seznam.cz>
271
272 [BZ #16274]
273 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
274 handle filename validation.
275 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
276 (do_open): Delete.
277
d8e2dbe3
JM
2782013-12-03 Joseph Myers <joseph@codesourcery.com>
279
34e16df5
JM
280 [BZ #6786]
281 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
282 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
283 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
284 <float.h>.
285 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
287 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
289 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
291 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
292 * math/auto-libm-test-in: Don't allow missing errno from erfc.
293 Add more erfc tests.
294 * math/auto-libm-test-out: Regenerated.
295 * sysdeps/i386/fpu/libm-test-ulps: Update.
296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
297
d8e2dbe3
JM
298 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
299 exp2, expm1, j0 and j1.
300 * math/auto-libm-test-out: Regenerated.
301 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
302 (erfc_test_data): Likewise.
303 (exp_test_data): Likewise.
304 (exp_tonearest_test_data): Likewise.
305 (exp_towardzero_test_data): Likewise.
306 (exp_downward_test_data): Likewise.
307 (exp_upward_test_data): Likewise.
308 (exp10_test_data): Likewise.
309 (exp2_test_data): Likewise.
310 (expm1_test_data): Likewise.
311 (j0_test_data): Likewise.
312 (j1_test_data): Likewise.
313 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
314 (input_flag_type): Add flag_xfail_rounding.
315 (input_flags): Add xfail-rounding.
316 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
317 (output_for_one_input_case): Handle flag_xfail_rounding.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
18d14251
AJ
3212013-12-03 Aurelien Jarno <aurelien@aurel32.net>
322
3d2e6075 323 [BZ #16289]
18d14251
AJ
324 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
325 division by 0.
326
520d437b
SP
3272013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
328
329 [BZ #16195]
330 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
331 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
332 (STAP_PROBE0): New macro.
333 (STAP_PROBE1): Likewise.
334 (STAP_PROBE2): Likewise.
335 (STAP_PROBE3): Likewise.
336 (STAP_PROBE4): Likewise.
337
416e0145
OB
3382013-12-02 Ondřej Bílka <neleai@seznam.cz>
339
340 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
341
9d17796a
SE
3422013-12-02 Steve Ellcey <sellcey@mips.com>
343
344 * benchtests/Makefile (bench): Add sqrt.
345 (LDLIBS-bench-sqrt): New.
346 * benchtests/sqrt-input: New.
347
f524d6a8
PS
3482013-12-02 Pavel Simerda <psimerda@redhat.com>
349
639a0ef8
PS
350 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
351 (GAIH_EAI): Likewise.
352 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
353 (gaih_inet): Likewise.
354 (getaddrinfo): Don't use GAIH_EAI.
355
f524d6a8
PS
356 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
357 (struct gaih): Remove definition.
358
df3aedaf
SP
3592013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
360
361 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
362 Use HERRNOP directly.
363
1ab19dec
AZ
3642013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
b42ad38d 366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 367
176b0c79
JM
3682013-11-30 Joseph Myers <joseph@codesourcery.com>
369
370 * math/gen-auto-libm-tests.c (test_functions): Add more
371 single-argument functions.
372 (special_fill_pi_2): New function.
373 (special_fill_minus_pi_2): Likewise.
374 (special_fill_pi_6): Likewise.
375 (special_fill_minus_pi_6): Likewise.
376 (special_fill_pi_3): Likewise.
377 (special_fill_2pi_3): Likewise.
378 (special_fill_e): Likewise.
379 (special_fill_1_e): Likewise.
380 (special_fill_e_minus_1): Likewise.
381 (special_real_inputs): Add more special inputs.
382 (output_for_one_input_case): Do not require ERANGE on underflow to
383 zero if round-to-nearest result does not underflow to zero, unless
384 exact results required.
385 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
386 atan, atanh, cbrt, cos and cosh.
387 * math/auto-libm-test-out: Regenerated.
388 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
389 (acos_tonearest_test_data): Likewise.
390 (acos_towardzero_test_data): Likewise.
391 (acos_downward_test_data): Likewise.
392 (acos_upward_test_data): Likewise.
393 (acosh_test_data): Likewise.
394 (asin_test_data): Likewise.
395 (asin_tonearest_test_data): Likewise.
396 (asin_towardzero_test_data): Likewise.
397 (asin_upward_test_data): Likewise.
398 (asinh_test_data): Likewise.
399 (atan_test_data): Likewise.
400 (atanh_test_data): Likewise.
401 (cbrt_test_data): Likewise.
402 (cos_test_data): Likewise.
403 (cos_tonearest_test_data): Likewise.
404 (cos_towardzero_test_data): Likewise.
405 (cos_downward_test_data): Likewise.
406 (cos_upward_test_data): Likewise.
407 (cosh_test_data): Likewise.
408 (cosh_tonearest_test_data): Likewise.
409 (cosh_towardzero_test_data): Likewise.
410 (cosh_downward_test_data): Likewise.
411 (cosh_upward_test_data): Likewise.
412 * sysdeps/i386/fpu/libm-test-ulps: Update.
413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
414
ffb536d0
JM
4152013-11-29 Joseph Myers <joseph@codesourcery.com>
416
2a77a467
JM
417 [BZ #6787]
418 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
419 * math/w_exp10f.c (__exp10f): Likewise.
420 * math/w_exp10l.c (__exp10l): Likewise.
421 * math/libm-test.inc (exp10_test_data): Add more tests and expect
422 errno settings in existing tests.
423
ea3bc4e8
JM
424 [BZ #14032]
425 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
426 precision control set to double precision.
427 * sysdeps/i386/fpu/w_sqrt.c: New file.
428 * math/auto-libm-test-in: Add more tests.
429 * math/auto-libm-test-out: Update.
430
0712c9d8
JM
431 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
432 (sqrt_test_tonearest): New function.
433 (sqrt_towardzero_test_data): New variable.
434 (sqrt_test_towardzero): New function.
435 (sqrt_downward_test_data): New variable.
436 (sqrt_test_downward): New function.
437 (sqrt_upward_test_data): New variable.
438 (sqrt_test_upward): New function.
439 (main): Call the new functions.
440
ffb536d0
JM
441 * math/gen-auto-libm-tests.c: New file.
442 * math/auto-libm-test-in: Likewise.
443 * math/auto-libm-test-out: New generated file.
444 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
445 variables.
446 (%beautify): Add generated representations of zero.
447 (top level): Set $auto_input and call parse_auto_input.
448 (beautify): Remove trailing "f" from hex float constants.
449 (parse_args): Handle XFAIL_TEST.
450 (convert_condition): New function.
451 (or_value): Likewise.
452 (or_cond_value): Likewise.
453 (generate_testfile): Handle AUTO_TESTS_* lines.
454 (parse_auto_input): New function.
455 * math/libm-test.inc (XFAIL_TEST): New macro.
456 (ERRNO_UNCHANGED): Update value.
457 (ERRNO_EDOM): Likewise.
458 (ERRNO_ERANGE): Likewise.
459 (IGNORE_RESULT): Likewise.
460 (TEST_COND_flt_32): New macro.
461 (TEST_COND_dbl_64): Likewise.
462 (TEST_COND_ldbl_96_intel): Likewise.
463 (TEST_COND_ldbl_96_m68k): Likewise.
464 (TEST_COND_ldbl_128): Likewise.
465 (TEST_COND_ldbl_128ibm): Likewise.
466 (TEST_COND_long32): Likewise.
467 (TEST_COND_long64): Likewise.
468 (TEST_COND_before_rounding): Likewise.
469 (TEST_COND_after_rounding): Likewise.
470 (enable_test): Handle XFAIL_TEST flag.
471 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
472 with finite results.
473 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
474 auto-libm-test-out.
475
acd98a8e
AK
4762013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
477 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
478
479 [BZ #16214]
480 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
481 __tls_get_addr_internal instead of __tls_get_offset in order to
482 avoid GOT pointer dependency. Make rtld export
483 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
484 __tls_get_addr since we are a __tls_get_offset platform.
485 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
486 GOT pointer being set up before.
487 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
488
3c1c46a6
JM
4892013-11-28 Joseph Myers <joseph@codesourcery.com>
490
7475aef5
JM
491 * manual/math.texi (Errors in Math Functions): Document accuracy
492 goals.
493
8bca7cd8
JM
494 [BZ #15004]
495 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
496 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
497 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
498 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
499 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
500 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
501 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
502 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
505 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
506 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
507 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
508 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
509 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
510 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
511
91a1f3fe
JM
512 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
513 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
514 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
515 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
516 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
517 Likewise.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
519 Likewise.
520 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
521 Likewise.
522 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
523 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
524 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
525 atomic-feupdateenv and flt-rounds.
526 * sysdeps/powerpc/nofpu/Versions (libc): Add
527 __atomic_feholdexcept, __atomic_feclearexcept,
528 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
529 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
530 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
531 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
532 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
533 here.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
535 Update.
536
c5df7609
JM
537 * manual/arith.texi (FP Exceptions): Document that exceptions may
538 not be raised when matherr is used.
539 (Math Error Reporting): Document overflow in directed rounding
540 modes. Document that errno may not be set when finite values are
541 returned on overflow. Document intent to set errno on underflow
542 only for underflow to zero.
543
3c1c46a6
JM
544 [BZ #16271]
545 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
546 round-to-nearest then adjust result for other rounding modes.
547 * include/fenv.h (fegetround): Use libm_hidden_proto.
548 * math/fegetround.c (fegetround): Use libm_hidden_def.
549 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
550 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
551 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
552 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
553 Likewise.
554 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
555 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
556 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
557 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
558
5a4c6d53
SP
5592013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
560
561 [BZ #16077]
562 * nss/Versions (libnss_files): Add
563 _nss_files_gethostbyname3_r.
564 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
565 New function.
566 (HOST_DB_LOOKUP): Remove macro.
567 (_nss_files_gethostbyname_r): Implement function without the
568 HOST_DB_LOOKUP macro.
569 (_nss_files_gethostbyname2_r): Likewise.
570
897b98ba
OB
5712013-11-28 Ondřej Bílka <neleai@seznam.cz>
572
573 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
574
6f476861
UB
5752013-11-26 Uros Bizjak <ubizjak@gmail.com>
576
577 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
578 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
579 warning.
580
bd12ab55
AZ
5812013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
582
583 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
584 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
585 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
586 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
587 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
588 __fe_nomask_env_priv and attribute_hidden.
589 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
590 (libc_feupdateenv_test_ppc): Likewise.
591 (libc_feresetround_ppc): Likewise.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
593 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
594 compat_symbol macro.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
596 (__fe_nomask_env): Likewise.
597 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
598
52bb6543
OB
5992013-11-26 Ondřej Bílka <neleai@seznam.cz>
600
601 * string/Makefile: Remove ifunc tests.
602 * string/test-string.h: Define TEST_IFUNC.
603 * string/test-bcopy-ifunc.c: Remove.
604 * string/test-bzero-ifunc.c: Likewise.
605 * string/test-memccpy-ifunc.c: Likewise.
606 * string/test-memchr-ifunc.c: Likewise.
607 * string/test-memcmp-ifunc.c: Likewise.
608 * string/test-memcpy-ifunc.c: Likewise.
609 * string/test-memmem-ifunc.c: Likewise.
610 * string/test-memmove-ifunc.c: Likewise.
611 * string/test-mempcpy-ifunc.c: Likewise.
612 * string/test-memrchr-ifunc.c: Likewise.
613 * string/test-memset-ifunc.c: Likewise.
614 * string/test-rawmemchr-ifunc.c: Likewise.
615 * string/test-stpcpy-ifunc.c: Likewise.
616 * string/test-stpncpy-ifunc.c: Likewise.
617 * string/test-strcasecmp-ifunc.c: Likewise.
618 * string/test-strcasestr-ifunc.c: Likewise.
619 * string/test-strcat-ifunc.c: Likewise.
620 * string/test-strchr-ifunc.c: Likewise.
621 * string/test-strchrnul-ifunc.c: Likewise.
622 * string/test-strcmp-ifunc.c: Likewise.
623 * string/test-strcpy-ifunc.c: Likewise.
624 * string/test-strcspn-ifunc.c: Likewise.
625 * string/test-strlen-ifunc.c: Likewise.
626 * string/test-strncasecmp-ifunc.c: Likewise.
627 * string/test-strncat-ifunc.c: Likewise.
628 * string/test-strncmp-ifunc.c: Likewise.
629 * string/test-strncpy-ifunc.c: Likewise.
630 * string/test-strnlen-ifunc.c: Likewise.
631 * string/test-strpbrk-ifunc.c: Likewise.
632 * string/test-strrchr-ifunc.c: Likewise.
633 * string/test-strspn-ifunc.c: Likewise.
634 * string/test-strstr-ifunc.c: Likewise.
635
ab260039 6362013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
637
638 * benchtests/Makefile: Remove ifunc tests.
639 * benchtests/bench-string.h: Define TEST_IFUNC.
640 * benchtests/bench-bcopy-ifunc.c: Remove.
641 * benchtests/bench-bzero-ifunc.c: Likewise.
642 * benchtests/bench-memccpy-ifunc.c: Likewise.
643 * benchtests/bench-memchr-ifunc.c: Likewise.
644 * benchtests/bench-memcmp-ifunc.c: Likewise.
645 * benchtests/bench-memcpy-ifunc.c: Likewise.
646 * benchtests/bench-memmem-ifunc.c: Likewise.
647 * benchtests/bench-memmove-ifunc.c: Likewise.
648 * benchtests/bench-mempcpy-ifunc.c: Likewise.
649 * benchtests/bench-memrchr-ifunc.c: Likewise.
650 * benchtests/bench-memset-ifunc.c: Likewise.
651 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
652 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
653 * benchtests/bench-stpcpy-ifunc.c: Likewise.
654 * benchtests/bench-stpncpy-ifunc.c: Likewise.
655 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
656 * benchtests/bench-strcasestr-ifunc.c: Likewise.
657 * benchtests/bench-strcat-ifunc.c: Likewise.
658 * benchtests/bench-strchr-ifunc.c: Likewise.
659 * benchtests/bench-strchrnul-ifunc.c: Likewise.
660 * benchtests/bench-strcmp-ifunc.c: Likewise.
661 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
662 * benchtests/bench-strcpy-ifunc.c: Likewise.
663 * benchtests/bench-strcspn-ifunc.c: Likewise.
664 * benchtests/bench-strlen-ifunc.c: Likewise.
665 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
666 * benchtests/bench-strncat-ifunc.c: Likewise.
667 * benchtests/bench-strncmp-ifunc.c: Likewise.
668 * benchtests/bench-strncpy-ifunc.c: Likewise.
669 * benchtests/bench-strnlen-ifunc.c: Likewise.
670 * benchtests/bench-strpbrk-ifunc.c: Likewise.
671 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 672 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
673 * benchtests/bench-strspn-ifunc.c: Likewise.
674 * benchtests/bench-strstr-ifunc.c: Likewise.
675
6762013-11-26 Ondřej Bílka <neleai@seznam.cz>
677
ab260039
OB
678 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
679
d1d9eaf4 6802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 681
d1d9eaf4
OB
682 * resolv/netdb.h: Use __glibc_reserved instead __unused.
683 * rt/aio.h: Likewise.
684 * sysdeps/gnu/bits/utmp.h: Likewise.
685 * sysdeps/gnu/bits/utmpx.h: Likewise.
686 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
687 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
688 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
689 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
690 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
691 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
692 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
693 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
701 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
702 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
703 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
704 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
705 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
706 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
707 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
708 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
709 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
710 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
717 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
719 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
721 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
722 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
723 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
724 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
725 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
726 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
727 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
728
a7624ed9
CD
7292013-11-25 Carlos O'Donell <carlos@redhat.com>
730
731 [BZ #16245]
732 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
733 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
734
63cfe52b
JM
7352013-11-25 Joseph Myers <joseph@codesourcery.com>
736
737 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
739 Likewise.
740
41e8926a
AZ
7412013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742
743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
744 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
745 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
746 (__fesetround): Remove define.
747 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
748 rounding and exceptions handling.
749 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
750 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
751 (__fe_nomask_env): Likewise.
752 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
753 __fegetround instead of fegetround.
754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
756
6851bd4d
RM
7572013-11-21 Roland McGrath <roland@hack.frob.com>
758
070906ff
RM
759 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
760 it's there.
761
6851bd4d
RM
762 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
763
84ae135d
MI
7642013-11-21 Meador Inge <meadori@codesourcery.com>
765
766 [BZ #11157]
767 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
768 (encrypt_r): Likewise.
769 * malloc/obstack.h (obstack_free): Likewise.
770 * posix/unistd.h (encrypt): Likewise.
771
daf75146
GM
7722013-11-21 Guy Martin <gmsoft@tuxicoman.be>
773
774 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
775 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
776 DL_CALL_DT_FINI() that call the functions directly.
777 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
778 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
779 * elf/dl-fini.c: Likewise.
780
10ad46bc
OB
7812013-11-20 Ondřej Bílka <neleai@seznam.cz>
782
783 * malloc/hooks.c (memalign_check): Add alignment rounding.
784 * malloc/malloc.c (_mid_memalign): New function.
785 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
786 Implement by calling _mid_memalign.
787 * manual/probes.texi (Memory Allocation Probes): Remove
788 memory_valloc_retry and memory_pvalloc_retry.
789
f3fd2628
SP
7902013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
791
4712799f
SP
792 * locale/programs/locarchive.c (open_archive): Add const
793 qualifier to ARCHIVEFNAME and copy default fname to
794 DEFAULT_FNAME.
795
0417b20f
SP
796 [BZ #15601]
797 * libio/tst-widetext.input: Rename Oriya to Odia.
798 * locale/iso-639.def: Likewise.
799
f3fd2628
SP
800 * manual/probes.texi (Mathematical Function Probes): Add
801 documentation for sin, cos, asin and acos probes.
802 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
803 (__sin32): Add slowasin probe.
804 (__cos32): Add slowacos probe.
805 (__mpsin): Add slowsin probe.
806 (__mpcos): Add slowcos probe.
807
73c1ce4f
JM
8082013-11-19 Joseph Myers <joseph@codesourcery.com>
809
810 [BZ #15483]
811 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
812 thread-local __sim_exceptions_thread and global
813 __sim_exceptions_global.
814 (__sim_disabled_exceptions): Change to thread-local
815 __sim_disabled_exceptions_thread and global
816 __sim_disabled_exceptions_global.
817 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
818 and global __sim_round_mode_global.
819 (__simulate_exceptions): Use thread-local floating-point state and
820 set global state from it as needed.
821 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
822 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
823 __sim_round_mode_thread.
824 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
825 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
826 and global __sim_exceptions_global.
827 (__sim_disabled_exceptions): Change to thread-local
828 __sim_disabled_exceptions_thread and global
829 __sim_disabled_exceptions_global.
830 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
831 and global __sim_round_mode_global.
832 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
833 (SIM_SET_GLOBAL): Likewise.
834 * sysdeps/powerpc/soft-fp/sfp-machine.h
835 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
836 __sim_round_mode_thread.
837 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
838 __sim_disabled_exceptions_thread.
839 (__sim_exceptions): Change to __sim_exceptions_thread.
840 (__sim_disabled_exceptions): Change to
841 __sim_disabled_exceptions_thread.
842 (__sim_round_mode): Change to __sim_round_mode_thread.
843 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
844 thread-local floating-point state and set global state from it as
845 needed.
846 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
847 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
848 (__sim_disabled_exceptions): Remove extern declaration.
849 (feenableexcept): Use thread-local floating-point state and set
850 global state from it as needed.
851 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
852 extern declaration.
853 (__sim_disabled_exceptions): Likewise.
854 (__sim_round_mode): Likewise.
855 (__fegetenv): Use thread-local floating-point state.
856 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
857 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
858 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
859 floating-point state and set global state from it as needed.
860 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
861 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
862 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
863 Likewise.
864 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
865 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
866 Likewise.
867 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
868 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
869 Use __sim_round_mode_thread.
870 * math/test-fenv-tls.c: New file.
871 * math/Makefile (tests): Add test-fenv-tls.
872 ($(objpfx)test-fenv-tls): Depend on
873 $(common-objpfx)nptl/libpthread.so.
874
b5449b12
AS
8752013-11-19 Andreas Schwab <schwab@suse.de>
876
877 * locale/programs/locale.c (show_info): Decode wordarray elements.
878 * locale/categories.def (LC_MONETARY): Add element for
879 _NL_MONETARY_CRNCYSTR.
880 * locale/C-monetary.c (conversion_rate): New variable.
881 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
882 element.
883
e186536b
CM
8842013-11-18 Chris Metcalf <cmetcalf@tilera.com>
885
886 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
887 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
888
5c349950
PP
8892013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
890
891 * elf/Makefile (tst-auxv): New test.
892 * elf/tst-auxv.c: New
893 * elf/rtld.c (dl_main): Adjust AT_EXECFN
894
699df45b
JM
8952013-11-18 Joseph Myers <joseph@codesourcery.com>
896
897 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
898 (hidden_proto): Caller changed.
899 (hidden_tls_proto): New macro.
900 (libc_hidden_tls_proto): Likewise.
901 (rtld_hidden_tls_proto): Likewise.
902 (libm_hidden_tls_proto): Likewise.
903 (libresolv_hidden_tls_proto): Likewise.
904 (librt_hidden_tls_proto): Likewise.
905 (libdl_hidden_tls_proto): Likewise.
906 (libnss_files_hidden_tls_proto): Likewise.
907 (libnsl_hidden_tls_proto): Likewise.
908 (libnss_nisplus_hidden_tls_proto): Likewise.
909 (libutil_hidden_tls_proto): Likewise.
910
b7589107
OB
9112013-11-18 Ondřej Bílka <neleai@seznam.cz>
912
913 [BZ #10253]
914 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
915 (decompose_rpath): Defer expansion to fillin_rpath.
916 (_dl_init_paths): Pass linkmap to fillin_rpath.
917
250c23bd
RS
9182013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
919
920 * benchtests/Makefile: Add strsep.
921 * benchtests/bench-strsep.c: New file: strsep benchtest.
922 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
923
a7931fcf
AS
9242013-11-18 Andreas Schwab <schwab@suse.de>
925
926 * locale/programs/locale.c (show_info) [case byte]: Check for
927 '\377' instead of '\177'.
928 * locale/C-monetary.c (not_available): Always use "\377".
929 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
930 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
931 detect unavailable sign_posn locale elements.
932 * locale/localeconv.c (__localeconv): For grouping and
933 mon_grouping handle "\177" and "\377" like no grouping.
934 (INT_ELEM): New macro. Use it to set all numeric members.
935 * locale/programs/ld-monetary.c (monetary_read)
936 <tok_mon_grouping>: Normalize single -1 to the empty string.
937 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
938 Likewise.
939
728dab0e
OB
9402013-11-07 Ondřej Bílka <neleai@seznam.cz>
941
942 [BZ #16055]
943 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
944 when we match (nil).
945 * stdio-common/tst-sscanf.c (struct test): Add testcase.
946
66294491
JM
9472013-11-16 Joseph Myers <joseph@codesourcery.com>
948
ce665817
JM
949 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
950 (NO_TEST_INLINE): Update value.
951 (ERRNO_UNCHANGED): Likewise.
952 (ERRNO_EDOM): Likewise.
953 (ERRNO_ERANGE): Likewise.
954 (IGNORE_RESULT): Likewise.
955 (check_float_internal): Check signs of NaN results if
956 TEST_NAN_SIGN used.
957 (check_complex): Pass TEST_NAN_SIGN flag through to second
958 check_float_internal call.
959 (copysign_test_data): Add tests with quiet NaNs as second
960 argument. Use TEST_NAN_SIGN.
961 (fabs_test_data): Add test of negative quiet NaN argument. Use
962 TEST_NAN_SIGN.
963 (signbit_test_data): Add tests of quiet NaN argument.
964 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
965
ee1466a9
JM
966 * math/gen-libm-test.pl (show_exceptions): Take extra argument
967 $ignore_result.
968 (parse_args): Handle function results specified as IGNORE.
969 * math/libm-test.inc (IGNORE_RESULT): New macro.
970 (check_float_internal): Do not check numerical result if flag
971 IGNORE_RESULT set.
972 (check_complex): Pass through IGNORE_RESULT to second
973 check_float_internal call.
974 (check_int): Do not check numerical result if flag IGNORE_RESULT
975 set.
976 (check_long): Likewise.
977 (check_bool): Likewise.
978 (check_longlong): Likewise.
979 (lrint_test_data): Add tests of infinite and NaN arguments.
980 (lrint_tonearest_test_data): Likewise.
981 (lrint_towardzero_test_data): Likewise.
982 (lrint_downward_test_data): Likewise.
983 (lrint_upward_test_data): Likewise.
984 (llrint_test_data): Likewise.
985 (llrint_tonearest_test_data): Likewise.
986 (llrint_towardzero_test_data): Likewise.
987 (llrint_downward_test_data): Likewise.
988 (llrint_upward_test_data): Likewise.
989 (lround_test_data): Likewise.
990 (llround_test_data): Likewise.
991
14407b7e
JM
992 * math/libm-test.inc (NO_TEST_INLINE): New macro.
993 (ERRNO_UNCHANGED): Update value.
994 (ERRNO_EDOM): Likewise.
995 (ERRNO_ERANGE): Likewise.
996 (NO_TEST_INLINE_FLOAT): New macro.
997 (NO_TEST_INLINE_DOUBLE): Likewise.
998 (enable_test): New function.
999 (RUN_TEST_f_f): Check enable_test before running test.
1000 (RUN_TEST_2_f): Likewise.
1001 (RUN_TEST_fff_f): Likewise.
1002 (RUN_TEST_c_f): Likewise.
1003 (RUN_TEST_f_f1): Likewise.
1004 (RUN_TEST_fF_f1): Likewise.
1005 (RUN_TEST_fI_f1): Likewise.
1006 (RUN_TEST_ffI_f1): Likewise.
1007 (RUN_TEST_c_c): Likewise.
1008 (RUN_TEST_cc_c): Likewise.
1009 (RUN_TEST_f_i): Likewise.
1010 (RUN_TEST_f_i_tg): Likewise.
1011 (RUN_TEST_ff_i_tg): Likewise.
1012 (RUN_TEST_f_b): Likewise.
1013 (RUN_TEST_f_b_tg): Likewise.
1014 (RUN_TEST_f_l): Likewise.
1015 (RUN_TEST_f_L): Likewise.
1016 (RUN_TEST_fFF_11): Likewise.
1017 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1018 conditionals.
1019 (cosh_test_data): Likewise.
1020 (exp_test_data): Likewise.
1021 (expm1_test_data): Likewise.
1022 (hypot_test_data): Likewise.
1023 (pow_test_data): Likewise.
1024 (sinh_test_data): Likewise.
1025 (tanh_test_data): Likewise.
1026 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1027 flags argument.
1028
ca07f197
JM
1029 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1030 tests with quiet NaN input and output.
1031 (acosh_test_data): Likewise.
1032 (asin_test_data): Likewise.
1033 (asinh_test_data): Likewise.
1034 (atan_test_data): Likewise.
1035 (atanh_test_data): Likewise.
1036 (atan2_test_data): Likewise.
1037 (cbrt_test_data): Likewise.
1038 (cos_test_data): Likewise.
1039 (cosh_test_data): Likewise.
1040 (erf_test_data): Likewise.
1041 (erfc_test_data): Likewise.
1042 (exp_test_data): Likewise.
1043 (exp10_test_data): Likewise.
1044 (exp2_test_data): Likewise.
1045 (expm1_test_data): Likewise.
1046 (hypot_test_data): Likewise.
1047 (j0_test_data): Likewise.
1048 (j1_test_data): Likewise.
1049 (jn_test_data): Likewise.
1050 (lgamma_test_data): Likewise.
1051 (log_test_data): Likewise.
1052 (log10_test_data): Likewise.
1053 (log1p_test_data): Likewise.
1054 (log2_test_data): Likewise.
1055 (pow_test_data): Likewise.
1056 (scalb_test_data): Likewise.
1057 (sin_test_data): Likewise.
1058 (sincos_test_data): Likewise.
1059 (sinh_test_data): Likewise.
1060 (tan_test_data): Likewise.
1061 (tanh_test_data): Likewise.
1062 (tgamma_test_data): Likewise.
1063 (y0_test_data): Likewise.
1064 (y1_test_data): Likewise.
1065 (yn_test_data): Likewise.
1066
66294491
JM
1067 [BZ #16167]
1068 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1069 argument being NaN and avoid computations with second argument in
1070 that case.
1071 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1072 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1073 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1074
1820b143
CL
10752013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1076
1077 * locale/iso-639.def: Add Chitwani Tharu (the).
1078
714bd261
AS
10792013-11-14 Andreas Schwab <schwab@suse.de>
1080
1081 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1082 word instead of empty string.
1083
7ab44563
AZ
10842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1087 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1089 (__fe_nomask_env): Likewise.
1090
e8470ea2
SE
10912013-11-13 Steve Ellcey <sellcey@mips.com>
1092
1093 * benchtests/bench-timing.h: Include time.h.
1094
17c1d9f0
L
10952013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 [BZ #15997]
1098 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1099 to 3.4.0 for x32.
1100 * sysdeps/unix/sysv/linux/configure: Regenerated.
1101
9310c284
JM
11022013-11-13 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #16151]
1105 * stdlib/strtod_l.c (round_and_return): Do not consider
1106 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1107 exponent one less than half the least subnormal exponent.
1108 * stdlib/test-strtod-round-data: Add more tests.
1109 * stdlib/tst-strtod-round.c (tests): Regenerated.
1110
7a2ad8cf
AZ
11112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112
1113 [BZ #14143]
1114 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1115 (__fe_mask_env): Likewise.
1116 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1117 libm_hidden_proto and add function prototype.
1118 (__fe_mask_env): Add function prototype.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1120 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1122 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1124 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1125
50727aa7
MS
11262013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1127
b2f386c1 1128 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1129 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1130
a615be46
MS
11312013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1132
1133 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1134 of htab_find_slot().
1135
7ddace62
DM
11362013-11-11 David S. Miller <davem@davemloft.net>
1137
1138 [BZ #16150]
1139 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1140 symbol in the non-vis3 case in static builds.
1141 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1142 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1143 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1144 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1145
9182aa67
JK
11462013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1147
1148 [BZ #387]
1149 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1150 it is empty.
1151
450a2e2d
AZ
11522013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153
b2f386c1
SP
1154 * benchtests/Makefile: Add bench-strtod.
1155 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1156
8ec3f656
AS
11572013-11-11 Andreas Schwab <schwab@suse.de>
1158
1159 [BZ #16153]
1160 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1161 terminating NUL in key length.
1162
76a9b998
AZ
11632013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1166 Add artificial ODP entry for vDSO symbol for PPC64.
1167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1168 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1169
e4368156
OB
11702013-11-07 Ondřej Bílka <neleai@seznam.cz>
1171
1172 [BZ #15374]
1173 * nss/getent.c (services_keys): Recognize services starting with digit.
1174
8d6bb57c
DM
11752013-11-06 David S. Miller <davem@davemloft.net>
1176
1177 [BZ #15985]
1178 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1179 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1180
e256c421
WN
11812013-11-06 Will Newton <will.newton@linaro.org>
1182
1183 * manual/memory.texi (Malloc Examples): Remove register
1184 keyword from examples.
1185
f6e12daa 11862013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1187
f6e12daa 1188 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1189
9d880655
AS
11902013-11-04 Joseph Myers <joseph@codesourcery.com>
1191
1192 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1193 depending on [__GCC_IEC_559 > 0].
1194 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1195 depending on [__GCC_IEC_559_COMPLEX > 0].
1196
ae129d3c
CL
11972013-11-03 Chris Leonard <cjl@sugarlabs.org>
1198
1199 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1200 to iso-639.def.
1201
4a15c2a4 12022013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1203
1204 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1205
8b35e35d
OB
12062013-11-01 Ondřej Bílka <neleai@seznam.cz>
1207
1208 [BZ #16112]
1209 * malloc/malloc (malloc_info): Do not handle first bin as
1210 special case.
1211
1d70fd6c
CL
12122013-11-01 Chris Leonard <cjl@sugarlabs.org>
1213
1214 * locale/iso-639.def: Add Central Nahuatl (nhn).
1215
8c5c2600
BH
12162013-11-01 Bruno Haible <bruno@clisp.org>
1217
1218 [BZ #7003]
1219 * manual/math.texi (BSD Random): Specify range upper bound as
1220 in POSIX.
1221
da5579c2
CL
12222013-10-31 Chris Leonard <cjl@sugarlabs.org>
1223
1224 * locale/iso-639.def: Add Meadow Mari (mhr).
1225
5d30d853
OB
12262013-10-31 Ondřej Bílka <neleai@seznam.cz>
1227
1228 [BZ #14752], [BZ #15763]
1229 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1230 Validate name.
1231 * rt/tst_shm.c: Add test for escaping directory.
1232
a4966c61
AS
12332013-10-31 Andreas Schwab <schwab@suse.de>
1234
8a43e768 1235 [BZ #15917]
a4966c61
AS
1236 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1237 followed by 'x' as part of digit sequence.
1238 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1239
28d708c4
MAP
12402013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1241
1242 [BZ #16037]
1243 * configure.ac: allow GNU Make 4.0 and greater.
1244 * configure: Regenerated.
1245
a56ee40b
WN
12462013-10-30 Will Newton <will.newton@linaro.org>
1247
1248 [BZ #16038]
1249 * malloc/hooks.c (memalign_check): Limit alignment to the
1250 maximum representable power of two.
1251 * malloc/malloc.c (__libc_memalign): Likewise.
1252 * malloc/tst-memalign.c (do_test): Add test for very
1253 large alignment values.
1254 * malloc/tst-posix_memalign.c (do_test): Likewise.
1255
c6e4925d
OB
12562013-10-30 Ondřej Bílka <neleai@seznam.cz>
1257
1258 [BZ #11087]
1259 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1260 (munmap_chunk): Likewise.
1261 (mremap_chunk): Likewise.
1262
12632013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1264
8a43e768 1265 [BZ #15799]
bbea82f7
OB
1266 * stdlib/div.c (div): Remove obsolete code.
1267 * stdlib/ldiv.c (ldiv): Likewise.
1268 * stdlib/lldiv.c (lldiv): Likewise.
1269
977f4b31
SP
12702013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1271
1272 [BZ #16071]
1273 * nss/nss_files/files-XXX.c (get_contents_ret): New
1274 enumerator.
1275 (get_contents): New function.
1276 (internal_getent): Use it. Expand size of LINEBUFLEN.
1277
cb8a6dbd
MF
12782013-10-30 Mike Frysinger <vapier@gentoo.org>
1279
1280 * configure.in: Moved to ...
1281 * configure.ac: ... here. Change reference to configure.in
1282 to configure.ac.
1283 * sysdeps/arm/preconfigure.ac: ... here.
1284 configure.in to configure.ac.
1285 * sysdeps/gnu/configure.in: Moved to ...
1286 * sysdeps/gnu/configure.ac: ... here.
1287 * sysdeps/i386/configure.in: Moved to ...
1288 * sysdeps/i386/configure.ac: ... here.
1289 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1290 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1291 * sysdeps/mach/configure.in: Moved to ...
1292 * sysdeps/mach/configure.ac: ... here.
1293 * sysdeps/mach/hurd/configure.in: Moved to ...
1294 * sysdeps/mach/hurd/configure.ac: ... here.
1295 * sysdeps/powerpc/configure.in: Moved to ...
1296 * sysdeps/powerpc/configure.ac: ... here.
1297 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1298 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1299 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1300 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1301 * sysdeps/s390/s390-32/configure.in: Moved to ...
1302 * sysdeps/s390/s390-32/configure.ac: ... here.
1303 * sysdeps/s390/s390-64/configure.in: Moved to ...
1304 * sysdeps/s390/s390-64/configure.ac: ... here.
1305 * sysdeps/sh/configure.in: Moved to ...
1306 * sysdeps/sh/configure.ac: ... here.
1307 * sysdeps/sparc/configure.in: Moved to ...
1308 * sysdeps/sparc/configure.ac: ... here.
1309 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1310 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1311 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1312 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1313 * sysdeps/x86_64/configure.in: Moved to ...
1314 * sysdeps/x86_64/configure.ac: ... here.
1315 * sysdeps/x86_64/preconfigure.in: Moved to ...
1316 * sysdeps/x86_64/preconfigure.ac: ... here.
1317 * aclocal.m4: Change reference to configure.in to configure.ac.
1318 * config.h.in: Likewise.
1319 * manual/install.texi: Likewise.
1320 * manual/maint.texi: Likewise.
1321 * Makefile: Likewise.
1322 * malloc/Makefile: Likewise.
1323 * nscd/Makefile: Likewise.
1324 * Makeconfig: Change reference to configure.in and
1325 preconfigure.in to configure.ac and preconfigure.ac
1326 respectively.
1327 * INSTALL: Regenerated.
1328 * configure: Likewise.
1329 * sysdeps/gnu/configure: Likewise.
1330 * sysdeps/i386/configure: Likewise.
1331 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1332 * sysdeps/mach/configure: Likewise.
1333 * sysdeps/mach/hurd/configure: Likewise.
1334 * sysdeps/powerpc/configure: Likewise.
1335 * sysdeps/powerpc/powerpc32/configure: Likewise.
1336 * sysdeps/powerpc/powerpc64/configure: Likewise.
1337 * sysdeps/s390/s390-32/configure: Likewise.
1338 * sysdeps/s390/s390-64/configure: Likewise.
1339 * sysdeps/sh/configure: Likewise.
1340 * sysdeps/sparc/configure: Likewise.
1341 * sysdeps/unix/sysv/linux/configure: Likewise.
1342 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1343 * sysdeps/x86_64/configure: Likewise.
1344 * sysdeps/x86_64/preconfigure: Likewise.
1345
36a4953a
AS
13462013-10-29 Andreas Schwab <schwab@suse.de>
1347
1348 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1349
c79a1204
SP
13502013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1351
dfa1b402
SP
1352 * benchtests/pow-inputs: Add new inputs.
1353
54f73d9c
SP
1354 * benchtests/exp-inputs: Add new inputs.
1355
c79a1204
SP
1356 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1357 conditional check for return value.
1358 (__cos32): Likewise.
1359
67beb545 13602013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1361
1362 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1363 to provide a boost for large inputs with word alignment.
1364 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1365 implementation based on optimized PPC64 strcpy.
1366 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1367 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1368 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1369 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1370
151659f6
OB
13712013-10-25 Ondřej Bílka <neleai@seznam.cz>
1372
482a077e 1373 [BZ #2801]
151659f6
OB
1374 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1375
10b0f26b
OB
13762013-10-25 Ondřej Bílka <neleai@seznam.cz>
1377
1378 [BZ #14876]
1379 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1380 * time/tst-strptime.c (day_tests): Add testcase.
1381
ca42d35e
OB
13822013-10-25 Ondřej Bílka <neleai@seznam.cz>
1383
482a077e 1384 [BZ #14029]
ca42d35e
OB
1385 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1386
52e6d801
FB
13872013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1388
1389 [BZ #16074]
1390 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1391 MAP_FAILED on error.
1392
7cbcdb36
SP
13932013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1394
1395 [BZ #16072]
1396 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1397 heap for large requests.
1398
894f3f10
AM
13992013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1400
1401 [BZ #9954]
1402 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1403 result if the result has no associated interface.
1404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1405 interface for all 127.X.Y.Z addresses.
1406
b85545a6
CL
14072013-10-24 Chris Leonard <cjl@sugarlabs.org>
1408
1409 * locale/iso-639.def: Add Ligurian (lij)
1410
d1f23d46
OB
14112013-10-21 Ondřej Bílka <neleai@seznam.cz>
1412
1413 [BZ #15825]
1414 * sunrpc/rpc_main.c: Document rpcgen -5.
1415
4db5b08f
MS
14162013-10-19 Michael Stahl <mstahl@redhat.com>
1417
1418 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1419
a471e96a
OB
14202013-10-19 Ondřej Bílka <neleai@seznam.cz>
1421
d1f23d46 1422 [BZ #10278]
a471e96a
OB
1423 * posix/glob.c: Match only directories when trailing slash is present.
1424 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1425 (main): Add testcase.
1426
45c30c61
OB
14272013-10-19 Ondřej Bílka <neleai@seznam.cz>
1428
1429 [BZ #15670]
1430 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1431
484c12fb
CD
14322013-10-18 Carlos O'Donell <carlos@redhat.com>
1433
3d7dc513
CD
1434 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1435 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1436 AUTH_DES and cindex for FIPS 140-2.
1437 (DES Encryption): Add cindex FIPS 46-3.
1438
484c12fb
CD
1439 * locale/locarchive.h (struct locarhandle): Add fname.
1440 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1441 if an optional argument was specified to --list-archive,
1442 otherwise NULL.
1443 * locale/programs/locarchive.c (show_archive_content): Take new
1444 argument fname and pass it via ah.fname to open_archive.
1445 * locale/programs/localedef.h: Update decl.
1446 (open_archive): If AH->fname is non-null, open that file
1447 rather than the default file name, and don't ignore ENOENT.
1448 (create_archive): Set AH.fname to NULL.
1449 (delete_locales_from_archive): Likewise.
1450 (add_locales_to_archive): Likewise.
1451 * locale/programs/locfile.c (write_all_categories): Likewise.
1452
3c8325fb
JM
14532013-10-18 Joseph Myers <joseph@codesourcery.com>
1454 Aldy Hernandez <aldyh@redhat.com>
1455
1456 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1457 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1458 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1459 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1460 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1461 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1462 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1464 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1465 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1466 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1467 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1468 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1469 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1470 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1471 Likewise.
1472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1473 Likewise.
1474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1475 Likewise.
1476 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1477 Likewise.
1478 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1479 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1480 Likewise.
1481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1482 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1483 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1484 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1485 Likewise.
1486 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1487 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1488 * sysdeps/powerpc/preconfigure: Likewise.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1490 Likewise.
1491 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1492 Replace contents of file by #include of <fenv_libc.h>.
1493 * sysdeps/powerpc/soft-fp/sfp-machine.h
1494 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1495 and <sys/prctl.h>.
1496 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1498 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1504 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1509 Allow copysignl PLT reference to be missing.
1510
5abe0682
RS
15112013-10-18 Richard Sandiford <richard@codesourcery.com>
1512 Joseph Myers <joseph@codesourcery.com
1513
1514 [BZ #15948]
1515 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1516 single character.
1517 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1518
c7738d08
SP
15192013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1520
1521 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1522 * elf/tst-tls1.c: Likewise.
1523 * elf/tst-tls10.h: Likewise.
1524 * elf/tst-tls14.c: Likewise.
1525 * elf/tst-tls2.c: Likewise.
1526 * elf/tst-tls3.c: Likewise.
1527 * elf/tst-tls4.c: Likewise.
1528 * elf/tst-tls5.c: Likewise.
1529 * elf/tst-tls6.c: Likewise.
1530 * elf/tst-tls7.c: Likewise.
1531 * elf/tst-tls8.c: Likewise.
1532 * elf/tst-tls9.c: Likewise.
1533 * elf/tst-tlsmod1.c: Likewise.
1534 * elf/tst-tlsmod13.c: Likewise.
1535 * elf/tst-tlsmod13a.c: Likewise.
1536 * elf/tst-tlsmod14a.c: Likewise.
1537 * elf/tst-tlsmod16a.c: Likewise.
1538 * elf/tst-tlsmod16b.c: Likewise.
1539 * elf/tst-tlsmod2.c: Likewise.
1540 * elf/tst-tlsmod3.c: Likewise.
1541 * elf/tst-tlsmod4.c: Likewise.
1542 * elf/tst-tlsmod5.c: Likewise.
1543 * elf/tst-tlsmod6.c: Likewise.
1544
0bfcf2c7
OB
15452013-10-18 Ondřej Bílka <neleai@seznam.cz>
1546
1547 [BZ #12486]
1548 * malloc/malloc.c: remove checks for statistics.
1549
264aad1e
OB
15502013-10-17 Ondřej Bílka <neleai@seznam.cz>
1551
1552 [BZ #15277]
1553 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1554 * inet/tst-network.c: Add testcase.
1555
b957ced8
AS
15562013-10-17 Andreas Schwab <schwab@suse.de>
1557
1558 [BZ #15218]
1559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1560 to determine canonical name.
1561
c5d5d574
OB
15622013-10-17 Ondřej Bílka <neleai@seznam.cz>
1563
1564 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1565 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1588 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1589 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1594 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1622
e5c2c2d0
JM
16232013-10-17 Joseph Myers <joseph@codesourcery.com>
1624
1625 [BZ #16041]
1626 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1627 make result into a quiet NaN.
1628
51ca9e29
JM
16292013-10-16 Joseph Myers <joseph@codesourcery.com>
1630
1631 * soft-fp/adddf3.c: Fix horizontal whitespace.
1632 * soft-fp/addsf3.c: Likewise.
1633 * soft-fp/addtf3.c: Likewise.
1634 * soft-fp/divdf3.c: Likewise.
1635 * soft-fp/divsf3.c: Likewise.
1636 * soft-fp/divtf3.c: Likewise.
1637 * soft-fp/double.h: Likewise.
1638 * soft-fp/eqdf2.c: Likewise.
1639 * soft-fp/eqsf2.c: Likewise.
1640 * soft-fp/eqtf2.c: Likewise.
1641 * soft-fp/extenddftf2.c: Likewise.
1642 * soft-fp/extended.h: Likewise.
1643 * soft-fp/extendsfdf2.c: Likewise.
1644 * soft-fp/extendsftf2.c: Likewise.
1645 * soft-fp/extendxftf2.c: Likewise.
1646 * soft-fp/fixdfdi.c: Likewise.
1647 * soft-fp/fixdfsi.c: Likewise.
1648 * soft-fp/fixdfti.c: Likewise.
1649 * soft-fp/fixsfdi.c: Likewise.
1650 * soft-fp/fixsfsi.c: Likewise.
1651 * soft-fp/fixsfti.c: Likewise.
1652 * soft-fp/fixtfdi.c: Likewise.
1653 * soft-fp/fixtfsi.c: Likewise.
1654 * soft-fp/fixtfti.c: Likewise.
1655 * soft-fp/fixunsdfdi.c: Likewise.
1656 * soft-fp/fixunsdfsi.c: Likewise.
1657 * soft-fp/fixunsdfti.c: Likewise.
1658 * soft-fp/fixunssfdi.c: Likewise.
1659 * soft-fp/fixunssfsi.c: Likewise.
1660 * soft-fp/fixunssfti.c: Likewise.
1661 * soft-fp/fixunstfdi.c: Likewise.
1662 * soft-fp/fixunstfsi.c: Likewise.
1663 * soft-fp/fixunstfti.c: Likewise.
1664 * soft-fp/floatdidf.c: Likewise.
1665 * soft-fp/floatdisf.c: Likewise.
1666 * soft-fp/floatditf.c: Likewise.
1667 * soft-fp/floatsidf.c: Likewise.
1668 * soft-fp/floatsisf.c: Likewise.
1669 * soft-fp/floatsitf.c: Likewise.
1670 * soft-fp/floattidf.c: Likewise.
1671 * soft-fp/floattisf.c: Likewise.
1672 * soft-fp/floattitf.c: Likewise.
1673 * soft-fp/floatundidf.c: Likewise.
1674 * soft-fp/floatundisf.c: Likewise.
1675 * soft-fp/floatunditf.c: Likewise.
1676 * soft-fp/floatunsidf.c: Likewise.
1677 * soft-fp/floatunsisf.c: Likewise.
1678 * soft-fp/floatunsitf.c: Likewise.
1679 * soft-fp/floatuntidf.c: Likewise.
1680 * soft-fp/floatuntisf.c: Likewise.
1681 * soft-fp/floatuntitf.c: Likewise.
1682 * soft-fp/fmadf4.c: Likewise.
1683 * soft-fp/fmasf4.c: Likewise.
1684 * soft-fp/fmatf4.c: Likewise.
1685 * soft-fp/gedf2.c: Likewise.
1686 * soft-fp/gesf2.c: Likewise.
1687 * soft-fp/getf2.c: Likewise.
1688 * soft-fp/ledf2.c: Likewise.
1689 * soft-fp/lesf2.c: Likewise.
1690 * soft-fp/letf2.c: Likewise.
1691 * soft-fp/muldf3.c: Likewise.
1692 * soft-fp/mulsf3.c: Likewise.
1693 * soft-fp/multf3.c: Likewise.
1694 * soft-fp/negdf2.c: Likewise.
1695 * soft-fp/negsf2.c: Likewise.
1696 * soft-fp/negtf2.c: Likewise.
1697 * soft-fp/op-1.h: Likewise.
1698 * soft-fp/op-2.h: Likewise.
1699 * soft-fp/op-4.h: Likewise.
1700 * soft-fp/op-8.h: Likewise.
1701 * soft-fp/op-common.h: Likewise.
1702 * soft-fp/quad.h: Likewise.
1703 * soft-fp/single.h: Likewise.
1704 * soft-fp/soft-fp.h: Likewise.
1705 * soft-fp/sqrtdf2.c: Likewise.
1706 * soft-fp/sqrtsf2.c: Likewise.
1707 * soft-fp/sqrttf2.c: Likewise.
1708 * soft-fp/subdf3.c: Likewise.
1709 * soft-fp/subsf3.c: Likewise.
1710 * soft-fp/subtf3.c: Likewise.
1711 * soft-fp/truncdfsf2.c: Likewise.
1712 * soft-fp/trunctfdf2.c: Likewise.
1713 * soft-fp/trunctfsf2.c: Likewise.
1714 * soft-fp/trunctfxf2.c: Likewise.
1715 * soft-fp/unorddf2.c: Likewise.
1716 * soft-fp/unordsf2.c: Likewise.
1717 * soft-fp/unordtf2.c: Likewise.
1718
9ebb0332
JM
17192013-10-15 Joseph Myers <joseph@codesourcery.com>
1720
1721 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1722 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1723
4b1a6d8b
OB
17242013-10-15 Ondřej Bílka <neleai@seznam.cz>
1725
1726 * elf/dl-libc.c: Clear initfini list after freeing.
1727
1e145589
JM
17282013-10-14 Joseph Myers <joseph@codesourcery.com>
1729
1730 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1731 * soft-fp/addsf3.c: Likewise.
1732 * soft-fp/addtf3.c: Likewise.
1733 * soft-fp/divdf3.c: Likewise.
1734 * soft-fp/divsf3.c: Likewise.
1735 * soft-fp/divtf3.c: Likewise.
1736 * soft-fp/double.h: Likewise.
1737 * soft-fp/eqdf2.c: Likewise.
1738 * soft-fp/eqsf2.c: Likewise.
1739 * soft-fp/eqtf2.c: Likewise.
1740 * soft-fp/extenddftf2.c: Likewise.
1741 * soft-fp/extended.h: Likewise.
1742 * soft-fp/extendsfdf2.c: Likewise.
1743 * soft-fp/extendsftf2.c: Likewise.
1744 * soft-fp/extendxftf2.c: Likewise.
1745 * soft-fp/fixdfdi.c: Likewise.
1746 * soft-fp/fixdfsi.c: Likewise.
1747 * soft-fp/fixdfti.c: Likewise.
1748 * soft-fp/fixsfdi.c: Likewise.
1749 * soft-fp/fixsfsi.c: Likewise.
1750 * soft-fp/fixsfti.c: Likewise.
1751 * soft-fp/fixtfdi.c: Likewise.
1752 * soft-fp/fixtfsi.c: Likewise.
1753 * soft-fp/fixtfti.c: Likewise.
1754 * soft-fp/fixunsdfdi.c: Likewise.
1755 * soft-fp/fixunsdfsi.c: Likewise.
1756 * soft-fp/fixunsdfti.c: Likewise.
1757 * soft-fp/fixunssfdi.c: Likewise.
1758 * soft-fp/fixunssfsi.c: Likewise.
1759 * soft-fp/fixunssfti.c: Likewise.
1760 * soft-fp/fixunstfdi.c: Likewise.
1761 * soft-fp/fixunstfsi.c: Likewise.
1762 * soft-fp/fixunstfti.c: Likewise.
1763 * soft-fp/floatdidf.c: Likewise.
1764 * soft-fp/floatdisf.c: Likewise.
1765 * soft-fp/floatditf.c: Likewise.
1766 * soft-fp/floatsidf.c: Likewise.
1767 * soft-fp/floatsisf.c: Likewise.
1768 * soft-fp/floatsitf.c: Likewise.
1769 * soft-fp/floattidf.c: Likewise.
1770 * soft-fp/floattisf.c: Likewise.
1771 * soft-fp/floattitf.c: Likewise.
1772 * soft-fp/floatundidf.c: Likewise.
1773 * soft-fp/floatundisf.c: Likewise.
1774 * soft-fp/floatunsidf.c: Likewise.
1775 * soft-fp/floatunsisf.c: Likewise.
1776 * soft-fp/floatuntidf.c: Likewise.
1777 * soft-fp/floatuntisf.c: Likewise.
1778 * soft-fp/floatuntitf.c: Likewise.
1779 * soft-fp/fmadf4.c: Likewise.
1780 * soft-fp/fmasf4.c: Likewise.
1781 * soft-fp/fmatf4.c: Likewise.
1782 * soft-fp/gedf2.c: Likewise.
1783 * soft-fp/gesf2.c: Likewise.
1784 * soft-fp/getf2.c: Likewise.
1785 * soft-fp/ledf2.c: Likewise.
1786 * soft-fp/lesf2.c: Likewise.
1787 * soft-fp/letf2.c: Likewise.
1788 * soft-fp/muldf3.c: Likewise.
1789 * soft-fp/mulsf3.c: Likewise.
1790 * soft-fp/multf3.c: Likewise.
1791 * soft-fp/negdf2.c: Likewise.
1792 * soft-fp/negsf2.c: Likewise.
1793 * soft-fp/negtf2.c: Likewise.
1794 * soft-fp/op-1.h: Likewise.
1795 * soft-fp/op-2.h: Likewise.
1796 * soft-fp/op-4.h: Likewise.
1797 * soft-fp/op-8.h: Likewise.
1798 * soft-fp/op-common.h: Likewise.
1799 * soft-fp/quad.h: Likewise.
1800 * soft-fp/single.h: Likewise.
1801 * soft-fp/soft-fp.h: Likewise.
1802 * soft-fp/sqrtdf2.c: Likewise.
1803 * soft-fp/sqrtsf2.c: Likewise.
1804 * soft-fp/sqrttf2.c: Likewise.
1805 * soft-fp/subdf3.c: Likewise.
1806 * soft-fp/subsf3.c: Likewise.
1807 * soft-fp/subtf3.c: Likewise.
1808 * soft-fp/truncdfsf2.c: Likewise.
1809 * soft-fp/trunctfdf2.c: Likewise.
1810 * soft-fp/trunctfsf2.c: Likewise.
1811 * soft-fp/trunctfxf2.c: Likewise.
1812 * soft-fp/unorddf2.c: Likewise.
1813 * soft-fp/unordsf2.c: Likewise.
1814 * soft-fp/unordtf2.c: Likewise.
1815
17c48a60
OB
18162013-10-14 Ondřej Bílka <neleai@seznam.cz>
1817
1818 [BZ #15672]
1819 * misc/error.c (error_tail): Fix possible buffer overflow.
1820
cabba934
OB
18212013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1822
1823 [BZ #13028]
1824 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1825 address.
1826
94bf958a
PM
18272013-10-14 P. J. McDermott <pj@pehjota.net>
1828
1829 [BZ #832]
1830 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1831 testing pipefail option.
1832
71b4dea7
JM
18332013-10-12 Joseph Myers <joseph@codesourcery.com>
1834
1835 * soft-fp/double.h: Indent preprocessor directives inside #if.
1836 * soft-fp/extended.h: Likewise.
1837 * soft-fp/op-2.h: Likewise.
1838 * soft-fp/op-4.h: Likewise.
1839 * soft-fp/op-common.h: Likewise.
1840 * soft-fp/quad.h: Likewise.
1841 * soft-fp/single.h: Likewise.
1842 * soft-fp/soft-fp.h: Likewise.
1843
55602758
YC
18442013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1845
1846 * iconv/iconv_prog.c: Fix typos.
1847 * stdio-common/psiginfo-data.h: Likewise.
1848
9cd83302
RT
18492013-10-12 Reuben Thomas <rrt@sc3d.org>
1850
1851 [BZ #15764]
1852 * locale/setlocale.c: Fix typo.
1853
99fd9f47
JM
18542013-10-12 Joseph Myers <joseph@codesourcery.com>
1855
b7ea74f0
JM
1856 [BZ #16036]
1857 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1858 signaling NaN arguments.
1859 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1860 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1861
8a509447
JM
1862 [BZ #14910]
1863 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1864 unordered operands.
1865 * soft-fp/gesf2.c (__gesf2): Likewise.
1866 * soft-fp/getf2.c (__getf2): Likewise.
1867 * soft-fp/ledf2.c (__ledf2): Likewise.
1868 * soft-fp/lesf2.c (__lesf2): Likewise.
1869 * soft-fp/letf2.c (__letf2): Likewise.
1870
98998e9f
JM
1871 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1872 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1873 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1874 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1875 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1876 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1877 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1878 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1879 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1880 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1881 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1882 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1883 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1884 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1885 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1886 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1887 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1888 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1889 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1890 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1891 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1892 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1893 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1894 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1895 * soft-fp/floattidf.c (__floattidf): Likewise.
1896 * soft-fp/floattisf.c (__floattisf): Likewise.
1897 * soft-fp/floattitf.c (__floattitf): Likewise.
1898 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1899 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1900 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1901 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1902 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1903 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1904 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1905 * soft-fp/gesf2.c (__gesf2): Likewise.
1906 * soft-fp/getf2.c (__getf2): Likewise.
1907 * soft-fp/ledf2.c (__ledf2): Likewise.
1908 * soft-fp/lesf2.c (__lesf2): Likewise.
1909 * soft-fp/letf2.c (__letf2): Likewise.
1910
8edc4a11
JM
1911 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1912 Undefine and redefine.
1913 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1914 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1915 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1916 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1917 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1918 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1919 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1920 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1921 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1922 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1923 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1924 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1925 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1926 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1927 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1928
8399acaf
JM
1929 [BZ #16032]
1930 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1931 without decrementing exponent if mantissa >= that for the
1932 denominator, not >.
1933 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1934 denominator, not >. Decrement exponent in < case instead of
1935 incrementing in >= case.
1936 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1937 without decrementing exponent if mantissa >= that for the
1938 denominator, not >.
1939
99fd9f47
JM
1940 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1941 computing saturated result for unsigned overflow.
1942
10e1cf6b
SP
19432013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1944 Jeff Law <law@redhat.com>
1945
1946 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1947 (atan2Mp): Add systemtap probe marker.
1948 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1949 (__ieee754_log): Add systemtap probe marker.
1950 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1951 (atanMp): Add systemtap probe marker.
1952 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1953 (tanMp): Add systemtap probe marker.
1954 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1955 (__slowexp): Add systemtap probe marker.
1956 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1957 (__slowpow): Add systemtap probe marker.
1958 * manual/probes.texi: Document probes.
1959
3d110c7c
EB
19602013-10-11 Eric Biggers <ebiggers3@gmail.com>
1961
1962 [BZ #15362]
1963 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1964 written.
1965 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1966 written.
1967 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1968 written to buffer but not flushed.
1969 * libio/iofwrite_u.c: Likewise.
1970 * libio/iopadn.c: Return bytes returned even if EOF was
1971 encountered.
1972 * libio/iowpadn.c: Likewise.
1973 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1974 if _IO_padn does not write the whole buffer.
1975 [!COMPILE_WPRINTF] (PAD): Likewise.
1976
75b4202a
DM
19772013-10-10 David S. Miller <davem@davemloft.net>
1978
1979 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1980 directory block.
1981
6c6352e6
JM
19822013-10-10 Joseph Myers <joseph@codesourcery.com>
1983
33b853c3
JM
1984 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1985 instead of FSF address.
1986 * soft-fp/fixdfti.c: Likewise.
1987 * soft-fp/fixsfti.c: Likewise.
1988 * soft-fp/fixtfti.c: Likewise.
1989 * soft-fp/fixunsdfti.c: Likewise.
1990 * soft-fp/fixunssfti.c: Likewise.
1991 * soft-fp/fixunstfti.c: Likewise.
1992 * soft-fp/floattidf.c: Likewise.
1993 * soft-fp/floattisf.c: Likewise.
1994 * soft-fp/floattitf.c: Likewise.
1995 * soft-fp/floatuntidf.c: Likewise.
1996 * soft-fp/floatuntisf.c: Likewise.
1997 * soft-fp/floatuntitf.c: Likewise.
1998 * soft-fp/trunctfxf2.c: Likewise.
1999
6c6352e6
JM
2000 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2001 * soft-fp/fixdfti.c: Likewise.
2002 * soft-fp/fixsfti.c: Likewise.
2003 * soft-fp/fixtfti.c: Likewise.
2004 * soft-fp/fixunsdfti.c: Likewise.
2005 * soft-fp/fixunssfti.c: Likewise.
2006 * soft-fp/fixunstfti.c: Likewise.
2007 * soft-fp/floattidf.c: Likewise.
2008 * soft-fp/floattisf.c: Likewise.
2009 * soft-fp/floattitf.c: Likewise.
2010 * soft-fp/floatuntidf.c: Likewise.
2011 * soft-fp/floatuntisf.c: Likewise.
2012 * soft-fp/floatuntitf.c: Likewise.
2013 * soft-fp/trunctfxf2.c: Likewise.
2014
3bf78b71
DM
20152013-10-10 David S. Miller <davem@davemloft.net>
2016
2017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2018
6f10289e
JM
20192013-10-10 Joseph Myers <joseph@codsourcery.com>
2020
bd878fc0
JM
2021 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2022 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2023 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2024 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2025 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2026 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2027 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2028
6f10289e
JM
2029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2030 for NaNs before doing comparisons on argument.
2031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2032 Likewise.
2033
321e2684
WN
20342013-10-10 Will Newton <will.newton@linaro.org>
2035
2036 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2037 passed to _int_memalign does not overflow.
2038
40fefba1
TR
20392013-10-10 Torvald Riegel <triegel@redhat.com>
2040
2041 * scripts/bench.pl: Add include-sources directive.
2042 * benchtests/README: Update documentation.
2043
2ae21ed2
JM
20442013-10-10 Joseph Myers <joseph@codesourcery.com>
2045
dcc2dd3f
JM
2046 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2047 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2048 instead of FP_INIT_ROUNDMODE.
2049 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2050 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2051
2ae21ed2
JM
2052 [BZ #16034]
2053 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2054 copy class of input value.
2055 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2056 not handle exceptions.
2057 * soft-fp/negsf2.c (__negsf2): Likewise.
2058 * soft-fp/negtf2.c (__negtf2): Likewise.
2059 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2060
cb8f9562
JM
20612013-10-09 Joseph Myers <joseph@codesourcery.com>
2062
2063 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2064 semicolon. From Linux kernel.
2065
5b60c59d
AB
20662013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2067
2068 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2069
b86835ca
YC
20702013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2071
2072 [BZ #156]
2073 * manual/socket.texi: Added statement about buffer
2074 for gethostbyname2_r.
2075
e7044ea7
OB
20762013-10-08 Ondřej Bílka <neleai@seznam.cz>
2077
2078 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2079 Use .p2align directive instead, throughout.
2080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2081 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2082 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2085 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2086 * sysdeps/x86_64/strchr.S: Likewise.
2087 * sysdeps/x86_64/strrchr.S: Likewise.
2088
09544cbc
SP
20892013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2090
88576635
SP
2091 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2092
e7b2d1dd
SP
2093 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2094
09544cbc
SP
2095 * sysdeps/generic/math_private.h (__mpsin1): Remove
2096 declaration.
2097 (__mpcos1): Likewise.
2098 (__mpsin): New argument __range_reduce.
2099 (__mpcos): Likewise.
2100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2101 (slow): Use __mpsin and __mpcos.
2102 (slow1): Likewise.
2103 (slow2): Likewise.
2104 (sloww): Likewise.
2105 (sloww1): Likewise.
2106 (sloww2): Likewise.
2107 (bsloww): Likewise.
2108 (bsloww1): Likewise.
2109 (bsloww2): Likewise.
2110 (cslow2): Likewise.
2111 (csloww): Likewise.
2112 (csloww1): Likewise.
2113 (csloww2): Likewise.
2114 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2115 range_reduce. Merge in __mpsin1.
2116 (__mpcos): Likewise.
2117 (__mpsin1): Remove.
2118 (__mpcos1): Likewise.
2119
7602d070
JM
21202013-10-07 Joseph Myers <joseph@codesourcery.com>
2121
2122 * locale/loadlocale.c (_nl_intern_locale_data): Use
2123 LOCFILE_ALIGNED_P.
2124 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2125 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2126 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2127 obstack data is appropriately aligned.
2128 (obstack_int32_grow_fast): Likewise.
2129 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2130 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2131 (add_locale_uint32_array): Likewise.
2132
a357259b
SP
21332013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2134
2135 * benchtests/Makefile: Remove ARGLIST and RET variables.
2136 ($(objpfx)bench-%.c): Pass only function name to the script.
2137 * benchtests/README: Update documentation.
2138 * benchtests/acos-inputs: Add new directives.
2139 * benchtests/acosh-inputs: Likewise.
2140 * benchtests/asin-inputs: Likewise.
2141 * benchtests/asinh-inputs: Likewise.
2142 * benchtests/atan-inputs: Likewise.
2143 * benchtests/atanh-inputs: Likewise.
2144 * benchtests/cos-inputs: Likewise.
2145 * benchtests/cosh-inputs: Likewise.
2146 * benchtests/exp-inputs: Likewise.
2147 * benchtests/log-inputs: Likewise.
2148 * benchtests/pow-inputs: Likewise.
2149 * benchtests/rint-inputs: Likewise.
2150 * benchtests/sin-inputs: Likewise.
2151 * benchtests/sinh-inputs: Likewise.
2152 * benchtests/tan-inputs: Likewise.
2153 * benchtests/tanh-inputs: Likewise.
2154 * scripts/bench.pl: Add support for new directives.
2155
9ec1b13d
AM
21562013-10-07 Alan Modra <amodra@gmail.com>
2157
2158 * README: Fix careless merge.
2159
8b7d57cd
AM
21602013-10-05 Alan Modra <amodra@gmail.com>
2161
2162 * NEWS: Mention powerpc64le support and bugs fixed.
2163 * README: Both big-endian and little-endian powerpc64 supported.
2164
7b7bab13
ST
21652013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2166
2167 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2168 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2169 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2170 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2171
d39baad1
RA
21722013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2173
2174 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2175 match prototype.
2176
cd78f7e7
JM
21772013-10-04 Joseph Myers <joseph@codesourcery.com>
2178
29d73d86
JM
2179 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2180 Move -mhard-float appending from
2181 ports/sysdeps/powerpc/powerpc32/Makefile.
2182 [$(with-fp) = yes] (ASFLAGS): Likewise.
2183 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2184 * sysdeps/powerpc/nofpu: Move directory from
2185 ports/sysdeps/powerpc/nofpu.
2186 * sysdeps/powerpc/soft-fp: Move directory from
2187 ports/sysdeps/powerpc/soft-fp.
2188 * sysdeps/powerpc/powerpc32/405: Move directory from
2189 ports/sysdeps/powerpc/powerpc32/405.
2190 * sysdeps/powerpc/powerpc32/440: Move directory from
2191 ports/sysdeps/powerpc/powerpc32/440.
2192 * sysdeps/powerpc/powerpc32/464: Move directory from
2193 ports/sysdeps/powerpc/powerpc32/464.
2194 * sysdeps/powerpc/powerpc32/476: Move directory from
2195 ports/sysdeps/powerpc/powerpc32/476.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2197 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2205 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2206 * README: Update for powerpc-*-linux-gnu software floating point
2207 support in libc.
2208
e246b347
JM
2209 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2210 case to powerpc/powerpc32*.
2211 * sysdeps/unix/sysv/linux/configure: Regenerated.
2212
89c2003e
JM
2213 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2214 (_FPU_MASK_OM): Define as 0x04.
2215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2217 0x00c10080.
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2219 0x0000003c.
2220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2221
cd78f7e7
JM
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2223 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2224 getcontext_e500.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2226 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2227 setcontext_e500.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2229 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2230 and setcontext_e500.
2231
c755294d
CL
22322013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2233
2234 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2235
e16d221c
SP
22362013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
2238 * manual/threads.texi (Default Thread Attributes): Fix typo.
2239
215c7d43
WN
22402013-10-04 Will Newton <will.newton@linaro.org>
2241
2242 * malloc/Makefile: Add tst-memalign.
2243 * malloc/tst-memalign.c: New file.
2244
27d0461b
WN
2245 * malloc/tst-posix_memalign.c: Add comments.
2246 (do_test): Add comments and call free on all potentially
2247 allocated pointers. Add space after cast.
2248
1bc92709
WN
2249 * malloc/tst-pvalloc.c: Add comments.
2250 (do_test): Add comments and call free on all potentially
2251 allocated pointers. Remove duplicate check for NULL pointer.
2252 Add space after cast.
2253
66a9be9d
WN
2254 * malloc/tst-valloc.c: Add comments.
2255 (do_test): Add comments and call free on all potentially
2256 allocated pointers. Remove duplicate check for NULL pointer.
2257 Add space after cast.
2258
4cb81307
AM
22592013-10-04 Alan Modra <amodra@gmail.com>
2260
2261 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2262 Use stdint types in rather than __attribute__((mode())).
2263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2264
f8e3e9f3
AM
22652013-10-04 Alan Modra <amodra@gmail.com>
2266
2267 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2268 Correct handling of unaligned relocs for little-endian.
2269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2270
8f9ebb08
AM
22712013-10-04 Alan Modra <amodra@gmail.com>
2272
2273 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2274 * configure: Regenerate.
2275 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2276 * shlib-versions: Likewise.
2277
0edf96c2
AM
22782013-10-04 Alan Modra <amodra@gmail.com>
2279
2280 * string/tester.c (test_memrchr): Increment reported test cycle.
2281
e0f7a380
AM
22822013-10-04 Alan Modra <amodra@gmail.com>
2283
2284 * string/test-memcpy.c (do_one_test): When reporting errors, print
2285 string address and don't overrun end of string.
2286
466b0393
AM
22872013-10-04 Alan Modra <amodra@gmail.com>
2288
2289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2290 insrdi. Make better use of reg selection to speed exit slightly.
2291 Schedule entry path a little better. Remove useless "are we done"
2292 checks on entry to main loop. Handle wrapping around zero address.
2293 Correct main loop count. Handle single left-over word from main
2294 loop inline rather than by using loop_small. Remove extra word
2295 case in loop_small caused by wrong loop count. Add little-endian
2296 support.
2297 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2298 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2299 cache hint.
2300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2302 support. Avoid rlwimi.
2303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2304
3be87c77
AM
23052013-10-04 Alan Modra <amodra@gmail.com>
2306
2307 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2308 insrdi. Formatting.
3be87c77
AM
2309 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2310 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2312 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2313 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2314 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2315
759cfef3
AM
23162013-10-04 Alan Modra <amodra@gmail.com>
2317
2318 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2321 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2327 use of regs. Use power7 mtocrf. Tidy function tails.
2328
fe6e95d7
AM
23292013-10-04 Alan Modra <amodra@gmail.com>
2330
2331 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2332 Formatting. Consistently use rXXX register defines or rN defines.
2333 Use early exit labels that avoid restoring unused non-volatile regs.
2334 Make cr field use more consistent with rWORDn compares. Rename
2335 regs used as shift registers for unaligned loop, using rN defines
2336 for short lifetime/multiple use regs.
2337 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2339 addi 1,1,64 to pop stack frame. Simplify return value code.
2340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2341
664318c3
AM
23422013-10-04 Alan Modra <amodra@gmail.com>
2343
2344 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2345 support. Correct typos, formatting. Optimize tail. Use insrdi
2346 rather than rlwimi.
2347 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2348 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2349 little-endian support. Correct typos.
2350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2351 rather than rlwimi.
2352 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2353 in loop and entry code to keep "and." results.
2354 (strchr): Add little-endian support. Comment. Move cntlzd
2355 earlier in tail.
2356 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2357
43b84013
AM
23582013-10-04 Alan Modra <amodra@gmail.com>
2359
2360 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2361 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2363 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2364
8a7413f9
AM
23652013-10-04 Alan Modra <amodra@gmail.com>
2366
2367 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2368 (rTMP): Define as r11.
2369 (strcmp): Add little-endian support. Optimise tail.
2370 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2371 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2377
33ee81de
AM
23782013-10-04 Alan Modra <amodra@gmail.com>
2379
2380 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2381 little-endian support. Remove unnecessary "are we done" tests.
2382 Handle "s" wrapping around zero and extremely large "size".
2383 Correct main loop count. Handle single left-over word from main
2384 loop inline rather than by using small_loop. Correct comments.
2385 Delete "zero" tail, use "end_max" instead.
2386 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2387
db9b4570
AM
23882013-10-04 Alan Modra <amodra@gmail.com>
2389
2390 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2391 support. Don't branch over align.
2392 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2394 support. Rearrange tmp reg use to suit. Comment.
2395 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2396
f7c399cf
AM
23972013-10-04 Alan Modra <amodra@gmail.com>
2398
2399 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2400
0b2c2ace
AM
24012013-10-04 Alan Modra <amodra@gmail.com>
2402
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2404 conditional form of branch and link when obtaining pc.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2406
02f04a6c
AM
24072013-10-04 Alan Modra <amodra@gmail.com>
2408
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2410 HIWORD/LOWORD.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2413
9b874b2f
AM
24142013-10-04 Alan Modra <amodra@gmail.com>
2415
2416 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2417 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2418 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2419 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2420 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2421 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2422 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2423 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2425 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2426
be1e5d31
AB
24272013-10-04 Anton Blanchard <anton@au1.ibm.com>
2428 Alistair Popple <alistair@ozlabs.au.ibm.com>
2429 Alan Modra <amodra@gmail.com>
2430
2431 [BZ #15723]
2432 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2433 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2434 _dl_hwcap access for little-endian.
2435 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2436 destroy vmx regs when saving unaligned.
2437 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2438 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2439 destroy vmx regs when saving unaligned.
2440
fef13a78
AM
24412013-10-04 Alan Modra <amodra@gmail.com>
2442
2443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2444 Don't use a union to pack hi/low value.
2445
76a66d51
AB
24462013-10-04 Anton Blanchard <anton@au1.ibm.com>
2447
2448 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2449 for little-endian.
2450 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2455
6a31fe7f
AM
24562013-10-04 Alan Modra <amodra@gmail.com>
2457
2458 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2459 constants to usual value for .cst8 section, and remove redundant
2460 high address load.
2461 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2462 constant for 0x1p52. Load little-endian words of double from
2463 correct stack offsets.
2464
7b88401f
AM
24652013-10-04 Alan Modra <amodra@gmail.com>
2466
2467 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2468 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2469 words of double from correct stack offsets.
2470 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2471 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2483 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2484 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2485 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2486 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2487
9c008155
AM
24882013-10-04 Alan Modra <amodra@gmail.com>
2489
2490 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2491 64-bit int/double union.
2492 (_FPU_SETCW): Likewise.
2493 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2494 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2495
da13146d
AM
24962013-10-04 Alan Modra <amodra@gmail.com>
2497
2498 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2499 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2500
603e8410
AM
25012013-10-04 Alan Modra <amodra@gmail.com>
2502
2503 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2504 use vector int constants.
2505 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2506
4a28b3ca
AB
25072013-10-04 Anton Blanchard <anton@au1.ibm.com>
2508
2509 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2510 array with long long.
2511 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2512 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2513 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2514 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2515 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2516 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2517 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2518 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2519 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2520 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2521 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2522 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2523 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2524
2ca85d2b
AB
25252013-10-04 Anton Blanchard <anton@au1.ibm.com>
2526
2527 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2528 (__signbit): Likewise. Correct for little-endian.
2529 (__signbitl): Call __signbit.
2530 (lrint): Correct for little-endian.
2531 (lrintf): Call lrint.
2532
62a728ae
AM
25332013-10-04 Alan Modra <amodra@gmail.com>
2534
2535 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2536 union 32-bit int array member with 64-bit int array.
2537 (t515, tm256): Double rather than long double.
2538 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2539
32c301df
AM
25402013-10-04 Alan Modra <amodra@gmail.com>
2541
2542 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2543 Delete.
2544 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2545 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2546 version of math_ldbl.h.
2547
650ef4bd
AM
25482013-10-04 Alan Modra <amodra@gmail.com>
2549
2550 [BZ #15734], [BZ #15735]
2551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2552 all uses of ieee875 long double macros and unions. Simplify test
2553 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2554 ldbl_extract_mantissa value for ix,iy exponents. Properly
2555 normalize after ldbl_extract_mantissa, and don't add hidden bit
2556 already handled. Don't treat low word of ieee854 mantissa like
2557 low word of IBM long double and mask off bit when testing for
2558 zero.
2559 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2560 all uses of ieee875 long double macros and unions. Simplify tests
2561 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2562 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2563 two1022, instead use their values. Recognise that tests for large
2564 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2565 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2566 Rewrite all uses of ieee875 long double macros and unions. Simplify
2567 test for 0.0L and nan. Correct negation.
2568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2569 ieee875 long double macros and unions. Correct output for large
2570 magnitude x. Correct absolute value calculation.
2571 (__erfcl): Likewise.
2572 * math/libm-test.inc: Add tests for errors discovered in IBM long
2573 double versions of fmodl, remainderl, erfl and erfcl.
2574
765714ca
AM
25752013-10-04 Alan Modra <amodra@gmail.com>
2576
2577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2578 all uses of ieee854 long double macros and unions. Simplify tests
2579 for long doubles that are fully specified by the high double.
2580 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2581 Likewise.
2582 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2583 Remove dead code too.
2584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2585 (__ieee754_ynl): Likewise.
2586 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2589 Remove dead code too.
2590 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2592 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2593 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2594 Simplify.
2595 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2596 Simplify.
2597 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2598 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2599 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2600 Comment on variable precision.
2601 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2603 Likewise.
2604 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2607 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2608 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2609
4ebd120c
AM
26102013-10-04 Alan Modra <amodra@gmail.com>
2611
2612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2614 all uses of ieee854 long double macros and unions.
2615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2621 Likewise.
2622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2626 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2627 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2628 Simplify sign and nan test too.
2629 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2630 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2631 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2632 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2633 Likewise.
2634 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2636 Likewise.
2637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2638 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2641 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2643
1b6adf88
AM
26442013-10-04 Alan Modra <amodra@gmail.com>
2645
2646 * stdio-common/printf_size.c (__printf_size): Don't use
2647 union ieee854_long_double in fpnum union.
2648 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2649 signbit macro to retrieve sign from long double.
2650 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2651 retrieve sign from long double.
2652 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2653 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2654 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2655 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2656 * math/test-misc.c (main): Don't use union ieee854_long_double.
2657
4cf69995
AM
26582013-10-04 Alan Modra <amodra@gmail.com>
2659
2660 [BZ #15680]
2661 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2662 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2663 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2664 calculation. Remove unnecessary test for denormal exponent.
2665 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2666 Correct handling of denormals. Avoid undefined shift behaviour.
2667 Correct normalisation of low mantissa when low double is denormal.
2668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2669 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2670 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2671 Correct normalisation of low mantissa. Test for overflow of high
2672 mantissa and normalise.
2673 (ldbl_nearbyint): Use more readable constant for two52.
2674 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2675 (__mpn_construct_long_double): Fix test for overflow of high
2676 mantissa and correct normalisation. Avoid undefined shift.
2677
9605ca6c
AM
26782013-10-04 Alan Modra <amodra@gmail.com>
2679
2680 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2681 (union ibm_extended_long_double): Define as an array of ieee754_double.
2682 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2683 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2684 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2685 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2693
975569d0
JM
26942013-10-03 Joseph Myers <joseph@codesourcery.com>
2695
d3d23756
JM
2696 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2697 page size instead of calling getpagesize.
2698
975569d0
JM
2699 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2700 (LOCFILE_ALIGN_MASK): Likewise.
2701 (LOCFILE_ALIGN_UP): Likewise.
2702 (LOCFILE_ALIGNED_P): Likewise.
2703 * locale/programs/ld-collate.c (collate_output): Use the new
2704 macros instead of __alignof__ (int32_t).
2705 * locale/weight.h (findidx): Likewise.
2706
b1fe1f2b
OB
27072013-10-03 Ondřej Bílka <neleai@seznam.cz>
2708
2709 [BZ #431]
2710 * manual/string.texi: Fix strncat and wcsncat.
2711
5f855e35
BM
27122013-10-03 Brooks Moses <bmoses@google.com>
2713
2714 [BZ #15915]
2715 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2716 * Makerules: ...here, and adjust associated comments.
2717
3cef6009
WN
27182013-10-02 Will Newton <will.newton@linaro.org>
2719
2720 * malloc/Makefile: Add tst-pvalloc.
2721 * malloc/tst-pvalloc.c: New file.
2722
7815420b
WN
27232013-10-02 Will Newton <will.newton@linaro.org>
2724
2725 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2726 improve test coverage.
2727
4868b204
WN
27282013-10-02 Will Newton <will.newton@linaro.org>
2729
2730 * malloc/Makefile: Add tst-posix_memalign.
2731 * malloc/tst-posix_memalign.c: New file.
2732
29c793b3
EB
27332013-10-01 Eric Blake <eblake@redhat.com>
2734
2735 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2736 Use __THROWNL rather than __THROW on static functions.
2737
fd967522
PM
27382013-09-30 Petr Machata <pmachata@redhat.com>
2739
2740 * elf/elf.h (R_AARCH64_ABS16): New macro.
2741 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2742 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2743 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2744 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2745 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2746 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2747 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2748 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2749 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2750 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2751 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2752 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2753 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2754 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2755 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2756 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2757 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2758 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2759 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2760 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2761 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2762 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2763 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2764 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2765 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2766 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2767 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2768 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2769 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2770 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2771 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2772 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2773 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2774 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2775 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2776 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2777 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2778 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2779 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2780 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2781 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2782 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2783 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2784 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2785 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2786 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2787 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2788 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2789 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2790 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2791 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2792 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2793 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2794 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2795 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2796 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2797 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2798 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2799 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2800 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2801 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2802 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2803 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2804 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2805 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2806 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2807 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2808 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2809 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2810 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2811 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2812 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2813 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2814 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2815 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2816 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2817 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2818 (R_AARCH64_TLSDESC_LDR): Likewise.
2819 (R_AARCH64_TLSDESC_ADD): Likewise.
2820 (R_AARCH64_TLSDESC_CALL): Likewise.
2821
b2179107
AS
28222013-09-30 Andreas Schwab <schwab@suse.de>
2823
2824 [BZ #15048]
2825 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2826 the nss database lookup.
2827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2829
47f28d0a
MF
28302013-09-28 Mike Frysinger <vapier@gentoo.org>
2831
2832 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2833
28342013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2835
2836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2837 ${Bash-specific parameter/pattern/string} parameter expansion.
2838 * sysdeps/unix/make-syscalls.sh: Likewise.
2839
f4518a17
KK
28402013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2841
2842 * sysdeps/sh/stackguard-macros.h: New file.
2843
dc1a95c7
OB
28442013-09-26 Ondřej Bílka <neleai@seznam.cz>
2845
2846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2848 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2849 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2850 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2851 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2852
5ebbff8f
AZ
28532013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2854
2855 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2856 Fix thread ID register.
2857
4fd2cf9f
JM
28582013-09-25 Joseph Myers <joseph@codesourcery.com>
2859
2860 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2861 [POSIX || UNIX98]: Require rather than permitting all symbols from
2862 <time.h>.
2863 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2864 element of struct sched_param.
2865 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2866 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2867 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2868 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2869 constant.
2870
12c22bc4
OL
28712013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2872
2873 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2874 argument calculation.
2875
a03d8ea7
JM
28762013-09-24 Joseph Myers <joseph@codesourcery.com>
2877
2878 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2879 Expect macro.
2880 [POSIX] (pthread_attr_t): Do not require type.
2881 [POSIX] (pthread_cond_t): Likewise.
2882 [POSIX] (pthread_condattr_t): Likewise.
2883 [POSIX] (pthread_key_t): Likewise.
2884 [POSIX] (pthread_mutex_t): Likewise.
2885 [POSIX] (pthread_mutexattr_t): Likewise.
2886 [POSIX] (pthread_once_t): Likewise.
2887 [POSIX] (pthread_t): Likewise.
2888 [POSIX-based standards] (pthread_atfork): Expect function.
2889
6055173a
JM
28902013-09-24 Joseph Myers <joseph@codesourcery.com>
2891 Richard Sandiford <richard@codesourcery.com>
2892
2893 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2894 (swap_endianness_p): New extern variable.
2895 (set_big_endian): New inline function.
2896 (maybe_swap_uint32): Likewise.
2897 (maybe_swap_uint32_array): Likewise.
2898 (maybe_swap_uint32_obstack): Likewise.
2899 * locale/programs/locfile.c: Include <stdbool.h>.
2900 (swap_endianness_p): New variable.
2901 (add_locale_uint32): Call maybe_swap_uint32.
2902 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2903 (write_locale_data): Call maybe_swap_uint32_array.
2904 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2905 maybe_swap_uint32.
2906 (obstack_int32_grow_fast): Likewise.
2907 (output_weightwc): Call maybe_swap_uint32_obstack.
2908 (collate_output): Likewise.
2909 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2910 (OPT_LITTLE_ENDIAN): Likewise.
2911 (options): Add --little-endian and --big-endian options.
2912 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2913 * locale/programs/locarchive.c: Include "locfile.h".
2914 (GET): New macro.
2915 (SET): Likewise.
2916 (INC): Likewise.
2917 (create_archive): Use the new macros to access fields of
2918 structures directly mapped from or written to locale archives.
2919 (oldlocrecentcmp): Likewise.
2920 (enlarge_archive): Likewise.
2921 (insert_name): Likewise.
2922 (add_alias): Likewise.
2923 (add_locale): Likewise.
2924 (delete_locales_from_archive): Likewise.
2925 (show_archive_content): Likewise.
2926 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2927 locale data.
2928
39bf0bb4
RM
29292013-09-24 Roland McGrath <roland@hack.frob.com>
2930
2931 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2932 http://www.gnu.org/doc/freemanuals.texi.
2933 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2934
f02eed10
WN
29352013-09-24 Will Newton <will.newton@linaro.org>
2936
2937 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2938 macro.
2939
a3a6c312
JM
29402013-09-23 Joseph Myers <joseph@codesourcery.com>
2941
2942 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2943 unsigned char.
2944
107375ac
MR
29452013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2946
2947 * manual/threads.texi (POSIX Threads): Fix a typo.
2948
141f3a77
SP
29492013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2950
303e567a
SP
2951 [BZ #14547]
2952 * string/tst-strcoll-overflow.c: New test case.
2953 * string/Makefile (xtests): Add tst-strcoll-overflow.
2954 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2955 cache if string sizes may cause integer overflow.
2956
141f3a77
SP
2957 [BZ #14547]
2958 * string/strcoll_l.c (coll_seq): New members rule, idx,
2959 save_idx and back_us.
2960 (get_next_seq_nocache): New function.
2961 (do_compare_nocache): New function.
2962 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2963 when malloc fails.
2964
c61b4d41
CD
29652013-09-23 Carlos O'Donell <carlos@redhat.com>
2966
0b1f8e35
CD
2967 [BZ #15754]
2968 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2969 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2970 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2971
c61b4d41
CD
2972 [BZ #15754]
2973 * elf/Makefile (tests): Add tst-ptrguard1.
2974 (tests-static): Add tst-ptrguard1-static.
2975 (tst-ptrguard1-ARGS): Define.
2976 (tst-ptrguard1-static-ARGS): Define.
2977 * elf/tst-ptrguard1.c: New file.
2978 * elf/tst-ptrguard1-static.c: New file.
2979 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2980 * sysdeps/i386/stackguard-macros.h: Likewise.
2981 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2982 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2983 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2984 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2985 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2986 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2987
29882013-09-23 Hector Marco <hecmargi@upv.es>
2989 Ismael Ripoll <iripoll@disca.upv.es>
2990 Carlos O'Donell <carlos@redhat.com>
2991
2992 [BZ #15754]
2993 * sysdeps/generic/stackguard-macros.h: Define
2994 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2995 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2996 Define __pointer_chk_guard_local.
2997 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2998 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2999
f5f4e7b4
VV
30002013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3001
3002 [BZ #15859]
3003 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3004
5bb43a43
AS
30052013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * include/string.h (__ffs): Declare as hidden.
3008 * string/ffs.c (__ffs): Define as hidden.
3009 * sysdeps/i386/ffs.c (__ffs): Likewise.
3010 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3011 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3012 * sysdeps/s390/ffs.c (__ffs): Likewise.
3013 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3014
3ea5be54
AO
30152013-09-20 Alexandre Oliva <aoliva@redhat.com>
3016
ffb89e53
AO
3017 * NEWS: Mention malloc probes.
3018
322dea08
AO
3019 * malloc/arena.c (new_heap): New memory_heap_new probe.
3020 (grow_heap): New memory_heap_more probe.
3021 (shrink_heap): New memory_heap_less probe.
3022 (heap_trim): New memory_heap_free probe.
3023 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3024 (systrim): New memory_sbrk_less probe.
3025 * manual/probes.texi: Document them.
3026
655673f3
AO
3027 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3028 * manual/probes.texi: Document it.
3029
35fed6f1
AO
3030 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3031 (__libc_realloc): Add memory_realloc_retry probe.
3032 (__libc_memalign): Add memory_memalign_retry probe.
3033 (__libc_valloc): Add memory_valloc_retry probe.
3034 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3035 (__libc_calloc): Add memory_calloc_retry probe.
3036 * manual/probes.texi: Document them.
3037
6999d38c
AO
3038 * malloc/arena.c (get_free_list): Add probe
3039 memory_arena_reuse_free_list.
3040 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3041 and memory_arena_reuse.
3042 (arena_get2) [!PER_THREAD]: Likewise.
3043 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3044 memory_arena_reuse_realloc.
3045 * manual/probes.texi: Document them.
3046
0653427f
AO
3047 * malloc/malloc.c (__libc_free): Add
3048 memory_mallopt_free_dyn_thresholds probe.
3049 (__libc_mallopt): Add multiple memory_mallopt probes.
3050 * manual/probes.texi: Document them.
3051
3ea5be54
AO
3052 * malloc/malloc.c: Include stap-probe.h.
3053 (__libc_mallopt): Add memory_mallopt probe.
3054 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3055 * manual/probes.texi: New.
3056 * manual/Makefile (chapters): Add probes.
3057 * manual/threads.texi: Set next node.
3058
e35696c3 30592013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3060
e35696c3
CL
3061 [BZ #15963, #13985]
3062 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3063 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3064 Add `Chinese' to `nan' entry name.
3065
4aafb73c
SP
30662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3067
3068 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3069 (POLYNOMIAL): Likewise.
3070 (TAYLOR_SINCOS): Likewise.
3071 (TAYLOR_SLOW): Likewise.
3072 (__sin): Use TAYLOR_SINCOS.
3073 (__cos): Likewise.
3074 (slow): Use TAYLOR_SLOW.
3075 (sloww): Likewise.
3076 (bsloww): Likewise.
3077 (csloww): Likewise.
3078
d84f25c7
LD
30792013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3080
3081 * stdlib/strtod_l.c: Fix buffer overrun.
3082
5eea0404
SP
30832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3084
7849ff93
SP
3085 * benchtests/Makefile (bench): Add sincos.
3086 * benchtests/bench-sincos.c: New file.
3087
cfa3c886
SP
3088 * math/libm-test.inc (cos_test_data): New test inputs.
3089 (sin_test_data): Likewise.
3090
b348e1e3
SP
3091 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3092 macro.
3093 (__sin): Use it.
3094 (__cos): Likewise.
3095 (slow1): Likewise.
3096 (slow2): Likewise.
3097 (sloww1): Likewise.
3098 (sloww2): Likewise.
3099 (bsloww1): Likewise.
3100 (bsloww2): Likewise.
3101 (cslow2): Likewise.
3102 (csloww1): Likewise.
3103 (csloww2): Likewise.
3104
6cce25f8
SP
3105 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3106 function.
3107 (__sin): Use it.
3108 (__cos): Likewise.
3109
5eea0404
SP
3110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3111 gotos.
3112 (__cos): Likewise.
3113
9c21573c
MR
31142013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3115
3116 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3117 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3118 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3119 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3120 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3121 * elf/cache.c (print_entry): Handle the new cache flags.
3122
24d22e65
JM
31232013-09-18 Joseph Myers <joseph@codesourcery.com>
3124 Aldy Hernandez <aldyh@redhat.com>
3125
3126 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3127 Change condition to [_SOFT_FLOAT].
3128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3140 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3143 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3144 declaration.
3145
d13ef066
JM
31462013-09-18 Joseph Myers <joseph@codesourcery.com>
3147
2e071de0
JM
3148 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3149 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3150 (__longjmp): Use LOAD_GP to load saved GPRs.
3151 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3152 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3153 (__sigsetjmp): Use SAVE_GP to save GPRs.
3154
d13ef066
JM
3155 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3156 Do not append -msoft-float.
3157 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3158
97a0650b
SP
31592013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3160
3161 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3162
11ca09e9
JM
31632013-09-17 Joseph Myers <joseph@codesourcery.com>
3164
3165 [BZ #15966]
3166 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3167 (_FPU_GETCW): Use initial "__" on variable and field names but not
3168 on macro parameter name.
3169 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3170 parentheses around reference to macro parameter.
3171
08ffcf34
RS
31722013-09-13 Richard Sandiford <richard@codesourcery.com>
3173
3174 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3175 prototype.
3176 (ctype_startup): Use uint32_t in cast and sizeof for
3177 ctype->charnames.
3178
ae7080d3
JL
31792013-09-11 Jia Liu <proljc@gmail.com>
3180
3181 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3182 __daddr_t_defined.
3183 [__FreeBSD__]: Likewise.
3184
5905e7b3
OB
31852013-09-11 Ondřej Bílka <neleai@seznam.cz>
3186
3187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3188 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3189 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3190 (strchr): Remove __strchr_sse42 ifunc selection.
3191 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3192 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3193
b987c776
WN
31942013-09-11 Will Newton <will.newton@linaro.org>
3195
3196 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3197 parameter to RES. Remove hardcoded 1000 value.
3198 * benchtests/bench-skeleton.c (main): Pass RES parameter
3199 to TIMING_INIT and multiply result by 1000.
3200
ddf985af
AZ
32012013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3202
3203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3204
ffdd3181
AS
32052013-09-11 Andreas Schwab <schwab@suse.de>
3206
3207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3208 if not defined.
3209 (O_TMPFILE) [__USE_GNU]: Define.
3210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3211 Define.
3212
b73ed247
WN
32132013-09-11 Will Newton <will.newton@linaro.org>
3214
3215 [BZ #15857]
3216 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3217 does not overflow.
3218
55e17aad
WN
32192013-09-11 Will Newton <will.newton@linaro.org>
3220
3221 [BZ #15856]
3222 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3223 does not overflow.
3224
1159a193
WN
32252013-09-11 Will Newton <will.newton@linaro.org>
3226
3227 [BZ #15855]
3228 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3229 does not overflow.
3230
5905e7b3 32312013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3232
3233 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3234 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3238
cdfc721b
AM
32392013-09-10 Allan McRae <allan@archlinux.org>
3240
aa04af00
AM
3241 [BZ #15748]
3242 * manual/arith.texi (Parsing of Floats): Clarify
3243 cross-reference.
3244
cdfc721b
AM
3245 [BZ #15849]
3246 * manual/install.texi (Running make install): Mention
3247 --enable-pt-chown.
3248 * INSTALL: Regenerated.
3249
95e7cf29
MR
32502013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3251
3252 * csu/init-first.c (_init): Remove the !SHARED condition around
3253 FPU control word initialization.
3254 * elf/dl-support.c (_dl_fpu_control): New variable.
3255 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3256 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3257 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3258 * math/test-fpucw-static.c: New file.
3259 * math/test-fpucw-ieee.c: New file.
3260 * math/test-fpucw-ieee-static.c: New file.
3261 * math/Makefile (tests): Add `test-fpucw-ieee' and
3262 `$(tests-static)'.
3263 (tests-static): New variable.
3264 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3265 dependency to...
3266 [($(build-shared),yes)]
3267 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3268 ... this.
3269 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3270 New dependency.
3271
83e43bf0
AM
32722013-09-09 Allan McRae <allan@archlinux.org>
3273
a9f5ce09
AM
3274 [BZ #15939]
3275 * manual/string.texi (Collation Functions): Fix typo in
3276 strcoll example.
3277 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3278
34829bc2
AM
3279 [BZ #15893]
3280 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3281
3932737d
AM
3282 [BZ #15892]
3283 * libio/memstream.c (open_memstream): Fix memory leak.
3284 * libio/wmemstream.c (open_wmemstream): Likewise.
3285
83e43bf0
AM
3286 [BZ #15895]
3287 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3288
0c66b8e9
WN
32892013-09-09 Will Newton <will.newton@linaro.org>
3290
3291 * malloc/Makefile: Add tst-realloc to tests.
3292 * malloc/tst-realloc.c: New file.
3293
f6b00fd1
AM
32942013-09-09 Allan McRae <allan@archlinux.org>
3295
3296 [BZ #15844]
3297 * COPYING: Update from GNU website to fix FSF address.
3298 * COPYING.LIB: Likewise.
3299
eec55e16
DM
33002013-09-06 David S. Miller <davem@davemloft.net>
3301
3302 * po/zh_TW.po: Update Chinese (traditional) translation from
3303 translation project.
3304
1ecbb381
RS
33052013-09-06 Richard Sandiford <richard@codesourcery.com>
3306 Joseph Myers <joseph@codesourcery.com>
3307
3308 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3309 "localeinfo.h".
3310 (obstack_chunk_alloc): New macro.
3311 (obstack_chunk_free): Likewise.
3312 (record_offset): New function.
3313 (init_locale_data): Likewise.
3314 (align_locale_data): Likewise.
3315 (add_locale_empty): Likewise.
3316 (add_locale_raw_data): Likewise.
3317 (add_locale_raw_obstack): Likewise.
3318 (add_locale_string): Likewise.
3319 (add_locale_wstring): Likewise.
3320 (add_locale_uint32): Likewise.
3321 (add_locale_uint32_array): Likewise.
3322 (add_locale_char): Likewise.
3323 (start_locale_structure): Likewise.
3324 (end_locale_structure): Likewise.
3325 (start_locale_prelude): Likewise.
3326 (end_locale_prelude): Likewise.
3327 (write_locale_data): Take locale_file structure rather than an
3328 iovec.
3329 * locale/programs/locfile.h: Include "obstack.h".
3330 (struct locale_file): Change to store locale file contents instead
3331 of header.
3332 (init_locale_data): New prototype.
3333 (align_locale_data): Likewise.
3334 (add_locale_empty): Likewise.
3335 (add_locale_raw_data): Likewise.
3336 (add_locale_raw_obstack): Likewise.
3337 (add_locale_string): Likewise.
3338 (add_locale_wstring): Likewise.
3339 (add_locale_uint32): Likewise.
3340 (add_locale_uint32_array): Likewise.
3341 (add_locale_char): Likewise.
3342 (start_locale_structure): Likewise.
3343 (end_locale_structure): Likewise.
3344 (start_locale_prelude): Likewise.
3345 (end_locale_prelude): Likewise.
3346 (write_locale_data): Update prototype.
3347 * locale/programs/3level.h (struct TABLE): Remove result field.
3348 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3349 Use new locale_file interface.
3350 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3351 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3352 * locale/programs/ld-address.c (address_output): Use new
3353 locale_file interface.
3354 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3355 NO_ADD_LOCALE.
3356 (collate_finish): Don't call collseq_table_finalize.
3357 (collate_output): Use new locale_file interface.
3358 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3359 in file.
3360 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3361 (TABLE): Move defines earlier in file.
3362 (ELEMENT): Likewise.
3363 (DEFAULT): Likewise.
3364 (wctrans_table_add): Move macro and inline function earlier in
3365 file.
3366 (struct wctype_table): Move type earlier in file.
3367 (add_locale_wctype_table): New static prototype.
3368 (struct locale_ctype_t): Use logical types instead of struct iovec
3369 pointers for members.
3370 (ctype_output): Use new locale_file interface.
3371 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3372 new locale_file interface.
3373 (allocate_arrays): Update for use of new locale_file interface.
3374 * locale/programs/ld-identification.c (identification_output): Use
3375 new locale_file interface.
3376 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3377 * locale/programs/ld-messages.c (messages_output): Likewise.
3378 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3379 * locale/programs/ld-name.c (name_output): Likewise.
3380 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3381 * locale/programs/ld-paper.c (paper_output): Likewise.
3382 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3383 * locale/programs/ld-time.c (time_output): Likewise.
3384
e029e2e5
AZ
33852013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3386
3387 * benchtests/Makefile: Add memrchr benchmark.
3388 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3389 benchmark as memrchr.
3390 * benchtests/bench-memrchr-ifunc.c: New file.
3391 * benchtests/bench-memrchr.c: New file.
3392
bbf6e8e4
WN
33932013-09-06 Will Newton <will.newton@linaro.org>
3394
3395 * benchtests/Makefile (string-bench): Add memcpy.
3396
6c82a2f8
CD
33972013-09-05 Carlos O'Donell <carlos@redhat.com>
3398 Cong Wang <amwang@redhat.com>
3399
3400 * sysdeps/unix/sysv/linux/bits/in.h
3401 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3402 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3403 before __USE_KERNEL_IPV6_DEFS uses.
3404 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3405 IPPROTO_BEETPH.
3406 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3407 sockaddr_in6, or ipv6_mreq.
3408
5430fc65
AZ
34092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410
3411 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3412 memory access for final bytes in some large inputs.
3413 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3414
4660856c
AZ
34152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416
3417 * string/test-memrchr.c: New file.
3418 * string/test-memrchr-ifunc.c: New file.
3419 * string/Makefile: Add new memrchr testcase.
3420
bb8ea713
MF
34212013-09-05 Mike Frysinger <vapier@gentoo.org>
3422
3423 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3424 fanotify_init returns EPERM.
3425
b92a20b5
JM
34262013-09-04 Joseph Myers <joseph@codesourcery.com>
3427
3428 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3429 errors.
3430 (top level): Treat second token from macro or constant entries for
3431 allowed headers as allowed.
3432 * include/complex.h: Condition internal declarations on
3433 [!_ISOMAC].
3434 * include/fenv.h: Condition include of <stdbool.h> and internal
3435 declarations on [!_ISOMAC].
7447ccd9
CL
3436
34372013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3438
3e181dda 3439 [BZ #15923]
7447ccd9
CL
3440 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3441
3f2e46a4
JM
34422013-09-04 Joseph Myers <joseph@codesourcery.com>
3443
3444 * configure.in (--enable-versioning): Remove configure option.
3445 (libc_cv_asm_symver_directive): Remove configure test.
3446 (libc_cv_ld_version_script_option): Likewise.
3447 (VERSIONING): Remove variable and AC_SUBST.
3448 (DO_VERSIONING): Remove AC_DEFINE.
3449 * configure: Regenerated.
3450 * config.h.in (DO_VERSIONING): Remove macro.
3451 * Makerules [$(versioning) = yes]: Change conditionals to
3452 [$(build-shared) = yes].
3453 * config.make.in (versioning): Remove variable.
3454 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3455 [$(build-shared) = yes].
3456 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3457 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3458 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3459 [$(build-shared) = yes].
3460 * extra-lib.mk [$(versioning) = yes]: Likewise.
3461 * hurd/Makefile [$(versioning) = yes]: Likewise.
3462 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3463 [SHARED].
3464 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3465 [SHARED].
3466 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3467 [SHARED && !NO_HIDDEN].
3468 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3469 [SHARED].
3470 [SHARED && DO_VERSIONING]: Likewise..
3471 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3472 [$(build-shared) = yes].
3473 * manual/install.texi (--disable-versioning): Remove
3474 documentation.
3475 * INSTALL: Regenerated.
3476 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3477 to [SHARED].
3478 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3479 [$(build-shared) = yes].
3480 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3481 * sysdeps/i386/i686/multiarch/strstr-c.c
3482 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3483 [SHARED && !NO_HIDDEN].
3484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3485 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3486 * sysdeps/powerpc/powerpc32/dl-machine.c
3487 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3488 * sysdeps/powerpc/powerpc32/sysdep.h
3489 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3490 to [SHARED && PIC && !NO_HIDDEN].
3491 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3492 conditional to [SHARED].
3493
44558701
WN
34942013-09-04 Will Newton <will.newton@linaro.org>
3495
3496 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3497 * benchtests/bench-string.h: Include bench-timing.h instead
3498 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3499 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3500 call to HP_TIMING_DIFF_INIT.
3501 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3502 instead of hp-timing.h macros.
3503 * benchtests/bench-memchr.c: Likewise.
3504 * benchtests/bench-memcmp.c: Likewise.
3505 * benchtests/bench-memcpy.c: Likewise.
3506 * benchtests/bench-memmem.c: Likewise.
3507 * benchtests/bench-memmove.c: Likewise.
3508 * benchtests/bench-memset.c: Likewise.
3509 * benchtests/bench-rawmemchr.c: Likewise.
3510 * benchtests/bench-strcasecmp.c: Likewise.
3511 * benchtests/bench-strcasestr.c: Likewise.
3512 * benchtests/bench-strcat.c: Likewise.
3513 * benchtests/bench-strchr.c: Likewise.
3514 * benchtests/bench-strcmp.c: Likewise.
3515 * benchtests/bench-strcpy.c: Likewise.
3516 * benchtests/bench-strcpy_chk.c: Likewise.
3517 * benchtests/bench-strlen.c: Likewise.
3518 * benchtests/bench-strncasecmp.c: Likewise.
3519 * benchtests/bench-strncat.c: Likewise.
3520 * benchtests/bench-strncmp.c: Likewise.
3521 * benchtests/bench-strncpy.c: Likewise.
3522 * benchtests/bench-strnlen.c: Likewise.
3523 * benchtests/bench-strpbrk.c: Likewise.
3524 * benchtests/bench-strrchr.c: Likewise.
3525 * benchtests/bench-strspn.c: Likewise.
3526 * benchtests/bench-strstr.c: Likewise.
3527
cae16d66
WN
35282013-09-04 Will Newton <will.newton@linaro.org>
3529
3530 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3531
ffa3cd7f
JM
35322013-09-03 Joseph Myers <joseph@codesourcery.com>
3533
3534 [BZ #15427]
3535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3536 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3537 * math/libm-test.inc (lgamma_test_data): Add more tests.
3538 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3540
8f02859f
OB
35412013-09-03 Ondřej Bílka <neleai@seznam.cz>
3542
3543 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3545 Add ifunc.
3546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3547 Add strcmp-sse2-unaligned
3548 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3549
18d43716
MF
35502013-09-02 Mike Frysinger <vapier@gentoo.org>
3551
3552 * Versions.def (libc): Add GLIBC_2.19.
3553
ac444012
MF
35542013-09-02 Mike Frysinger <vapier@gentoo.org>
3555
3556 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3557 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3558
b7835e32
JM
35592013-09-02 Joseph Myers <joseph@codesourcery.com>
3560
3561 [BZ #14155]
3562 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3563 intermediate calculations in recurrence.
3564 (__ieee754_ynf): Likewise.
3565 * math/libm-test.inc (jn_test_data): Do not allow spurious
3566 underflow exception. Add more tests.
3567 (yn_test_data): Add more tests.
3568 * sysdeps/i386/fpu/libm-test-ulps: Update.
3569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3570
8220f4f0
OB
35712013-09-02 Ondřej Bílka <neleai@seznam.cz>
3572
3573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3574
f24a6d08
OB
35752013-08-30 Ondřej Bílka <neleai@seznam.cz>
3576
3577 * csu/init-first.c: Fix then/than typos.
3578 * locale/programs/ld-collate.c: Likewise.
3579 * locale/programs/linereader.h: Likewise.
3580 * manual/charset.texi: Likewise.
3581 * manual/filesys.texi: Likewise.
3582 * manual/stdio.texi: Likewise.
3583 * manual/string.texi: Likewise.
3584 * stdlib/fmtmsg.c: Likewise.
3585 * sysdeps/i386/stpncpy.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3588 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3589 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3590
382466e0
OB
35912013-08-30 Ondřej Bílka <neleai@seznam.cz>
3592
3593 * elf/dl-open.c: Fix typos.
3594 * iconvdata/gbbig5.c: Likewise.
3595 * iconvdata/iso-2022-jp.c: Likewise.
3596 * iconv/gconv_int.h: Likewise.
3597 * iconv/loop.c: Likewise.
3598 * nis/rpcsvc/nis.h: Likewise.
3599 * resolv/ns_name.c: Likewise.
3600 * stdio-common/vfscanf.c: Likewise.
3601 * streams/stropts.h: Likewise.
3602 * sunrpc/rpc_thread.c: Likewise.
3603 * sysdeps/i386/strpbrk.S: Likewise.
3604 * sysdeps/ieee754/k_standard.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3607 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3608 * sysdeps/mach/hurd/profil.c: Likewise.
3609 * sysdeps/s390/dl-procinfo.h: Likewise.
3610 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3611 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3612 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3613 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3614 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3615
0186c6e9
OB
36162013-08-30 Ondřej Bílka <neleai@seznam.cz>
3617
3618 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3620
d4e16af1
OB
36212013-08-29 Ondřej Bílka <neleai@seznam.cz>
3622
3623 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3624 aix specific files.
3625 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3631 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3633
88335980
TS
36342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3635 Roland McGrath <roland@hack.frob.com>
3636
3637 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3638 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3639
ed479b02
ST
36402013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3641
3642 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3643 __executable_start symbol instead of _start.
3644
f1cc4c86
TS
36452013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3646
d821f07c
TS
3647 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3648 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3649 Move macros to...
3650 * sysdeps/gnu/ldsodefs.h: ... this new file.
3651
c54290cf
TS
3652 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3653 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3654 instead of ELFOSABI_LINUX.
3655
0007fc9b 3656 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3657 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3658 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3659 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3660 Likewise.
3661 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3662 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3664 Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3666 (ibm_extended_long_double): Add ieee_nan member.
3667 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3668 (do_test): New function.
3669
f1cc4c86
TS
3670 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3671 TEST_TRUNC.
3672 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3673 functions, renamed from truncdfsf_test, trunctfsf_test,
3674 trunctfdf_test.
3675 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3676 functions.
3677 (do_test): Run all these.
3678
6f65e668
OB
36792013-08-29 Ondřej Bílka <neleai@seznam.cz>
3680
3681 * argp/argp-help.c: Fix typos.
3682 * argp/argp-parse.c: Likewise.
3683 * debug/backtracesyms.c: Likewise.
3684 * elf/elf.h: Likewise.
3685 * malloc/malloc.c: Likewise.
3686 * nis/nis_print.c: Likewise.
3687 * resolv/res_comp.c: Likewise.
3688 * stdlib/stdlib.h: Likewise.
3689 * sunrpc/clnt_tcp.c: Likewise.
3690 * sunrpc/clnt_udp.c: Likewise.
3691 * sunrpc/clnt_unix.c: Likewise.
3692 * sysdeps/unix/bsd/ptsname.c: Likewise.
3693 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3696 Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3700 Likewise.
6f65e668
OB
3701 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3702
3a309239
SP
37032013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3704
3705 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3707
3b813b29
MF
37082013-08-27 Mike Frysinger <vapier@gentoo.org>
3709
3710 [BZ #15897]
3711 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3712 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3713 ($(objpfx)bug-dl-leaf): New rule.
3714 ($(objpfx)bug-dl-leaf.so): Likewise.
3715 ($(objpfx)bug-dl-leaf.out): Likewise.
3716 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3717 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3718 * dlfcn/bug-dl-leaf.c: New test.
3719 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3720 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3721 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3722 (dlclose): Likewise.
3723 (dlmopen): Likewise.
3724
8cc3269f
RM
37252013-08-27 Roland McGrath <roland@hack.frob.com>
3726
7f9d0034
RM
3727 * include/netdb.h [!_ISOMAC]:
3728 Don't include <tls.h>.
3729 (h_errno, __libc_h_errno): Move declaration and macros out of
3730 [_LIBC_REENTRANT].
3731
fb431262
RM
3732 * include/resolv.h [_RESOLV_H_]:
3733 Don't include <tls.h>.
3734 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3735 * resolv/res_libc.c: Don't include <tls.h>.
3736 (_res): Use __attribute__ ((nocommon)) in place of
3737 __attribute__ ((section (".bss"))).
3738
bd81123a
RM
3739 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3740 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3741
c4e42566
RM
3742 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3743
f890a59b
RM
3744 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3745 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3746
3747 * resolv/res_mkquery.c: Include <sys/time.h>.
3748
5d1f0a09
RM
3749 * inet/ifreq.c: Moved to ...
3750 * sysdeps/unix/ifreq.c: ... here.
3751 * inet/ifreq.c: New file, true stub version.
3752
6fcf28b3
RM
3753 * socket/sa_len.c: New file.
3754 * socket/Makefile (aux): Add it.
3755 * sysdeps/unix/sysv/linux/Makefile
3756 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3757 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3758 and #include <socket/sa_len.c>.
3759 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3760 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3761
e041fb8b
RM
3762 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3763 * bits/socket.h: ... here.
3764
8cc3269f
RM
3765 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3766 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3767 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3768
5d228a43
AS
37692013-08-27 Andreas Schwab <schwab@suse.de>
3770
45b8accc
AS
3771 [BZ #15736]
3772 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3773 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3774 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3775 * string/test-strcasecmp.c (test_main): Run tests in several
3776 locales.
3777 * string/test-strncasecmp.c (test_main): Likewise.
3778
5d228a43
AS
3779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3780 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3781 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3783 (__strncasecmp_ssse3) [PIC]: Likewise.
3784
59d112a4
RM
37852013-08-26 Roland McGrath <roland@hack.frob.com>
3786
53234cc3
RM
3787 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3788
59d112a4
RM
3789 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3790 instead of explicitly declaring xdecrypt.
3791 * nis/nss_nis/nis-publickey.c: Likewise.
3792
595aba70
SP
37932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3794
3795 [BZ #15890]
3796 * nscd/aicache.c: Include res_hconf.h.
3797 (addhstaiX): Initialize res_hconf.
3798
ffabd393
AS
37992013-08-26 Andreas Schwab <schwab@suse.de>
3800
3801 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3802 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3803
e0a69f5c
SP
38042013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3805
3806 * nscd/aicache.c (addhstaiX): Fix indentation.
3807
8c12f01d
MF
38082013-08-25 Mike Frysinger <vapier@gentoo.org>
3809
3810 * configure.ac: Quote $build_pt_chown test.
3811 * configure: Regenerated.
3812
8fe89494
JM
38132013-08-23 Joseph Myers <joseph@codesourcery.com>
3814
3815 [BZ #15532]
3816 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3817 * math/s_cexpf.c (__cexpf): Likewise.
3818 * math/s_cexpl.c (__cexpl): Likewise.
3819 * math/libm-test.inc (cexp_test_data): Correct expected return
3820 value for NaN + i0. Add another test.
3821
75b181d6
DM
38222013-08-22 David S. Miller <davem@davemloft.net>
3823
3824 * po/ca.po: Update Catalan translation from translation project.
936241e4 3825 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3826
acd06bb1
JM
38272013-08-21 Joseph Myers <joseph@codesourcery.com>
3828
3829 [BZ #15797]
3830 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3831 is infinite, not alongside NaN test.
3832 * math/s_fdimf.c (__fdimf): Likewise.
3833 * math/s_fdiml.c (__fdiml): Likewise.
3834 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3835 errno is unchanged.
3836
c0c3f78a
OB
38372013-08-21 Ondřej Bílka <neleai@seznam.cz>
3838
3839 * argp/argp-help.c: Fix typos.
3840 * crypt/speeds.c: Likewise.
3841 * csu/check_fds.c: Likewise.
3842 * elf/dl-load.c: Likewise.
3843 * elf/dl-open.c: Likewise.
3844 * elf/reldep3.c: Likewise.
3845 * elf/reldep.c: Likewise.
3846 * elf/sprof.c: Likewise.
3847 * iconv/iconv_charmap.c: Likewise.
3848 * iconv/skeleton.c: Likewise.
3849 * iconv/strtab.c: Likewise.
3850 * io/lockf64.c: Likewise.
3851 * libio/libioP.h: Likewise.
3852 * resolv/gai_notify.c: Likewise.
3853 * resolv/ns_name.c: Likewise.
3854 * resolv/ns_samedomain.c: Likewise.
3855 * resolv/res_send.c: Likewise.
3856 * stdlib/random.c: Likewise.
3857 * sunrpc/rpc/xdr.h: Likewise.
3858 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3866 * sysdeps/mach/hurd/check_fds.c: Likewise.
3867 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3870 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3872 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3873 * sysdeps/pthread/aio_notify.c: Likewise.
3874 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3875 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3876 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3877 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3878 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3879
46ed1038
LD
38802013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3881
3882 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3883 version if bit_Slow_SSE4_2 is set.
3884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3886
d400dcac
AZ
38872013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3888
3889 [BZ #15867]
3890 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3891 trampoline stack frame information.
3892 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3894 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3895 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3896 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3897 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3898 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3899 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3900 sa_flags value.
3901 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3902 interrupting a syscall and set with option SA_SIGINFO.
3903
42c8fdd8
JM
39042013-08-20 Joseph Myers <joseph@codesourcery.com>
3905
c980f2f4
JM
3906 [BZ #15531]
3907 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3908 argument is infinite.
3909 * math/s_cprojf.c (__cprojf): Likewise.
3910 * math/s_cprojl.c (__cprojl): Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3912 * math/libm-test.inc (cproj_test_data): Add more tests.
3913
0716c4fc
JM
3914 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3915
42c8fdd8
JM
3916 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3917 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3918 size. Use __ffs to determine corresponding shift.
3919
b31469d0
JM
39202013-08-20 Joseph Myers <joseph@codesourcery.com>
3921 Roland McGrath <roland@hack.frob.com>
3922
3923 * Makefile (INSTALL): Remove trailing blank lines from output of
3924 makeinfo.
3925
4e39af6e
AK
39262013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3927
3928 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3929 Align 32 bit compat elf_greg to 8 bytes.
3930
f315524e
AA
39312013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3932
3933 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3934
1326ba1a
SP
39352013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 * string/strcoll_l.c (coll_seq): New structure.
3938 (get_next_seq_cached): New function.
3939 (get_next_seq): New function.
3940 (do_compare): New function.
3941 (STRCOLL): Use GNU style definition. Simplify implementation
3942 by using get_next_seq, get_next_seq_cached and do_compare.
3943
91ce4085
FW
39442013-08-16 Florian Weimer <fweimer@redhat.com>
3945
3946 [BZ #14699]
3947 CVE-2013-4237
3948 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3949 member.
3950 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3951 member.
3952 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3953 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3954 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3955 conditional.
3956 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3957 GETDENTS_64BIT_ALIGNED.
3958 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3959 * manual/filesys.texi (Reading/Closing Directory): Document
3960 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3961 strongly.
3962 * manual/conf.texi (Limits for Files): Add portability note to
3963 NAME_MAX, PATH_MAX.
3964 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3965
ca0a6bc4
AS
39662013-08-13 Andreas Schwab <schwab@suse.de>
3967
3968 [BZ #15749]
3969 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3970 of fabs.
3971 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3972 LDBL_MAX_EXP >= 16384]: Add tests for it.
3973
6c1fd795
DM
39742013-08-12 David S. Miller <davem@davemloft.net>
3975
3976 * version.h (RELEASE): Set to "development".
3977 (VERSION): Set to "2.18.90".
3978 * NEWS: Add 2.19 section.
3979
31ad488d
DM
39802013-08-03 David S. Miller <davem@davemloft.net>
3981
3982 * po/ko.po: Update Korean translation from translation project.
3983
db24e684
DM
39842013-08-01 David S. Miller <davem@davemloft.net>
3985
3986 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3987 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3988 Bilka.
3989
f723285b
DM
39902013-07-30 David S. Miller <davem@davemloft.net>
3991
3992 * po/fr.po: Update French translation from translation project.
3993
3cbc52db
DM
39942013-07-28 David S. Miller <davem@davemloft.net>
3995
30bbc0cc
DM
3996 * po/cs.po: Update Czech translation from translation project.
3997
3cbc52db
DM
3998 * po/sv.po: Update Swedish translation from translation project.
3999
d492e6d0
DM
40002013-07-27 David S. Miller <davem@davemloft.net>
4001
f1a7f492
DM
4002 * po/eo.po: Update Esperanto translation from translation project.
4003
90e62a4a
DM
4004 * po/vi.po: Update Vietnamese translation from translation project.
4005
d492e6d0
DM
4006 * po/de.po: Update German translation from translation project.
4007
d4baa62d
DM
40082013-07-26 David S. Miller <davem@davemloft.net>
4009
641aa7b4
DM
4010 * po/bg.po: Update Bulgarian translation from translation project.
4011
d4baa62d
DM
4012 * po/nl.po: Update Dutch translation from translation project.
4013 * po/pl.po: Update Polish translation from translation project.
4014 * po/ru.po: Update Russian translation from translation project.
4015
61a9dcb9
DM
40162013-07-24 David S. Miller <davem@davemloft.net>
4017
4018 * po/libc.pot: Update.
4019
7b1f8b58
AZ
40202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4021
4022 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4023 variable page size.
4024 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4025 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4026 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4027
a8fc7a03
AK
40282013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4029
4030 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4031
e4608715
CD
40322013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4033 Andreas Schwab <schwab@suse.de>
4034 Roland McGrath <roland@hack.frob.com>
4035 Joseph Myers <joseph@codesourcery.com>
4036 Carlos O'Donell <carlos@redhat.com>
4037
4038 [BZ #15755]
4039 * config.h.in: Define HAVE_PT_CHOWN.
4040 * config.make.in (build-pt-chown): New variable.
4041 * configure.in (--enable-pt_chown): New configure option.
4042 * configure: Regenerate.
4043 * login/Makefile: Include Makeconfig. Build pt_chown only if
4044 build-pt-chown is enabled.
4045 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4046 pt_chown to fix pty ownership.
4047 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4048 CLOSE_ALL_FDS.
4049 * manual/install.texi (Configuring and compiling): Mention
4050 --enable-pt_chown. Add @findex for grantpt.
4051 * INSTALL: Regenerate.
4052
da2d62df
DM
40532013-07-20 David S. Miller <davem@davemloft.net>
4054
4055 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4056 difference between 32-bit and 64-bit.
4057
d7e06450
CD
40582013-07-15 Carlos O'Donell <carlos@redhat.com>
4059
4060 [BZ #15711]
4061 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4062 Avoid system header dependency with -ffreestanding.
4063 ($(objpfx)bits/syscall%d): Likewise.
4064
f959cfd7
DM
40652013-07-13 David S. Miller <davem@davemloft.net>
4066
4067 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4068 underflows from atanl/atan2l due to bug 15319.
4069 (casinh_test_data): Likewise.
4070
c61f8513
DM
40712013-07-07 David S. Miller <davem@davemloft.net>
4072
4073 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4074
72c90ed0
JA
40752013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4076
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079
52dfbe13
SP
40802013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4081
4082 * configure.in (--enable-lock-elision): Fix message text.
4083 * INSTALL: Regenerate.
4084 * configure: Regenerate.
4085
3f169543
AZ
40862013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4087
4088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4089
521c6785
AJ
40902013-07-03 Andreas Jaeger <aj@suse.de>
4091
4092 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4093 define.
4094 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4095 (ptrace_peeksiginfo_args): Add.
4096 (__ptrace_peeksiginfo_flags): Add.
4097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4100
d2cc15cb
AM
41012013-07-03 Allan McRae <allan@archlinux.org>
4102
4103 * sysdeps/i386/fpu/libm-test-ulps: Update.
4104
3aaeeca7
DM
41052013-07-02 David S. Miller <davem@davemloft.net>
4106
4107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4108
5314ed1a
MT
41092013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4110
4111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4112
67338156
JM
41132013-07-02 Joseph Myers <joseph@codesourcery.com>
4114
4115 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4117
1717da59
AK
41182013-07-02 Andi Kleen <ak@linux.intel.com>
4119
4120 * config.h.in (ENABLE_LOCK_ELISION): Add.
4121 * configure.in (--enable-lock-elision): Add option.
4122 * manual/install.texi: Document --enable lock elision.
4123 * configure: Regenerate
4124 * INSTALL: Regenerate.
4125
1c81621c
L
41262013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4127
4128 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4129 SSE4.2 strcasecmp for libc.a.
4130 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4131
77f01ab5
JM
41322013-07-02 Joseph Myers <joseph@codesourcery.com>
4133
4134 [BZ #13304]
4135 * soft-fp/op-common.h (_FP_FMA): New macro.
4136 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4137 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4138 (_FP_MUL_MEAT_1_imm): ... here.
4139 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4140 (_FP_MUL_MEAT_1_wide): ... here.
4141 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4142 (_FP_MUL_MEAT_1_hard): ... here.
4143 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4144 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4145 (_FP_MUL_MEAT_2_wide): ... here.
4146 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4147 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4148 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4149 (_FP_MUL_MEAT_2_gmp): ... here.
4150 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4151 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4152 (_FP_MUL_MEAT_4_wide): ... here.
4153 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4154 (_FP_MUL_MEAT_4_gmp): ... here.
4155 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4156 (_FP_WFRACBITS_DW_S): Likewise.
4157 (_FP_WFRACXBITS_DW_S): Likewise.
4158 (_FP_HIGHBIT_DW_S): Likewise.
4159 (FP_FMA_S): Likewise.
4160 (_FP_FRAC_HIGH_DW_S): Likewise.
4161 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4162 (_FP_WFRACBITS_DW_D): Likewise.
4163 (_FP_WFRACXBITS_DW_D): Likewise.
4164 (_FP_HIGHBIT_DW_D): Likewise.
4165 (FP_FMA_D): Likewise.
4166 (_FP_FRAC_HIGH_DW_D): Likewise.
4167 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4168 (_FP_WFRACBITS_DW_E): Likewise.
4169 (_FP_WFRACXBITS_DW_E): Likewise.
4170 (_FP_HIGHBIT_DW_E): Likewise.
4171 (FP_FMA_E): Likewise.
4172 (_FP_FRAC_HIGH_DW_E): Likewise.
4173 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4174 (_FP_WFRACBITS_DW_Q): Likewise.
4175 (_FP_WFRACXBITS_DW_Q): Likewise.
4176 (_FP_HIGHBIT_DW_Q): Likewise.
4177 (FP_FMA_Q): Likewise.
4178 (_FP_FRAC_HIGH_DW_Q): Likewise.
4179 * soft-fp/fmasf4.c: New file.
4180 * soft-fp/fmadf4.c: Likewise.
4181 * soft-fp/fmatf4.c: Likewise.
4182
6308fd9a
LD
41832013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4184
4185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4186 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4187 Silvermont.
4188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4189 macro.
4190 (index_Slow_SSE4_2): Likewise.
4191 (index_Prefer_PMINUB_for_stringop): Likewise.
4192 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4193 bit_Slow_SSE4_2 is set.
4194 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4195 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4196
89cd9569
RA
41972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4198
4199 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4200 rtld_global._dl_hwcap2.
4201 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4202 POWER8.
4203 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4204 POWER8 feature descriptions defined in _dl_hwcap2.
4205 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4206 string handling for POWER8 feature bits.
4207 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4208 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4209 _dl_powerpc_cap_flags.
4210 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4211 * sysdeps/powerpc/rtld-global-offsets.sym
4212 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4213 _dl_hwcap2 in the rtld_global_ro structure.
4214
1ae8bfe0
RA
42152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4216
4217 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4218 hardware capabilities in support of AT_HWCAP2.
4219 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4220 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4221 GLRO(dl_hwcap2).
4222 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4223 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4224 explicitly the unknown a_type display mechanism is used.
4225 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4226 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4227 struct member.
4228 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4229 to macro prototype for AT_HWCAP2 support.
4230 * sysdeps/i386/dl-procinfo.h: Likewise.
4231 * sysdeps/s390/dl-procinfo.h: Likewise.
4232 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4233 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4234 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4235 return -1 for unknown a_type display fallback.
4236 * sysdeps/sparc/dl-procinfo.h: Likewise.
4237 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4238 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4239
8fbec010
JM
42402013-06-28 Joseph Myers <joseph@codesourcery.com>
4241
4242 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4243 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4244
0432680e
PY
42452013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4246
4247 [BZ #12492]
4248 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4249 mprotect making __stack_prot writable.
4250
ce61a2ad
NF
42512013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4252 Joseph Myers <joseph@codesourcery.com>
4253
4254 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4255 as being properly aligned.
4256
f91f1c0f
MR
42572013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4258
3d0f5d0c
MR
4259 * dlfcn/modstatic5.c: New file.
4260 * dlfcn/tststatic5.c: New file.
4261 * dlfcn/Makefile (tests): Add tststatic5.
4262 (tests-static): Likewise.
4263 (modules-names): Add modstatic5.
4264 (tststatic5-ENV): New variable.
4265 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4266
f91f1c0f
MR
4267 [BZ #15022]
4268 * elf/dl-support.c (_dl_main_map): New variable.
4269 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4270 (_dl_nns, _dl_load_adds): Set to 1.
4271 (_dl_initial_searchlist): Refer to _dl_main_map.
4272 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4273 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4274 call to _dl_get_origin.
4275 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4276 around call_map.
4277 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4278 * dlfcn/modstatic3.c: New file.
4279 * dlfcn/tststatic3.c: New file.
4280 * dlfcn/tststatic4.c: New file.
4281 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4282 (tests-static): Likewise.
4283 (modules-names): Add modstatic3.
4284 (tststatic3-ENV, tststatic4-ENV): New variables.
4285 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4286 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4287
cbe7d24b
JM
42882013-06-26 Joseph Myers <joseph@codesourcery.com>
4289
4290 * configure.in (CC): Require GCC version 4.4 or later.
4291 * configure: Regenerated.
4292 * manual/install.texi (Tools for Compilation): Update GCC version
4293 requirement.
4294 * INSTALL: Regenerated.
4295
11b8a0e1
LD
42962013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4297
4298 [BZ #15674]
bb5bb87c
L
4299 * string/test-memcmp.c (check2): New.
4300 (main): Call check2.
4301
11b8a0e1
LD
4302 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4303
b0037103
MR
43042013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4305
4306 [BZ #15022]
4307 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4308 over to...
4309 (dl_open_worker) [!SHARED]: ... here.
4310
c18c701d
RA
43112013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4312
4313 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4314
1d17fa5f
RH
43152013-06-25 Richard Henderson <rth@redhat.com>
4316
4317 * locale/programs/locarchive.c: Include <libc-internal.h>
4318
8fcb833a
JM
43192013-06-25 Joseph Myers <joseph@codesourcery.com>
4320
4321 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4322 trailing whitespace removed.
4323
17db6e8d
MF
43242013-06-24 Mike Frysinger <vapier@gentoo.org>
4325
4326 [BZ #10283]
17db6e8d
MF
4327 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4328 * locale/programs/locarchive.c: Include libc-mmap.h.
4329 (prepare_address_space): Take two new outputs (the mmap base and len).
4330 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4331 values.
4332 (create_archive): Declare new mmap base and len values for
4333 prepare_address_space, and store the result in ah.
4334 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4335 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4336 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4337 Declare new mmap base and len values for
4338 prepare_address_space, and store the result in new_ah.
4339 (open_archive): Declare new mmap base and len values for
4340 prepare_address_space, and store the result in ah.
4341 (close_archive): If ah->mmap_base is not NULL, use that and
4342 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4343 * sysdeps/generic/libc-mmap.h: New file.
4344
d605071e
MF
43452013-06-24 Mike Frysinger <vapier@gentoo.org>
4346
4347 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4348 (ALIGN_UP): Likewise.
4349 (PTR_ALIGN_DOWN): Likewise.
4350 (PTR_ALIGN_UP): Likewise.
4351
2f063a6e
RA
43522013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4353
4354 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4355 entry mapped to PPC_PLATFORM_POWER8.
4356 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4357 POWER8.
4358 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4359 (_dl_string_platform): Add case for exporting platform position for
4360 POWER8.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4362 search path to sysdeps/powerpc/powerpc32/power8 directory.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4364 search path to sysdeps/powerpc/powerpc64/power8 directory.
4365 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4366 power7 directories.
4367 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4368 power7 directories.
4369
a31ee4b3
SP
43702013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4371
a74ca98f
SP
4372 * INSTALL: Regenerate.
4373
a31ee4b3
SP
4374 * nscd/connections.c (nscd_init): Fix comment.
4375
695c378f
JM
43762013-06-22 Joseph Myers <joseph@codesourcery.com>
4377
d8412221
JM
4378 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4379
695c378f
JM
4380 [BZ #15667]
4381 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4382 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4383
d1d54715
MR
43842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4385
4386 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4387 DL_DST_REQ_STATIC.
4388 (DL_DST_REQ_STATIC): Remove macro.
4389
8fdda7af
JM
43902013-06-21 Joseph Myers <joseph@codesourcery.com>
4391
4392 [BZ #7006]
4393 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4394 with a shift of 0 bits.
4395
f3bc5e5a
MR
43962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4397
4398 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4399 $(tststatic-ENV).
4400
be09e8c9
KK
44012013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4402
4403 [BZ #15655]
4404 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4405
85c2e611
AZ
44062013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407
4408 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4409 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4410 accepts -fno-tree-loop-distribute-patterns.
4411 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4412 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4413 recursive call.
4414 * string/memset.c (memset): Likewise.
4415 * string/test-memmove.c (simple_memmove): Disable loop transformation
4416 to library calls.
4417 * string/test-memset.c (simple_memset): Likewise.
4418 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4419 * benchtests/bench-memset.c (simple_memset): Likewise.
4420 * configure: Regenerated.
4421
c91e0825
JM
44222013-06-20 Joseph Myers <joseph@codesourcery.com>
4423
b8c792af
JM
4424 * math/test-misc.c (main): Ignore fesetround failure when failures
4425 of subsequent rounding tests would be ignored.
4426
c91e0825
JM
4427 [BZ #15654]
4428 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4429 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4430 * math/fegetenv.c (__fegetenv): Return 0.
4431 * math/fegetexcept.c (fegetexcept): Return 0.
4432 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4433 FE_TONEAREST.
4434 * math/feholdexcpt.c (feholdexcept): Return 0.
4435 * math/fesetenv.c (__fesetenv): Return 0.
4436 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4437 argument FE_TONEAREST.
4438 * math/feupdateenv.c (__feupdateenv): Return 0.
4439 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4440
bfcacbde
RM
44412013-06-18 Roland McGrath <roland@hack.frob.com>
4442
4443 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4444 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4445 ($(objpfx)rtld-%.os rules): Use them.
4446
e55a9b25
AZ
44472013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
4449 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4450 fields.
4451
346d65b3
RM
44522013-06-17 Roland McGrath <roland@hack.frob.com>
4453
12086fb4
RM
4454 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4455 length of target pattern, then descending length of dependency pattern.
4456 * configure.in (AWK): Require gawk 3.1.2 or newer.
4457 * manual/install.texi (Tools for Compilation): Say that we do.
4458 * configure: Regenerated.
4459
346d65b3
RM
4460 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4461 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4462 * scripts/sysd-rules.awk: ... this new script.
4463 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4464 than a glob-style pattern.
4465
1a846317
JM
44662013-06-17 Joseph Myers <joseph@codesourcery.com>
4467
4468 * math/test-misc.c (main): Do not treat incorrectly rounded
4469 conversions as failure unless ROUNDING_TESTS passes.
4470
8fc75e6f
JM
44712013-06-15 Joseph Myers <joseph@codesourcery.com>
4472
3711a167
JM
4473 [BZ #15631]
4474 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4475 restore exception state around main square root computation, then
4476 check for inexactness explicitly.
4477
8fc75e6f
JM
4478 * math/libm-test.inc (fma_test_data): Add another test.
4479
61dd6208
SP
44802013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4481
adf23d2c
SP
4482 * manual/threads.texi (Non-POSIX Extensions): New document
4483 node. Document pthread_getattr_default_np and
4484 pthread_setattr_default_np.
4485
61dd6208
SP
4486 * Versions.def (libpthread): Add GLIBC_2.18.
4487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4489 Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4491 Likewise.
4492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4493 Likewise.
4494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4495 Likewise.
4496 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4497 Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4499 Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4503 Likewise.
4504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4505 Likewise.
4506
d086fc7b
LD
45072013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4508
4509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4510 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4511
747ef469
SP
45122013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4513 H.J. Lu <hjl.tools@gmail.com>
4514
4515 [BZ #15627]
4516 * sysdeps/x86_64/rtld-memset.c: Remove file.
4517 * sysdeps/x86_64/rtld-memset.S: New file.
4518
1b2feed2
JM
45192013-06-14 Joseph Myers <joseph@codesourcery.com>
4520
4521 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4522 (test_in_one_mode): Take arguments for whether the rounding mode
4523 is supported for each floating-point type.
4524 (do_test): Pass new arguments to test_in_one_mode using
4525 ROUNDING_TESTS.
4526
a58ad3f8
RM
45272013-06-13 Roland McGrath <roland@hack.frob.com>
4528
4529 * posix/tst-waitid.c (do_test): Distinguish different instances of
4530 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4531 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4532 before entering the kernel for waitpid.
4533
c204ab28
SP
45342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4535
4536 * NEWS: Fix note on clock function precision. Text by Roland
4537 McGrath.
4538
f4a29fba
RM
45392013-06-13 Roland McGrath <roland@hack.frob.com>
4540
4541 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4542 it into place only when and if the sanity check passes.
4543
1f24b9ad
JM
45442013-06-13 Joseph Myers <joseph@codesourcery.com>
4545
4546 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4547 output for whether conversion result is exact. Take argument
4548 indicating whether type is IBM long double.
4549 (round_for_all): Change need_exact field to ibm_ld.
4550 * stdlib/tst-strtod-round.c (struct exactness): New type.
4551 (struct test): Change bool ld_ok field to struct exactness exact.
4552 (TEST): Update all definitions for change to field.
4553 (tests): Regenerate array contents.
4554 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4555 field value. Check for IBM long double here.
4556 (do_test): Update calls to test_in_one_mode.
4557
58206c68
SP
45582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4559
4560 [BZ #12515]
4561 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4562 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4563
2d6f4c5b 45642013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4565
4566 [BZ #15605]
4567 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4568 generated by the compiler on loop optimizations.
4569 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4570 general definitions.
4571
94f2c076
JM
45722013-06-12 Joseph Myers <joseph@codesourcery.com>
4573
4574 * math/bug-nextafter.c: Include <math-tests.h>.
4575 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4576 the relevant type.
4577 * math/bug-nexttoward.c: Include <math-tests.h>.
4578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4579 the relevant type.
4580 * math/test-misc.c: Include <math-tests.h>.
4581 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4582 the relevant type.
4583
e0e50a0a
AJ
45842013-06-12 Andreas Jaeger <aj@suse.de>
4585
4586 * po/ia.po: Update Interlingua translation from translation
4587 project.
4588
25061094
SP
45892013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4590
4591 * include/fenv.h: Include stdbool.h.
4592 (struct rm_ctx): New structure.
4593 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4594 Define macro.
4595 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4596 (SET_RESTORE_ROUNDF): Likewise.
4597 (SET_RESTORE_ROUNDL): Likewise.
4598 (SET_RESTORE_ROUND_NOEX): Likewise.
4599 (SET_RESTORE_ROUND_NOEXF): Likewise.
4600 (SET_RESTORE_ROUND_NOEXL): Likewise.
4601 (SET_RESTORE_ROUND_53BIT): Likewise.
4602 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4603 (libc_feresetround_noexf_ctx): Likewise.
4604 (libc_feresetround_noexl_ctx): Likewise.
4605 (libc_feholdsetround_53bit_ctx): Likewise.
4606 (libc_feresetround_53bit_ctx): Likewise.
4607 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4608 (libc_feholdexcept_setround_sse_ctx): New function.
4609 (libc_fesetenv_sse_ctx): Likewise.
4610 (libc_feupdateenv_sse_ctx): Likewise.
4611 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4612 (libc_feholdexcept_setround_387_ctx): Likewise.
4613 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4614 (libc_feholdsetround_387_prec_ctx): Likewise.
4615 (libc_feholdsetround_387_ctx): Likewise.
4616 (libc_feholdsetround_387_53bit_ctx): Likewise.
4617 (libc_feholdsetround_sse_ctx): Likewise.
4618 (libc_feresetround_sse_ctx): Likewise.
4619 (libc_feresetround_387_ctx): Likewise.
4620 (libc_feupdateenv_387_ctx): Likewise.
4621 (libc_feholdexcept_setroundf_ctx): Define macro.
4622 (libc_fesetenvf_ctx): Likewise.
4623 (libc_feupdateenvf_ctx): Likewise.
4624 (libc_feholdsetroundf_ctx): Likewise.
4625 (libc_feresetroundf_ctx): Likewise.
4626 (libc_feholdexcept_setround_ctx): Likewise.
4627 (libc_fesetenv_ctx): Likewise.
4628 (libc_feupdateenv_ctx): Likewise.
4629 (libc_feholdsetround_ctx): Likewise.
4630 (libc_feresetround_ctx): Likewise.
4631 (libc_feholdexcept_setroundl_ctx): Likewise.
4632 (libc_feupdateenvl_ctx): Likewise.
4633 (libc_feholdsetroundl_ctx): Likewise.
4634 (libc_feresetroundl_ctx): Likewise.
4635 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4636 (libc_feresetround_53bit_ctx): Likewise.
4637
59b30555
SP
46382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
4640 * locale/iso-639.def: Convert to UTF-8.
4641
f1d73d30
JM
46422013-06-11 Joseph Myers <joseph@codesourcery.com>
4643
4644 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4645 (EXCEPTION_TESTS_double): Likewise.
4646 (EXCEPTION_TESTS_long_double): Likewise.
4647 (EXCEPTION_TESTS): Likewise.
4648 * math/libm-test.inc (test_exceptions): Only test exceptions if
4649 EXCEPTION_TESTS (FLOAT).
4650
94aca5e7
SP
46512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4652
4653 * benchtests/Makefile (string-bench): Add strcpy_chk and
4654 stpcpy_chk.
4655 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4656 * benchtests/bench-stpcpy_chk.c: New file.
4657 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4658 * benchtests/bench-strcpy_chk.c: New file.
4659 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4660 code.
4661 (do_test): Likewise.
4662
fac0c5f2
RA
46632013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4664
4665 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4666 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4667 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4668 with tabs where appropriate.
4669 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4670 dl-procinfo.h.
4671 [PPC_PLATFORM_PPC440]: Likewise.
4672 [PPC_PLATFORM_PPC464]: Likewise.
4673 [PPC_PLATFORM_PPC476]: Likewise.
4674 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4675 ppc464, and ppc476 platform strings merging from ports/
4676 dl-procinfo.h.
4677
f22bc486
AS
46782013-06-11 Andreas Schwab <schwab@suse.de>
4679
4680 [BZ #14991]
4681 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4682 (from_ucs4_idx): Regenerate.
4683 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4684 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4685 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4686 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4687 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4688 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4689 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4690 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4691 from FROM_LOOP and TO_LOOP specific macros.
4692 (BODY): Handle combining characters.
4693 * iconvdata/BIG5HKSCS.irreversible: Update.
4694 * iconvdata/BIG5HKSCS.precomposed: New file.
4695 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4696 characters.
4697 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4698
c1f75dc3
SP
46992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4700
4eacded2
SP
4701 * include/sys/time.h: Fix indentation and add copyright header.
4702
fec799f8
SP
4703 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4704 (do_test): Likewise.
4705 * string/test-memchr.c (do_one_test): Likewise.
4706 (do_test): Likewise.
4707 * string/test-memcmp.c (do_one_test): Likewise.
4708 (do_test): Likewise.
4709 * string/test-memcpy.c (do_one_test): Likewise.
4710 (do_test): Likewise.
4711 * string/test-memmem.c (do_one_test): Likewise.
4712 (do_test): Likewise.
4713 (do_random_tests): Likewise.
4714 * string/test-memmove.c (do_one_test): Likewise.
4715 (do_test): Likewise.
4716 * string/test-memset.c (do_one_test): Likewise.
4717 (do_test): Likewise.
4718 * string/test-rawmemchr.c (do_one_test): Likewise.
4719 (do_test): Likewise.
4720 * string/test-strcasecmp.c (do_one_test): Likewise.
4721 (do_test): Likewise.
4722 * string/test-strcasestr.c (do_one_test): Likewise.
4723 (do_test): Likewise.
4724 * string/test-strcat.c (do_one_test): Likewise.
4725 (do_test): Likewise.
4726 * string/test-strchr.c (do_one_test): Likewise.
4727 (do_test): Likewise.
4728 * string/test-strcmp.c (do_one_test): Likewise.
4729 (do_test): Likewise.
4730 * string/test-strcpy.c (do_one_test): Likewise.
4731 (do_test): Likewise.
4732 * string/test-string.h: Likewise.
4733 (test_init): Likewise.
4734 * string/test-strlen.c (do_one_test): Likewise.
4735 (do_test): Likewise.
4736 * string/test-strncasecmp.c (do_one_test): Likewise.
4737 (do_test): Likewise.
4738 * string/test-strncat.c (do_one_test): Likewise.
4739 (do_test): Likewise.
4740 * string/test-strncmp.c (do_one_test): Likewise.
4741 (do_test_limit): Likewise.
4742 (do_test): Likewise.
4743 * string/test-strncpy.c (do_one_test): Likewise.
4744 (do_test): Likewise.
4745 * string/test-strnlen.c (do_one_test): Likewise.
4746 (do_test): Likewise.
4747 * string/test-strpbrk.c (do_one_test): Likewise.
4748 (do_test): Likewise.
4749 * string/test-strrchr.c (do_one_test): Likewise.
4750 (do_test): Likewise.
4751 * string/test-strspn.c (do_one_test): Likewise.
4752 (do_test): Likewise.
4753 * string/test-strstr.c (do_one_test): Likewise.
4754 (do_test): Likewise.
4755
97020474
SP
4756 * benchtests/Makefile (string-bench): Add string benchmarks.
4757 * benchtests/bench-bcopy-ifunc.c: New file.
4758 * benchtests/bench-bcopy.c: New file.
4759 * benchtests/bench-bzero-ifunc.c: New file.
4760 * benchtests/bench-bzero.c: New file.
4761 * benchtests/bench-memccpy-ifunc.c: New file.
4762 * benchtests/bench-memccpy.c: New file.
4763 * benchtests/bench-memchr-ifunc.c: New file.
4764 * benchtests/bench-memchr.c: New file.
4765 * benchtests/bench-memcmp-ifunc.c: New file.
4766 * benchtests/bench-memcmp.c: New file.
4767 * benchtests/bench-memmem-ifunc.c: New file.
4768 * benchtests/bench-memmem.c: New file.
4769 * benchtests/bench-memmove-ifunc.c: New file.
4770 * benchtests/bench-memmove.c: New file.
4771 * benchtests/bench-mempcpy-ifunc.c: New file.
4772 * benchtests/bench-mempcpy.c: New file.
4773 * benchtests/bench-memset-ifunc.c: New file.
4774 * benchtests/bench-memset.c: New file.
4775 * benchtests/bench-rawmemchr-ifunc.c: New file.
4776 * benchtests/bench-rawmemchr.c: New file.
4777 * benchtests/bench-stpcpy-ifunc.c: New file.
4778 * benchtests/bench-stpcpy.c: New file.
4779 * benchtests/bench-stpncpy-ifunc.c: New file.
4780 * benchtests/bench-stpncpy.c: New file.
4781 * benchtests/bench-strcasecmp-ifunc.c: New file.
4782 * benchtests/bench-strcasecmp.c: New file.
4783 * benchtests/bench-strcasestr-ifunc.c: New file.
4784 * benchtests/bench-strcasestr.c: New file.
4785 * benchtests/bench-strcat-ifunc.c: New file.
4786 * benchtests/bench-strcat.c: New file.
4787 * benchtests/bench-strchr-ifunc.c: New file.
4788 * benchtests/bench-strchr.c: New file.
4789 * benchtests/bench-strchrnul-ifunc.c: New file.
4790 * benchtests/bench-strchrnul.c: New file.
4791 * benchtests/bench-strcmp-ifunc.c: New file.
4792 * benchtests/bench-strcmp.c: New file.
4793 * benchtests/bench-strcpy-ifunc.c: New file.
4794 * benchtests/bench-strcpy.c: New file.
4795 * benchtests/bench-strcspn-ifunc.c: New file.
4796 * benchtests/bench-strcspn.c: New file.
4797 * benchtests/bench-strlen-ifunc.c: New file.
4798 * benchtests/bench-strlen.c: New file.
4799 * benchtests/bench-strncasecmp-ifunc.c: New file.
4800 * benchtests/bench-strncasecmp.c: New file.
4801 * benchtests/bench-strncat-ifunc.c: New file.
4802 * benchtests/bench-strncat.c: New file.
4803 * benchtests/bench-strncmp-ifunc.c: New file.
4804 * benchtests/bench-strncmp.c: New file.
4805 * benchtests/bench-strncpy-ifunc.c: New file.
4806 * benchtests/bench-strncpy.c: New file.
4807 * benchtests/bench-strnlen-ifunc.c: New file.
4808 * benchtests/bench-strnlen.c: New file.
4809 * benchtests/bench-strpbrk-ifunc.c: New file.
4810 * benchtests/bench-strpbrk.c: New file.
4811 * benchtests/bench-strrchr-ifunc.c: New file.
4812 * benchtests/bench-strrchr.c: New file.
4813 * benchtests/bench-strspn-ifunc.c: New file.
4814 * benchtests/bench-strspn.c: New file.
4815 * benchtests/bench-strstr-ifunc.c: New file.
4816 * benchtests/bench-strstr.c: New file.
4817
c1f75dc3
SP
4818 * benchtests/Makefile: Disable parallel execution of targets.
4819 (string-bench): Add memcpy.
4820 (benchset): New variable to store a list of benchmark sets.
4821 (bench-func): Renamed from bench.
4822 (bench-set): New target.
4823 (bench): Depend on bench-func and bench-set.
4824 * benchtests/README: Add section on benchmark sets.
4825 * benchtests/bench-memcpy-ifunc.c: New file.
4826 * benchtests/bench-memcpy.c: New file.
4827 * benchtests/bench-string.h: New file.
4828
50fd745b
AS
48292013-06-11 Andreas Schwab <schwab@suse.de>
4830
4831 [BZ #15577]
4832 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4833 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4834 values in the triple.
4835 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4836 terminator in the group key.
4837
3ee7e9fe
AJ
48382013-06-11 Andreas Jaeger <aj@suse.de>
4839
4840 * po/zh_TW.po: Update Chinese (traditional) translation from
4841 translation project.
4842
89fb6835
SP
48432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
4845 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4846 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4847 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4848 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4849 (clock_getcpuclockid): Likewise.
4850 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4851 Add weak_alias and libc_hidden_def.
4852 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4853 * rt/clock_gettime.c (clock_gettime): Rename to
4854 __clock_gettime. Add weak_alias and libc_hidden_def.
4855 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4856 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4857 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4858 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4859 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4860 Likewise.
4861 * rt/clock_settime.c (clock_settime): Rename to
4862 __clock_settime. Add weak_alias and libc_hidden_def.
4863 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4864
0efa6f8b
JM
48652013-06-10 Joseph Myers <joseph@codesourcery.com>
4866
b8c61b4b
JM
4867 * mach/err_boot.sub: Remove trailing whitespace.
4868 * mach/err_ipc.sub: Likewise.
4869 * mach/err_mach.sub: Likewise.
4870
0efa6f8b
JM
4871 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4872 (ROUNDING_TESTS_double): Likewise.
4873 (ROUNDING_TESTS_long_double): Likewise.
4874 (ROUNDING_TESTS): Likewise.
4875 * math/libm-test.inc: Include <math-tests.h>.
4876 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4877 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4878 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4879 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4880
50b818bf
SP
48812013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4882
4883 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4884 of assigning.
4885
60d2f8f3
JM
48862013-06-08 Joseph Myers <joseph@codesourcery.com>
4887
4902d2c3
JM
4888 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4889 otherwise empty TRANS lines.
4890 * sysdeps/gnu/errlist.c: Regenerated.
4891
60d2f8f3
JM
4892 * catgets/gencat.c (error_print): Use (void) in function
4893 definition.
4894 * crypt/crypt_util.c (__init_des): Likewise.
4895 * crypt/speeds.c (Stop): Likewise.
4896 (main): Likewise.
4897 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4898 * inet/ruserpass.c (token): Likewise.
4899 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4900 * intl/localealias.c (extend_alias_table): Likewise.
4901 * intl/plural-exp.c (init_germanic_plural): Likewise.
4902 * libio/fcloseall.c (__fcloseall): Likewise.
4903 * libio/genops.c (_IO_flush_all): Likewise.
4904 (_IO_flush_all_linebuffered): Likewise.
4905 (_IO_cleanup): Likewise.
4906 (_IO_iter_begin): Likewise.
4907 (_IO_iter_end): Likewise.
4908 (_IO_list_lock): Likewise.
4909 (_IO_list_unlock): Likewise.
4910 (_IO_list_resetlock): Likewise.
4911 * libio/getchar.c (getchar): Likewise.
4912 * libio/getchar_u.c (getchar_unlocked): Likewise.
4913 * libio/getwchar.c (getwchar): Likewise.
4914 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4915 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4916 * login/getpt.c (__getpt): Likewise.
4917 * login/tst-utmp.c (main): Likewise.
4918 * malloc/hooks.c (__malloc_check_init): Likewise.
4919 * malloc/malloc.c (__malloc_stats): Likewise.
4920 * malloc/mtrace.c (tr_break): Likewise.
4921 (mtrace): Likewise.
4922 (muntrace): Likewise.
4923 * misc/fstab.c (endfsent): Likewise.
4924 * misc/getclktck.c (__getclktck): Likewise.
4925 * misc/getdtsz.c (__getdtablesize): Likewise.
4926 * misc/gethostid.c (gethostid): Likewise.
4927 * misc/getpagesize.c (__getpagesize): Likewise.
4928 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4929 (__get_nprocs): Likewise.
4930 (__get_phys_pages): Likewise.
4931 (__get_avphys_pages): Likewise.
4932 * misc/getttyent.c (getttyent): Likewise.
4933 (setttyent): Likewise.
4934 (endttyent): Likewise.
4935 * misc/getusershell.c (getusershell): Likewise.
4936 (endusershell): Likewise.
4937 (setusershell): Likewise.
4938 (initshells): Likewise.
4939 * misc/hsearch.c (__hdestroy): Likewise.
4940 * misc/sync.c (sync): Likewise.
4941 * misc/syslog.c (closelog_internal): Likewise.
4942 (closelog): Likewise.
4943 * misc/ttyslot.c (ttyslot): Likewise.
4944 * misc/vhangup.c (vhangup): Likewise.
4945 * posix/fork.c (__fork): Likewise.
4946 * posix/getegid.c (__getegid): Likewise.
4947 * posix/geteuid.c (__geteuid): Likewise.
4948 * posix/getgid.c (__getgid): Likewise.
4949 * posix/getpid.c (__getpid): Likewise.
4950 * posix/getppid.c (__getppid): Likewise.
4951 * posix/getuid.c (__getuid): Likewise.
4952 * posix/pause.c (pause): Likewise.
4953 * posix/setpgrp.c (setpgrp): Likewise.
4954 * posix/setsid.c (__setsid): Likewise.
4955 * posix/test-vfork.c (noop): Likewise.
4956 * resolv/gethnamaddr.c (_endhtent): Likewise.
4957 (_gethtent): Likewise.
4958 (ht_endhostent): Likewise.
4959 (gethostent): Likewise.
4960 (dns_service): Likewise.
4961 * stdlib/drand48.c (drand48): Likewise.
4962 * stdlib/lrand48.c (lrand48): Likewise.
4963 * stdlib/mrand48.c (mrand48): Likewise.
4964 * stdlib/rand.c (rand): Likewise.
4965 * stdlib/random.c (__random): Likewise.
4966 * stdlib/setenv.c (clearenv): Likewise.
4967 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4968 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4969 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4970 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4971 (__get_nprocs): Likewise.
4972 (__get_phys_pages): Likewise.
4973 (__get_avphys_pages): Likewise.
4974 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4975 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4976 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4977 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4978 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4979 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4980 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4981 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4982 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4983 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4984 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4985 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4986 * sysdeps/posix/clock.c (clock): Likewise.
4987 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4988 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4989 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4990 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4991 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4993 (__get_nprocs_conf): Likewise.
4994 (__get_phys_pages): Likewise.
4995 (__get_avphys_pages): Likewise.
4996 * time/clock.c (clock): Likewise.
4997 * time/tzset.c (__tzname_max): Likewise.
4998
2e09a79a
JM
49992013-06-07 Joseph Myers <joseph@codesourcery.com>
5000
5001 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5002 (__bswap_32): Do not use "register".
5003 * crypt/crypt.c (_ufc_doit_r): Likewise.
5004 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5005 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5006 * gmon/gmon.c (__monstartup): Likewise.
5007 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5008 * hurd/hurdmalloc.c (more_memory): Likewise.
5009 (malloc): Likewise.
5010 (free): Likewise.
5011 (realloc): Likewise.
5012 (malloc_fork_prepare): Likewise.
5013 (malloc_fork_parent): Likewise.
5014 (malloc_fork_child): Likewise.
5015 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5016 (_svcauth_des): Likewise.
5017 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5018 * inet/inet_net.c (inet_network): Likewise.
5019 * inet/inet_netof.c (inet_netof): Likewise.
5020 * inet/rcmd.c (__validuser2_sa): Likewise.
5021 * io/fts.c (fts_open): Likewise.
5022 (fts_load): Likewise.
5023 (fts_close): Likewise.
5024 (fts_read): Likewise.
5025 (fts_children): Likewise.
5026 (fts_build): Likewise.
5027 (fts_stat): Likewise.
5028 (fts_sort): Likewise.
5029 (fts_alloc): Likewise.
5030 (fts_lfree): Likewise.
5031 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5032 (_IO_file_xsgetn): Likewise.
5033 (_IO_file_xsgetn_mmap): Likewise.
5034 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5035 (_IO_cookie_write): Likewise.
5036 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5037 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5038 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5039 * malloc/obstack.c (_obstack_begin): Likewise.
5040 (_obstack_begin_1): Likewise.
5041 (_obstack_newchunk): Likewise.
5042 (_obstack_allocated_p): Likewise.
5043 (obstack_free): Likewise.
5044 (_obstack_memory_used): Likewise.
5045 * misc/getttyent.c (getttynam): Likewise.
5046 (getttyent): Likewise.
5047 (skip): Likewise.
5048 (value): Likewise.
5049 * misc/getusershell.c (initshells): Likewise.
5050 * misc/syslog.c (__vsyslog_chk): Likewise.
5051 * misc/ttyslot.c (ttyslot): Likewise.
5052 * nis/nis_hash.c (__nis_hash): Likewise.
5053 * posix/fnmatch_loop.c (FCT): Likewise.
5054 * posix/getconf.c (print_all): Likewise.
5055 (main): Likewise.
5056 * posix/getopt.c (exchange): Likewise.
5057 * posix/glob.c (globfree): Likewise.
5058 (prefix_array): Likewise.
5059 (__glob_pattern_type): Likewise.
5060 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5061 (NS_GET32): Likewise.
5062 (NS_PUT16): Likewise.
5063 (NS_PUT32): Likewise.
5064 * resolv/gethnamaddr.c (getanswer): Likewise.
5065 (gethostbyname2): Likewise.
5066 (gethostbyaddr): Likewise.
5067 (_gethtent): Likewise.
5068 (_gethtbyname2): Likewise.
5069 (_gethtbyaddr): Likewise.
5070 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5071 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5072 * resolv/res_init.c (__res_vinit): Likewise.
5073 (net_mask): Likewise.
5074 * resolv/res_mkquery.c (outchar): Likewise.
5075 (PRINT): Likewise.
5076 * stdio-common/printf_fp.c (outchar): Likewise.
5077 (PRINT): Likewise.
5078 * stdio-common/printf_fphex.c (outchar): Likewise.
5079 (PRINT): Likewise.
5080 * stdio-common/printf_size.c (outchar): Likewise.
5081 (PRINT): Likewise.
5082 * stdio-common/test_rdwr.c (main): Likewise.
5083 * stdio-common/tfformat.c (matches): Likewise.
5084 * stdio-common/vfprintf.c (outchar): Likewise.
5085 (printf_unknown): Likewise.
5086 (buffered_vfprintf): Likewise.
5087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5088 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5089 (ReadFile): Likewise.
5090 * stdlib/qsort.c (SWAP): Likewise.
5091 (_quicksort): Likewise.
5092 * stdlib/setenv.c (__add_to_environ): Likewise.
5093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5094 * stdlib/strtol_l.c (__strtol_l): Likewise.
5095 * stdlib/tst-strtod.c (main): Likewise.
5096 * stdlib/tst-strtol.c (main): Likewise.
5097 * stdlib/tst-strtoll.c (main): Likewise.
5098 * string/bits/string2.h (__strcmp_cc): Likewise.
5099 (__strcmp_cg): Likewise.
5100 (__strcspn_c1): Likewise.
5101 (__strcspn_c2): Likewise.
5102 (__strcspn_c3): Likewise.
5103 (__strspn_c1): Likewise.
5104 (__strspn_c2): Likewise.
5105 (__strspn_c3): Likewise.
5106 (__strsep_1c): Likewise.
5107 (__strsep_2c): Likewise.
5108 (__strsep_3c): Likewise.
5109 * string/memccpy.c (__memccpy): Likewise.
5110 * string/stpcpy.c (__stpcpy): Likewise.
5111 * string/strcmp.c (strcmp): Likewise.
5112 * string/strrchr.c (strrchr): Likewise.
5113 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5114 Likewise.
5115 * sysdeps/mach/hurd/getcwd.c
5116 (_hurd_canonicalize_directory_name_internal): Likewise.
5117 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5118 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5119 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5120 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5121 Likewise, in both definitions.
5122 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5123 definitions.
5124 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5125 64] (__bswap_64): Likewise.
5126 * time/test_time.c (main): Likewise.
5127 * time/tzfile.c (__tzfile_read): Likewise.
5128 (__tzfile_compute): Likewise.
5129 * time/tzset.c (__tzset_parse_tz): Likewise.
5130 (tzset_internal): Likewise.
5131 (compute_change): Likewise.
5132 * wcsmbs/wcscat.c (__wcscat): Likewise.
5133 * wcsmbs/wcschr.c (wcschr): Likewise.
5134 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5135 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5136 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5137 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5138 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5139 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5140 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5141 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5142 * wcsmbs/wmemset.c (wmemset): Likewise.
5143
9e54314b
JM
51442013-06-06 Joseph Myers <joseph@codesourcery.com>
5145
5146 * scripts/config.guess: Update to version 2013-05-16.
5147 * scripts/config.sub: Update to version 2013-04-24.
5148 * scripts/install-sh: Update to version 2011-11-20.07.
5149 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5150 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5151
350635a5
OB
51522013-06-06 Ondřej Bílka <neleai@seznam.cz>
5153
5154 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5155 * elf/sln.c: Likewise.
5156 * hurd/hurd/ioctl.h: Likewise.
5157 * hurd/hurdmalloc.c: Likewise.
5158 * hurd/xattr.c: Likewise.
5159 * include/shlib-compat.h: Likewise.
5160 * inet/ruserpass.c: Likewise.
5161 * libio/iofgets_u.c: Likewise.
5162 * libio/iofgetws_u.c: Likewise.
5163 * locale/programs/ld-identification.c: Likewise.
5164 * locale/programs/ld-time.c: Likewise.
5165 * mach/msg-destroy.c: Likewise.
5166 * nss/nss_files/files-netgrp.c: Likewise.
5167 * resolv/res_data.c: Likewise.
5168 * soft-fp/op-1.h: Likewise.
5169 * soft-fp/op-2.h: Likewise.
5170 * soft-fp/op-4.h: Likewise.
5171 * soft-fp/op-common.h: Likewise.
5172 * stdio-common/printf_fphex.c: Likewise.
5173 * stdlib/strtod_l.c: Likewise.
5174 * sunrpc/rpc/clnt.h: Likewise.
5175 * sysdeps/generic/framestate.c: Likewise.
5176 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5177 * sysdeps/i386/bsd-setjmp.S: Likewise.
5178 * sysdeps/i386/__longjmp.S: Likewise.
5179 * sysdeps/i386/setjmp.S: Likewise.
5180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5181 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5182 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5198 * sysdeps/ieee754/support.c: Likewise.
5199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5200 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5201 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5202 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5203 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5204 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5205 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5206 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5207 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5208 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5209 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5210 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5211 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5212 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5213 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5214 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5215 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5217
44a988af
OB
52182013-06-05 Ondřej Bílka <neleai@seznam.cz>
5219
25506f09 5220 * posix/transbug.c: Remove executable mode.
44a988af 5221
9c84384c
JM
52222013-06-05 Joseph Myers <joseph@codesourcery.com>
5223
5224 * crypt/speeds.c: Remove trailing whitespace.
5225 * dlfcn/default.c: Likewise.
5226 * elf/ifuncdep2.c: Likewise.
5227 * elf/ifuncmain1.c: Likewise.
5228 * elf/ifuncmain1vis.c: Likewise.
5229 * elf/testobj.h: Likewise.
5230 * elf/tst-stackguard1.c: Likewise.
5231 * gmon/sys/gmon.h: Likewise.
5232 * hurd/hurdmsg.c: Likewise.
5233 * hurd/new-fd.c: Likewise.
5234 * hurd/ports-get.c: Likewise.
5235 * iconvdata/ibm1008_420.c: Likewise.
5236 * inet/tst-getni1.c: Likewise.
5237 * inet/tst-getni2.c: Likewise.
5238 * libio/ioungetc.c: Likewise.
5239 * libio/wfiledoalloc.c: Likewise.
5240 * manual/libm-err-tab.pl: Likewise.
5241 * math/w_dremf.c: Likewise.
5242 * misc/ftruncate.c: Likewise.
5243 * posix/bug-glob2.c: Likewise.
5244 * posix/tst-pcre.c: Likewise.
5245 * posix/wait4.c: Likewise.
5246 * resolv/README: Likewise.
5247 * resolv/res_debug.h: Likewise.
5248 * resolv/tst-inet_ntop.c: Likewise.
5249 * setjmp/bug269-setjmp.c: Likewise.
5250 * soft-fp/extended.h: Likewise.
5251 * soft-fp/op-1.h: Likewise.
5252 * soft-fp/op-2.h: Likewise.
5253 * soft-fp/op-4.h: Likewise.
5254 * soft-fp/op-8.h: Likewise.
5255 * soft-fp/testit.c: Likewise.
5256 * stdio-common/bug16.c: Likewise.
5257 * stdlib/random.c: Likewise.
5258 * sunrpc/rpcsvc/rquota.x: Likewise.
5259 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5260 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5262 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5263 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5264 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5265 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5266 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5267 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5268 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5269 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5288 * sysdeps/ieee754/s_lib_version.c: Likewise.
5289 * sysdeps/mach/hurd/check_fds.c: Likewise.
5290 * sysdeps/mach/hurd/getsockname.c: Likewise.
5291 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5292 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5293 * sysdeps/powerpc/bits/link.h: Likewise.
5294 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5295 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5296 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5297 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5298 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5299 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5300 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5301 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5302 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5305 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5307 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5308 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5309 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5317 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5319 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5322 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5324 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5325 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5326 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5327 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5328 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5332 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5333 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5336 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5337 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5338 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5339 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5340 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5341 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5342 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5343 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5346 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5348 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5349 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5350 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5353 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5357 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5358 * sysdeps/powerpc/sysdep.h: Likewise.
5359 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5360 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5361 * sysdeps/sh/dl-trampoline.S: Likewise.
5362 * sysdeps/sh/memset.S: Likewise.
5363 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5364 * sysdeps/sh/strlen.S: Likewise.
5365 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5366 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5367 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5368 * sysdeps/sparc/sparc32/rem.S: Likewise.
5369 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5370 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5371 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5372 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5373 * sysdeps/sparc/sparc32/urem.S: Likewise.
5374 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5375 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5376 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5377 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5378 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5379 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5380 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5381 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5382 * sysdeps/unix/bsd/times.c: Likewise.
5383 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5384 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5388 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5390 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5391 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5393 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5396 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5399 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5400 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5401 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5402 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5403 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5404 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5405 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5407 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5408 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5411 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5412 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5413 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5414 * sysdeps/x86_64/strcspn.S: Likewise.
5415
869378a5
RA
54162013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5417
5418 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5419 generated file. Regenerate properly from gen-translit.pl.
5420 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5421 locale/C-translit.h.
5422
840e2943
AS
54232013-06-05 Andreas Schwab <schwab@suse.de>
5424
5425 [BZ #15100]
5426 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5427 week as 6 instead of -1.
5428 * time/tst-strptime.c (day_tests): Add test case.
5429
4c60cb0c
SP
54302013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5431
5432 * sysdeps/generic/math_private.h
5433 (libc_feholdexcept_setround_53bit): Replace with
5434 libc_feholdsetround_53bit.
5435 (libc_feupdateenv_53bit): Replace with
5436 libc_feresetround_53bit.
5437 (SET_RESTORE_ROUND_53BIT): Adjust.
5438
d180203e
SP
54392013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
96df079a
SP
5441 * string/test-strchrnul.c: Add copyright header.
5442
d180203e
SP
5443 * posix/tst-getaddrinfo4.c: Increase test timeout.
5444
8b0ccb2d
CD
54452013-06-03 Carlos O'Donell <carlos@redhat.com>
5446
5447 [BZ #15536]
5448 * math/libm-test.inc (MAX_EXP): Remove
5449 (MIN_EXP): Define.
5450 (ulp): Use MIN_EXP - MANT_DIG.
5451 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5452
3b3c4d40
CD
54532013-05-31 Carlos O'Donell <carlos@redhat.com>
5454
5455 * po/be.po: Revert last change.
5456 * po/zh_CN.po: Likewise.
5457 * po/header.pot: Likewise.
5458
fab7ce3f
JM
54592013-05-31 Joseph Myers <joseph@codesourcery.com>
5460
5461 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5462 link-libc-deps to empty as target-specific variable.
5463 * Makerules (link-libc-args): New variable.
5464 (libc-for-link): Likewise.
5465 (link-libc-deps): Likewise.
5466 (lib%.so): Depend on $(link-libc-deps). Link with
5467 $(link-libc-args).
5468 (build-module): Link with $(link-libc-args).
5469 (build-module-asneeded): Likewise.
5470 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5471 list of objects.
5472 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5473 target-specific variable.
5474 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5475 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5476 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5477 libc.
5478 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5479 libc and ld.so.
5480 ($(objpfx)libpcprofile.so): Likewise.
5481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5482 libc_nonshared.a.
5483 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5484 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5485 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5486 $(link-libc-deps).
5487 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5488 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5489 * login/Makefile ($(objpfx)libutil.so): Likewise.
5490 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5491 * math/Makefile ($(objpfx)libm.so): Likewise.
5492 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5493 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5494 variable instead of depending directly on libc.
5495 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5496 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5497 $(link-libc-deps).
5498 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5499 libc.
5500 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5501 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5502 ($(objpfx)libanl.so): Likewise.
5503 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5504 ld.so.
5505 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5506 $(link-libc-deps).
5507 * sysdeps/i386/fpu/Makefile: Remove file.
5508 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5509 ($(objpfx)libm.so): Remove dependency on ld.so.
5510
eca5920c
PF
55112013-05-30 Patsy Franklin <pfrankli@redhat.com>
5512
5513 [BZ # 15553]
5514 * nis/yp_xdr.c (XDRMAXNAME): Define.
5515 (XDRMAXRECORD): Define.
5516 (xdr_domainname): Use XDRMAXNAME.
5517 (xdr_mapname): Likewise.
5518 (xdr_peername): Likewise.
5519 (xdr_keydat): Use XDRMAXRECORD.
5520 (xdr_valdat): Likewise.
5521
55222013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5523
5524 [BZ #14256]
5525 * manual/errno.texi (ESTALE): Update to account for more than
5526 just NFS file systems.
5527 * sysdeps/gnu/errlist.c: Regenerated.
5528
b9375348
SP
55292013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5530
5531 [BZ #15465]
5532 * elf/Makefile (tests): Add tst-null-argv.
5533 (modules-names): Add tst-null-argv-lib.
5534 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5535 (tst-null-argv-ENV): Set environment for tst-null-argv.
5536 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5537 (RTLD_PROGNAME): New macro.
5538 * elf/tst-null-argv.c: New test case.
5539 * elf/tst-null-argv-lib.c: Library for test case.
5540 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5541 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5542 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5543 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5544 * elf/dl-init.c (call_init): Likewise.
5545 (_dl_init): Likewise.
5546 * elf/dl-load.c (print_search_path): Likewise.
5547 (_dl_map_object): Likewise.
5548 * elf/dl-lookup.c (do_lookup_x): Likewise.
5549 (add_dependency): Likewise.
5550 (_dl_lookup_symbol_x): Likewise.
5551 (_dl_debug_bindings): Likewise.
5552 * elf/dl-open.c (_dl_show_scope): Likewise.
5553 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5554 * elf/dl-version.c (match_symbol): Likewise.
5555 (_dl_check_map_versions): Likewise.
5556 * elf/rtld.c (dl_main): Likewise.
5557 (print_unresolved): Use RTLD_PROGNAME.
5558 (print_missing_version): Likewise.
5559 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5560 (elf_machine_rela): Likewise.
5561 * sysdeps/powerpc/powerpc32/dl-machine.c
5562 (__process_machine_rela): Likewise.
5563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5564 Likewise.
5565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5566 Likewise.
5567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5568 Likewise.
5569 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5570 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5571 Likewise.
5572 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5573 Likewise.
5574 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5575
8a9f20c8
CD
55762013-05-28 Carlos O'Donell <carlos@redhat.com>
5577
5578 * po/be.po: Add descriptive title.
5579 * po/zh_CN.po: Likewise.
5580 * po/header.pot: Likewise.
5581
0e60d68e
MF
55822013-05-28 Mike Frysinger <vapier@gentoo.org>
5583
5584 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5585 error message.
5586 (enlarge_archive): Likewise.
5587
56b672e9
BN
55882013-05-28 Ben North <ben@redfrontdoor.org>
5589
5590 * manual/arith.texi (frexp): It is the magnitude of the return
5591 value which lies in [0.5, 1), not the return value itself.
5592
5e056687
AZ
55932013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5594
5595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5596
2b66ef5d
TS
55972013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5598
528c2405
TS
5599 * stdio-common/bug26.c (main): Correct fscanf template.
5600
07b4c13d
TS
5601 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5602 declare _dl_skip_args.
5603
ec9dd97c
TS
5604 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5605 Don't declare.
5606
2b66ef5d
TS
5607 * manual/platform.texi: Add missing @end deftypefun.
5608
4f8dfe27
JM
56092013-05-24 Joseph Myers <joseph@codesourcery.com>
5610
0323d086
JM
5611 [BZ #15529]
5612 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5613 bit of mantissa of 2^16382.
5614 * math/libm-test.inc (hypot_test_data): Add more tests.
5615
dd4259b9
JM
5616 * math/libm-test.inc: Add drem and pow10 to list of tested
5617 functions.
5618 (pow10_test): New function.
5619 (drem_test): Likewise.
5620 (drem_test_tonearest): Likewise.
5621 (drem_test_towardzero): Likewise.
5622 (drem_test_downward): Likewise.
5623 (drem_test_upward): Likewise.
5624 (main): Call the new functions.
5625
4f8dfe27
JM
5626 * math/libm-test.inc (finite_test_data): Remove.
5627 (finite_test): Run tests from isfinite_test_data.
5628 (gamma_test_data): Remove.
5629 (gamma_test): Run tests from lgamma_test_data.
5630 * sysdeps/i386/fpu/libm-test-ulps: Update.
5631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5632
d116b7c4
AZ
56332013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5634
5635 * manual/platform.texi: Add PowerPC PPR function set documentation.
5636 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5637 implementation.
5638
e96e3767
CD
56392013-05-24 Carlos O'Donell <carlos@redhat.com>
5640
5641 * math/libm-test.inc (MAX_EXP): Define.
5642 (ULPDIFF): Define.
5643 (ulp): New function.
5644 (check_float_internal): Use ULPDIFF.
5645 (cpow_test): Disable failing test.
5646 (check_ulp): Test ulp() implemetnation.
5647 (main): Call check_ulp before starting tests.
5648
b679a606
JM
56492013-05-24 Joseph Myers <joseph@codesourcery.com>
5650
e8bdba36
JM
5651 * math/gen-libm-test.pl (generate_testfile): Do not handle
5652 START_DATA and END_DATA.
5653 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5654 END_DATA.
5655 (acos_tonearest_test_data): Likewise.
5656 (acos_towardzero_test_data): Likewise.
5657 (acos_downward_test_data): Likewise.
5658 (acos_upward_test_data): Likewise.
5659 (acosh_test_data): Likewise.
5660 (asin_test_data): Likewise.
5661 (asin_tonearest_test_data): Likewise.
5662 (asin_towardzero_test_data): Likewise.
5663 (asin_downward_test_data): Likewise.
5664 (asin_upward_test_data): Likewise.
5665 (asinh_test_data): Likewise.
5666 (atan_test_data): Likewise.
5667 (atanh_test_data): Likewise.
5668 (atan2_test_data): Likewise.
5669 (cabs_test_data): Likewise.
5670 (cacos_test_data): Likewise.
5671 (cacosh_test_data): Likewise.
5672 (carg_test_data): Likewise.
5673 (casin_test_data): Likewise.
5674 (casinh_test_data): Likewise.
5675 (catan_test_data): Likewise.
5676 (catanh_test_data): Likewise.
5677 (cbrt_test_data): Likewise.
5678 (ccos_test_data): Likewise.
5679 (ccosh_test_data): Likewise.
5680 (ceil_test_data): Likewise.
5681 (cexp_test_data): Likewise.
5682 (cimag_test_data): Likewise.
5683 (clog_test_data): Likewise.
5684 (clog10_test_data): Likewise.
5685 (conj_test_data): Likewise.
5686 (copysign_test_data): Likewise.
5687 (cos_test_data): Likewise.
5688 (cos_tonearest_test_data): Likewise.
5689 (cos_towardzero_test_data): Likewise.
5690 (cos_downward_test_data): Likewise.
5691 (cos_upward_test_data): Likewise.
5692 (cosh_test_data): Likewise.
5693 (cosh_tonearest_test_data): Likewise.
5694 (cosh_towardzero_test_data): Likewise.
5695 (cosh_downward_test_data): Likewise.
5696 (cosh_upward_test_data): Likewise.
5697 (cpow_test_data): Likewise.
5698 (cproj_test_data): Likewise.
5699 (creal_test_data): Likewise.
5700 (csin_test_data): Likewise.
5701 (csinh_test_data): Likewise.
5702 (csqrt_test_data): Likewise.
5703 (ctan_test_data): Likewise.
5704 (ctan_tonearest_test_data): Likewise.
5705 (ctan_towardzero_test_data): Likewise.
5706 (ctan_downward_test_data): Likewise.
5707 (ctan_upward_test_data): Likewise.
5708 (ctanh_test_data): Likewise.
5709 (ctanh_tonearest_test_data): Likewise.
5710 (ctanh_towardzero_test_data): Likewise.
5711 (ctanh_downward_test_data): Likewise.
5712 (ctanh_upward_test_data): Likewise.
5713 (erf_test_data): Likewise.
5714 (erfc_test_data): Likewise.
5715 (exp_test_data): Likewise.
5716 (exp_tonearest_test_data): Likewise.
5717 (exp_towardzero_test_data): Likewise.
5718 (exp_downward_test_data): Likewise.
5719 (exp_upward_test_data): Likewise.
5720 (exp10_test_data): Likewise.
5721 (exp2_test_data): Likewise.
5722 (expm1_test_data): Likewise.
5723 (fabs_test_data): Likewise.
5724 (fdim_test_data): Likewise.
5725 (finite_test_data): Likewise.
5726 (floor_test_data): Likewise.
5727 (fma_test_data): Likewise.
5728 (fma_towardzero_test_data): Likewise.
5729 (fma_downward_test_data): Likewise.
5730 (fma_upward_test_data): Likewise.
5731 (fmax_test_data): Likewise.
5732 (fmin_test_data): Likewise.
5733 (fmod_test_data): Likewise.
5734 (fpclassify_test_data): Likewise.
5735 (frexp_test_data): Likewise.
5736 (gamma_test_data): Likewise.
5737 (hypot_test_data): Likewise.
5738 (ilogb_test_data): Likewise.
5739 (isfinite_test_data): Likewise.
5740 (isgreater_test_data): Likewise.
5741 (isgreaterequal_test_data): Likewise.
5742 (isinf_test_data): Likewise.
5743 (isless_test_data): Likewise.
5744 (islessequal_test_data): Likewise.
5745 (islessgreater_test_data): Likewise.
5746 (isnan_test_data): Likewise.
5747 (isnormal_test_data): Likewise.
5748 (issignaling_test_data): Likewise.
5749 (isunordered_test_data): Likewise.
5750 (j0_test_data): Likewise.
5751 (j1_test_data): Likewise.
5752 (jn_test_data): Likewise.
5753 (ldexp_test_data): Likewise.
5754 (lgamma_test_data): Likewise.
5755 (lrint_test_data): Likewise.
5756 (lrint_tonearest_test_data): Likewise.
5757 (lrint_towardzero_test_data): Likewise.
5758 (lrint_downward_test_data): Likewise.
5759 (lrint_upward_test_data): Likewise.
5760 (llrint_test_data): Likewise.
5761 (llrint_tonearest_test_data): Likewise.
5762 (llrint_towardzero_test_data): Likewise.
5763 (llrint_downward_test_data): Likewise.
5764 (llrint_upward_test_data): Likewise.
5765 (log_test_data): Likewise.
5766 (log10_test_data): Likewise.
5767 (log1p_test_data): Likewise.
5768 (log2_test_data): Likewise.
5769 (logb_test_data): Likewise.
5770 (logb_downward_test_data): Likewise.
5771 (lround_test_data): Likewise.
5772 (llround_test_data): Likewise.
5773 (modf_test_data): Likewise.
5774 (nearbyint_test_data): Likewise.
5775 (nextafter_test_data): Likewise.
5776 (nexttoward_test_data): Likewise.
5777 (pow_test_data): Likewise.
5778 (pow_tonearest_test_data): Likewise.
5779 (pow_towardzero_test_data): Likewise.
5780 (pow_downward_test_data): Likewise.
5781 (pow_upward_test_data): Likewise.
5782 (remainder_test_data): Likewise.
5783 (remainder_tonearest_test_data): Likewise.
5784 (remainder_towardzero_test_data): Likewise.
5785 (remainder_downward_test_data): Likewise.
5786 (remainder_upward_test_data): Likewise.
5787 (remquo_test_data): Likewise.
5788 (rint_test_data): Likewise.
5789 (rint_tonearest_test_data): Likewise.
5790 (rint_towardzero_test_data): Likewise.
5791 (rint_downward_test_data): Likewise.
5792 (rint_upward_test_data): Likewise.
5793 (round_test_data): Likewise.
5794 (scalb_test_data): Likewise.
5795 (scalbn_test_data): Likewise.
5796 (scalbln_test_data): Likewise.
5797 (signbit_test_data): Likewise.
5798 (sin_test_data): Likewise.
5799 (sin_tonearest_test_data): Likewise.
5800 (sin_towardzero_test_data): Likewise.
5801 (sin_downward_test_data): Likewise.
5802 (sin_upward_test_data): Likewise.
5803 (sincos_test_data): Likewise.
5804 (sinh_test_data): Likewise.
5805 (sinh_tonearest_test_data): Likewise.
5806 (sinh_towardzero_test_data): Likewise.
5807 (sinh_downward_test_data): Likewise.
5808 (sinh_upward_test_data): Likewise.
5809 (sqrt_test_data): Likewise.
5810 (tan_test_data): Likewise.
5811 (tan_tonearest_test_data): Likewise.
5812 (tan_towardzero_test_data): Likewise.
5813 (tan_downward_test_data): Likewise.
5814 (tan_upward_test_data): Likewise.
5815 (tanh_test_data): Likewise.
5816 (tgamma_test_data): Likewise.
5817 (trunc_test_data): Likewise.
5818 (y0_test_data): Likewise.
5819 (y1_test_data): Likewise.
5820 (yn_test_data): Likewise.
5821 (significand_test_data): Likewise.
5822
b679a606
JM
5823 * math/gen-libm-test.pl (@functions): Remove variable.
5824 (generate_testfile): Don't handle START and END lines.
5825 * math/libm-test.inc (START): New macro.
5826 (END): Likewise.
5827 (END_COMPLEX): Likewise.
5828 (acos_test): Use END macro without arguments.
5829 (acos_test_tonearest): Likewise.
5830 (acos_test_towardzero): Likewise.
5831 (acos_test_downward): Likewise.
5832 (acos_test_upward): Likewise.
5833 (acosh_test): Likewise.
5834 (asin_test): Likewise.
5835 (asin_test_tonearest): Likewise.
5836 (asin_test_towardzero): Likewise.
5837 (asin_test_downward): Likewise.
5838 (asin_test_upward): Likewise.
5839 (asinh_test): Likewise.
5840 (atan_test): Likewise.
5841 (atanh_test): Likewise.
5842 (atan2_test): Likewise.
5843 (cabs_test): Likewise.
5844 (cacos_test): Use END_COMPLEX macro without arguments.
5845 (cacosh_test): Likewise.
5846 (carg_test): Use END macro without arguments.
5847 (casin_test): Use END_COMPLEX macro without arguments.
5848 (casinh_test): Likewise.
5849 (catan_test): Likewise.
5850 (catanh_test): Likewise.
5851 (cbrt_test): Use END macro without arguments.
5852 (ccos_test): Use END_COMPLEX macro without arguments.
5853 (ccosh_test): Likewise.
5854 (ceil_test): Use END macro without arguments.
5855 (cexp_test): Use END_COMPLEX macro without arguments.
5856 (cimag_test): Use END macro without arguments.
5857 (clog_test): Use END_COMPLEX macro without arguments.
5858 (clog10_test): Likewise.
5859 (conj_test): Likewise.
5860 (copysign_test): Use END macro without arguments.
5861 (cos_test): Likewise.
5862 (cos_test_tonearest): Likewise.
5863 (cos_test_towardzero): Likewise.
5864 (cos_test_downward): Likewise.
5865 (cos_test_upward): Likewise.
5866 (cosh_test): Likewise.
5867 (cosh_test_tonearest): Likewise.
5868 (cosh_test_towardzero): Likewise.
5869 (cosh_test_downward): Likewise.
5870 (cosh_test_upward): Likewise.
5871 (cpow_test): Use END_COMPLEX macro without arguments.
5872 (cproj_test): Likewise.
5873 (creal_test): Use END macro without arguments.
5874 (csin_test): Use END_COMPLEX macro without arguments.
5875 (csinh_test): Likewise.
5876 (csqrt_test): Likewise.
5877 (ctan_test): Likewise.
5878 (ctan_test_tonearest): Likewise.
5879 (ctan_test_towardzero): Likewise.
5880 (ctan_test_downward): Likewise.
5881 (ctan_test_upward): Likewise.
5882 (ctanh_test): Likewise.
5883 (ctanh_test_tonearest): Likewise.
5884 (ctanh_test_towardzero): Likewise.
5885 (ctanh_test_downward): Likewise.
5886 (ctanh_test_upward): Likewise.
5887 (erf_test): Use END macro without arguments.
5888 (erfc_test): Likewise.
5889 (exp_test): Likewise.
5890 (exp_test_tonearest): Likewise.
5891 (exp_test_towardzero): Likewise.
5892 (exp_test_downward): Likewise.
5893 (exp_test_upward): Likewise.
5894 (exp10_test): Likewise.
5895 (exp2_test): Likewise.
5896 (expm1_test): Likewise.
5897 (fabs_test): Likewise.
5898 (fdim_test): Likewise.
5899 (finite_test): Likewise.
5900 (floor_test): Likewise.
5901 (fma_test): Likewise.
5902 (fma_test_towardzero): Likewise.
5903 (fma_test_downward): Likewise.
5904 (fma_test_upward): Likewise.
5905 (fmax_test): Likewise.
5906 (fmin_test): Likewise.
5907 (fmod_test): Likewise.
5908 (fpclassify_test): Likewise.
5909 (frexp_test): Likewise.
5910 (gamma_test): Likewise.
5911 (hypot_test): Likewise.
5912 (ilogb_test): Likewise.
5913 (isfinite_test): Likewise.
5914 (isgreater_test): Likewise.
5915 (isgreaterequal_test): Likewise.
5916 (isinf_test): Likewise.
5917 (isless_test): Likewise.
5918 (islessequal_test): Likewise.
5919 (islessgreater_test): Likewise.
5920 (isnan_test): Likewise.
5921 (isnormal_test): Likewise.
5922 (issignaling_test): Likewise.
5923 (isunordered_test): Likewise.
5924 (j0_test): Likewise.
5925 (j1_test): Likewise.
5926 (jn_test): Likewise.
5927 (ldexp_test): Likewise.
5928 (lgamma_test): Likewise.
5929 (lrint_test): Likewise.
5930 (lrint_test_tonearest): Likewise.
5931 (lrint_test_towardzero): Likewise.
5932 (lrint_test_downward): Likewise.
5933 (lrint_test_upward): Likewise.
5934 (llrint_test): Likewise.
5935 (llrint_test_tonearest): Likewise.
5936 (llrint_test_towardzero): Likewise.
5937 (llrint_test_downward): Likewise.
5938 (llrint_test_upward): Likewise.
5939 (log_test): Likewise.
5940 (log10_test): Likewise.
5941 (log1p_test): Likewise.
5942 (log2_test): Likewise.
5943 (logb_test): Likewise.
5944 (logb_test_downward): Likewise.
5945 (lround_test): Likewise.
5946 (llround_test): Likewise.
5947 (modf_test): Likewise.
5948 (nearbyint_test): Likewise.
5949 (nextafter_test): Likewise.
5950 (nexttoward_test): Likewise.
5951 (pow_test): Likewise.
5952 (pow_test_tonearest): Likewise.
5953 (pow_test_towardzero): Likewise.
5954 (pow_test_downward): Likewise.
5955 (pow_test_upward): Likewise.
5956 (remainder_test): Likewise.
5957 (remainder_test_tonearest): Likewise.
5958 (remainder_test_towardzero): Likewise.
5959 (remainder_test_downward): Likewise.
5960 (remainder_test_upward): Likewise.
5961 (remquo_test): Likewise.
5962 (rint_test): Likewise.
5963 (rint_test_tonearest): Likewise.
5964 (rint_test_towardzero): Likewise.
5965 (rint_test_downward): Likewise.
5966 (rint_test_upward): Likewise.
5967 (round_test): Likewise.
5968 (scalb_test): Likewise.
5969 (scalbn_test): Likewise.
5970 (scalbln_test): Likewise.
5971 (signbit_test): Likewise.
5972 (sin_test): Likewise.
5973 (sin_test_tonearest): Likewise.
5974 (sin_test_towardzero): Likewise.
5975 (sin_test_downward): Likewise.
5976 (sin_test_upward): Likewise.
5977 (sincos_test): Likewise.
5978 (sinh_test): Likewise.
5979 (sinh_test_tonearest): Likewise.
5980 (sinh_test_towardzero): Likewise.
5981 (sinh_test_downward): Likewise.
5982 (sinh_test_upward): Likewise.
5983 (sqrt_test): Likewise.
5984 (tan_test): Likewise.
5985 (tan_test_tonearest): Likewise.
5986 (tan_test_towardzero): Likewise.
5987 (tan_test_downward): Likewise.
5988 (tan_test_upward): Likewise.
5989 (tanh_test): Likewise.
5990 (tgamma_test): Likewise.
5991 (trunc_test): Likewise.
5992 (y0_test): Likewise.
5993 (y1_test): Likewise.
5994 (yn_test): Likewise.
5995 (significand_test): Likewise.
5996
bae143d2
OB
59972013-05-24 Ondřej Bílka <neleai@seznam.cz>
5998
5999 [BZ #15381]
6000 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6001
9323d39b
EM
60022013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6003
d4ea44a0 6004 [BZ #14894]
9323d39b
EM
6005 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6006 __ppc_mdoio and __ppc_mdoom.
6007 * manual/platform.texi: Document new functions __ppc_yield,
6008 __ppc_mdoio and __ppc_mdoom.
6009
13e23af7
CD
60102013-05-22 Carlos O'Donell <carlos@redhat.com>
6011
6012 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6013 (main): Mention "tls" pseudo-hwcap is legacy.
6014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6015
351fe550
JM
60162013-05-22 Joseph Myers <joseph@codesourcery.com>
6017
6018 * math/gen-libm-test.pl (parse_args): Output only string of
6019 arguments as text for test name, not full call or descriptions of
6020 tests for extra outputs.
6021 (generate_testfile): Do not pass function name to parse_args.
6022 Generate this_func variable from START.
6023 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6024 field to arg_str.
6025 (struct test_ff_f_data): Likewise.
6026 (test_ff_f_data_nexttoward): Likewise.
6027 (struct test_fi_f_data): Likewise.
6028 (struct test_fl_f_data): Likewise.
6029 (struct test_if_f_data): Likewise.
6030 (struct test_fff_f_data): Likewise.
6031 (struct test_c_f_data): Likewise.
6032 (struct test_f_f1_data): Likewise. Remove field extra_name.
6033 (struct test_fF_f1_data): Likewise.
6034 (struct test_ffI_f1_data): Likewise.
6035 (struct test_c_c_data): Rename test_name field to arg_str.
6036 (struct test_cc_c_data): Likewise.
6037 (struct test_f_i_data): Likewise.
6038 (struct test_ff_i_data): Likewise.
6039 (struct test_f_l_data): Likewise.
6040 (struct test_f_L_data): Likewise.
6041 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6042 and extra2_name.
6043 (COMMON_TEST_SETUP): New macro.
6044 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6045 (COMMON_TEST_CLEANUP): Likewise.
6046 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6047 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6048 macros.
6049 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6050 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6051 macros.
6052 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6053 (RUN_TEST_fff_f): Take argument string. Call new setup and
6054 cleanup macros.
6055 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6056 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6057 macros.
6058 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6059 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6060 macros.
6061 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6062 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6063 cleanup macros.
6064 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6065 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6066 cleanup macros.
6067 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6068 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6069 cleanup macros.
6070 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6071 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6072 macros.
6073 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6074 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6075 macros.
6076 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6077 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6078 macros.
6079 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6080 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6081 cleanup macros.
6082 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6083 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6084 cleanup macros.
6085 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6086 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6087 macros.
6088 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6089 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6090 cleanup macros.
6091 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6092 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6093 macros.
6094 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6095 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6096 macros.
6097 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6098 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6099 cleanup macros.
6100 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6101
85118d4d
EBM
61022013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6103
6104 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6105 to _sifields.sigfault.
6106 (si_addr_lsb): Define new macro.
6107 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6110
7a44c18f
CD
61112013-05-03 Carlos O'Donell <carlos at redhat.com>
6112
6113 [BZ #15441]
6114 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6115 returns -1.
6116 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6117 null return -1.
6118 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6119 loading the domain.
6120
b50a7181
JM
61212013-05-22 Joseph Myers <joseph@codesourcery.com>
6122
6123 * math/gen-libm-test.pl (parse_args): Do not include expected
6124 result in test name.
6125 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6128 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6129 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131
051063c8
SP
61322013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6133
3ce9e010
SP
6134 * benchtests/Makefile: Sort function entries.
6135
051063c8
SP
6136 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6137 tanh, asinh, acosh, atanh.
6138 * benchtests/acos-inputs: New file.
6139 * benchtests/acosh-inputs: New file.
6140 * benchtests/asin-inputs: New file.
6141 * benchtests/asinh-inputs: New file.
6142 * benchtests/atanh-inputs: New file.
6143 * benchtests/cosh-inputs: New file.
6144 * benchtests/log-inputs: New file.
6145 * benchtests/sinh-inputs: New file.
6146 * benchtests/tanh-inputs: New file.
6147
47c22455
DL
61482013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6149
6150 [BZ #15339]
6151 * posix/tst-getaddrinfo4.c: New test.
6152 * posix/Makefile (tests): Add it.
6153
3d04f5db
SP
61542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6155
6156 [BZ #15339]
6157 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6158 when no services were used.
6159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6160 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6161
d5dd6189
AS
61622013-05-21 Andreas Schwab <schwab@suse.de>
6163
6164 [BZ #15014]
6165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6166 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6167 successful.
6168 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6169 redundant variable declarations and reallocation of buffer when
6170 parsing as IPv6 address. Always set NSS status when called from
6171 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6172 buffer too small. Correct computation of needed size.
6173 * nss/Makefile (tests): Add test-digits-dots.
6174 * nss/test-digits-dots.c: New test.
6175
fef94eab
SP
61762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6177
6178 * benchtests/Makefile: Remove instructions for adding
6179 benchmark tests.
6180 * benchtests/README: New file to explain how to execute and
6181 enhance the benchmark tests.
6182
e39adf43
AS
61832013-05-21 Andreas Schwab <schwab@suse.de>
6184
6185 [BZ #15493]
6186 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6187 * setjmp/tst-sigsetjmp.c: New test.
6188
b2b671b6
OB
61892013-05-20 Ondřej Bílka <neleai@seznam.cz>
6190
6191 * sysdeps/x86_64/memset.S (memset): New implementation.
6192 (__bzero): Likewise.
6193 (__memset_tail): New function.
6194
2d48b41c
OB
61952013-05-20 Ondřej Bílka <neleai@seznam.cz>
6196
6197 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6198 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6199 __memcpy_sse2_unaligned ifunc selection.
6200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6201 Add memcpy-sse2-unaligned.S.
6202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6203 Add: __memcpy_sse2_unaligned.
6204
f16cc3eb
JM
62052013-05-19 Joseph Myers <joseph@codesourcery.com>
6206
3e694268
JM
6207 [BZ #15490]
6208 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6209 math_force_eval before restoring floating-point envrionment.
6210 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6211 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6212 Likewise.
6213 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6214 <math_private.h>.
6215 (__nearbyintl): Use math_force_eval before restoring
6216 floating-point environment.
6217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6218
db62a907
JM
6219 * math/gen-libm-test.pl (special_functions): Remove.
6220 (parse_args): Don't handle TEST_extra. Handle functions with no
6221 return value.
6222 * math/libm-test.inc (struct test_sincos_data): Replace with
6223 struct test_fFF_11_data.
6224 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6225 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6226 (sincos_test_data): Change element type to struct
6227 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6228 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6229 RUN_TEST_LOOP_sincos.
6230 * math/README.libm-test: Don't mention special handling of
6231 individual functions.
6232 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6234 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6235 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6236 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238
f16cc3eb
JM
6239 * math/gen-libm-test.pl (get_variable): Remove function.
6240 (parse_args): Don't show pointer parameters to call in test
6241 names. Use "extra output N" in test names for extra outputs
6242 rather than naming variables.
6243
3779b5b6
JM
62442013-05-18 Joseph Myers <joseph@codesourcery.com>
6245
2ee094ff
JM
6246 [BZ #15488]
6247 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6248 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6249 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6250 double tests.
6251 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6252 disable.
6253 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6254 check_long_double.
6255
3779b5b6
JM
6256 * math/gen-libm-test.pl (@tests): Remove variable.
6257 ($count): Likewise.
6258 (new_test): Remove function.
6259 (show_exceptions): New function.
6260 (special_functions): Use show_exceptions instead of new_test.
6261 (parse_args): Likewise.
6262 (generate_testfile): Pass only function name in generated call to
6263 print_max_error or print_complex_max_error.
6264 (get_ulps): Do not handle complex tests specially.
6265 (output_test): Rename to ...
6266 (get_all_ulps_for_test): ... this. Return a string rather than
6267 printing to a file. Require ulps to be present.
6268 (output_ulps): Generate arrays rather than #defines.
6269 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6270 (struct ulp_data): New type.
6271 (BUILD_COMPLEX_ULP): Remove macro.
6272 (compare_ulp_data): New function.
6273 (find_ulps): Likewise.
6274 (find_test_ulps): Likewise.
6275 (find_function_ulps): Likewise.
6276 (find_complex_function_ulps): Likewise.
6277 (print_max_error): Determine allowed ulps using
6278 find_function_ulps.
6279 (print_complex_max_error): Determine allowed ulps using
6280 find_complex_function_ulps.
6281 (check_float_internal): Determine max ulps using find_test_ulps.
6282 (check_float): Do not take max_ulp parameter. Update call to
6283 check_float_internal.
6284 (check_complex): Likewise.
6285 (check_int): Do not take max_ulp parameter.
6286 (check_long): Likewise.
6287 (check_bool): Likewise.
6288 (check_longlong): Likewise.
6289 (struct test_f_f_data): Remove max_ulp field.
6290 (struct test_ff_f_data): Likewise.
6291 (struct test_ff_f_data_nexttoward): Likewise.
6292 (struct test_fi_f_data): Likewise.
6293 (struct test_fl_f_data): Likewise.
6294 (struct test_if_f_data): Likewise.
6295 (struct test_fff_f_data): Likewise.
6296 (struct test_c_f_data): Likewise.
6297 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6298 (struct test_fF_f1_data): Likewise.
6299 (struct test_ffI_f1_data): Likewise.
6300 (struct test_c_c_data): Remove max_ulp field.
6301 (struct test_cc_c_data): Likewise.
6302 (struct test_f_i_data): Likewise.
6303 (struct test_ff_i_data): Likewise.
6304 (struct test_f_l_data): Likewise.
6305 (struct test_f_L_data): Likewise.
6306 (struct test_sincos_data): Likewise.
6307 (RUN_TEST_f_f): Do not handle ulps.
6308 (RUN_TEST_LOOP_f_f): Likewise.
6309 (RUN_TEST_2_f): Likewise.
6310 (RUN_TEST_LOOP_2_f): Likewise.
6311 (RUN_TEST_fff_f): Likewise.
6312 (RUN_TEST_LOOP_fff_f): Likewise.
6313 (RUN_TEST_c_f): Likewise.
6314 (RUN_TEST_LOOP_c_f): Likewise.
6315 (RUN_TEST_f_f1): Likewise.
6316 (RUN_TEST_LOOP_f_f1): Likewise.
6317 (RUN_TEST_fF_f1): Likewise.
6318 (RUN_TEST_LOOP_fF_f1): Likewise.
6319 (RUN_TEST_fI_f1): Likewise.
6320 (RUN_TEST_LOOP_fI_f1): Likewise.
6321 (RUN_TEST_ffI_f1): Likewise.
6322 (RUN_TEST_LOOP_ffI_f1): Likewise.
6323 (RUN_TEST_c_c): Likewise.
6324 (RUN_TEST_LOOP_c_c): Likewise.
6325 (RUN_TEST_cc_c): Likewise.
6326 (RUN_TEST_LOOP_cc_c): Likewise.
6327 (RUN_TEST_f_i): Likewise.
6328 (RUN_TEST_LOOP_f_i): Likewise.
6329 (RUN_TEST_f_i_tg): Likewise.
6330 (RUN_TEST_LOOP_f_i_tg): Likewise.
6331 (RUN_TEST_ff_i_tg): Likewise.
6332 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6333 (RUN_TEST_f_b): Likewise.
6334 (RUN_TEST_LOOP_f_b): Likewise.
6335 (RUN_TEST_f_b_tg): Likewise.
6336 (RUN_TEST_LOOP_f_b_tg): Likewise.
6337 (RUN_TEST_f_l): Likewise.
6338 (RUN_TEST_LOOP_f_l): Likewise.
6339 (RUN_TEST_f_L): Likewise.
6340 (RUN_TEST_LOOP_f_L): Likewise.
6341 (RUN_TEST_sincos): Likewise.
6342 (RUN_TEST_LOOP_sincos): Likewise.
6343
8269107f
JM
63442013-05-17 Joseph Myers <joseph@codesourcery.com>
6345
bb38759d
JM
6346 [BZ #15480]
6347 [BZ #15485]
6348 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6349 main case of finite arguments, set rounding mode to FE_TONEAREST
6350 and discard exceptions.
6351 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6352 exceptions.
6353 (remainder_tonearest_test_data): New variable.
6354 (remainder_test_tonearest): New function.
6355 (remainder_towardzero_test_data): New variable.
6356 (remainder_test_towardzero): New function.
6357 (remainder_downward_test_data): New variable.
6358 (remainder_test_downward): New function.
6359 (remainder_upward_test_data): New variable.
6360 (remainder_test_upward): New function.
6361 (main): Call the new test functions.
6362
a00bdcf0
JM
6363 * math/libm-test.inc (struct test_f_f1_data): Remove field
6364 extra_init.
6365 (struct test_fF_f1_data): Likewise.
6366 (struct test_ffI_f1_data): Likewise.
6367 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6368 based on value of EXTRA_EXPECTED.
6369 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6370 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6371 EXTRA_VAR based on value of EXTRA_EXPECTED.
6372 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6373 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6374 EXTRA_VAR based on value of EXTRA_EXPECTED.
6375 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6376 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6377 EXTRA_VAR based on value of EXTRA_EXPECTED.
6378 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6379 * math/gen-libm-test.pl (parse_args): Don't output initializers
6380 for extra output values.
6381
de407f79
JM
6382 * math/libm-test.inc (check_int): Expect result to be exactly
6383 equal to expected value and do not handle ulps.
6384 (check_long): Likewise.
6385 (check_longlong): Likewise.
6386
8269107f
JM
6387 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6388 exceptions.
6389 (cimag_test_data): Likewise.
6390 (conj_test_data): Likewise.
6391 (copysign_test_data): Likewise.
6392 (cproj_test_data): Likewise.
6393 (creal_test_data): Likewise.
6394 (fabs_test_data): Likewise.
6395 (fdim_test_data): Likewise.
6396 (finite_test_data): Likewise.
6397 (floor_test_data): Likewise.
6398 (fmax_test_data): Likewise.
6399 (fmin_test_data): Likewise.
6400 (fmod_test_data): Likewise.
6401 (fpclassify_test_data): Likewise.
6402 (frexp_test_data): Likewise.
6403 (ilogb_test_data): Likewise.
6404 (isfinite_test_data): Likewise.
6405 (isgreater_test_data): Likewise.
6406 (isgreaterequal_test_data): Likewise.
6407 (isinf_test_data): Likewise.
6408 (isless_test_data): Likewise.
6409 (islessequal_test_data): Likewise.
6410 (islessgreater_test_data): Likewise.
6411 (isnan_test_data): Likewise.
6412 (isnormal_test_data): Likewise.
6413 (issignaling_test_data): Likewise.
6414 (isunordered_test_data): Likewise.
6415 (ldexp_test_data): Likewise.
6416 (lrint_test_data): Likewise.
6417 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6418 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6419 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6420 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6421 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6422 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6423 test input.
6424 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6425 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6426 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6427 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6428 that test input.
6429 (lrint_downward_test_data): Test for "inexact" exceptions.
6430 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6431 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6432 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6433 test input.
6434 (lrint_upward_test_data): Test for "inexact" exceptions.
6435 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6436 test input.
6437 (llrint_test_data): Test for "inexact" exceptions.
6438 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6439 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6440 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6441 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6442 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6443 (llrint_downward_test_data): Test for "inexact" exceptions.
6444 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6445 (llrint_upward_test_data): Test for "inexact" exceptions.
6446 (logb_test_data): Likewise.
6447 (logb_downward_test_data): Likewise.
6448 (nextafter_test_data): Likewise.
6449 (nexttoward_test_data): Likewise.
6450 (remainder_test_data): Likewise.
6451 (remquo_test_data): Likewise.
6452 (scalbn_test_data): Likewise.
6453 (scalbln_test_data): Likewise.
6454 (signbit_test_data): Likewise.
6455 (sqrt_test_data): Likewise.
6456 (significand_test_data): Likewise.
6457
48a18de1
SP
64582013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6459
6460 [BZ #15424]
6461 * benchtests/bench-modf.c (struct args): Mark arg0 as
6462 volatile.
6463 * scripts/bench.pl: Mark members of struct args as volatile.
6464
13d3b41a
AZ
64652013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6466
68191c1d 6467 [BZ # 15497]
13d3b41a
AZ
6468 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6469 negative infinity on POWER6 or lower.
6470 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6471
2848b105
MR
64722013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6473
6474 [BZ #15442]
6475 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6476 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6477 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6478 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6479 (_FP_SETQNAN): New macro.
6480 (_FP_SETQNAN_SEMIRAW): Likewise.
6481 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6482 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6483 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6484 (FP_EXTEND): Use _FP_FRAC_SNANP.
6485 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6486 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6487 into account.
6488 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6489 New macro.
6490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6491 Likewise.
6492
323e5cb7
JM
64932013-05-16 Joseph Myers <joseph@codesourcery.com>
6494
c58b274f
JM
6495 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6496 with DIVIDE_BY_ZERO_EXCEPTION.
6497 (gamma_test_data): Likewise.
6498 (lgamma_test_data): Likewise.
6499 (log_test_data): Likewise.
6500 (log10_test_data): Likewise.
6501 (log2_test_data): Likewise.
6502 (tgamma_test_data): Likewise.
6503
0ab34904
JM
6504 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6505 (acos_test_tonearest): Likewise.
6506 (acos_test_towardzero): Likewise.
6507 (acos_test_downward): Likewise.
6508 (acos_test_upward): Likewise.
6509 (acosh_test): Likewise.
6510 (asin_test): Likewise.
6511 (asin_test_tonearest): Likewise.
6512 (asin_test_towardzero): Likewise.
6513 (asin_test_downward): Likewise.
6514 (asin_test_upward): Likewise.
6515 (asinh_test): Likewise.
6516 (atan_test): Likewise.
6517 (atanh_test): Likewise.
6518 (atan2_test): Likewise.
6519 (cabs_test): Likewise.
6520 (cacos_test): Likewise.
6521 (cacosh_test): Likewise.
6522 (casin_test): Likewise.
6523 (casinh_test): Likewise.
6524 (catan_test): Likewise.
6525 (catanh_test): Likewise.
6526 (cbrt_test): Likewise.
6527 (ccos_test): Likewise.
6528 (ccosh_test): Likewise.
6529 (cexp_test): Likewise.
6530 (clog_test): Likewise.
6531 (clog10_test): Likewise.
6532 (cos_test): Likewise.
6533 (cos_test_tonearest): Likewise.
6534 (cos_test_towardzero): Likewise.
6535 (cos_test_downward): Likewise.
6536 (cos_test_upward): Likewise.
6537 (cosh_test): Likewise.
6538 (cosh_test_tonearest): Likewise.
6539 (cosh_test_towardzero): Likewise.
6540 (cosh_test_downward): Likewise.
6541 (cosh_test_upward): Likewise.
6542 (cpow_test): Likewise.
6543 (csin_test): Likewise.
6544 (csinh_test): Likewise.
6545 (csqrt_test): Likewise.
6546 (ctan_test): Likewise.
6547 (ctan_test_tonearest): Likewise.
6548 (ctan_test_towardzero): Likewise.
6549 (ctan_test_downward): Likewise.
6550 (ctan_test_upward): Likewise.
6551 (ctanh_test): Likewise.
6552 (ctanh_test_tonearest): Likewise.
6553 (ctanh_test_towardzero): Likewise.
6554 (ctanh_test_downward): Likewise.
6555 (ctanh_test_upward): Likewise.
6556 (erf_test): Likewise.
6557 (erfc_test): Likewise.
6558 (exp_test): Likewise.
6559 (exp_test_tonearest): Likewise.
6560 (exp_test_towardzero): Likewise.
6561 (exp_test_downward): Likewise.
6562 (exp_test_upward): Likewise.
6563 (exp10_test): Likewise.
6564 (exp2_test): Likewise.
6565 (expm1_test): Likewise.
6566 (fmod_test): Likewise.
6567 (gamma_test): Likewise.
6568 (hypot_test): Likewise.
6569 (j0_test): Likewise.
6570 (j1_test): Likewise.
6571 (jn_test): Likewise.
6572 (lgamma_test): Likewise.
6573 (log_test): Likewise.
6574 (log10_test): Likewise.
6575 (log1p_test): Likewise.
6576 (log2_test): Likewise.
6577 (logb_test_downward): Likewise.
6578 (pow_test): Likewise.
6579 (pow_test_tonearest): Likewise.
6580 (pow_test_towardzero): Likewise.
6581 (pow_test_downward): Likewise.
6582 (pow_test_upward): Likewise.
6583 (remainder_test): Likewise.
6584 (remquo_test): Likewise.
6585 (sin_test): Likewise.
6586 (sin_test_tonearest): Likewise.
6587 (sin_test_towardzero): Likewise.
6588 (sin_test_downward): Likewise.
6589 (sin_test_upward): Likewise.
6590 (sincos_test): Likewise.
6591 (sinh_test): Likewise.
6592 (sinh_test_tonearest): Likewise.
6593 (sinh_test_towardzero): Likewise.
6594 (sinh_test_downward): Likewise.
6595 (sinh_test_upward): Likewise.
6596 (sqrt_test): Likewise.
6597 (tan_test): Likewise.
6598 (tan_test_tonearest): Likewise.
6599 (tan_test_towardzero): Likewise.
6600 (tan_test_downward): Likewise.
6601 (tan_test_upward): Likewise.
6602 (tanh_test): Likewise.
6603 (tgamma_test): Likewise.
6604 (y0_test): Likewise.
6605 (y1_test): Likewise.
6606 (yn_test): Likewise.
6607
323e5cb7
JM
6608 * math/gen-libm-test.pl (adjust_arg): Remove function.
6609 (special_function): Remove argument $in_func. Only handle
6610 generating output for tables of tests, not inside functions.
6611 (parse_args): Likewise.
6612 (generate_testfile): Remove variable $in_func. Update call to
6613 parse_args.
6614 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6615 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6616 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6617 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6618 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6619 (MAX_VALUE_INIT): Rename macro to max_value.
6620 (MIN_VALUE_INIT): Rename macro to min_value.
6621 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6622 (plus_zero): Remove variable.
6623 (minus_zero): Likewise.
6624 (plus_infty): Likewise.
6625 (minus_infty): Likewise.
6626 (qnan_value): Likewise.
6627 (max_value): Likewise.
6628 (min_value): Likewise.
6629 (min_subnorm_value): Likewise.
6630
e054f494
RA
66312013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6632
6633 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6634 uint64_t or uint32_t usage.
6635 * crypt/sha256-block.c: Likewise.
6636 * crypt/sha256-crypt.c: Likewise.
6637 * crypt/sha256.c: Likewise.
6638 * crypt/sha512-block.c: Likewise.
6639 * crypt/sha512-crypt.c: Likewise.
6640 * crypt/sha512.c: Likewise.
6641 * debug/backtrace-tst.c: Likewise.
6642 * debug/pcprofiledump.c: Likewise.
6643 * elf/cache.c: Likewise.
6644 * elf/dl-cache.c: Likewise.
6645 * elf/dl-misc.c: Likewise.
6646 * elf/dl-profile.c: Likewise.
6647 * elf/dl-support.c: Likewise.
6648 * elf/ldconfig.c: Likewise.
6649 * elf/sprof.c: Likewise.
6650 * iconv/dummy-repertoire.c: Likewise.
6651 * iconv/iconv_charmap.c: Likewise.
6652 * iconv/skeleton.c: Likewise.
6653 * iconvdata/8bit-generic.c: Likewise.
6654 * iconvdata/cp737.h: Likewise.
6655 * iconvdata/cp775.h: Likewise.
6656 * iconvdata/ibm1008.h: Likewise.
6657 * iconvdata/ibm1025.h: Likewise.
6658 * iconvdata/ibm1046.h: Likewise.
6659 * iconvdata/ibm1097.h: Likewise.
6660 * iconvdata/ibm1112.h: Likewise.
6661 * iconvdata/ibm1122.h: Likewise.
6662 * iconvdata/ibm1123.h: Likewise.
6663 * iconvdata/ibm1124.h: Likewise.
6664 * iconvdata/ibm1129.h: Likewise.
6665 * iconvdata/ibm1130.h: Likewise.
6666 * iconvdata/ibm1132.h: Likewise.
6667 * iconvdata/ibm1133.h: Likewise.
6668 * iconvdata/ibm1137.h: Likewise.
6669 * iconvdata/ibm1140.h: Likewise.
6670 * iconvdata/ibm1141.h: Likewise.
6671 * iconvdata/ibm1142.h: Likewise.
6672 * iconvdata/ibm1143.h: Likewise.
6673 * iconvdata/ibm1144.h: Likewise.
6674 * iconvdata/ibm1145.h: Likewise.
6675 * iconvdata/ibm1146.h: Likewise.
6676 * iconvdata/ibm1147.h: Likewise.
6677 * iconvdata/ibm1148.h: Likewise.
6678 * iconvdata/ibm1149.h: Likewise.
6679 * iconvdata/ibm1153.h: Likewise.
6680 * iconvdata/ibm1154.h: Likewise.
6681 * iconvdata/ibm1155.h: Likewise.
6682 * iconvdata/ibm1156.h: Likewise.
6683 * iconvdata/ibm1157.h: Likewise.
6684 * iconvdata/ibm1158.h: Likewise.
6685 * iconvdata/ibm1160.h: Likewise.
6686 * iconvdata/ibm1161.h: Likewise.
6687 * iconvdata/ibm1162.h: Likewise.
6688 * iconvdata/ibm1163.h: Likewise.
6689 * iconvdata/ibm1164.h: Likewise.
6690 * iconvdata/ibm1166.h: Likewise.
6691 * iconvdata/ibm1167.h: Likewise.
6692 * iconvdata/ibm12712.h: Likewise.
6693 * iconvdata/ibm1390.h: Likewise.
6694 * iconvdata/ibm1399.h: Likewise.
6695 * iconvdata/ibm16804.h: Likewise.
6696 * iconvdata/ibm4517.h: Likewise.
6697 * iconvdata/ibm4899.h: Likewise.
6698 * iconvdata/ibm4909.h: Likewise.
6699 * iconvdata/ibm4971.h: Likewise.
6700 * iconvdata/ibm5347.h: Likewise.
6701 * iconvdata/ibm803.h: Likewise.
6702 * iconvdata/ibm856.h: Likewise.
6703 * iconvdata/ibm901.h: Likewise.
6704 * iconvdata/ibm902.h: Likewise.
6705 * iconvdata/ibm9030.h: Likewise.
6706 * iconvdata/ibm9066.h: Likewise.
6707 * iconvdata/ibm921.h: Likewise.
6708 * iconvdata/ibm922.h: Likewise.
6709 * iconvdata/ibm9448.h: Likewise.
6710 * iconvdata/isiri-3342.h: Likewise.
6711 * iconvdata/jis0201.h: Likewise.
6712 * include/link.h: Likewise.
6713 * include/netdb.h: Likewise.
6714 * inet/check_native.c: Likewise.
6715 * inet/check_pf.c: Likewise.
6716 * inet/getipv4sourcefilter.c: Likewise.
6717 * inet/getnameinfo.c: Likewise.
6718 * inet/getsourcefilter.c: Likewise.
6719 * inet/htonl.c: Likewise.
6720 * inet/setipv4sourcefilter.c: Likewise.
6721 * inet/setsourcefilter.c: Likewise.
6722 * inet/test-inet6_opt.c: Likewise.
6723 * inet/tst-network.c: Likewise.
6724 * locale/C-collate.c: Likewise.
6725 * locale/C-ctype.c: Likewise.
6726 * locale/C-time.c: Likewise.
6727 * locale/C-translit.h: Likewise.
6728 * locale/loadarchive.c: Likewise.
6729 * locale/programs/3level.h: Likewise.
6730 * locale/programs/charmap.c: Likewise.
6731 * locale/programs/charmap.h: Likewise.
6732 * locale/programs/ld-address.c: Likewise.
6733 * locale/programs/ld-collate.c: Likewise.
6734 * locale/programs/ld-ctype.c: Likewise.
6735 * locale/programs/ld-identification.c: Likewise.
6736 * locale/programs/ld-measurement.c: Likewise.
6737 * locale/programs/ld-messages.c: Likewise.
6738 * locale/programs/ld-monetary.c: Likewise.
6739 * locale/programs/ld-name.c: Likewise.
6740 * locale/programs/ld-numeric.c: Likewise.
6741 * locale/programs/ld-paper.c: Likewise.
6742 * locale/programs/ld-telephone.c: Likewise.
6743 * locale/programs/ld-time.c: Likewise.
6744 * locale/programs/linereader.c: Likewise.
6745 * locale/programs/locale.c: Likewise.
6746 * locale/programs/locarchive.c: Likewise.
6747 * locale/programs/locfile.h: Likewise.
6748 * locale/programs/repertoire.c: Likewise.
6749 * locale/programs/simple-hash.c: Likewise.
6750 * locale/programs/simple-hash.h: Likewise.
6751 * malloc/memusage.c: Likewise.
6752 * malloc/memusagestat.c: Likewise.
6753 * nis/nis_defaults.c: Likewise.
6754 * nis/nis_hash.c: Likewise.
6755 * nis/nis_print.c: Likewise.
6756 * nis/nis_xdr.c: Likewise.
6757 * nscd/connections.c: Likewise.
6758 * nscd/hstcache.c: Likewise.
6759 * nscd/nscd_gethst_r.c: Likewise.
6760 * nscd/nscd_getserv_r.c: Likewise.
6761 * nscd/nscd_helper.c: Likewise.
6762 * nscd/servicescache.c: Likewise.
6763 * nss/makedb.c: Likewise.
6764 * nss/nss_db/db-XXX.c: Likewise.
6765 * nss/nss_db/db-initgroups.c: Likewise.
6766 * nss/nss_db/db-netgrp.c: Likewise.
6767 * nss/nss_files/files-network.c: Likewise.
6768 * nss/nss_files/files-parse.c: Likewise.
6769 * posix/bug-regex5.c: Likewise.
6770 * posix/fnmatch_loop.c: Likewise.
6771 * posix/regcomp.c: Likewise.
6772 * posix/regexec.c: Likewise.
6773 * posix/tst-rfc3484-2.c: Likewise.
6774 * posix/tst-rfc3484-3.c: Likewise.
6775 * posix/tst-rfc3484.c: Likewise.
6776 * resolv/nss_dns/dns-canon.c: Likewise.
6777 * resolv/nss_dns/dns-network.c: Likewise.
6778 * resolv/res_init.c: Likewise.
6779 * resolv/res_mkquery.c: Likewise.
6780 * resolv/tst-aton.c: Likewise.
6781 * stdlib/cxa_atexit.c: Likewise.
6782 * stdlib/cxa_finalize.c: Likewise.
6783 * stdlib/gen-fpioconst.c: Likewise.
6784 * stdlib/strtol_l.c: Likewise.
6785 * string/tst-endian.c: Likewise.
6786 * sunrpc/auth_des.c: Likewise.
6787 * sunrpc/clnt_udp.c: Likewise.
6788 * sunrpc/rtime.c: Likewise.
6789 * sunrpc/svcauth_des.c: Likewise.
6790 * sunrpc/xdr.c: Likewise.
6791 * sunrpc/xdr_intXX_t.c: Likewise.
6792 * sunrpc/xdr_rec.c: Likewise.
6793 * sysdeps/generic/ldconfig.h: Likewise.
6794 * sysdeps/generic/ldsodefs.h: Likewise.
6795 * sysdeps/generic/memusage.h: Likewise.
6796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6806 * sysdeps/posix/getaddrinfo.c: Likewise.
6807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6809 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6810 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6811 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6812 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6813 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6814 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6815 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6816 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6817 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6818 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6819 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6820 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6821 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6822 * sysdeps/x86_64/dl-tls.h: Likewise.
6823 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6824 * time/alt_digit.c: Likewise.
6825 * time/era.c: Likewise.
6826 * wcsmbs/tst-c16c32-1.c: Likewise.
6827
8c75f674
JM
68282013-05-16 Joseph Myers <joseph@codesourcery.com>
6829
6830 * math/libm-test.inc (struct test_sincos_data): New type.
6831 (RUN_TEST_LOOP_sincos): New macro.
6832 (sincos_test_data): New variable.
6833 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6834
e6e49e59
RH
68352013-05-16 Richard Henderson <rth@redhat.com>
6836
6837 * math/atest-exp2.c (LIMB64): New macro.
6838 (CONSTSZ): New macro.
6839 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6840 (hexdig): Move ...
6841 (print_mpn_fp): ... to function scope.
6842 (read_mpn_hex): Remove.
6843 (get_log2): Remove.
6844 (exp2_mpn): Use mp_log2.
6845 (main): Use mp_exp1.
6846
15c7c18d
JM
68472013-05-16 Joseph Myers <joseph@codesourcery.com>
6848
105a07df
JM
6849 * math/libm-test.inc: Remove comment about not testing "inexact"
6850 exceptions.
6851 (INEXACT_EXCEPTION): New macro.
6852 (NO_INEXACT_EXCEPTION): Likewise.
6853 (INVALID_EXCEPTION_OK): Update value.
6854 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6855 (OVERFLOW_EXCEPTION_OK): Likewise.
6856 (UNDERFLOW_EXCEPTION_OK): Likewise.
6857 (IGNORE_ZERO_INF_SIGN): Likewise.
6858 (ERRNO_UNCHANGED): Likewise.
6859 (ERRNO_EDOM): Likewise.
6860 (ERRNO_ERANGE): Likewise.
6861 (test_exceptions): Handle testing "inexact" exceptions.
6862 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6863 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6864 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6865 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6866 INEXACT_EXCEPTION.
6867 (rint_towardzero_test_data): Likewise.
6868 (rint_downward_test_data): Likewise.
6869 (rint_upward_test_data): Likewise.
6870
e9eee333
JM
6871 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6872 with OVERFLOW_EXCEPTION.
6873 (exp10_test_data): Likewise.
6874 (exp2_test_data): Likewise.
6875 (expm1_test_data): Likewise.
6876 (lgamma_test_data): Likewise.
6877 (pow_test_data): Likewise.
6878 (tgamma_test_data): Likewise.
6879 (yn_test_data): Remove duplicate test of overflow.
6880
1c38ff73
JM
6881 * math/libm-test.inc (struct test_cc_c_data): New type.
6882 (RUN_TEST_LOOP_cc_c): New macro.
6883 (cpow_test_data): New variable.
6884 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6885
15c7c18d
JM
6886 * math/libm-test.inc (struct test_f_L_data): New type.
6887 (RUN_TEST_LOOP_f_L): New macro.
6888 (llrint_test_data): New variable.
6889 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6890 (llrint_tonearest_test_data): New variable.
6891 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6892 (llrint_towardzero_test_data): New variable.
6893 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6894 (llrint_downward_test_data): New variable.
6895 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6896 (llrint_upward_test_data): New variable.
6897 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6898 (llround_test_data): New variable.
6899 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6900
f137ff13
PC
69012013-05-13 Peter Collingbourne <pcc@google.com>
6902
6903 * math/atest-exp2.c (get_log2): Remove const attribute.
6904
3608cb24
JM
69052013-05-15 Joseph Myers <joseph@codesourcery.com>
6906
6907 * math/libm-test.inc (struct test_f_l_data): New type.
6908 (RUN_TEST_LOOP_f_l): New macro.
6909 (lrint_test_data): New variable.
6910 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6911 (lrint_tonearest_test_data): New variable.
6912 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6913 (lrint_towardzero_test_data): New variable.
6914 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6915 (lrint_downward_test_data): New variable.
6916 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6917 (lrint_upward_test_data): New variable.
6918 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6919 (lround_test_data): New variable.
6920 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6921
39b1f617
PC
69222013-05-15 Peter Collingbourne <pcc@google.com>
6923
1deff3dc
PC
6924 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6925 (EXTRACT_WORDS64) Use where appropriate.
6926 (INSERT_WORDS64) Likewise.
6927
791f3ba0
PC
6928 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6929 constraints with x constraints.
6930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6931
39b1f617
PC
6932 * malloc/obstack.c (_obstack_compat): Add initializer.
6933
12fba011
EM
69342013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6935
6936 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6937 si_trapno and add si_addr_lsb to _sifields.sigfault.
6938 (si_trapno): Remove macro.
6939 (si_addr_lsb): Define new macro.
6940 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6941
d369f531
JM
69422013-05-15 Joseph Myers <joseph@codesourcery.com>
6943
b861c6c4
JM
6944 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6945 instead of TEST_f_l.
6946 (llrint_test_tonearest): Likewise.
6947 (llrint_test_towardzero): Likewise.
6948 (llrint_test_downward): Likewise.
6949 (llrint_test_upward): Likewise.
6950 (llround_test): Likewise.
6951
7abeee12
JM
6952 * math/libm-test.inc (struct test_f_i_data): Add comment.
6953 (RUN_TEST_LOOP_f_b): New macro.
6954 (RUN_TEST_LOOP_f_b_tg): Likewise.
6955 (finite_test_data): New variable.
6956 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6957 (isfinite_test_data): New variable.
6958 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6959 (isinf_test_data): New variable.
6960 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6961 (isnan_test_data): New variable.
6962 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6963 (isnormal_test_data): New variable.
6964 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6965 (issignaling_test_data): New variable.
6966 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6967 (signbit_test_data): New variable.
6968 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6969
cbe8c4d3
JM
6970 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6971 with INVALID_EXCEPTION.
6972 (acosh_test_data): Likewise.
6973 (asin_test_data): Likewise.
6974 (atanh_test_data): Likewise.
6975 (fmod_test_data): Likewise.
6976 (log_test_data): Likewise.
6977 (log10_test_data): Likewise.
6978 (log2_test_data): Likewise.
6979 (pow_test_data): Likewise.
6980 (sqrt_test_data): Likewise.
6981 (y0_test_data): Likewise.
6982 (y1_test_data): Likewise.
6983 (yn_test_data): Likewise.
6984
5575c0e5
JM
6985 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6986 function contents.
6987
d369f531
JM
6988 * math/libm-test.inc (struct test_ff_i_data): New type.
6989 (RUN_TEST_LOOP_ff_i_tg): New macro.
6990 (isgreater_test_data): New variable.
6991 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6992 (isgreaterequal_test_data): New variable.
6993 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6994 (isless_test_data): New variable.
6995 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6996 (islessequal_test_data): New variable.
6997 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6998 (islessgreater_test_data): New variable.
6999 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7000 (isunordered_test_data): New variable.
7001 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7002
781fd748
DM
70032013-05-14 David S. Miller <davem@davemloft.net>
7004
7005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7006
87aa21df
JM
70072013-05-14 Joseph Myers <joseph@codesourcery.com>
7008
5e908270
JM
7009 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7010
f71172e5
JM
7011 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7012 extra_test to int.
7013 (struct test_f_i_data): Change type of max_ulp to int.
7014
8cfa635a
JM
7015 * math/libm-test.inc (test_ffI_f1_data): New type.
7016 (RUN_TEST_LOOP_ffI_f1): New macro.
7017 (remquo_test_data): New variable.
7018 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7019
2bcb36b2
JM
7020 * setjmp/tst-setjmp-fp.c: New file.
7021 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7022 (link-libm): New variable.
7023 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7024
acbd839a
JM
7025 * math/libm-test.inc (struct test_f_i_data): New type.
7026 (RUN_TEST_LOOP_f_i): New macro.
7027 (RUN_TEST_LOOP_f_i_tg): Likewise.
7028 (fpclassify_test_data): New variable.
7029 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7030 (ilogb_test_data): New variable.
7031 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7032
e414d745
JM
7033 * math/libm-test.inc (scalbln_test): Correct function name in END
7034 call.
7035
d9c2a0fd
JM
7036 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7037 (RUN_TEST_LOOP_fI_f1): New macro.
7038 (frexp_test_data): New variable.
7039 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7040
9dc9095d
JM
7041 * math/libm-test.inc (struct test_fF_f1_data): New type.
7042 (RUN_TEST_LOOP_fF_f1): New macro.
7043 (modf_test_data): New variable.
7044 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7045
87aa21df
JM
7046 * math/libm-test.inc (struct test_f_f1_data): New type.
7047 (RUN_TEST_LOOP_f_f1): New macro.
7048 (gamma_test_data): New variable.
7049 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7050 (lgamma_test_data): New variable.
7051 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7052
141af660
CD
70532013-05-13 Carlos O'Donell <carlos@redhat.com>
7054
7055 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7056 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7057 (main): Comment "tls" pseudo-hwcap.
7058
6d33265c
JM
70592013-05-13 Joseph Myers <joseph@codesourcery.com>
7060
68fc074c
JM
7061 * math/libm-test.inc (struct test_fl_f_data): New type.
7062 (RUN_TEST_LOOP_fl_f): New variable.
7063 (scalbln_test_data): New variable.
7064 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7065
243216e1
JM
7066 * math/libm-test.inc (struct test_fi_f_data): New type.
7067 (RUN_TEST_LOOP_fi_f): New macro.
7068 (ldexp_test_data): New variable.
7069 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7070 (scalbn_test_data): New variable.
7071 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7072
6a1992e2
JM
7073 * math/libm-test.inc (struct test_c_f_data): New type.
7074 (RUN_TEST_LOOP_c_f): New macro.
7075 (cabs_test_data): New variable.
7076 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7077 (carg_test_data): New variable.
7078 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7079 (cimag_test_data): New variable.
7080 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7081 (creal_test_data): New variable.
7082 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7083
0e400df5
JM
7084 * math/libm-test.inc (struct test_if_f_data): New type.
7085 (RUN_TEST_LOOP_if_f): New macro.
7086 (jn_test_data): New variable.
7087 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7088 (yn_test_data): New variable.
7089 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7090
6d33265c
JM
7091 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7092
f98ece5f
AZ
70932013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7094
7095 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7096 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7097
0f7d347b
SP
70982013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7099
43fe811b
SP
7100 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7101 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7102 (bench-deps): Add bench-timing.h.
7103 * benchtests-bench-skeleton.c: Include bench-timing.h.
7104 (main): Use TIMING_* macros instead of clock_gettime.
7105 * benchtests/bench-timing.h: New file.
7106
0f7d347b
SP
7107 [BZ #14582]
7108 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7109 Renamed from _LIB_VERSION.
7110 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7111
601a3a5f
JM
71122013-05-12 Joseph Myers <joseph@codesourcery.com>
7113
4f184d30
JM
7114 * math/libm-test.inc (struct test_fff_f_data): New type.
7115 (RUN_TEST_LOOP_fff_f): New macro.
7116 (fma_test_data): New variable.
7117 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7118 (fma_towardzero_test_data): New variable.
7119 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7120 (fma_downward_test_data): New variable.
7121 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7122 (fma_upward_test_data): New variable.
7123 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7124
08198877
JM
7125 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7126 (struct test_c_c_data): New type.
7127 (RUN_TEST_LOOP_c_c): New macro.
7128 (cacos_test_data): New variable.
7129 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7130 (cacosh_test_data): New variable.
7131 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7132 (casin_test_data): New variable.
7133 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7134 (casinh_test_data): New variable.
7135 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7136 (catan_test_data): New variable.
7137 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7138 (catanh_test_data): New variable.
7139 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7140 (ccos_test_data): New variable.
7141 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7142 (ccosh_test_data): New variable.
7143 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7144 (cexp_test_data): New variable.
7145 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7146 (clog_test_data): New variable.
7147 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7148 (clog10_test_data): New variable.
7149 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7150 (conj_test_data): New variable.
7151 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7152 (cproj_test_data): New variable.
7153 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7154 (csin_test_data): New variable.
7155 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7156 (csinh_test_data): New variable.
7157 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7158 (csqrt_test_data): New variable.
7159 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7160 (ctan_test_data): New variable.
7161 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7162 (ctan_tonearest_test_data): New variable.
7163 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7164 (ctan_towardzero_test_data): New variable.
7165 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7166 (ctan_downward_test_data): New variable.
7167 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7168 (ctan_upward_test_data): New variable.
7169 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7170 (ctanh_test_data): New variable.
7171 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7172 (ctanh_tonearest_test_data): New variable.
7173 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7174 (ctanh_towardzero_test_data): New variable.
7175 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7176 (ctanh_downward_test_data): New variable.
7177 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7178 (ctanh_upward_test_data): New variable.
7179 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7180 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7181 of BUILD_COMPLEX.
7182
601a3a5f
JM
7183 * math/libm-test.inc (struct test_ff_f_data): New type.
7184 (struct test_ff_f_data_nexttoward): Likewise.
7185 (RUN_TEST_LOOP_2_f): New macro.
7186 (RUN_TEST_LOOP_ff_f): Likewise.
7187 (atan2_test_data): New variable.
7188 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7189 (copysign_test_data): New variable.
7190 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7191 (fdim_test_data): New variable.
7192 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7193 (fmax_test_data): New variable.
7194 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7195 (fmin_test_data): New variable.
7196 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7197 (fmod_test_data): New variable.
7198 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7199 (hypot_test_data): New variable.
7200 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7201 (nextafter_test_data): New variable.
7202 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7203 (nexttoward_test_data): New variable.
7204 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7205 (pow_test_data): New variable.
7206 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7207 (pow_tonearest_test_data): New variable.
7208 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7209 (pow_towardzero_test_data): New variable.
7210 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7211 (pow_downward_test_data): New variable.
7212 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7213 (pow_upward_test_data): New variable.
7214 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7215 (remainder_test_data): New variable.
7216 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7217 (scalb_test_data): New variable.
7218 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220
74c57478
JM
72212013-05-11 Joseph Myers <joseph@codesourcery.com>
7222
8329e4da
JM
7223 * math/libm-test.inc (fma_test): Use max_value instead of local
7224 variable fltmax.
7225 (nextafter_test): Likewise.
7226
74c57478
JM
7227 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7228 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7229 (acos_downward_test_data): New variable.
7230 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7231 (acos_upward_test_data): New variable.
7232 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7233 (acosh_test_data): New variable.
7234 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7235 (asin_test_data): New variable.
7236 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7237 (asin_tonearest_test_data): New variable.
7238 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7239 (asin_towardzero_test_data): New variable.
7240 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7241 (asin_downward_test_data): New variable.
7242 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7243 (asin_upward_test_data): New variable.
7244 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7245 (asinh_test_data): New variable.
7246 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7247 (atan_test_data): New variable.
7248 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7249 (atanh_test_data): New variable.
7250 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7251 (cbrt_test_data): New variable.
7252 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7253 (ceil_test_data): New variable.
7254 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7255 (cos_test_data): New variable.
7256 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7257 (cos_tonearest_test_data): New variable.
7258 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7259 (cos_towardzero_test_data): New variable.
7260 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7261 (cos_downward_test_data): New variable.
7262 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7263 (cos_upward_test_data): New variable.
7264 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7265 (cosh_test_data): New variable.
7266 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7267 (cosh_tonearest_test_data): New variable.
7268 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7269 (cosh_towardzero_test_data): New variable.
7270 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7271 (cosh_downward_test_data): New variable.
7272 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7273 (cosh_upward_test_data): New variable.
7274 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7275 (erf_test_data): New variable.
7276 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7277 (erfc_test_data): New variable.
7278 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7279 (exp_test_data): New variable.
7280 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7281 (exp_tonearest_test_data): New variable.
7282 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7283 (exp_towardzero_test_data): New variable.
7284 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7285 (exp_downward_test_data): New variable.
7286 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7287 (exp_upward_test_data): New variable.
7288 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7289 (exp10_test_data): New variable.
7290 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7291 (exp2_test_data): New variable.
7292 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7293 (expm1_test_data): New variable.
7294 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7295 (fabs_test_data): New variable.
7296 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7297 (floor_test_data): New variable.
7298 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7299 (j0_test_data): New variable.
7300 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7301 (j1_test_data): New variable.
7302 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7303 (log_test_data): New variable.
7304 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7305 (log10_test_data): New variable.
7306 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7307 (log1p_test_data): New variable.
7308 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7309 (log2_test_data): New variable.
7310 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7311 (logb_test_data): New variable.
7312 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7313 (logb_downward_test_data): New variable.
7314 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7315 (nearbyint_test_data): New variable.
7316 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7317 (rint_test_data): New variable.
7318 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7319 (rint_tonearest_test_data): New variable.
7320 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7321 (rint_towardzero_test_data): New variable.
7322 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7323 (rint_downward_test_data): New variable.
7324 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7325 (rint_upward_test_data): New variable.
7326 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7327 (round_test_data): New variable.
7328 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7329 (sin_test_data): New variable.
7330 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7331 (sin_tonearest_test_data): New variable.
7332 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7333 (sin_towardzero_test_data): New variable.
7334 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7335 (sin_downward_test_data): New variable.
7336 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7337 (sin_upward_test_data): New variable.
7338 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7339 (sinh_test_data): New variable.
7340 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7341 (sinh_tonearest_test_data): New variable.
7342 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7343 (sinh_towardzero_test_data): New variable.
7344 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7345 (sinh_downward_test_data): New variable.
7346 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7347 (sinh_upward_test_data): New variable.
7348 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7349 (sqrt_test_data): New variable.
7350 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7351 (tan_test_data): New variable.
7352 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7353 (tan_tonearest_test_data): New variable.
7354 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7355 (tan_towardzero_test_data): New variable.
7356 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7357 (tan_downward_test_data): New variable.
7358 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7359 (tan_upward_test_data): New variable.
7360 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7361 (tanh_test_data): New variable.
7362 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7363 (tgamma_test_data): New variable.
7364 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7365 (trunc_test_data): New variable.
7366 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7367 (y0_test_data): New variable.
7368 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7369 (y1_test_data): New variable.
7370 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7371 (significand_test_data): New variable.
7372 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7373
7187d844
CG
73742013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7375
7376 [BZ #12387]
7377 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7378
f63fae73
PT
73792013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7380
7381 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7382
8a67a4b3
AJ
73832013-05-10 Andreas Jaeger <aj@suse.de>
7384
7385 [BZ #15448]
7386 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7387 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7388
51df539d
JM
73892013-05-10 Joseph Myers <joseph@codesourcery.com>
7390
7391 * math/gen-libm-test.pl (adjust_arg): New function.
7392 (special_functions): Handle generating output in both functions
7393 and arrays.
7394 (parse_args): Likewise.
7395 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7396 $in_func argument to parse_args.
7397 * math/libm-test.inc (struct test_f_f_data): New type.
7398 (IF_ROUND_INIT_): New macro.
7399 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7400 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7401 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7402 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7403 (ROUND_RESTORE_): Likewise.
7404 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7405 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7406 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7407 (ROUND_RESTORE_FE_UPWARD): Likewise.
7408 (RUN_TEST_LOOP_f_f): New macro.
7409 (acos_test_data): New variable.
7410 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7411 (acos_tonearest_test_data): New variable.
7412 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7413
5c637fe5
SP
74142013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7415
7416 * benchtests/bench-skeleton.c (startup): Fix coding style.
7417
ab2b9461
JM
74182013-05-10 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #6809]
7421 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7422 negative infinity argument.
7423 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7424 negative infinity argument.
7425 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7426 negative infinity argument.
7427 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7428 domain errors.
7429
4c0fe6fe
FW
74302013-05-10 Florian Weimer <fweimer@redhat.com>
7431
7432 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7433 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7434 * iconv/iconv_prog.c (main): Likewise.
7435 * locale/programs/charmap-dir.c (charmap_readdir)
7436 (fopen_uncompressed): Likewise.
7437 * locale/programs/locfile.c (siblings_uncached)
7438 (write_locale_data): Use lstat64 instead of lstat.
7439 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7440 stat.
7441
a3375d29
AJ
74422013-05-10 Andreas Jaeger <aj@suse.de>
7443
7444 [BZ #15395]
7445 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7446 localization.
7447 Include <locale.h>.
7448
36129722
CD
74492013-05-09 Carlos O'Donell <carlos@redhat.com>
7450
7451 * elf/dl-close.c (_dl_close_worker): Add comments.
7452
faa7f811
JM
74532013-05-09 Joseph Myers <joseph@codesourcery.com>
7454
ed41ffef
JM
7455 [BZ #15359]
7456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7457 high part of pi/2.
7458 (__ieee754_rem_pio2l): Update comments.
7459
d0213cd0
JM
7460 [BZ #15429]
7461 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7462 high part of pi/2.
7463 (__ieee754_rem_pio2l): Update comments.
7464
0d3e777a
JM
7465 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7466 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7467
24f56066
JM
7468 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7469 M_PI_4l.
7470
faa7f811
JM
7471 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7472 (M_PI_34_LOG10El): Likewise.
7473 (M_PI2_LOG10El): Likewise.
7474 (M_PI4_LOG10El): Likewise.
7475 (M_PI_LOG10El): Likewise.
7476
e9a5e0fd
AZ
74772013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7478
7479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7480
d8cd06db
JM
74812013-05-08 Joseph Myers <joseph@codesourcery.com>
7482
a0d9f9d7
JM
7483 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7484 (MINUS_ZERO_INIT): Likewise.
7485 (PLUS_INFTY_INIT): Likewise.
7486 (MINUS_INFTY_INIT): Likewise.
7487 (QNAN_VALUE_INIT): Likewise.
7488 (MAX_VALUE_INIT): Likewise.
7489 (MIN_VALUE_INIT): Likewise.
7490 (MIN_SUBNORM_VALUE_INIT): Likewise.
7491 (plus_zero): Initialize with PLUS_ZERO_INIT.
7492 (minus_zero): Initialize with MINUS_ZERO_INIT.
7493 (plus_infty): Initialize with PLUS_INFTY_INIT.
7494 (minus_infty): Initialize with MINUS_INFTY_INIT.
7495 (qnan_value): Initialize with QNAN_VALUE_INIT.
7496 (max_value): Initialize with MAX_VALUE_INIT.
7497 (min_value): Initialize with MIN_VALUE_INIT.
7498 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7499
ae08db3b
JM
7500 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7501 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7502 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7503 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7504
f44bf14a
JM
7505 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7506 (RUN_TEST_2_f): Likewise.
7507 (RUN_TEST_ff_f): Likewise.
7508 (RUN_TEST_fi_f): Likewise.
7509 (RUN_TEST_fl_f): Likewise.
7510 (RUN_TEST_fff_f): Likewise.
7511 (RUN_TEST_c_f): Likewise.
7512 (RUN_TEST_f_f1): Likewise.
7513 (RUN_TEST_fF_f1): Likewise.
7514 (RUN_TEST_fI_f1): Likewise.
7515 (RUN_TEST_ffI_f1): Likewise.
7516 (RUN_TEST_c_c): Likewise.
7517 (RUN_TEST_cc_c): Likewise.
7518 (RUN_TEST_f_i): Likewise.
7519 (RUN_TEST_f_i_tg): Likewise.
7520 (RUN_TEST_ff_i_tg): Likewise.
7521 (RUN_TEST_f_b): Likewise.
7522 (RUN_TEST_f_b_tg): Likewise.
7523 (RUN_TEST_f_l): Likewise.
7524 (RUN_TEST_f_L): Likewise.
7525 (RUN_TEST_sincos): Likewise.
7526 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7527 whether to show exceptions. Do not include ");\n" in return
7528 value.
7529 (special_functions): Output call to RUN_TEST_sincos instead of
7530 check_float calls. Update calls to new_test.
7531 (parse_args): Output call to single RUN_TEST_* macro instead of
7532 check_* calls and other assignments. Update calls to new_test.
7533
d8cd06db
JM
7534 [BZ #2546]
7535 [BZ #2560]
7536 [BZ #5159]
7537 [BZ #15426]
7538 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7539 input to result for tgamma overflow.
7540 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7541 (gamma_coeff): New variable.
7542 (NCOEFF): New macro.
7543 (gamma_positive): New function.
7544 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7545 underflow here. Use gamma_positive instead of exp (lgamma) for
7546 other arguments.
7547 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7548 (gamma_coeff): New variable.
7549 (NCOEFF): New macro.
7550 (gammaf_positive): New function.
7551 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7552 underflow here. Use gamma_positive instead of exp (lgamma) for
7553 other arguments.
7554 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7555 (gamma_coeff): New variable.
7556 (NCOEFF): New macro.
7557 (gammal_positive): New function.
7558 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7559 underflow here. Use gamma_positive instead of exp (lgamma) for
7560 other arguments.
7561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7562 (gamma_coeff): New variable.
7563 (NCOEFF): New macro.
7564 (gammal_positive): New function.
7565 (__ieee754_gammal_r): Handle positive infinity, overflow and
7566 underflow here. Handle NaN the same as positive infinity. Remove
7567 check x < 0xffffffff for negative integers. Use gamma_positive
7568 instead of exp (lgamma) for other arguments.
7569 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7570 (gamma_coeff): New variable.
7571 (NCOEFF): New macro.
7572 (gammal_positive): New function.
7573 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7574 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7579 * sysdeps/generic/math_private.h (__gamma_productf): New
7580 prototype.
7581 (__gamma_product): Likewise.
7582 (__gamma_productl): Likewise.
7583 * math/Makefile (libm-calls): Add gamma_product.
7584 * math/libm-test.inc (tgamma_test): Add more tests.
7585 * sysdeps/i386/fpu/libm-test-ulps: Update.
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587
bb7cf681
OB
75882013-05-08 Ondřej Bílka <neleai@seznam.cz>
7589
7590 * benchtests/bench-skeleton.c (main): Preheat CPU.
7591
ba853947
AJ
75922013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7593
7594 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7595
8347c74c
RM
75962013-05-07 Roland McGrath <roland@hack.frob.com>
7597
7598 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7599 and _dl_skip_args_internal.
7600
e8dd4791
CD
76012013-05-07 Carlos O'Donell <carlos@redhat.com>
7602
7603 * manual/message.texi (Message Translation): Talk about users.
7604 Message to key mapping impacts design.
7605
c7405830
RM
76062013-05-06 Roland McGrath <roland@hack.frob.com>
7607
a9173057
RM
7608 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7609
976e2f03
RM
7610 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7611
9723ffc5
RM
7612 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7613 * sysdeps/wordsize-64/glob64.c: ... here.
7614
962e6658
RM
7615 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7616 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7617 New macros.
7618
ee586a6d
RM
7619 * debug/getlogin_r_chk.c: Moved to ...
7620 * login/getlogin_r_chk.c: ... here.
7621 * debug/Makefile (routines): Move getlogin_r_chk to ...
7622 * login/Makefile (routines): ... here.
7623 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7624 * login/Versions (libc: GLIBC_2.4): ... here.
7625
355f9165
RM
7626 * io/poll.c (__poll): Renamed from poll.
7627 Add libc_hidden_def.
7628 (poll): Define as weak alias.
7629
bd9ffde6
RM
7630 * debug/ptsname_r_chk.c: Moved to ...
7631 * login/ptsname_r_chk.c: ... here.
7632 * debug/Makefile (routines): Move ptsname_r_chk to ...
7633 * login/Makefile (routines): ... here.
7634 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7635 * login/Versions (libc: GLIBC_2.4): ... here.
7636
8fb16a04
RM
7637 * posix/getlogin.c: Moved to ...
7638 * login/getlogin.c: ... here.
7639 * posix/getlogin_r.c: Moved to ...
7640 * login/getlogin_r.c: ... here.
7641 * posix/getlogin_r.c: Moved to ...
7642 * login/getlogin_r.c: ... here.
7643 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7644 * login/Makefile (routines): ... here.
7645 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7646 * login/Versions (libc: GLIBC_2.0): ... here.
7647
b99b892f
RM
7648 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7649 (setrlimit): Define as weak alias.
7650
c7405830
RM
7651 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7652 Call __ names for open, ftruncate, and close.
7653 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7654 (truncate): Define as weak alias.
7655
5bf96de5
JM
76562013-05-06 Joseph Myers <joseph@codesourcery.com>
7657
9ea3513c
JM
7658 * math/gen-libm-test.pl (parse_args): Initialize x before each
7659 test of frexp, modf and remquo.
7660
5bf96de5
JM
7661 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7662 test signgam value.
7663
16e616a7
AZ
76642013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665
7666 [BZ #15418]
7667 [BZ #15419]
7668 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7669 internal tests.
7670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7671
d5e82754
RM
76722013-05-06 Roland McGrath <roland@hack.frob.com>
7673
7674 * elf/dl-writev.h: New file.
7675 * elf/dl-misc.c: Include it.
7676 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7677 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7678
a7548d41
JM
76792013-05-04 Joseph Myers <joseph@codesourcery.com>
7680
b7dab1e4
JM
7681 * math/libm-test.inc (noXFails): Remove variable.
7682 (noXPasses): Likewise.
7683 (BUILD_COMPLEX_INT): Remove macro.
7684 (print_screen): Remove xfail argument.
7685 (print_screen_max_error): Likewise.
7686 (update_stats): Likewise.
7687 (print_max_error): Likewise. Update calls to other affected
7688 functions.
7689 (print_complex_max_error): Likewise.
7690 (test_single_exception): Update calls to print_screen.
7691 (test_single_errno): Likewise.
7692 (check_float_internal): Remove xfail argument. Update calls to
7693 other affected functions.
7694 (check_float): Likewise.
7695 (check_complex): Likewise.
7696 (check_int): Likewise.
7697 (check_long): Likewise.
7698 (check_bool): Likewise.
7699 (check_longlong): Likewise.
7700 (main): Don't print noXFails and noXPasses.
7701 * math/gen-libm-test.pl (top level): Don't mention expected
7702 failure handling in comment.
7703 (new_test): Don't handle expected failures.
7704 (parse_args): Don't mention expected failure handling in comment.
7705 (generate_testfile): Don't handle expected failures.
7706 (parse_ulps): Likewise.
7707 (print_ulps_file): Likewise.
7708 (get_failure): Remove function.
7709 (output_test): Don't handle expected failures.
7710 * make/README.libm-test: Don't mention expected failure handling.
7711
a7548d41
JM
7712 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7713 (minus_zero): Likewise.
7714 (plus_infty): Likewise.
7715 (minus_infty): Likewise.
7716 (qnan_value): Likewise.
7717 (max_value): Likewise.
7718 (min_value): Likewise.
7719 (min_subnorm_value): Likewise.
7720 (initialize): Do not initialize those variables dynamically.
7721
60bfd54c
RM
77222013-05-03 Roland McGrath <roland@hack.frob.com>
7723
cc0e6ed8
RM
7724 * io/open.c (__open_2): Moved to ...
7725 * io/open_2.c: ... this new file.
7726 * io/open64.c (__open64_2): Moved to ...
7727 * io/open64_2.c: ... this new file.
7728 * io/openat.c (__openat_2): Moved to ...
7729 * io/openat_2.c: ... this new file.
7730 * io/openat64.c (__openat64_2): Moved to ...
7731 * io/openat64_2.c: ... this new file.
7732 * io/Makefile (routines): Add them.
7733 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7734 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7735 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7736 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7737 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7738 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7739 (__openat64): Add hidden_ver.
7740 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7741 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7742
60bfd54c
RM
7743 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7744 Separately conditionalize setting of GLRO(dl_sysinfo) so
7745 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7746 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7747
83e7640f
AZ
77482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7749
7750 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7751 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7752 definition.
7753 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7754 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7755 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7756 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7757 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7758
d5dc2af3
JM
77592013-05-03 Joseph Myers <joseph@codesourcery.com>
7760
c31a5b1e
JM
7761 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7762 test signgam value.
7763
d5dc2af3
JM
7764 * math/libm-test.inc (hypot_test): Do not use
7765 IGNORE_ZERO_INF_SIGN.
7766
164fd39d
AJ
77672013-05-03 Andreas Jaeger <aj@suse.de>
7768
7769 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7770 Linux 3.9.
7771 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7772 (PF_MAX): Adjust for VSOCK change.
7773
8237f48c
AZ
77742013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7775
7776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7777
9df02941
CD
77782013-05-02 Carlos O'Donell <carlos@redhat.com>
7779
7780 [BZ #15264]
7781 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7782 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7783 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7784
d422395e
DM
77852013-05-02 David S. Miller <davem@davemloft.net>
7786
7787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7788
a07c5731
OB
77892013-05-01 Ondřej Bílka <neleai@seznam.cz>
7790
7791 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7792
1324e37f
RM
77932013-05-01 Roland McGrath <roland@hack.frob.com>
7794
7795 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7796
0695940b
RS
77972013-05-01 Richard Smith <richard@metafoo.co.uk>
7798
bb5f27ad 7799 [BZ #14952]
0695940b
RS
7800 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7801 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7802 Use __attribute__ ((__gnu_inline__)).
7803 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7804 Don't use __attribute__ ((__gnu_inline__)).
7805
10de07f5
JM
78062013-05-01 Joseph Myers <joseph@codesourcery.com>
7807
7808 [BZ #15423]
7809 * math/s_catan.c (__catan): Handle small real or imaginary part of
7810 input specially to avoid spurious underflow.
7811 * math/s_catanf.c (__catanf): Likewise.
7812 * math/s_catanh.c (__catanh): Likewise.
7813 * math/s_catanhf.c (__catanhf): Likewise.
7814 * math/s_catanhl.c (__catanhl): Likewise.
7815 * math/s_catanl.c (__catanl): Likewise.
7816 * math/libm-test.inc (catan_test): Add more tests.
7817 (catanh_test): Likewise.
7818 * sysdeps/i386/fpu/libm-test-ulps: Update.
7819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7820
cb4d5414
AZ
78212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7822
7823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7824
caf84319
JM
78252013-04-30 Joseph Myers <joseph@codesourcery.com>
7826
7827 [BZ #15416]
7828 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7829 accurately for denominator in atan2.
7830 * math/s_catanf.c (__catanf): Likewise.
7831 * math/s_catanh.c (__catanh): Likewise.
7832 * math/s_catanhf.c (__catanhf): Likewise.
7833 * math/s_catanhl.c (__catanhl): Likewise.
7834 * math/s_catanl.c (__catanl): Likewise.
7835 * math/libm-test.inc (catan_test): Add more tests.
7836 (catanh_test): Likewise.
7837 * sysdeps/i386/fpu/libm-test-ulps: Update.
7838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7839
d569c6ee
SP
78402013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7841
6dbe713d
SP
7842 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7843
f0ee064b
SP
7844 * benchtests/Makefile (bench): Remove slow benchmarks.
7845 * benchtests/atan-inputs: Add slow benchmark inputs.
7846 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7847 (BENCH_FUNC): Accept variant offset.
7848 (VARIANT): Define.
7849 * benchtests/bench-skeleton.c (main): Run benchmark for each
7850 variant.
7851 * benchtests/cos-inputs: Add slow benchmark inputs.
7852 * benchtests/exp-inputs: Likewise.
7853 * benchtests/pow-inputs: Likewise.
7854 * benchtests/sin-inputs: Likewise.
7855 * benchtests/slowatan-inputs: Remove.
7856 * benchtests/slowatan.c: Remove.
7857 * benchtests/slowcos-inputs: Remove.
7858 * benchtests/slowcos.c: Remove.
7859 * benchtests/slowexp-inputs: Remove.
7860 * benchtests/slowexp.c: Remove.
7861 * benchtests/slowpow-inputs: Remove.
7862 * benchtests/slowpow.c: Remove.
7863 * benchtests/slowsin-inputs: Remove.
7864 * benchtests/slowsin.c: Remove.
7865 * benchtests/slowtan-inputs: Remove.
7866 * benchtests/slowtan.c: Remove.
7867 * benchtests/tan-inputs: Add slow benchmark inputs.
7868 * scripts/bench.pl: Parse comments and directives.
7869
d569c6ee
SP
7870 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7871 in CPPFLAGS.
7872 ($(objpfx)bench-%.c): Remove *-ITER.
7873 * benchtests/bench-modf.c: Remove definition of ITER.
7874 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7875 (main): Loop for DURATION seconds instead of fixed number of
7876 iterations.
7877 * scripts/bench.pl: Don't expect iterations in parameters.
7878
a6a242fe
RM
78792013-04-29 Roland McGrath <roland@hack.frob.com>
7880
7881 * io/fchdir.c (__fchdir): Renamed from fchdir.
7882 (fchdir): Define as weak alias.
7883
f2da7793
JM
78842013-04-29 Joseph Myers <joseph@codesourcery.com>
7885
7886 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7887 (ERRNO_EDOM): Likewise.
7888 (ERRNO_ERANGE): Likewise.
7889 (noErrnoTests): New variable.
7890 (init_max_error): Set errno to 0.
7891 (test_single_errno): New function.
7892 (test_errno): Likewise.
7893 (check_float_internal): Call test_errno. Set errno to 0.
7894 (check_complex): Refer to errno tests in comment.
7895 (check_int): Call test_errno. Set errno to 0.
7896 (check_long): Likewise.
7897 (check_bool): Likewise.
7898 (check_longlong): Likewise.
7899 (cos_test): Use ERRNO_* flags for errno tests instead of
7900 check_int.
7901 (expm1_test): Likewise.
7902 (fmod_test): Likewise.
7903 (ilogb_test): Likewise.
7904 (lgamma_test): Likewise.
7905 (pow_test): Likewise.
7906 (remainder_test): Likewise.
7907 (sin_test): Likewise.
7908 (tan_test): Likewise.
7909 (yn_test): Likewise.
7910 (initialize): Set errno to 0.
7911 (main): Print number of errno tests.
7912 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7913
b1a36ceb
AJ
79142013-04-29 Andreas Jaeger <aj@suse.de>
7915
c3ed8088
AJ
7916 [BZ #15084]
7917 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7918 and RES_USEVC.
7919
f1a24198
AJ
7920 [BZ #15085]
7921 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7922 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7923 unimplemented.
7924
9ce3b2cb
AJ
7925 [BZ #15380]
7926 * stdlib/random.c (__initstate): Return NULL if
7927 __initstate fails.
7928
f1a24198 7929 [BZ #15086]
b1a36ceb
AJ
7930 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7931 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7932 RES_SNGLKUPREOP.
7933
7e7b6f36
AZ
79342013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935
7936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7937
4d14f449
JM
79382013-04-29 Joseph Myers <joseph@codesourcery.com>
7939
7940 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7941 of individual tests.
7942 (casin_test): Likewise.
7943 (casinh_test): Likewise.
7944
5b4217d7
JM
79452013-04-27 Joseph Myers <joseph@codesourcery.com>
7946
7947 [BZ #15409]
7948 * math/s_catan.c (__catan): Handle arguments with large real or
7949 imaginary part separately without squaring.
7950 * math/s_catanf.c (__catanf): Likewise.
7951 * math/s_catanh.c (__catanh): Likewise.
7952 * math/s_catanhf.c (__catanhf): Likewise.
7953 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7954 and redefine.
7955 (__catanhl): Handle arguments with large real or imaginary part
7956 separately without squaring.
7957 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7958 and redefine.
7959 (__catanl): Handle arguments with large real or imaginary part
7960 separately without squaring.
7961 * math/libm-test.inc (catan_test): Add more tests.
7962 (catanh_test): Likewise.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965
4220c3ef
AJ
79662013-04-27 Andreas Jaeger <aj@suse.de>
7967
7968 [BZ #15007]
7969 * stdlib/stdlib.h: Update guards for qecvt.
7970 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7971 <stdlib.h>.
7972
4721b2d1
AM
79732013-04-27 Allan McRae <allan@archlinux.org>
7974
7975 * sysdeps/i386/fpu/libm-test-ulps: Update.
7976
f0302940
JM
79772013-04-26 Joseph Myers <joseph@codesourcery.com>
7978
9457fd95
JM
7979 [BZ #15406]
7980 * math/s_catan.c: Include <float.h>.
7981 (__catan): Ensure underflow exception occurs for underflowed
7982 result.
7983 * math/s_catanf.c: Include <float.h>.
7984 (__catanf): Ensure underflow exception occurs for underflowed
7985 result.
7986 * math/s_catanh.c: Include <float.h>.
7987 (__catanh): Ensure underflow exception occurs for underflowed
7988 result.
7989 * math/s_catanhf.c: Include <float.h>.
7990 (__catanhf): Ensure underflow exception occurs for underflowed
7991 result.
7992 * math/s_catanhl.c: Include <float.h>.
7993 (__catanhl): Ensure underflow exception occurs for underflowed
7994 result.
7995 * math/s_catanl.c: Include <float.h>.
7996 (__catanl): Ensure underflow exception occurs for underflowed
7997 result.
7998 * math/libm-test.inc (catan_test): Add more tests.
7999 (catanh_test): Likewise.
8000
f0302940
JM
8001 [BZ #15405]
8002 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8003 underflowed result.
8004 * math/s_ccoshf.c (__ccoshf): Likewise.
8005 * math/s_ccoshl.c (__ccoshl): Likewise.
8006 * math/s_csin.c (__csin): Likewise.
8007 * math/s_csinf.c (__csinf): Likewise.
8008 * math/s_csinh.c (__csinh): Likewise.
8009 * math/s_csinhf.c (__csinhf): Likewise.
8010 * math/s_csinhl.c (__csinhl): Likewise.
8011 * math/s_csinl.c (__csinl): Likewise.
8012 * math/libm-test.inc (ccos_test): Add more tests.
8013 (ccosh_test): Likewise.
8014 (csin_test): Likewise.
8015 (csinh_test): Likewise.
8016
aa630f59
AZ
80172013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8018
8019 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8020 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8021 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8022 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8023 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8024 powerpc/power5+/fpu folders.
8025 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8026
8027
1b835983
MT
80282013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8029
8030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8031
73709b26
JM
80322013-04-25 Joseph Myers <joseph@codesourcery.com>
8033
8034 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8035 additions to variable.
8036 [$(config-machine) = x86_64] (modules-names): Likewise.
8037 ($(objpfx)tst-audit3): Remove dependency.
8038 ($(objpfx)tst-audit3.out): Likewise.
8039 ($(objpfx)tst-audit4): Likewise.
8040 ($(objpfx)tst-audit4.out): Likewise.
8041 ($(objpfx)tst-audit5): Likewise.
8042 ($(objpfx)tst-audit5.out): Likewise.
8043 ($(objpfx)tst-audit6): Likewise.
8044 ($(objpfx)tst-audit6.out): Likewise.
8045 ($(objpfx)tst-audit7): Likewise.
8046 ($(objpfx)tst-audit7.out): Likewise.
8047 (tst-audit3-ENV): Remove variable.
8048 (tst-audit4-ENV): Likewise.
8049 (tst-audit5-ENV): Likewise.
8050 (tst-audit6-ENV): Likewise.
8051 (tst-audit7-ENV): Likewise.
8052 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8053 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8054 addition to variable.
8055 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8056 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8057 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8060 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8061 tst-audit3, tst-audit4 and tst-audit5.
8062 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8063 tst-audit6 and tst-audit7.
8064 [$(subdir) = elf] (modules-names): Add audit modules for those
8065 tests.
8066 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8067 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8068 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8069 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8070 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8071 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8072 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8073 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8074 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8075 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8076 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8077 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8078 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8079 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8080 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8081 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8082 Likewise.
8083 [$(subdir) = elf && $(config-cflags-avx) = yes]
8084 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8085 [$(subdir) = elf && $(config-cflags-avx) = yes]
8086 (CFLAGS-tst-auditmod4a.c): Likewise.
8087 [$(subdir) = elf && $(config-cflags-avx) = yes]
8088 (CFLAGS-tst-auditmod4b.c): Likewise.
8089 [$(subdir) = elf && $(config-cflags-avx) = yes]
8090 (CFLAGS-tst-auditmod6b.c): Likewise.
8091 [$(subdir) = elf && $(config-cflags-avx) = yes]
8092 (CFLAGS-tst-auditmod6c.c): Likewise.
8093 [$(subdir) = elf && $(config-cflags-avx) = yes]
8094 (CFLAGS-tst-auditmod7b.c): Likewise.
8095 * elf/tst-audit3.c: Move to ...
8096 * sysdeps/x86_64/tst-audit3.c: ... here.
8097 * elf/tst-audit4.c: Move to ...
8098 * sysdeps/x86_64/tst-audit4.c: ... here.
8099 * elf/tst-audit5.c: Move to ...
8100 * sysdeps/x86_64/tst-audit5.c: ... here.
8101 * elf/tst-audit6.c: Move to ...
8102 * sysdeps/x86_64/tst-audit6.c: ... here.
8103 * elf/tst-audit7.c: Move to ...
8104 * sysdeps/x86_64/tst-audit7.c: ... here.
8105 * elf/tst-auditmod3a.c: Move to ...
8106 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8107 * elf/tst-auditmod3b.c: Move to ...
8108 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8109 * elf/tst-auditmod4a.c: Move to ...
8110 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8111 * elf/tst-auditmod4b.c: Move to ...
8112 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8113 * elf/tst-auditmod5a.c: Move to ...
8114 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8115 * elf/tst-auditmod5b.c: Move to ...
8116 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8117 * elf/tst-auditmod6a.c: Move to ...
8118 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8119 * elf/tst-auditmod6b.c: Move to ...
8120 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8121 * elf/tst-auditmod6c.c: Move to ...
8122 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8123 * elf/tst-auditmod7a.c: Move to ...
8124 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8125 * elf/tst-auditmod7b.c: Move to ...
8126 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8127
1ef74943
PP
81282013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8129
8130 [BZ #15366]
8131 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8132 define unconditionally.
8133 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8134 define unconditionally.
8135 (INT8_C, INT16_C, etc.): Likewise.
8136
93fd48c5
MR
81372013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8138
ae9552cf
MR
8139 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8140 __ehdr_start with hidden visibility.
8141
93fd48c5
MR
8142 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8143
418601aa
CD
81442013-04-24 Carlos O'Donell <carlos@redhat.com>
8145
8146 * math/libm-test.inc (cos_test): Use accurate hex constants.
8147 (sincost_test): Likewise.
8148
2f38fbfe
JM
81492013-04-24 Joseph Myers <joseph@codesourcery.com>
8150
5e221800
JM
8151 * math/libm-test.inc (catan_test): Add more tests.
8152 (catanh_test): Likewise.
8153
77f143fd
JM
8154 * math/s_catanf.c (__catanf): Use suffixed floating-point
8155 constants.
8156 * math/s_catanhf.c (__catanhf): Likewise.
8157 * math/s_catanhl.c (__catanhl): Likewise.
8158 * math/s_catanl.c (__catanl): Likewise.
8159
2f38fbfe
JM
8160 [BZ #15394]
8161 * math/s_catan.c (__catan): Calculate imaginary part of result
8162 with log1p not log unless computing log of number close to 0.
8163 * math/s_catanf.c (__catanf): Likewise.
8164 * math/s_catanl.c (__catanl): Likewise.
8165 * math/s_catanh.c (__catanh): Calculate real part of result with
8166 log1p not log unless computing log of number close to 0.
8167 * math/s_catanhf.c (__catanhf): Likewise.
8168 * math/s_catanhl.c (__catanhl): Likewise.
8169 * math/libm-test.inc (catan_test): Add more tests.
8170 (catanh_test): Likewise.
8171 * sysdeps/i386/fpu/libm-test-ulps: Update.
8172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8173
45d69176
SP
81742013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
8176 * benchtests/Makefile: Mention files in which fast and slow
8177 paths of math functions are implemented.
8178
87f51853
RM
81792013-04-23 Roland McGrath <roland@hack.frob.com>
8180
8181 * sysdeps/posix/timespec_get.c: New file.
8182
3c026539
AZ
81832013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8184
8185 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8186 POWER.
8187 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8188 for POWER.
8189 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8190 powerpc/power5/fpu folders.
8191 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8192 * benchtests/Makefile: Add modf testcase.
8193 * benchtests/bench-modf.c: New file: Benchmark test for mo
8194
ff491d14
SP
81952013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 [BZ #14888]
8198 * time/Makefile (tests): Add tst-strptime-whitespace.
8199 * time/strptime_l.c (get_number): Use ISSPACE.
8200 (__strptime_internal): Likewise.
8201 * time/tst-strptime-whitespace.c: New test case.
8202
7ed3f4e8
AS
82032013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8204
8205 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8206 member.
8207 (_nss_files_init): Set it here.
8208
5c95f7b6
HC
82092013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8210
8211 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8212 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8213 unsigned.
8214
d34c9158
JBG
82152013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8216
8217 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8218
2169712d
SP
82192013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8220
8221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8222 size just once.
8223
29c5de99
DM
82242013-04-21 David S. Miller <davem@davemloft.net>
8225
8226 * po/ru.po: Update Russion translation from translation project.
8227
ccdad15d
AC
82282013-04-17 Adam Conrad <adconrad@0c3.net>
8229
8230 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8231 and setfsgid.
8232
0f122b8d
CD
82332013-04-17 Carlos O'Donell <carlos@redhat.com>
8234
5c5b07da 8235 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8236 * configure: Regenerate.
5c5b07da 8237 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8238 Add example to error message.
8239 * sysdeps/i386/configure: Regenerate.
8240
037714dd
SP
82412013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
8243 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8244 slowtan.
8245 * benchtests/cos-inputs: New file.
8246 * benchtests/slowcos-inputs: New file.
8247 * benchtests/slowcos.c: New file.
8248 * benchtests/slowtan-inputs: New file.
8249 * benchtests/slowtan.c: New file.
8250 * benchtests/tan-inputs: New file.
8251
e913141d
RM
82522013-04-16 Roland McGrath <roland@hack.frob.com>
8253
8254 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8255 considered kosher.
8256
a2964074
SP
82572013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
4856bcd2
SP
8259 * benchtests/Makefile: Include cppflags-iterator.mk to add
8260 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8261
a2964074
SP
8262 * Makefile.in (bench-clean): New target.
8263 * benchtests/Makefile (bench-clean): Likewise.
8264
9fbf9aca
DH
82652013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8266
8267 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8268
207d1e2a
TS
82692013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8270
8271 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8272
306dfba9
AS
82732013-04-15 Andreas Schwab <schwab@suse.de>
8274
8275 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8277 * nscd/pwdcache.c (cache_addpw): Likewise.
8278 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8279 more than recsize.
8280
206a6699
SP
82812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
8283 * benchtests/Makefile (bench): Write all output to
8284 bench-out.tmp together.
8285
0582f6b3
AS
82862013-04-15 Andreas Schwab <schwab@suse.de>
8287
8288 * nscd/nscd.c (main): Don't fork again after closing files.
8289
acb4325f
SP
82902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8291
5cb26d0a
SP
8292 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8293
acb4325f
SP
8294 * benchtests/Rules (bench-deps): Collect dependencies into a
8295 single variable. Add Makefile to dependencies.
8296 ($(objpfx)bench-%.c): Depend on bench-deps.
8297
47792506
RM
82982013-04-12 Roland McGrath <roland@hack.frob.com>
8299 Xavier Roche <roche+kml2@exalead.com>
8300
8301 [BZ #15361]
8302 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8303 just that it's a file descriptor.
8304 * manual/llio.texi (Synchronizing AIO Operations): Update description
8305 for EBADF error from aio_fsync.
8306
8fc1bee5
SP
83072013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8308
8309 * Rules (bench): Move target definition...
8310 * benchtests/Makefile: ... here.
8311
aba5e333
CD
83122013-04-11 Carlos O'Donell <carlos@redhat.com>
8313
8314 * math/libm-test.inc (cos_test): Fix PI/2 test.
8315 (sincos_test): Likewise.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8317 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8318
273cdee8
AS
83192013-04-11 Andreas Schwab <schwab@suse.de>
8320
6ecec3b6
AS
8321 [BZ #13988]
8322 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8323 accept exponent character only when digits were seen.
8324 * stdio-common/Makefile (tests): Add bug26.
8325 * stdio-common/bug26.c: New file.
8326
273cdee8
AS
8327 [BZ #14293]
8328 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8329 non-freeable.
8330
8da491f5
SP
83312013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8332
01dc6df9
SP
8333 * Makeconfig (rtld-prefix): Define built linker prefix.
8334 * Rules (run-bench): Use it.
8335 * math/Makefile (run-regen-ulps): Likewise.
8336
8da491f5
SP
8337 * Rules (bench): Remove eval.
8338
abe7f530
SP
83392013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 Roland McGrath <roland@hack.frob.com>
8341 Ondrej Bilka <neleai@seznam.cz>
8342
8343 [BZ #15346]
8344 * time/getdate.c: Include ctype.h and alloca.h.
8345 (__getdate_r): Trim leading and trailing spaces of input.
8346 * time/tst-getdate.c (tests): Add tests with leading and
8347 trailing spaces.
8348
61c23e62
RM
83492013-04-08 Roland McGrath <roland@hack.frob.com>
8350
8351 [BZ #14280]
8352 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8353 when computing value.
8354
7208a313
CD
83552013-04-06 Carlos O'Donell <carlos@redhat.com>
8356
085b2d41
CD
8357 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8358 Use testrun.sh to run libm tests.
8359
7208a313
CD
8360 [BZ #15309]
8361 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8362
872c0acd
MM
83632013-04-06 Marko Myllynen <myllynen@redhat.com>
8364
8365 [BZ #15264]
8366 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8367
26510bdd
CD
83682013-04-06 Carlos O'Donell <carlos@redhat.com>
8369
8370 * Makefile.in (regen-ulps): New target.
8371 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8372 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8373 [ifneq (no,$(PERL)] (regen-ulps): New target.
8374 [ifeq (no,$(PERL)] (regen-ulps): New target.
8375 * math/libm-test.inc (ulps_file_name): Define.
8376 (output_dir): New variable.
8377 (options): Add "output-dir" option.
8378 (parse_opt): Handle 'o' case.
8379 (main): If output_dir is non-NULL use it as a prefix
8380 otherwise use "".
8381 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8382
a01f19c8
CD
83832013-04-06 Carlos O'Donell <carlos@redhat.com>
8384
8385 [BZ #10060, #10062]
8386 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8387 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8388 fail configure if __sync_val_compare_and_swap is not inlined.
8389 * sysdeps/i386/configure: Regenerate.
8390 * configure.in: Build for i686 when configured for i386.
8391 * configure: Regenerate.
8392 * README: Remove i386 reference.
8393
b7a329a5
CD
83942013-04-06 Carlos O'Donell <carlos@redhat.com>
8395
8396 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8398
bf0f50df
TS
83992013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8400
ee091edf
TS
8401 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8402 (lmsnanval): New variables.
8403 (F): Add conversion tests.
8404 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8405 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8406
a8b792d6
TS
8407 * stdio-common/tstdiomisc.c (F): Properly collect individual
8408 tests' results.
8409
a1cbf437
TS
8410 [BZ #14686, #15336]
8411 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8412 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8413 Instead, use input NaN values or generate a qNaN by arithmetic
8414 operation. Also fix bugs to comply with the standard.
8415 * math/libm-test.inc (remainder_test): Add more tests.
8416
8b43a0c9
TS
8417 [BZ #15335, #15342]
8418 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8420 input NaN values or generate a qNaN by arithmetic operation.
8421
d91da4ce
TS
8422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8423 unreachable code.
8424
bf0f50df
TS
8425 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8426 definitions.
8427
05e166c8
JM
84282013-04-03 Joseph Myers <joseph@codesourcery.com>
8429
8430 [BZ #14478]
8431 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8432 underflowed result.
8433 * math/s_cexpf.c (__cexpf): Likewise.
8434 * math/s_cexpl.c (__cexpl): Likewise.
8435 * math/libm-test.inc (cexp_test): Add more tests.
8436
1cef1b19
AS
84372013-04-03 Andreas Schwab <schwab@suse.de>
8438
8439 [BZ #15330]
8440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8441 order arrays from heap if bigger than alloca cutoff.
8442
74d87055
TS
84432013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8444
8445 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8446 (SNAN_TESTS_double): Refer to GCC PR56831.
8447 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8448 GCC PR56828.
8449
d755bba4
SP
84502013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8451
90d5d5bb
SP
8452 * Rules (bench): Move bench.out after the run is complete.
8453
73e0cd5d
SP
8454 * Rules (bench): Echo currently running benchmark.
8455
64aabd4b
SP
8456 * benchtests/Makefile (bench): Add atan and slowatan.
8457 * benchtests/atan-inputs: New file.
8458 * benchtests/slowatan-inputs: New file.
8459 * benchtests/slowatan.c: New file.
8460
c871eccd
SP
8461 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8463 its value.
8464
d755bba4
SP
8465 [BZ #15305]
8466 * sysdeps/unix/sysv/linux/kernel-features.h
8467 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8468 __ASSUME_XFS_RESTRICTED_CHOWN.
8469 * sysdeps/unix/sysv/linux/pathconf.c
8470 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8471 Save and restore errno.
8472
52ce4860
JM
84732013-04-02 Joseph Myers <joseph@codesourcery.com>
8474
8475 [BZ #15327]
8476 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8477 arguments using __kernel_casinh.
8478 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8479 arguments using __kernel_casinhf.
8480 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8481 arguments using __kernel_casinhl.
8482 * math/libm-test.inc (cacosh_test): Add more tests.
8483 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8485
81f311c2
SP
84862013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8487
e7906a47
SP
8488 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8490
92e3664b
SP
8491 * bench/Makefile (bench): Add sin and slowsin.
8492 * benchtests/sin-inputs: New file.
8493 * benchtests/slowsin-inputs: New file.
8494 * benchtests/slowsin.c: New file.
8495
81f311c2
SP
8496 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8497 (bench): Add slowexp and slowpow.
8498 (exp-ITER): Increase iterations.
8499 (pow-ITER): Likewise.
8500 * benchtests/exp-inputs: Change input.
8501 * benchtests/pow-inputs: Likewise.
8502 * benchtests/slowexp-inputs: New file.
8503 * benchtests/slowexp.c: New file.
8504 * benchtests/slowpow-inputs: New file.
8505 * benchtests/slowpow.c: New file.
8506
ab0f1aa9
AZ
85072013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8508
8509 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8510 instructions.
8511 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8512 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8513 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8514 * benchtests/Makefile: Add rint benchtest.
8515 * benchtests/rint-inputs: Input for rint benchtest.
8516
57267616
TS
85172013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8518
8519 * Versions.def (libm): Add GLIBC_2.18.
8520 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8521 hidden libm prototypes.
8522 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8523 * math/Makefile (libm-calls): Add s_issignaling.
8524 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8525 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8526 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8527 declaration.
8528 * math/math.h [__USE_GNU] (issignaling): New macro.
8529 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8530 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8535 * manual/arith.texi (issignaling): New section.
8536 * manual/libm-err-tab.pl (@all_functions): Update comment.
8537 * math/gen-libm-test.pl (parse_args): Apply special handling for
8538 issignaling.
8539 * math/libm-test.inc (print_float, issignaling_test): New
8540 functions.
8541 (check_float_internal): Add issignaling checks.
8542 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8543 default definition.
8544 * sysdeps/powerpc/math-tests.h: New file.
8545 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8546 tests.
8547 * math/test-snan.c (TEST_FUNC): Likewise.
8548
6142896d
DM
85492013-03-30 David S. Miller <davem@davemloft.net>
8550
8551 * po/de.po: Update from translation team.
8552
ccc8cadf
JM
85532013-03-30 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #10357]
8556 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8557 imaginary part less than 1.0 and real part less than 0.5
8558 specially.
8559 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8560 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8561 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8562 (cacos_test): Add more tests.
8563 (casin_test): Likewise.
8564 (casinh_test): Likewise.
8565 * sysdeps/i386/fpu/libm-test-ulps: Update.
8566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8567
0f6a8d4b
SP
85682013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8569
0d1029de
SP
8570 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8571 ONE with its value.
8572
c2d94018
SP
8573 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8574 (__pow_mp): Replace ONE and MONE with their values.
8575 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8577 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8578 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8579 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8580 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8581
27ec37f1
SP
8582 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8583
a64d7e0e
SP
8584 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8585 (__pow_mp): Replace ZERO and MZERO with their values.
8586 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8588 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8590 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8591 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8592 (__sqr): Likewise.
8593
d26dd3eb
SP
8594 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8595
0f6a8d4b
SP
8596 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8597
e57b0c61
RM
85982013-03-28 Roland McGrath <roland@hack.frob.com>
8599
8600 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8601 Declare with __attribute__ ((weak)).
8602 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8603 Call __call_tls_dtors only if it's not NULL.
8604
356b3480
RM
86052013-03-28 Roland McGrath <roland@hack.frob.com>
8606
288f7d79
RM
8607 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8608 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8609 magic __ehdr_start linker symbol if it's defined.
8610 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8611 them up here if it was already done.
8612
dc0a0263
RM
8613 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8614 (_dl_aux_init): Use const in cast when setting it.
8615 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8616 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8617 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8618
3d3436ae
RM
8619 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8620 Declare them here.
8621 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8622 * csu/libc-tls.c: Nor here.
8623 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8624
356b3480
RM
8625 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8626 (__libc_message): Never call vsyslog.
8627
b0f1246a
AM
86282013-03-28 Alan Modra <amodra@gmail.com>
8629
8630 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8631 Define as empty.
8632 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8633 Likewise.
8634
fbbe2b9a
AZ
86352013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8636
8637 [BZ #15214]
8638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8639 underflow.
8640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8641
1728ab37
SP
86422013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
7a86be6e
SP
8644 [BZ #15304]
8645 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8646 Don't add gid passed as argument.
8647
1728ab37
SP
8648 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8649
3a7182a1
JM
86502013-03-27 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #15307]
8653 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8654 imaginary part between 1.0 and 1.5 and real part less than 0.5
8655 specially.
8656 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8657 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8658 * math/libm-test.inc (cacos_test): Add more tests.
8659 (casin_test): Likewise.
8660 (casinh_test): Likewise.
8661 * sysdeps/i386/fpu/libm-test-ulps: Update.
8662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663
6f2e90e7
SP
86642013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
5739f705
SP
8666 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8667 constants.
8668 (norm): Likewise.
8669 (denorm): Likewise.
8670 (__dbl_mp): Likewise.
8671 (add_magnitudes): Likewise.
8672 (sub_magnitudes): Likewise.
8673 (__add): Likewise.
8674 (__sub): Likewise.
8675 (__mul): Likewise.
8676 (__sqr): Likewise.
8677 (__inv): Likewise.
8678 (__dvd): Likewise.
8679
e375e83d
SP
8680 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8681 commented code.
8682 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8683 (__dubcos): Likewise.
8684 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8685 (__ieee754_acos): Likewise.
8686 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8687 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8688 (__exp1): Likewise.
8689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8691 (log1): Likewise.
8692 (my_log2): Likewise.
8693 (checkint): Likewise.
8694 * sysdeps/ieee754/dbl-64/e_remainder.c
8695 (__ieee754_remainder): Likewise.
8696 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8698 (bsloww): Likewise.
8699 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8700
6f2e90e7
SP
8701 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8703 MANTISSA_STORE_T to store computations on mantissa. Use
8704 macros for rounding and division.
8705 (denorm): Likewise.
8706 (__dbl_mp): Likewise.
8707 (add_magnitudes): Likewise.
8708 (sub_magnitudes): Likewise.
8709 (__mul): Likewise.
8710 (__sqr): Likewise.
8711 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8712 powers of two in terms of TWOPOW macro.
8713 (mp_no): Make type of mantissa as MANTISSA_T.
8714 [!RADIXI]: Define RADIXI.
8715 [!TWO52]: Define TWO52.
8716 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8717
fce14d4e
AZ
87182013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8719
8720 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8721 llroundl symbol when building for PPC32.
8722
9ad027fb
MW
87232013-03-24 Mark H Weaver <mhw@netris.org>
8724
8725 * manual/arith.texi (Normalization Functions): Fix prototypes for
8726 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8727
e42a38dd
AZ
87282013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729
8730 [BZ #13889]
8731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8732 high value to check if expl overflow.
8733 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8734 to check for underflow and overflow.
8735 * math/libm-test.inc: Add exp test.
8736
2e0fb521
DL
87372013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8738
8739 [BZ #11120]
8740 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8741 with NOT_IN_libc.
8742
b5784d95
AZ
87432013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744
8745 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8746 symbol.
8747
5aa4a1a1
TS
87482013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8749
bdef0be7
TS
8750 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8751 wrap blocks consisting of several statements.
8752
5aa4a1a1
TS
8753 * sysdeps/generic/math-tests.h: New file.
8754 * sysdeps/i386/fpu/math-tests.h: Likewise.
8755 * math/test-snan.c: Include it.
8756 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8757
98c48fe5
JM
87582013-03-21 Joseph Myers <joseph@codesourcery.com>
8759
8760 [BZ #15285]
8761 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8762 (__ieee754_j0l): Do not improve calculations using cos of twice
8763 input for inputs above LDBL_MAX / 2.0L.
8764 (__ieee754_y0l): Likewise.
8765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8766 (__ieee754_j1l): Do not improve calculations using cos of twice
8767 input for inputs above LDBL_MAX / 2.0L.
8768 (__ieee754_y1l): Likewise.
8769 * math/libm-test.inc (j0_test): Add another test.
8770 (j1_test): Likewise.
8771 (y0_test): Likewise.
8772 (y1_test): Likewise.
8773 * sysdeps/i386/fpu/libm-test-ulps: Update.
8774
3775a8bc
SP
87752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
8777 * Rules ($(objpfx)bench-%.c): Include code from a C source
8778 file.
8779
0a1b2ae6
JM
87802013-03-21 Joseph Myers <joseph@codesourcery.com>
8781
8782 [BZ #15287]
8783 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8784 imaginary part 1.0 and real part less than 0.5 specially.
8785 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8786 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8787 * math/libm-test.inc (cacos_test): Add more tests.
8788 (casin_test): Likewise.
8789 (casinh_test): Likewise.
8790 * sysdeps/i386/fpu/libm-test-ulps: Update.
8791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8792
b33d4ce4
SP
87932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8794
8795 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8796 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8797
bef0b507
JM
87982013-03-20 Joseph Myers <joseph@codesourcery.com>
8799
8800 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8801 * config.make.in (config-cflags-sse4): Remove variable.
8802 (config-cflags-avx): Likewise.
8803 (config-cflags-sse2avx): Likewise.
8804 (config-cflags-novzeroupper): Likewise.
8805 (config-asflags-i686): Likewise.
8806 (have-mfma4): Likewise.
8807 (have-as-vis3): Likewise.
8808 (MIG): Likewise.
8809 * configure.in (MIG): Do not AC_SUBST.
8810 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8811 (libc_cv_cc_sse4): Do not AC_SUBST.
8812 (libc_cv_cc_avx): Likewise.
8813 (libc_cv_cc_sse2avx): Likewise.
8814 (libc_cv_cc_novzeroupper): Likewise.
8815 (libc_cv_cc_fma4): Likewise.
8816 (libc_cv_as_i686): Likewise.
8817 (libc_cv_sparc_as_vis3): Likewise.
8818 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8819 LIBC_CONFIG_VAR.
8820 (config-asflags-i686): Likewise.
8821 (config-cflags-avx): Likewise.
8822 (config-cflags-sse2avx): Likewise.
8823 (have-mfma4): Likewise.
8824 (config-cflags-novzeroupper): Likewise.
8825 * sysdeps/mach/configure.in (MIG): Likewise.
8826 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8827 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8828 LIBC_CONFIG_VAR.
8829 (config-cflags-avx): Likewise.
8830 (config-cflags-sse2avx): Likewise.
8831 (have-mfma4): Likewise.
8832 (config-cflags-novzeroupper): Likewise.
8833 * configure: Regenerated.
8834 * sysdeps/i386/configure: Likewise.
8835 * sysdeps/mach/configure: Likewise.
8836 * sysdeps/sparc/configure: Likewise.
8837 * sysdeps/x86_64/configure: Likewise.
8838
912cc4b3
RM
88392013-03-20 Roland McGrath <roland@hack.frob.com>
8840
8841 [BZ #14812]
8842 * locale/programs/localedef.c (options): Put N_ translation marker
8843 on argument names, not just descriptions.
8844
04eed2b0
MS
88452013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8846
8847 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8848
a065ceff
OB
88492013-03-20 Ondřej Bílka <neleai@seznam.cz>
8850
9bb2a810 8851 [BZ #14176]
a065ceff
OB
8852 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8853
a600e5ce
RM
88542013-03-19 Roland McGrath <roland@hack.frob.com>
8855
8856 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8857 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8858 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8859 [!BEFORE_ABORT] (before_abort): New function.
8860 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8861 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8862 (writev_for_fatal): New function.
8863 (WRITEV_FOR_FATAL): New macro; call that.
8864 (backtrace_and_maps): New function.
8865 (BEFORE_ABORT): New macro; call that.
8866 (struct str_list): Type removed.
8867 (__libc_message, __libc_fatal): Functions removed.
8868 Include <sysdeps/posix/libc_fatal.c> instead.
8869
6b18bea6
JM
88702013-03-19 Joseph Myers <joseph@codesourcery.com>
8871
8872 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8873 constants.
8874 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8875 double constants.
8876
aaa8cb4b
AS
88772013-03-19 Andreas Schwab <schwab@suse.de>
8878
44673770
AS
8879 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8880 * sysdeps/gnu/configure: Regenerate.
8881
aaa8cb4b
AS
8882 * configure.in: Substitute libc_cv_rtlddir.
8883 * configure: Regenerate.
8884 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8885 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8886 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8887 * elf/Makefile (install-others, CFLAGS-interp.c)
8888 (ldso_install, common-ldd-rewrite): Likewise.
8889 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8890 $(inst_slibdir)/$(rtld-installed-name).
8891 * scripts/rellns-sh: Add -p option.
8892 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8893 for source.
8894
d3cfc668
SP
88952013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8896
8897 * manual/nptl.texi: Renamed to ...
8898 * manual/threads.texi: ... this.
8899 * manual/Makefile (chapters): Update.
8900
0e2b9cdd
RM
89012013-03-18 Roland McGrath <roland@hack.frob.com>
8902
8903 [BZ #14812]
8904 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8905 on argument names, not just descriptions.
0e2b9cdd
RM
8906 * malloc/memusagestat.c (options): Likewise.
8907 * nss/getent.c (options): Likewise.
63270c24
RM
8908
89092013-03-18 Benno Schulenberg <bensberg@justemail.net>
8910
8911 [BZ #14812]
8912 * iconv/iconv_prog.c (options): Put N_ translation marker
8913 on argument names, not just descriptions.
8914 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8915
b2e1393c
OB
89162013-03-18 Ondrej Bilka <neleai@seznam.cz>
8917
8918 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8919 implementation which is faster on all x86_64 architectures.
8920 Tested on AMD, Intel Nehalem, SNB, IVB.
8921 * sysdeps/x86_64/strnlen.S: Likewise.
8922
8923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8924 Remove all multiarch strlen and strnlen versions.
8925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8926 Remove strlen and strnlen related parts.
8927
8928 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8929 Inline strlen part.
8930 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8931
8932 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8933 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8934 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8935 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8936 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8938
ec4ff04d
CD
89392013-03-17 Carlos O'Donell <carlos@redhat.com>
8940
8941 * manual/memory.texi (Malloc Tunable Parameters):
8942 Sort parameters alphabetically. Add comments for missing entries.
8943
cd18e90a
DM
89442013-03-17 David S. Miller <davem@davemloft.net>
8945
8946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8947
2a185d32
JM
89482013-03-16 Joseph Myers <joseph@codesourcery.com>
8949
d2f9799e
JM
8950 [BZ #15283]
8951 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8952 for arguments at most half maximum finite value.
8953 * math/libm-test.inc (j0_test): Add more tests.
8954 (j1_test): Likewise.
8955 (y0_test): Likewise.
8956 (y1_test): Likewise.
8957 * sysdeps/i386/fpu/libm-test-ulps: Update.
8958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959
2a185d32
JM
8960 [BZ #14155]
8961 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8962 1 / x and functions P and Q for arguments above 0x1p256L.
8963 (__ieee754_y0l): Likewise.
8964 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8965 (__ieee754_y1l): Likewise.
8966 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8967 (j1_test): Likewise.
8968 (y0_test): Likewise.
8969 (y1_test): Likewise.
8970
6cbec759
TS
89712013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8972
8973 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8974 variable.
8975
bc16e260
RM
89762013-03-15 Roland McGrath <roland@hack.frob.com>
8977
aefc9b8c
RM
8978 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8979 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8980 zero since it's initialized to EXEC_PAGESIZE.
8981
bc16e260
RM
8982 * sysdeps/unix/sysv/linux/ldsodefs.h
8983 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8984 * sysdeps/generic/ldsodefs.h: ... here.
8985
a57da955
TS
89862013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8987
af00a34d
TS
8988 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8989
495ded2c
TS
8990 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8991 math/test-snan.c.
8992 * math/test-snan.c: Renamed from
8993 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8994 * math/Makefile (tests): Add test-snan.
8995 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8996 test-powerpc-snan.
8997
777b0332
TS
8998 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8999 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9000 functions.
9001 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9002 __builtin_nan family of functions.
9003 * math/libm-test.inc (initialize): Initialize qnan_value with
9004 __builtin_nan family of functions.
9005 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9006 Remove variables.
9007 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9008 Remove functions.
9009 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9010 storage class. Initialize qNaN_var and sNaN_var with
9011 __builtin_nan and __builtin_nans families of functions,
9012 respectively.
9013
64d063b8
TS
9014 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9015 (sqrt_test): Remove duplicate test with qNaN input.
9016 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9017 (round_test, signbit_test, significand_test): Note missing +/-Inf
9018 as well as qNaN tests.
9019
67e971f1
TS
9020 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9021 qNaN_var. Fix a few strings, too.
9022 * math/libm-test.inc (nan_value): Rename to qnan_value.
9023 * math/gen-libm-test.pl (%beautify): Adjust to that.
9024 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9025 * math/test-misc.c (main): Likewise.
9026 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9027 to __qnan_bytes, and __qnan_union, respectively.
9028 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9029 Likewise.
9030 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9031 and lqnanval, respectively.
9032 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9033 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9034 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9035 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9036
64487e12
TS
9037 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9038 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9039 doubles.
9040
e015e27b
TS
9041 * math/test-misc.c (main): Fix copy'n'pastos.
9042 * misc/tst-efgcvt.c (special): Likewise.
9043
a57da955
TS
9044 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9045 Remove declarations.
9046
1e380345
SP
90472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9048
9049 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9050 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9051 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9052 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9053
ef26eece
AZ
90542013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055
9056 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9057 macro to return vdso values correctly in IFUNC implementations.
9058 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9059 Optimization by using IFUNC.
9060
8cfdb7e0
SP
90612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9062 Richard Henderson <rth@redhat.com>
9063 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9064
9065 * Makefile.in (bench): New target.
9066 * NEWS: Mention the benchmark framework.
9067 * Rules (bench): Likewise.
9068 (binaries-bench): Generate binaries for functions to
9069 benchmark.
9070 * benchtests/Makefile: New makefile for benchmark tests.
9071 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9072 programs.
9073 * benchtests/exp-inputs: New input file for EXP function.
9074 * benchtests/pow-inputs: New input file for POW function.
9075 * scripts/bench.pl: New script to generate source files for
9076 benchmark programs.
9077
bcda9880
SP
90782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9079
d22ca8cd
SP
9080 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9081 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9082 computations on mantissa. Use macros for rounding and
9083 division.
9084 (denorm): Likewise.
9085 (__dbl_mp): Likewise.
9086 (add_magnitudes): Likewise.
9087 (sub_magnitudes): Likewise.
9088 (__mul): Likewise.
9089 (__sqr): Likewise.
9090 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9091 powers of two in terms of TWOPOW macro.
9092 (mp_no): Make type of mantissa as MANTISSA_T.
9093 [!RADIXI]: Define RADIXI.
9094 [!TWO52]: Define TWO52.
9095 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9096
bcda9880
SP
9097 * manual/nptl.texi (cindex): Modify threads to pthreads.
9098
06d5adfb
JM
90992013-03-15 Joseph Myers <joseph@codesourcery.com>
9100
9101 * sysdeps/x86_64/preconfigure: Regenerated.
9102
41c7328e
JM
91032013-03-14 Joseph Myers <joseph@codesourcery.com>
9104
9105 [BZ #14155]
9106 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9107 0x1p28 and above.
9108 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9109 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9110 0x1p28 and above.
9111 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9112 * math/libm-test.inc (j0_test): Do not allow one spurious
9113 underflow exception.
9114 (y1_test): Likewise.
9115
e25cfa60
SP
91162013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
0409959c
SP
9118 * manual/Makefile (chapters): Add nptl.
9119 * manual/debug.texi (Debugging Support): Add link to Threads
9120 chapter.
9121 * manual/nptl.texi: New file.
9122
e25cfa60
SP
9123 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9124
58a1335e
PB
91252013-03-14 Petr Baudis <pasky@ucw.cz>
9126
9127 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9128 for non-NULL pointer before the memory validity test. Pointed
9129 out by Holger Brunck <holger.brunck@keymile.com>.
9130
9dc7c64f
AS
91312013-03-13 Andreas Schwab <schwab@suse.de>
9132
9133 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9134 instead of .os.
9135
54206aa6
JM
91362013-03-13 Joseph Myers <joseph@codesourcery.com>
9137
9138 * timezone/zic.c: Update from tzcode 2013b.
9139
e98cdb38
CD
91402013-03-12 Carlos O'Donell <carlos@redhat.com>
9141
9142 * manual/install.texi (Configuring and compiling):
9143 Mention i686 and i586.
9144 * INSTALL: Regenerate.
9145
9967e003
RM
91462013-03-12 Roland McGrath <roland@hack.frob.com>
9147
9148 * sysdeps/init_array/elf-init.c: New file.
9149 * csu/elf-init.c
9150 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9151 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9152
9153 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9154 __gmon_start__ as global, but as static with a .preinit_array pointer.
9155 * sysdeps/init_array/gmon-start.c: New file. Use that.
9156 * sysdeps/init_array/crti.S: New file, empty except for comments.
9157 * sysdeps/init_array/crtn.S: Likewise.
9158
e6b5a293 91592013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9160
9161 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9162 definining bcopy.
80f844c9
OB
9163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9164 Remove Prefer_SSE_for_memop.
9165 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9166 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9167 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9169 memset-x86-64.
80f844c9 9170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9171 Remove bzero, memset ifunc support.
80f844c9
OB
9172 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9173 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9174 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9175 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9176
fb6b0fcb
AS
91772013-03-11 Andreas Schwab <schwab@suse.de>
9178
9179 [BZ #15234]
9180 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9181 by SHLIB_COMPAT.
9182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9183 (GLIBC_2.16): Remove pthread_atfork.
9184
3e6bd4b1
PP
91852013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9186
9187 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9188 (ptestcases.h): Likewise.
9189
222d7f00
RM
91902013-03-08 Roland McGrath <roland@hack.frob.com>
9191
9192 * Makeconfig ($(common-objpfx)config.status): Depend on
9193 sysdeps/*/preconfigure{,.in} too.
9194
1ba4f030
JM
91952013-03-08 Joseph Myers <joseph@codesourcery.com>
9196
a222d91a
JM
9197 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9198 (__free_hook): Use void * instead of __malloc_ptr_t.
9199 (__malloc_hook): Likewise.
9200 (__realloc_hook): Likewise.
9201 (__memalign_hook): Likewise.
9202 (__after_morecore_hook): Likewise.
9203 * malloc/arena.c (save_malloc_hook): Likewise.
9204 (save_free_hook): Likewise.
9205 * malloc/hooks.c (malloc_hook_ini): Likewise.
9206 (realloc_hook_ini): Likewise.
9207 (memalign_hook_ini): Likewise.
9208 * malloc/malloc.c (malloc_hook_ini): Likewise.
9209 (realloc_hook_ini): Likewise.
9210 (memalign_hook_ini): Likewise.
9211 (__free_hook): Likewise.
9212 (__malloc_hook): Likewise.
9213 (__realloc_hook): Likewise.
9214 (__memalign_hook): Likewise.
9215 (__libc_malloc): Likewise.
9216 (__libc_free): Likewise.
9217 (__libc_realloc): Likewise.
9218 (__libc_memalign): Likewise.
9219 (__libc_valloc): Likewise.
9220 (__libc_pvalloc): Likewise.
9221 (__libc_calloc): Likewise.
9222 (__posix_memalign): Likewise.
9223 * malloc/morecore.c (__sbrk): Likewise.
9224 (__default_morecore): Likewise.
9225
5cc45e10
JM
9226 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9227
dd54b864
JM
9228 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9229 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9230 __malloc_ptrdiff_t.
9231
1ba4f030
JM
9232 * malloc/malloc.h (__malloc_size_t): Remove macro.
9233 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9234 __malloc_size_t.
9235 (old_memalign_hook): Likewise.
9236 (old_realloc_hook): Likewise.
9237 (struct hdr): Likewise.
9238 (flood): Likewise.
9239 (mallochook): Likewise.
9240 (memalignhook): Likewise.
9241 (reallochook): Likewise.
9242 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9243 (tr_old_realloc_hook): Likewise.
9244 (tr_old_memalign_hook): Likewise.
9245 (tr_mallochook): Likewise.
9246 (tr_reallochook): Likewise.
9247 (tr_memalignhook): Likewise.
9248
edf66e57
AZ
92492013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9250
9251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9252 default_ldbl_pack and using as default implementation.
9253 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9254 implementation.
9255 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9256 redundant definition.
9257 (ldbl_insert_mantissa): Likewise.
9258 (ldbl_canonicalize): Likewise.
9259 (ldbl_nearbyint): Likewise.
9260 (ldbl_pack): Rename to ldbl_pack_ppc.
9261 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9262 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9263 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9264
6d9145d8
SP
92652013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9266
9267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9268 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9269 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9270 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9273 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9274 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9275
4dd4e157
AJ
92762013-03-07 Andreas Jaeger <aj@suse.de>
9277
9278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9279 bits/mman-linux.h.
9280
adbb8027
SP
92812013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9282
ce544b5b
SP
9283 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9284 Include mpa.h and declare __MPEXP.
9285 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9287 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9288 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9290 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9291 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9292
4cc149fd
SP
9293 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9294 (__slowpow): Use long double EXPL and LOGL functions to
9295 compute POW.
9296 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9297 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9298 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9300 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9302
e6ebd4a7
SP
9303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9304 intermediate variable to calculate exponent.
9305 (__sqr): Likewise.
9306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9307 Likewise.
9308 (__sqr): Likewise.
9309
82a9811d
SP
9310 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9311 [!NO__SQR]: Define __sqr.
9312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9313 and NO__SQR. Remove all code except __mul and __sqr. Include
9314 sysdeps/ieee754/dbl-64/mpa.c.
9315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9316
adbb8027
SP
9317 [BZ #12723]
9318 * posix/Makefile (tests): Add tst-pathconf.
9319 * posix/tst-pathconf.c: New test case.
9320 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9321 _PC_PIPE_BUF.
9322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9323
39120df9
PF
93242013-03-06 Patsy Franklin <pfrankli@redhat.com>
9325
9326 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9327
67525cb8
AJ
93282013-03-06 Andreas Jaeger <aj@suse.de>
9329
664a9ce4
AJ
9330 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9331 definition via __MAP_ANONYMOUS.
9332
8e39047d
AJ
9333 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9334 it's not part of Linux headers.
9335
67525cb8
AJ
9336 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9337 (MAP_HUGE_MASK): Define.
9338
9339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9340 Define.
9341 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9343 Define.
9344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9345 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9346 Define.
9347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9349 Define.
9350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9351
9352 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9353 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9354 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9355 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9356 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9358
9359 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9360 Handle f2fs.
9361
9362 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9363 Handle f2fs and efivarfs.
9364
9365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9366 f2fs.
9367
9368 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9369 (EFIVARFS_MAGIC): Add.
9370 (F2FS_LINK_MAX): Add.
9371
e1b42695
PP
93722013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9373
9374 * stdio-common/vfprintf.c: Replace __builtin_expect with
9375 __glibc_unlikely.
9376
2d67d91a
JM
93772013-03-06 Joseph Myers <joseph@codesourcery.com>
9378
9379 [BZ #13550]
9380 * sysdeps/generic/bp-sym.h: Remove file.
9381 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9382 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (__longjmp): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9386 and <bp-asm.h>.
9387 (memcpy): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (memcpy): Don't use BP_SYM.
9391 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9392 <bp-asm.h>.
9393 (memcpy): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9395 <bp-asm.h>.
9396 (memset): Don't use BP_SYM.
9397 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9398 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9399 (__bzero): Don't use BP_SYM.
9400 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9401 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9402 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9403 <bp-sym.h> and <bp-asm.h>.
9404 (memcmp): Don't use BP_SYM. Remove comment about bounded
9405 pointers.
9406 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9407 <bp-sym.h> and <bp-asm.h>.
9408 (memcpy): Don't use BP_SYM.
9409 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9410 <bp-sym.h> and <bp-asm.h>.
9411 (memset): Don't use BP_SYM.
9412 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9413 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9414 (__bzero): Don't use BP_SYM.
9415 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9416 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9418 <bp-sym.h> and <bp-asm.h>.
9419 (strncmp): Don't use BP_SYM. Remove comment about bounded
9420 pointers.
9421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9422 <bp-sym.h> and <bp-asm.h>.
9423 (memcpy): Don't use BP_SYM.
9424 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9425 <bp-sym.h> and <bp-asm.h>.
9426 (memset): Don't use BP_SYM.
9427 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9428 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9429 (__bzero): Don't use BP_SYM.
9430 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9431 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9433 <bp-sym.h> and <bp-asm.h>.
9434 (__memchr): Don't use BP_SYM.
9435 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9436 <bp-sym.h> and <bp-asm.h>.
9437 (memcmp): Don't use BP_SYM. Remove comment about bounded
9438 pointers.
9439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9440 <bp-sym.h> and <bp-asm.h>.
9441 (memcpy): Don't use BP_SYM.
9442 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9443 <bp-sym.h> and <bp-asm.h>.
9444 (__mempcpy): Don't use BP_SYM.
9445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9446 <bp-sym.h> and <bp-asm.h>.
9447 (__memrchr): Don't use BP_SYM.
9448 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9449 <bp-sym.h> and <bp-asm.h>.
9450 (memset): Don't use BP_SYM.
9451 (__bzero): Likewise.
9452 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9453 <bp-sym.h> and <bp-asm.h>.
9454 (__rawmemchr): Don't use BP_SYM.
9455 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9456 <bp-sym.h> and <bp-asm.h>.
9457 (__STRCMP): Don't use BP_SYM.
9458 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9459 <bp-sym.h> and <bp-asm.h>.
9460 (strchr): Don't use BP_SYM.
9461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (__strchrnul): Don't use BP_SYM.
9464 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9465 <bp-sym.h> and <bp-asm.h>.
9466 (strlen): Don't use BP_SYM.
9467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9468 <bp-sym.h> and <bp-asm.h>.
9469 (strncmp): Don't use BP_SYM. Remove comment about bounded
9470 pointers.
9471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9472 <bp-sym.h> and <bp-asm.h>.
9473 (__strnlen): Don't use BP_SYM.
9474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9475 <bp-sym.h> and <bp-asm.h>.
9476 (__GI__setjmp): Don't use BP_SYM.
9477 (_setjmp): Likewise.
9478 (__sigsetjmp): Likewise.
9479 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9480 (L(start_addresses)): Don't use BP_SYM.
9481 (_start): Likewise.
9482 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9483 <bp-asm.h>.
9484 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9485 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9486 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9487 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9488 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9489 <bp-asm.h>.
9490 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9491 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9492 about bounded pointers.
9493 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9494 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9495 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9496 <bp-asm.h>.
9497 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9498 about bounded pointers. Remove GKM FIXME comments.
9499 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9500 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9501 <bp-asm.h>.
9502 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9503 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9504 Remove GKM FIXME comments.
9505 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9506 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9507 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9508 <bp-asm.h>.
9509 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9510 about bounded pointers. Remove GKM FIXME comment.
9511 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9512 and <bp-asm.h>.
9513 (strncmp): Don't use BP_SYM. Remove comment about bounded
9514 pointers.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9516 <bp-sym.h> and <bp-asm.h>.
9517 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9519 <bp-sym.h> and <bp-asm.h>.
9520 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9521 comment.
9522
cdcf361f
PP
95232013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9524
9525 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9526 call free(NULL).
9527
3c4a2b15
DM
95282013-03-05 David S. Miller <davem@davemloft.net>
9529
9530 * po/es.po: Update from translation team.
9531
cdcf361f 95322013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9533
9534 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9535 <bits/mman-linux.h>.
9536 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9537 is fine.
9538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9539 <bits/mman-linux.h> to end of file.
9540 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9541 is fine.
9542 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9543 <bits/mman-linux.h> to end of file.
9544 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9545 is fine.
9546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9547 <bits/mman-linux.h> to end of file.
9548
9549 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9550 (MCL_CURRENT, MCL_FUTURE): Define here.
9551
5f67c04f
AK
95522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9553
8a4473cc 9554 [BZ #15232]
5f67c04f
AK
9555 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9556 attribute_hidden.
9557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9558
c3e94a95
AK
95592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9560
9561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9562 fourth parameter needed for rt_sigprocmask syscall.
9563 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9564 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9567 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9568 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9569
cfb6382a
JM
95702013-03-04 Joseph Myers <joseph@codesourcery.com>
9571
9572 [BZ #13550]
9573 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9574 comment about bounded pointers.
9575 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9576 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9577
539d8e01
AJ
95782013-03-04 Andreas Jaeger <aj@suse.de>
9579
9580 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9581 common definitions.
9582
9583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9584 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9585 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9588 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9589
2e167a70 95902013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9591
9592 [BZ #15055]
9593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9594 __ieee754_sqrl instead of __sqrl.
9595
68508633
JM
95962013-03-01 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9599 * sysdeps/powerpc/fpu_control.h: ... here.
9600 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9601 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9602 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9603 * sysdeps/powerpc/bits/mathinline.h: ... here.
9604
7775448e
RM
96052013-03-01 Roland McGrath <roland@hack.frob.com>
9606
9607 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9608 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9609 to just [NEED_DL_SYSINFO_DSO].
9610 * elf/dl-support.c: Likewise.
9611 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9612 * elf/rtld.c (dl_main): Likewise.
9613 * elf/setup-vdso.h (setup_vdso): Likewise.
9614 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9615 * sysdeps/unix/sysv/linux/dl-sysdep.c
9616 (_dl_discover_osversion): Likewise.
9617
4e9b5995
CD
96182013-03-01 Carlos O'Donell <carlos@redhat.com>
9619
9620 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9621 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9622
e23872c8
SP
96232013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9624
e5c74c63
SP
9625 * NEWS: Mention libm performance improvements and non-x86 PI
9626 futex support.
9627
e23872c8
SP
9628 * csu/libc-start.c (__pthread_initialize_minimal): Change
9629 function arguments.
9630 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9631
b5510883
JM
96322013-02-28 Joseph Myers <joseph@codesourcery.com>
9633
9634 [BZ #13550]
9635 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9636 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9637 <bp-sym.h> and <bp-asm.h>.
9638 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9640 and <bp-asm.h>.
9641 (memcpy): Don't use BP_SYM.
9642 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9643 <bp-asm.h>.
9644 (__mpn_add_n): Don't use BP_SYM.
9645 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9646 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9647 and <bp-asm.h>.
9648 (__mpn_addmul_1): Don't use BP_SYM.
9649 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9650 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9651 <bp-sym.h>.
9652 (_setjmp): Don't use BP_SYM.
9653 (__novmx_setjmp): Likewise.
9654 (__GI__setjmp): Likewise.
9655 (__vmx_setjmp): Likewise.
9656 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9657 <bp-sym.h>.
9658 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9659 (__bzero): Don't use BP_SYM.
9660 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9661 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9662 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9663 <bp-sym.h> and <bp-asm.h>.
9664 (memcpy): Don't use BP_SYM.
9665 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9666 <bp-sym.h> and <bp-asm.h>.
9667 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9668 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9669 <bp-sym.h> and <bp-asm.h>.
9670 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9671 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9672 <bp-asm.h>.
9673 (__mpn_lshift): Don't use BP_SYM.
9674 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9675 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9676 <bp-asm.h>.
9677 (memset): Don't use BP_SYM.
9678 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9679 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9680 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9681 <bp-asm.h>.
9682 (__mpn_mul_1): Don't use BP_SYM.
9683 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9684 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9685 <bp-sym.h> and <bp-asm.h>.
9686 (memcmp): Don't use BP_SYM.
9687 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9688 <bp-sym.h> and <bp-asm.h>.
9689 (memcpy): Don't use BP_SYM.
9690 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9691 <bp-sym.h> and <bp-asm.h>.
9692 (memset): Don't use BP_SYM.
9693 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9694 <bp-sym.h> and <bp-asm.h>.
9695 (strncmp): Don't use BP_SYM.
9696 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9697 <bp-sym.h> and <bp-asm.h>.
9698 (memcpy): Don't use BP_SYM.
9699 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9700 <bp-sym.h> and <bp-asm.h>.
9701 (memset): Don't use BP_SYM.
9702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9703 <bp-sym.h> and <bp-asm.h>.
9704 (__memchr): Don't use BP_SYM.
9705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9706 <bp-sym.h> and <bp-asm.h>.
9707 (memcmp): Don't use BP_SYM.
9708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9709 <bp-sym.h> and <bp-asm.h>.
9710 (memcpy): Don't use BP_SYM.
9711 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9712 <bp-sym.h> and <bp-asm.h>.
9713 (__mempcpy): Don't use BP_SYM.
9714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9715 <bp-sym.h> and <bp-asm.h>.
9716 (__memrchr): Don't use BP_SYM.
9717 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9718 <bp-sym.h> and <bp-asm.h>.
9719 (memset): Don't use BP_SYM.
9720 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9721 <bp-sym.h> and <bp-asm.h>.
9722 (__rawmemchr): Don't use BP_SYM.
9723 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9724 <bp-sym.h> and <bp-asm.h>.
9725 (__STRCMP): Don't use BP_SYM.
9726 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9727 <bp-sym.h> and <bp-asm.h>.
9728 (strchr): Don't use BP_SYM.
9729 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9730 <bp-sym.h> and <bp-asm.h>.
9731 (__strchrnul): Don't use BP_SYM.
9732 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9733 <bp-sym.h> and <bp-asm.h>.
9734 (strlen): Don't use BP_SYM.
9735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9736 <bp-sym.h> and <bp-asm.h>.
9737 (strncmp): Don't use BP_SYM.
9738 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9739 <bp-sym.h> and <bp-asm.h>.
9740 (__strnlen): Don't use BP_SYM.
9741 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9742 <bp-asm.h>.
9743 (__mpn_rshift): Don't use BP_SYM.
9744 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9745 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9746 <bp-sym.h> and <bp-asm.h>.
9747 (__sigsetjmp): Don't use BP_SYM.
9748 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9749 (L(start_addresses)): Don't use BP_SYM.
9750 (_start): Likewise.
9751 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9752 <bp-asm.h>.
9753 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9754 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9755 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9756 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9757 <bp-asm.h>.
9758 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9759 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9760 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9761 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9762 <bp-asm.h>.
9763 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9764 comments.
9765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9766 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9767 <bp-asm.h>.
9768 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9769 FIXME comments.
9770 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9771 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9772 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9773 <bp-asm.h>.
9774 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9775 comment.
9776 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9777 and <bp-asm.h>.
9778 (strncmp): Don't use BP_SYM,
9779 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9780 <bp-asm.h>.
9781 (__mpn_sub_n): Don't use BP_SYM.
9782 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9783 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9784 and <bp-asm.h>.
9785 (__mpn_submul_1): Don't use BP_SYM.
9786 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9788 <bp-sym.h> and <bp-asm.h>.
9789 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9791 <bp-sym.h> and <bp-asm.h>.
9792 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9793 comment.
9794
8d19fe64
SP
97952013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9798 Use ZK to minimize writes to Z.
9799 (sub_magnitudes): Simplify code a bit.
9800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9801 Use ZK to minimize writes to Z.
9802 (sub_magnitudes): Simplify code a bit.
9803
85bd816a
RM
98042013-02-27 Roland McGrath <roland@hack.frob.com>
9805
9806 * csu/gmon-start.c: Add special exception to license text.
9807
b5977bf2
RH
98082013-02-27 Richard Henderson <rth@redhat.com>
9809
9810 * scripts/config.guess: Update from config.git.
9811 * scripts/config.sub: Likewise.
9812
11d6e2f2
SP
98132013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9814
09c14ed2
SP
9815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9816
a688864e
SP
9817 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9818
6295157a
SP
9819 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9820
b8de2202
SP
9821 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9822
11d6e2f2
SP
9823 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9824
7e80ddb8
RM
98252013-02-26 Roland McGrath <roland@hack.frob.com>
9826
9827 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9828 [$(build-shared = yes].
7e80ddb8 9829
7da6d9ed
SP
98302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9831
45f05884
SP
9832 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9833 (__mul): Reduce iterations for calculating mantissa.
9834
2236d359
SP
9835 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9836 MPTWO.
9837 (__mpranred): Likewise.
9838
7da6d9ed
SP
9839 [BZ #15160]
9840 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9841 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9842
b7688c42
PE
98432013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9844
9845 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9846 Define __attribute__.
9847
53a5c423
SP
98482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9849
9850 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9851 unused.
9852 * posix/regex_internal.h (__attribute): Remove.
9853 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9854 (re_string_context_at): Likewise.
9855 (bitset_not): Use __attribute__ and mark function as possibly
9856 unused.
9857 (bitset_merge): Likewise.
9858 (bitset_mask): Likewise.
9859 (re_string_char_size_at): Likewise.
9860 (re_string_wchar_at): Likewise.
9861 (re_string_elem_size_at): Likewise.
9862
60f5a8b5
SP
98632013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9864
2a983a2e
SP
9865 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9866 code.
9867 (cc32): Likewise.
9868
e69804d1
SP
9869 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9870 (__acr): Likewise.
9871 (__cpy): Likewise.
9872 (norm): Likewise.
9873 (denorm): Likewise.
9874 (__dbl_mp): Likewise.
9875 (add_magnitudes): Likewise.
9876 (sub_magnitudes): Likewise.
9877 (__mul): Likewise.
9878 (__inv): Likewise.
9879
2f22a1e8
SP
9880 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9881 style.
9882
8930ddc7
SP
9883 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9884 style.
9885
dc60cb11
SP
9886 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9887 code.
9888
60f5a8b5
SP
9889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9890 up changes with default code.
9891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9892 Likewise.
9893
b4d1fd33
AM
98942013-02-24 Allan McRae <allan@archlinux.org>
9895
faf6f8bc
AM
9896 * manual/socket.texi (The Internet Namespace): Order menu items
9897 to match that in the file.
9898
b4d1fd33
AM
9899 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9900 node listing of the info page menu.
9901
2366713d
JM
99022013-02-21 Joseph Myers <joseph@codesourcery.com>
9903
9904 [BZ #13550]
9905 * sysdeps/i386/bp-asm.h: Remove file.
9906 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9907 (PARMS): Do not use macros from bp-asm.h.
9908 (S1): Likewise.
9909 (S2): Likewise.
9910 (SIZE): Likewise.
9911 (__mpn_add_n): Do not use BP_SYM
9912 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9913 "bp-asm.h".
9914 (PARMS): Do not use macros from bp-asm.h.
9915 (S1): Likewise.
9916 (SIZE): Likewise.
9917 (__mpn_addmul_1): Do not use BP_SYM
9918 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9919 "bp-asm.h".
9920 (PARMS): Do not use macros from bp-asm.h.
9921 (SIGMSK): Likewise.
9922 (_setjmp): Likewise. Do not use BP_SYM.
9923 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9924 "bp-asm.h".
9925 (PARMS): Do not use macros from bp-asm.h.
9926 (SIGMSK): Likewise.
9927 (setjmp): Likewise. Do not use BP_SYM.
9928 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9929 "bp-asm.h".
9930 (PARMS): Do not use macros from bp-asm.h.
9931 (__frexp): Do not use BP_SYM.
9932 (frexp): Likewise.
9933 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9934 "bp-asm.h".
9935 (PARMS): Do not use macros from bp-asm.h.
9936 (__frexpf): Do not use BP_SYM.
9937 (frexpf): Likewise.
9938 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9939 "bp-asm.h".
9940 (PARMS): Do not use macros from bp-asm.h.
9941 (__frexpl): Do not use BP_SYM.
9942 (frexpl): Likewise.
9943 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9944 "bp-asm.h".
9945 (PARMS): Do not use macros from bp-asm.h.
9946 (__remquo): Do not use BP_SYM.
9947 (remquo): Likewise.
9948 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9949 "bp-asm.h".
9950 (PARMS): Do not use macros from bp-asm.h.
9951 (__remquof): Do not use BP_SYM.
9952 (remquof): Likewise.
9953 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9954 "bp-asm.h".
9955 (PARMS): Do not use macros from bp-asm.h.
9956 (__remquol): Do not use BP_SYM.
9957 (remquol): Likewise.
9958 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9959 "bp-asm.h".
9960 (PARMS): Do not use macros from bp-asm.h.
9961 (DEST): Likewise.
9962 (SRC): Likewise.
9963 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9964 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9965 "bp-asm.h".
9966 (PARMS): Do not use macros from bp-asm.h.
9967 (strlen): Do not use BP_SYM.
9968 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9969 "bp-asm.h".
9970 (PARMS): Do not use macros from bp-asm.h.
9971 (S1): Likewise.
9972 (S2): Likewise.
9973 (SIZE): Likewise.
9974 (__mpn_add_n): Do not use BP_SYM.
9975 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9976 "bp-asm.h".
9977 (PARMS): Do not use macros from bp-asm.h.
9978 (S1): Likewise.
9979 (SIZE): Likewise.
9980 (__mpn_addmul_1): Do not use BP_SYM.
9981 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9982 weak_alias.
9983 (bzero): Likewise.
9984 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9985 "bp-asm.h".
9986 (PARMS): Do not use macros from bp-asm.h.
9987 (S): Likewise.
9988 (SIZE): Likewise.
9989 (__mpn_lshift): Do not use BP_SYM.
9990 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9991 "bp-asm.h".
9992 (PARMS): Do not use macros from bp-asm.h.
9993 (DEST): Likewise.
9994 (SRC): Likewise.
9995 (LEN): Likewise.
9996 (memcpy): Likewise. Do not use BP_SYM.
9997 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9998 libc_hidden_def and weak_alias.
9999 (mempcpy): Do not use BP_SYM in weak_alias.
10000 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10001 "bp-asm.h".
10002 (PARMS): Do not use macros from bp-asm.h.
10003 (DEST): Likewise.
10004 (LEN): Likewise.
10005 [!BZERO_P] (CHR): Likewise.
10006 (memset): Likewise. Do not use BP_SYM.
10007 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10008 "bp-asm.h".
10009 (PARMS): Do not use macros from bp-asm.h.
10010 (S1): Likewise.
10011 (SIZE): Likewise.
10012 (__mpn_mul_1): Do not use BP_SYM.
10013 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10014 "bp-asm.h".
10015 (PARMS): Do not use macros from bp-asm.h.
10016 (S): Likewise.
10017 (SIZE): Likewise.
10018 (__mpn_rshift): Do not use BP_SYM.
10019 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10020 "bp-asm.h".
10021 (PARMS): Do not use macros from bp-asm.h.
10022 (STR): Likewise.
10023 (CHR): Likewise.
10024 (strchr): Likewise. Do not use BP_SYM.
10025 (index): Do not use BP_SYM in weak_alias.
10026 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10027 "bp-asm.h".
10028 (PARMS): Do not use macros from bp-asm.h.
10029 (DEST): Likewise.
10030 (SRC): Likewise.
10031 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10032 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10033 "bp-asm.h".
10034 (PARMS): Do not use macros from bp-asm.h.
10035 (strlen): Do not use BP_SYM.
10036 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10037 "bp-asm.h".
10038 (PARMS): Do not use macros from bp-asm.h.
10039 (S1): Likewise.
10040 (S2): Likewise.
10041 (SIZE): Likewise.
10042 (__mpn_sub_n): Do not use BP_SYM.
10043 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10044 "bp-asm.h".
10045 (PARMS): Do not use macros from bp-asm.h.
10046 (S1): Likewise.
10047 (SIZE): Likewise.
10048 (__mpn_submul_1): Do not use BP_SYM.
10049 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10050 "bp-asm.h".
10051 (PARMS): Do not use macros from bp-asm.h.
10052 (S1): Likewise.
10053 (S2): Likewise.
10054 (SIZE): Likewise.
10055 (__mpn_add_n): Do not use BP_SYM.
10056 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10057 weak_alias.
10058 (bzero): Likewise.
10059 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10060 "bp-asm.h".
10061 (PARMS): Do not use macros from bp-asm.h.
10062 (BLK2): Likewise.
10063 (LEN): Likewise.
10064 (memcmp): Do not use BP_SYM.
10065 (bcmp): Do not use BP_SYM in weak_alias.
10066 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10067 "bp-asm.h".
10068 (PARMS): Do not use macros from bp-asm.h.
10069 (DEST): Likewise.
10070 (SRC): Likewise.
10071 (LEN): Likewise.
10072 (memcpy): Likewise. Do not use BP_SYM.
10073 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10074 "bp-asm.h".
10075 (PARMS): Do not use macros from bp-asm.h.
10076 (DEST): Likewise.
10077 (SRC): Likewise.
10078 (LEN): Likewise.
10079 (memmove): Likewise. Do not use BP_SYM.
10080 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10081 "bp-asm.h".
10082 (PARMS): Do not use macros from bp-asm.h.
10083 (DEST): Likewise.
10084 (SRC): Likewise.
10085 (LEN): Likewise.
10086 (__mempcpy): Likewise. Do not use BP_SYM.
10087 (mempcpy): Do not use BP_SYM in weak_alias.
10088 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10089 "bp-asm.h".
10090 (PARMS): Do not use macros from bp-asm.h.
10091 (DEST): Likewise.
10092 (LEN): Likewise.
10093 [!BZERO_P] (CHR): Likewise.
10094 (memset): Likewise. Do not use BP_SYM.
10095 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10096 "bp-asm.h".
10097 (PARMS): Do not use macros from bp-asm.h.
10098 (STR2): Likewise.
10099 (strcmp): Do not use BP_SYM.
10100 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10101 "bp-asm.h".
10102 (PARMS): Do not use macros from bp-asm.h.
10103 (STR): Likewise.
10104 (DELIM): Likewise.
10105 [USE_AS_STRTOK_R] (SAVE): Likewise.
10106 (FUNCTION): Likewise. Do not use BP_SYM.
10107 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10108 aliases.
10109 (strtok_r): Likewise.
10110 (__GI___strtok_r): Likewise.
10111 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10112 (PARMS): Do not use macros from bp-asm.h.
10113 (S): Likewise.
10114 (SIZE): Likewise.
10115 (__mpn_lshift): Do not use BP_SYM.
10116 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10117 (PARMS): Do not use macros from bp-asm.h.
10118 (STR): Likewise.
10119 (CHR): Likewise.
10120 (__memchr): Do not use BP_SYM.
10121 (memchr): Do not use BP_SYM in weak_alias.
10122 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10123 (PARMS): Do not use macros from bp-asm.h.
10124 (BLK2): Likewise.
10125 (LEN): Likewise.
10126 (memcmp): Do not use BP_SYM.
10127 (bcmp): Do not use BP_SYM in weak_alias.
10128 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10129 (PARMS): Do not use macros from bp-asm.h.
10130 (S1): Likewise.
10131 (SIZE): Likewise.
10132 (__mpn_mul_1): Do not use BP_SYM.
10133 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10134 "bp-asm.h".
10135 (PARMS): Do not use macros from bp-asm.h.
10136 (STR): Likewise.
10137 (CHR): Likewise.
10138 (__rawmemchr): Do not use BP_SYM.
10139 (rawmemchr): Do not use BP_SYM in weak_alias.
10140 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10141 (PARMS): Do not use macros from bp-asm.h.
10142 (S): Likewise.
10143 (SIZE): Likewise.
10144 (__mpn_rshift): Do not use BP_SYM.
10145 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10146 (PARMS): Do not use macros from bp-asm.h.
10147 (SIGMSK): Likewise.
10148 (__sigsetjmp): Likewise. Do not use BP_SYM.
10149 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10150 (_start): Do not use BP_SYM.
10151 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10152 (PARMS): Do not use macros from bp-asm.h.
10153 (DEST): Likewise.
10154 (SRC): Likewise.
10155 (__stpcpy): Likewise. Do not use BP_SYM.
10156 (stpcpy): Do not use BP_SYM in weak_alias.
10157 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10158 "bp-asm.h".
10159 (PARMS): Do not use macros from bp-asm.h.
10160 (DEST): Likewise.
10161 (SRC): Likewise.
10162 (LEN): Likewise.
10163 (__stpncpy): Likewise. Do not use BP_SYM.
10164 (stpncpy): Do not use BP_SYM in weak_alias.
10165 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10166 (PARMS): Do not use macros from bp-asm.h.
10167 (STR): Likewise.
10168 (CHR): Likewise.
10169 (strchr): Likewise. Do not use BP_SYM.
10170 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10171 "bp-asm.h".
10172 (PARMS): Do not use macros from bp-asm.h.
10173 (STR): Likewise.
10174 (CHR): Likewise.
10175 (__strchrnul): Likewise. Do not use BP_SYM.
10176 (strchrnul): Do not use BP_SYM in weak_alias.
10177 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10178 "bp-asm.h".
10179 (PARMS): Do not use macros from bp-asm.h.
10180 (STOP): Likewise.
10181 (strcspn): Do not use BP_SYM.
10182 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10183 "bp-asm.h".
10184 (PARMS): Do not use macros from bp-asm.h.
10185 (STR): Likewise.
10186 (STOP): Likewise.
10187 (strpbrk): Likewise. Do not use BP_SYM.
10188 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10189 "bp-asm.h".
10190 (PARMS): Do not use macros from bp-asm.h.
10191 (STR): Likewise.
10192 (CHR): Likewise.
10193 (strrchr): Likewise. Do not use BP_SYM.
10194 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10195 (PARMS): Do not use macros from bp-asm.h.
10196 (SKIP): Likewise.
10197 (strspn): Do not use BP_SYM.
10198 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10199 (PARMS): Do not use macros from bp-asm.h.
10200 (STR): Likewise.
10201 (DELIM): Likewise.
10202 (SAVE): Likewise.
10203 (FUNCTION): Likewise. Do not use BP_SYM.
10204 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10205 aliases.
10206 (strtok_r): Likewise.
10207 (__GI___strtok_r): Likewise.
10208 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10209 (PARMS): Do not use macros from bp-asm.h.
10210 (S1): Likewise.
10211 (S2): Likewise.
10212 (SIZE): Likewise.
10213 (__mpn_sub_n): Do not use BP_SYM.
10214 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10215 "bp-asm.h".
10216 (PARMS): Do not use macros from bp-asm.h.
10217 (S1): Likewise.
10218 (SIZE): Likewise.
10219 (__mpn_submul_1): Do not use BP_SYM.
10220 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10221 <bp-sym.h>.
10222 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10223 and <bp-asm.h>.
10224 (PARMS): Do not use macros from bp-asm.h.
10225 (FLAGS): Likewise.
10226 (PTID): Likewise.
10227 (TLS): Likewise.
10228 (CTID): Likewise.
10229 (__clone): Do not use BP_SYM.
10230 (clone): Do not use BP_SYM in weak_alias.
10231 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10232 and <bp-asm.h>.
10233 (PARMS): Do not use macros from bp-asm.h.
10234 (LEN): Likewise.
10235 (__mmap64): Do not use BP_SYM.
10236 (mmap64): Do not use BP_SYM in weak_alias.
10237 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10238 <bp-sym.h> and <bp-asm.h>.
10239 (PARMS): Do not use macros from bp-asm.h.
10240 (__posix_fadvise64_l64): Do not use BP_SYM.
10241 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10242 (PARMS): Do not use macros from bp-asm.h.
10243 (NSOPS): Likewise.
10244 (semtimedop): Do not use BP_SYM.
10245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10246 and <bp-asm.h>.
10247
582a3cff
AM
102482013-02-21 Allan McRae <allan@archlinux.org>
10249
10250 * manual/message.texi (Charset conversion in gettext):
10251 Move @end statement to beginning of line.
10252
bab8a695
SP
102532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10254
80945231
SP
10255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10256 static.
10257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10258 Likewise.
10259
bab8a695
SP
10260 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10261 (denorm): Likewise.
10262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10264
e21d7aa7
AK
102652013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10266
10267 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10268 tail-call to the resolved function if pltexit isn't needed.
10269
4c7a4263
SP
102702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10271
10272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10273 or Y being zero as being unlikely.
10274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10275 Likewise.
10276
41f49342
CD
102772013-02-20 Carlos O'Donell <carlos@redhat.com>
10278
10279 * manual/nss.texi (System Databases and Name Service Switch):
10280 Remove frobnicate @pxref.
10281
50022a93
TS
102822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10283
10284 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10285 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10286
08cbd996
PM
102872013-02-20 Petr Machata <pmachata@redhat.com>
10288
10289 * elf/elf.h (R_ARM_TARGET1): New macro.
10290 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10291 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10292 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10293 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10294 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10295 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10296 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10297 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10298 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10299 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10300 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10301 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10302 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10303 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10304 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10305 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10306 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10307 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10308 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10309 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10310 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10311 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10312 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10313 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10314 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10315 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10316 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10317 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10318 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10319 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10320 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10321 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10322 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10323 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10324 (R_ARM_THM_GOT_BREL12): Likewise.
10325 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10326 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10327 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10328 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10329 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10330 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10331 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10332 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10333 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10334
c7b275d6
TS
103352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10336
10337 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10338 __attribute_used__ to __attribute__ ((unused)).
10339
20cd7fb3
SP
103402013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10341
10342 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10343 powerpc mpa.c.
10344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10345 comment formatting.
10346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10347
92945b52
JM
103482013-02-19 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #13550]
10351 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10352 Remove macro.
10353 (ENTER): Remove both macro definitions.
10354 (LEAVE): Likewise.
10355 (CHECK_BOUNDS_LOW): Likewise.
10356 (CHECK_BOUNDS_HIGH): Likewise.
10357 (CHECK_BOUNDS_BOTH): Likewise.
10358 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10359 (RETURN_BOUNDED_POINTER): Likewise.
10360 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10361 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10362 (POP_ERRNO_LOCATION_RETURN): Likewise.
10363 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10364 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10365 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10366 macros.
10367 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10368 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10369 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10370 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10371 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10372 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10373 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10374 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10375 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10376 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10377 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10378 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10379 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10380 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10381 removed macros.
10382 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10383 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10384 macros.
10385 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10386 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10387 * sysdeps/i386/i586/memset.S (memset): Likewise.
10388 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10389 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10390 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10391 macros.
10392 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10393 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10394 Change uses of L(2) to L(out).
10395 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10396 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10397 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10398 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10399 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10400 removed macros.
10401 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10402 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10403 macros.
10404 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10405 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10406 (RETURN): Do not use macro LEAVE.
10407 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10408 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10409 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10410 * sysdeps/i386/i686/memset.S (memset): Likewise.
10411 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10412 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10413 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10414 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10415 Likewise.
10416 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10417 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10418 L(1_2) and L(1_3) into L(1).
10419 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10420 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10421 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10422 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10423 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10424 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10425 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10426 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10427 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10428 macros.
10429 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10430 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10431 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10432 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10433 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10434 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10435 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10436 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10437 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10438 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10439 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10440 * sysdeps/i386/strspn.S (strspn): Likewise.
10441 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10442 conditional code.
10443 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10444 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10445 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10446 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10447 L(1_3) into L(1_1).
10448 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10449 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10450 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10451 macros.
10452 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10453
2389741a
JJ
104542013-02-19 Jakub Jelinek <jakub@redhat.com>
10455
10456 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10457 macro.
10458
2016b3cd
SP
104592013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10460
e4f22324
SP
10461 * math/atest-exp.c (exp_mpn): Remove ROUND.
10462 * math/atest-exp2.c (exp_mpn): Likewise.
10463 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10464
2016b3cd
SP
10465 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10466 * stdlib/tst-tls-atexit-lib.c: Likewise.
10467 * stdlib/tst-tls-atexit.c: Likewise.
10468
4be9b544
MF
104692013-02-18 Mike Frysinger <vapier@gentoo.org>
10470
10471 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10472 and __attribute_alloc_size__.
10473
2f62b9ee
MF
104742013-02-18 Mike Frysinger <vapier@gentoo.org>
10475
10476 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10477 __attribute_alloc_size__.
10478 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10479 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10480
6ff444c4
MF
104812013-02-18 Mike Frysinger <vapier@gentoo.org>
10482
10483 * include/programs/xmalloc.h: New file.
10484 * catgets/gencat.c: Include it.
10485 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10486 * elf/pldd.c: Likewise.
10487 * iconv/iconv_charmap.c: Likewise.
10488 * iconv/iconvconfig.c: Likewise.
10489 * iconv/strtab.c: Likewise.
10490 * locale/programs/locale.c: Likewise.
10491 * locale/programs/localedef.h: Likewise.
10492 * locale/programs/simple-hash.c: Likewise.
10493 * nscd/nscd.h: Likewise.
10494 * nss/makedb.c: Likewise.
10495 * sysdeps/generic/ldconfig.h: Likewise.
10496
be179c8a
SP
104972013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10498
ba384f6e
SP
10499 * Versions.def: Add GLIBC_2.18.
10500 * include/link.h (struct link_map): New member l_tls_dtor_count.
10501 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10502 (__call_tls_dtors): Likewise.
10503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10504 __cxa_thread_atexit_impl.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10506 Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10508 Likewise.
10509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10510 Likewise.
10511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10512 Likewise.
10513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10515 Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10517 Likewise.
10518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10520 Likewise.
10521 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10522 (tests): Add test case tst-tls-atexit.
10523 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10524 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10525 (GLIBC_PRIVATE): Add __call_tls_dtors.
10526 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10527 for libstdc++.
10528 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10529 * stdlib/tst-tls-atexit.c: New test case.
10530 * stdlib/tst-tls-atexit-lib.c: New test case.
10531
ffaa74cf 10532 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10533
be179c8a
SP
10534 * elf/Versions (ld): Add _dl_find_dso_for_object.
10535 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10536 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10537 (dl_open_worker): Use _dl_find_dso_for_object.
10538 * elf/dl-sym.c (do_sym): Likewise.
10539 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10540
f78b5caa
AK
105412013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10542
10543 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10544 Syntactic changes only.
10545 (_dl_runtime_profile): Do a tail-call to the resolved function.
10546
29691210
JM
105472013-02-17 Joseph Myers <joseph@codesourcery.com>
10548
10549 [BZ #13550]
10550 * sysdeps/x86_64/bp-asm.h: Remove file.
10551 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10552 <bp-sym.h> and <bp-asm.h>.
10553 (__clone): Do not use BP_SYM.
10554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10555 <bp-sym.h> and <bp-asm.h>.
10556 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10557 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10558 "bp-asm.h".
10559 (_setjmp): Do not use BP_SYM.
10560 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10561 "bp-asm.h".
10562 (setjmp): Do not use BP_SYM.
10563 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10564 libc_hidden_def.
10565 (mempcpy): Do not use BP_SYM in weak_alias.
10566 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10567 "bp-asm.h".
10568 (strchr): Do not use BP_SYM.
10569 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10570 "bp-asm.h".
10571 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10572 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10573 (_start): Do not use BP_SYM.
10574 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10575 "bp-asm.h".
10576 (strcat): Do not use BP_SYM.
10577 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10578 "bp-asm.h".
10579 (STRCMP): Do not use BP_SYM.
10580 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10581 "bp-asm.h".
10582 (STRCPY): Do not use BP_SYM.
10583 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10584 "bp-asm.h".
10585 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10586 "bp-asm.h".
10587 (FUNCTION): Do not use BP_SYM.
10588 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10589 weak_alias.
10590 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10591
f238fd19
AJ
105922013-02-17 Andreas Jaeger <aj@suse.de>
10593
10594 * time/Versions: Sort entries.
10595 * string/Versions: Likewise.
10596 * resolv/Versions: Likewise.
10597 * posix/Versions: Likewise.
10598 * iconv/Versions: Likewise.
10599 * elf/Versions: Likewise.
10600 * wcsmbs/Versions: Likewise.
10601
bd07f23c 106022013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10603
22af19f9
SP
10604 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10605 loop termination condition.
10606
4709fe76
SP
10607 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10608 variable to calculate EZ.
10609 (__sqr): Likewise.
2d0e0f29
SP
10610
10611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10612 the lower precision input.
10613
daaa7713
JM
106142013-02-15 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #13550]
10617 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10618 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10619 (run-via-rtld-prefix): Do not handle %-bp tests.
10620 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10621 (all-object-suffixes): Remove .ob.
10622 (bppfx): Remove variable.
10623 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10624 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10625 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10626 [$(build-bounded) = yes] (libtype.ob): Likewise.
10627 * Makerules (elide-routines.ob): Remove variable.
10628 (do-tests-clean): Do not handle *-bp.out.
10629 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10630 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10631 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10632 (tests): Do not include $(tests-bp.out).
10633 (xtests): Do not include $(xtests-bp.out).
10634 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10635 [$(build-bounded) = yes] ($(addprefix
10636 $(objpfx),$(binaries-bounded))): Remove rule.
10637 ($(objpfx)%-bp.out): Remove rule.
10638 * config.make.in (build-bounded): Remove variable.
10639 * crypt/Makefile [$(build-bounded) = yes]
10640 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10641 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10642 append to variable.
10643 [$(build-bounded) = yes] (install-lib): Likewise.
10644 [$(build-bounded) = yes] (generated): Likewise.
10645 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10646 Remove rule.
10647 * intl/Makefile [$(build-bounded) = yes]
10648 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10649 * math/Makefile [$(build-bounded) = yes]
10650 ($(tests:%=$(objpfx)%-bp): Likewise.
10651 * misc/Makefile [$(build-bounded) = yes]
10652 ($(objpfx)tst-tsearch-bp): Likewise.
10653 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10654 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10655 Remove dependency.
10656 * string/Makefile (o-objects.ob): Remove variable.
10657 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10658 (CFLAGS-.ob): Remove variable.
10659 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10660 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10661 both definitions of variable.
10662 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10663 (ASFLAGS-.ob): Remove variable.
10664
e97ed6dd
JM
106652013-02-14 Joseph Myers <joseph@codesourcery.com>
10666
2bdd4ca6
JM
10667 [BZ #13550]
10668 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10669 Remove __BOUNDED_POINTERS__ from condition.
10670 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10671 * string/bits/string2.h [!__NO_STRING_INLINES &&
10672 !__BOUNDED_POINTERS__]: Likewise.
10673 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10674 Likewise.
10675 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10676 Remove conditional code.
10677 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10678 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10679 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10680 condition.
10681
e97ed6dd
JM
10682 [BZ #13550]
10683 * csu/libc-start.c: Do not include <bp-sym.h>.
10684 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10685 * elf/dl-open.c: Do not include <bp-sym.h>.
10686 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10687 * math/fegetenv.c: Do not include <bp-sym.h>.
10688 (fegetenv): Do not use BP_SYM in versioned symbols.
10689 * nptl/sysdeps/pthread/bits/libc-lockP.h
10690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10691 <bp-sym.h>.
10692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10693 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10695 (__pthread_mutex_destroy): Likewise.
10696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10697 (__pthread_mutex_lock): Likewise.
10698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10699 (__pthread_mutex_trylock): Likewise.
10700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10701 (__pthread_mutex_unlock): Likewise.
10702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10703 (__pthread_mutexattr_init): Likewise.
10704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10705 (__pthread_mutexattr_destroy): Likewise.
10706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10707 (__pthread_mutexattr_settype): Likewise.
10708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10709 (__pthread_rwlock_init): Likewise.
10710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10711 (__pthread_rwlock_destroy): Likewise.
10712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10713 (__pthread_rwlock_rdlock): Likewise.
10714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10715 (__pthread_rwlock_tryrdlock): Likewise.
10716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10717 (__pthread_rwlock_wrlock): Likewise.
10718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10719 (__pthread_rwlock_trywrlock): Likewise.
10720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10721 (__pthread_rwlock_unlock): Likewise.
10722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10723 (__pthread_key_create): Likewise.
10724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10725 (__pthread_setspecific): Likewise.
10726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10727 (__pthread_getspecific): Likewise.
10728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10729 Likewise.
10730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10731 (_pthread_cleanup_push_defer): Likewise.
10732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10733 (_pthread_cleanup_pop_restore): Likewise.
10734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10735 (pthread_setcancelstate): Likewise.
10736 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10737 <bp-sym.h>.
10738 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10739 (memchr): Do not use BP_SYM in weak_alias.
10740 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10741 (fegetenv): Do not use BP_SYM in versioned symbols.
10742 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10743 (fesetenv): Do not use BP_SYM in versioned symbols.
10744 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10745 (feupdateenv): Do not use BP_SYM in versioned symbols.
10746 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10747 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10748 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10749 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10750 (open64): Do not use BP_SYM in weak_alias.
10751 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10752 (fegetenv): Do not use BP_SYM in versioned symbols.
10753 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10754 (fesetenv): Do not use BP_SYM in versioned symbols.
10755 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10756 (feupdateenv): Do not use BP_SYM in versioned symbols.
10757 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10758 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10759 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10760 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10761 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10762 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10763 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10764 <bp-sym.h>.
10765 (__libc_start_main): Do not use BP_SYM.
10766
d6752ccd
SP
107672013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10768
cb57ce60
SP
10769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10770 redundant return line.
10771 (norm): Likewise.
10772 (denorm): Likewise.
10773 (dbl_mp): Likewise.
10774 (sub_magnitudes): Likewise.
10775 (__add): Likewise.
10776 (__sub): Likewise.
10777 (__mul): Likewise.
10778 (__inv): Likewise.
10779 (__dvd): Likewise.
10780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10781 (norm): Likewise.
10782 (denorm): Likewise.
10783 (dbl_mp): Likewise.
10784 (sub_magnitudes): Likewise.
10785 (__add): Likewise.
10786 (__sub): Likewise.
10787 (__mul): Likewise.
10788 (__inv): Likewise.
10789 (__dvd): Likewise.
10790
f414520d
SP
10791 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10792 instead of __mul.
10793 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10794 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10795 (cc32): Likewise.
10796
d6752ccd
SP
10797 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10798 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10800 of __mul for squares.
10801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10802 function
10803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10804 Likewise.
10805 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10807
70d9946a
JM
108082013-02-13 Joseph Myers <joseph@codesourcery.com>
10809
10810 [BZ #13550]
10811 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10812 code.
10813 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10814 prototype or function definition. Rename ubp_* variables and
10815 parameters. Remove argv definitions conditional on
10816 [__BOUNDED_POINTERS__].
10817 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10818 * elf/dl-runtime.c (_dl_fixup): Likewise.
10819 * include/set-hooks.h (RUN_HOOK): Likewise.
10820 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10821 definition.
10822 * string/strcpy.c (strcpy): Do not use __unbounded.
10823 * sysdeps/generic/frame.h (struct layout): Likewise.
10824 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10825 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10826 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10827 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10828 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10829 (__backtrace): Likewise.
10830 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10831 use __ptrvalue.
10832 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10833 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10834 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10835 Likewise.
10836 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10837 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10838 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10839 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10840 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10841 Do not use __unbounded.
10842 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10843 Rename __unboundedrlimits parameter to rlimits in prototype.
10844 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10845 Do not use __unbounded.
10846 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10847 not use __ptrvalue.
10848 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10849 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10850 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10851 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10852 __ptrvalue or __unbounded.
10853 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10854 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10855 use __unbounded.
10856 (__new_msgctl): Do not use __ptrvalue.
10857 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10858 __unbounded.
10859 (__libc_msgrcv): Do not use __ptrvalue.
10860 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10861 startup_info): Do not use __unbounded.
10862 (__libc_start_main): Likewise. Rename ubp_* variables and
10863 parameters. Remove argv definitions conditional on
10864 [__BOUNDED_POINTERS__].
10865 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10866 __ptrvalue.
10867 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10868 use __unbounded.
10869 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10870 or __ptrvalue.
10871 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10872 use __unbounded.
10873 (__new_shmctl): Do not use __ptrvalue.
10874 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10875 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10876 Likewise.
10877 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10879 (__libc_sigaction): Likewise.
10880 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10881 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10882 Likewise.
10883 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10884
cc7834d6
OB
108852013-02-13 Ondřej Bílka <neleai@seznam.cz>
10886
ffb1ec7b 10887 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10888
10889 * string/mempcpy.c: Implement by calling memcpy.
10890
bdf02814
SP
108912013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10892
c2af38aa
SP
10893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10894
4e92d59e
SP
10895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10896 evaluation.
10897
909279a5
SP
10898 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10899 values in the mantissa.
10900
bdf02814
SP
10901 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10902 minimize writes to Z.
10903 (sub_magnitudes): Simplify code a bit.
10904
cd525923
RM
109052013-02-12 Roland McGrath <roland@hack.frob.com>
10906
10907 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10908 from the message. The linker prefixes all warnings with that already.
10909
7e2f0d2d
AS
109102013-02-12 Andreas Schwab <schwab@suse.de>
10911
a445af0b
AS
10912 [BZ #15078]
10913 * posix/regexec.c (extend_buffers): Add parameter min_len.
10914 (check_matching): Pass minimum needed length.
10915 (clean_state_log_if_needed): Likewise.
10916 (get_subexp): Likewise.
10917 * posix/Makefile (tests): Add bug-regex34.
10918 (bug-regex34-ENV): Define.
10919 * posix/bug-regex34.c: New file.
10920
7e2f0d2d
AS
10921 [BZ #11561]
10922 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10923 elements compare against the byte sequence of it, not its name.
10924 * posix/Makefile (tests): Add bug-regex35.
10925 (bug-regex35-ENV): Define.
10926 * posix/bug-regex35.c: New file.
10927
a175b684
TV
109282013-02-11 Tom de Vries <tom@codesourcery.com>
10929
10930 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10931 comment.
10932 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10933 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10934 (CHECK_EOL): Add undef.
10935
310998fe 109362013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10937
10938 * bits/stdlib-bsearch.h: New file.
10939 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10940 * stdlib/stdlib.h: Likewise.
41eda41d 10941
8ded91fb
RM
109422013-02-11 Roland McGrath <roland@hack.frob.com>
10943
10944 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10945 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10946 declaration.
10947 * manual/search.texi (Array Search Function): Add missing const in
10948 lfind prototype.
10949 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10950 declaration to use rlim_t.
10951 (Basic Scheduling Functions): Remove erroneous const from
10952 sched_getparam prototype. Remove erroneous * from
10953 sched_get_priority_max and sched_get_priority_min prototypes.
10954 (Resource Usage): Fix summary @comment on vtimes to refer to
10955 sys/vtimes.h rather than vtimes.h.
10956 Add missing *s in vtimes prototype.
10957 (Limits on Resources): Fix ulimit prototype to return long int.
10958 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10959 prototypes to use long int rather than double.
10960 (BSD Random): Fix initstate and setstate to use char *, not void *.
10961 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10962 prototype to make second argument 'struct aiocb64 *const[]'.
10963 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10964 (Status of AIO Operations): Remove erroneous const in aio_return and
10965 aio_return64 prototypes.
10966 (Synchronizing I/O): Fix sync prototype to return void.
10967 * manual/startup.texi (Suboptions): Remove an erroneous const in
10968 getsubopt prototype.
10969 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10970 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10971 use size_t rather than int.
10972 (Scanning All Users): Likewise for getpwent_r.
10973 (Setting Groups): Add missing const to setgroups prototype.
10974 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10975 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10976 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10977 'const void *' rather than 'const char *'.
10978 (Host Address Functions): Likewise for inet_ntop.
10979 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10980 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10981 ssize_t for return value.
10982 (Sending Data): Likewise for send, sendto, sendmsg.
10983 (Socket Option Functions): Add a missing const in setsockopt prototype.
10984 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10985 use wchar_t for the argument.
10986 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10987 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10988 take no arguments.
10989 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10990 double/float/long double for second argument.
10991 Fix return types of significand, significandf, significandl.
10992 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10993 argument in fchmod prototype.
10994 (File Owner): Use uid_t and gid_t in fchown prototype.
10995 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10996 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10997 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10998 use 'const struct dirent **' as argument types to CMP function pointer
10999 argument.
11000 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11001 (File Times): Fix summary magic @comment for struct utimbuf and utime
11002 to refer to utime.h, not time.h.
11003 * manual/string.texi (Argz Functions): Add missing const in
11004 argz_extract and argz_next prototypes.
11005 (Finding Tokens in a String): Likewise for basename.
11006 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11007 (Copying and Concatenation): Fix typo in wmemmove prototype.
11008 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11009 (Signal Stack): Remove erroneous const in sigstack prototype.
11010 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11011 prototype.
11012 (Simple Calendar Time): Likewise for stime.
11013 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11014 prototype.
11015 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11016 say sys/sysctl.h instead.
11017 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11018 and vsyslog prototypes.
11019
fe77fe6d
TV
110202013-02-11 Tom de Vries <tom@codesourcery.com>
11021
11022 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11023 Remove.
11024
3a09b620
RM
110252013-02-11 Roland McGrath <roland@hack.frob.com>
11026
11027 * misc/sys/mman.h: Fix typo in mremap comment.
11028
550a0b89
RM
110292013-02-08 Roland McGrath <roland@hack.frob.com>
11030
11031 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11032 the '\0' terminator.
11033
a2da1673
JM
110342013-02-08 Joseph Myers <joseph@codesourcery.com>
11035
11036 [BZ #13550]
11037 * debug/segfault.c: Don't include <bp-checks.h>.
11038 * sysdeps/generic/bp-checks.h: Remove file.
11039 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11040 (__GETDENTS): Don't use CHECK_N.
11041 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11042 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11043 (__getgroups): Don't use CHECK_N.
11044 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11045 (setgroups): Don't use CHECK_N.
11046 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11047 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11048 (__libc_msgrcv): Don't use CHECK_N.
11049 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11050 (__libc_msgsnd): Don't use CHECK_N.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11052 <bp-checks.h>.
11053 (__libc_pread): Don't use CHECK_N.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11055 include <bp-checks.h>.
11056 (__libc_pread64): Don't use CHECK_N.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11058 include <bp-checks.h>.
11059 (__libc_pwrite): Don't use CHECK_N.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11061 include <bp-checks.h>.
11062 (__libc_pwrite64): Don't use CHECK_N.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11064 <bp-checks.h>.
11065 (__libc_pread): Don't use CHECK_N.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11067 include <bp-checks.h>.
11068 (__libc_pread64): Don't use CHECK_N.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11070 include <bp-checks.h>.
11071 (__libc_pwrite): Don't use CHECK_N.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11073 include <bp-checks.h>.
11074 (__libc_pwrite64): Don't use CHECK_N.
11075 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11076 (do_pread): Don't use CHECK_N.
11077 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11078 (do_pread64): Don't use CHECK_N.
11079 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11080 (do_pwrite): Don't use CHECK_N.
11081 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11082 (do_pwrite64): Don't use CHECK_N.
11083 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11084 (__libc_readv): Don't use CHECK_N.
11085 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11086 (semop): Don't use CHECK_N.
11087 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11088 <bp-checks.h>.
11089 (semtimedop): Don't use CHECK_N.
11090 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11091 (__libc_pread): Don't use CHECK_N.
11092 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11093 <bp-checks.h>.
11094 (__libc_pread64): Don't use CHECK_N.
11095 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11096 <bp-checks.h>.
11097 (__libc_pwrite): Don't use CHECK_N.
11098 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11099 <bp-checks.h>.
11100 (__libc_pwrite64): Don't use CHECK_N.
11101 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11102 <bp-checks.h>.
11103 (__libc_msgrcv): Don't use CHECK_N.
11104 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11105 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11106 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11107 (__libc_writev): Don't use CHECK_N.
11108
b84660a8
RM
111092013-02-08 Roland McGrath <roland@hack.frob.com>
11110
7f3e75f8
RM
11111 * string/strcpy.c: Removed unused variable.
11112
b84660a8
RM
11113 * Makeconfig (+sysdep-includes): Define with := rather than =.
11114 Use an existing include/ subdir of each sysdeps dir before it.
11115
471514d3
CD
111162013-02-08 Carlos O'Donell <carlos@redhat.com>
11117
11118 * nscd/connection.c (register_traced_file): Comment function.
11119 [HAVE_INOTIFY] (union __inev): Define.
11120 [HAVE_INOTIFY] (inotify_check_files): New function.
11121 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11122 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11123 clear_db_cache.
11124 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11125
b2d3c3be
CD
111262013-02-08 Carlos O'Donell <carlos@redhat.com>
11127
11128 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11129 loaded if not already and that a failure is permanent.
11130
b39949d2
CD
111312013-02-08 Carlos O'Donell <carlos@redhat.com>
11132
ddacd1db 11133 [BZ #15006]
b39949d2
CD
11134 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11135 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11136
b2c9eff4
JM
111372013-02-08 Joseph Myers <joseph@codesourcery.com>
11138
f3aae3f3
JM
11139 [BZ #13550]
11140 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11141 (CHECK_1_NULL_OK): Likewise.
11142 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11143 (__fxstat): Do not use CHECK_1.
11144 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11145 <bp-checks.h>.
11146 (___fxstat64): Do not use CHECK_1.
11147 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11148 <bp-checks.h>.
11149 (__fxstatat): Do not use CHECK_1.
11150 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11151 <bp-checks.h>.
11152 (__fxstatat64): Do not use CHECK_1.
11153 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11154 <bp-checks.h>.
11155 (__fxstat): Do not use CHECK_1.
11156 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11157 <bp-checks.h>.
11158 (__fxstatat): Do not use CHECK_1.
11159 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11160 <bp-checks.h>.
11161 (__getresgid): Do not use CHECK_1.
11162 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11163 <bp-checks.h>.
11164 (__getresuid): Do not use CHECK_1.
11165 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11166 <bp-checks.h>.
11167 (__lxstat): Do not use CHECK_1.
11168 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11169 <bp-checks.h>.
11170 (__old_msgctl): Do not use CHECK_1.
11171 (__new_msgctl): Likewise.
11172 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11173 <bp-checks.h>.
11174 (__new_setrlimit): Do not use CHECK_1.
11175 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11176 <bp-checks.h>.
11177 (__old_shmctl): Do not use CHECK_1.
11178 (__new_shmctl): Likewise.
11179 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11180 <bp-checks.h>.
11181 (__xstat): Do not use CHECK_1.
11182 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11183 (__lxstat): Do not use CHECK_1.
11184 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11185 <bp-checks.h>.
11186 (___lxstat64): Do not use CHECK_1.
11187 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11188 (__old_msgctl): Do not use CHECK_1.
11189 (__new_msgctl): Likewise.
11190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11191 <bp-checks.h>.
11192 (__gettimeofday): Do not use CHECK_1.
11193 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11194 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11195 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11196 <bp-checks.h>.
11197 (__gettimeofday): Do not use CHECK_1.
11198 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11199 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11200 (__new_shmctl): Do not use CHECK_1.
11201 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11202 <bp-checks.h>.
11203 (do_sigtimedwait): Do not use CHECK_1.
11204 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11205 <bp-checks.h>.
11206 (do_sigwaitinfo): Do not use CHECK_1.
11207 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11208 <bp-checks.h>.
11209 (msgctl): Do not use CHECK_1.
11210 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11211 <bp-checks.h>.
11212 (shmctl): Do not use CHECK_1.
11213 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11214 (ustat): Do not use CHECK_1.
11215 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11216 <bp-checks.h>.
11217 (__fxstat): Do not use CHECK_1.
11218 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11219 <bp-checks.h>.
11220 (__fxstatat): Do not use CHECK_1.
11221 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11222 <bp-checks.h>.
11223 (__lxstat): Do not use CHECK_1.
11224 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11225 <bp-checks.h>.
11226 (__xstat): Do not use CHECK_1.
11227 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11228 (__xstat): Do not use CHECK_1.
11229 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11230 (___xstat64): Do not use CHECK_1.
11231
b2c9eff4
JM
11232 [BZ #13550]
11233 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11234 definitions.
11235 (CHECK_BOUNDS_HIGH): Likewise.
11236 * string/strcpy.c: Do not include <bp-checks.h>.
11237 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11238
f1d70dad
RM
112392013-02-07 Roland McGrath <roland@hack.frob.com>
11240
11241 * nscd/nscd-client.h (__nscd_drop_map_ref):
11242 Add __attribute__ ((unused)).
11243 * nis/nss-nisplus.h (niserr2nss): Likewise.
11244
11245 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11246 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11247
11248 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11249 Remove inline keyword.
11250 * include/rounding-mode.h (round_away): Likewise.
11251 * libio/wfileops.c (adjust_wide_data): Likewise.
11252 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11253 (__m128i_strloadu_tolower): Likewise.
11254 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11255 (__m128i_strloadu_tolower): Likewise.
11256 * time/mktime.c (ydhms_diff): Likewise.
11257 * locale/elem-hash.h (elem_hash): Likewise.
11258 * locale/setlocale.c (setdata): Likewise.
11259 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11260 (re_string_wchar_at): Likewise.
11261 (bitset_not, bitset_merge, bitset_mask): Likewise.
11262 [!(__GNUC__ > 3)] (inline): Remove macro.
11263 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11264 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11265 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11266 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11267 * string/memcmp.c (memcmp_bytes): Likewise.
11268 * locale/programs/locarchive.c (compute_hashval): Likewise.
11269 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11270 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11271 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11272 * nss/getent.c (print_rpc, print_protocols): Likewise.
11273 (print_passwd, print_group, print_aliases): Likewise.
11274 * nis/nss-nisplus.h (niserr2nss): Likewise.
11275 * nscd/connections.c (restart_p): Likewise.
11276 Change return type to bool.
11277
eab55bfb
RM
112782013-02-05 Roland McGrath <roland@hack.frob.com>
11279
7bd642f5
RM
11280 * Makeconfig (all-Depend-files): Add existing
11281 $(sorted-subdirs:=/Depend) files.
11282 (all-subdirs): Remove nss.
11283 * sysdeps/unix/inet/Subdirs: Add it here instead.
11284 * hesiod/Depend: New file.
11285
573c29b2
RM
11286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11287 instead of calling alloca.
11288
b2e25af0
RM
11289 * io/lseek.c (__lseek): Rename to __libc_lseek.
11290 Define __lseek as an alias.
11291
eab55bfb
RM
11292 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11293
9a0d1941
CD
112942013-02-04 Carlos O'Donell <carlos@redhat.com>
11295
11296 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11297 else clause and remove check for non-standard endianness.
11298
b83bbec4
DM
112992013-02-04 David S. Miller <davem@davemloft.net>
11300
11301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11302
6277fdab
JM
113032013-02-04 Joseph Myers <joseph@codesourcery.com>
11304
11305 [BZ #13550]
11306 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11307 (__ubp_memchr): Remove prototype.
11308 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11309 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11310 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11311 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11312 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11313 Remove alias.
11314 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11315 (__ubp_memchr): Likewise.
11316 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11317 (__ubp_memchr): Likewise.
11318 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11319 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11320 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11321 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11322 CHECK_STRING.
11323 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11324 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11325 (__getcwd): Do not use CHECK_STRING.
11326 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11327 <bp-checks.h>.
11328 (__real_chown): Do not use CHECK_STRING.
11329 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11330 <bp-checks.h>.
11331 (fchownat): Do not use CHECK_STRING.
11332 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11333 CHECK_STRING.
11334 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11335 <bp-checks.h>.
11336 (__lchown): Do not use CHECK_STRING.
11337 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11338 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11339 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11340 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11342 include <bp-checks.h>.
11343 (truncate64): Do not use CHECK_STRING.
11344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11345 <bp-checks.h>.
11346 (__real_chown): Do not use CHECK_STRING.
11347 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11348 <bp-checks.h>.
11349 (__lchown): Do not use CHECK_STRING.
11350 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11351 <bp-checks.h>.
11352 (__chown): Do not use CHECK_STRING.
11353 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11354 <bp-checks.h>.
11355 (truncate64): Do not use CHECK_STRING.
11356 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11357 Likewise.
11358 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11359 (__xmknod): Do not use CHECK_STRING.
11360 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11361 <bp-checks.h>.
11362 (__xmknodat): Do not use CHECK_STRING.
11363 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11364 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11365
903ae060
AS
113662013-02-04 Andreas Schwab <schwab@suse.de>
11367
11368 [BZ #14142]
11369 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11370 * include/netdb.h: Likewise for h_errno.
11371 * elf/tst-stackguard1.c: Include <tls.h>.
11372
542f9466
JK
113732013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11374
11375 * elf/link.h (struct link_map): Extend the l_addr comment.
11376 * include/link.h (struct link_map): Likewise.
11377
e782a927
JM
113782013-02-01 Joseph Myers <joseph@codesourcery.com>
11379
11380 [BZ #13550]
11381 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11382 (BOUNDED_1): Remove macro.
11383 * debug/backtrace.c: Don't include <bp-checks.h>.
11384 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11385 (__backtrace): Likewise.
11386 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11387 <bp-checks.h>.
11388 (__backtrace): Don't use BOUNDED_1.
11389 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11390 <bp-checks.h>.
11391 (__backtrace): Don't use BOUNDED_1.
11392 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11393 (__backtrace): Don't use BOUNDED_1.
11394 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11395 (shmat): Don't use BOUNDED_N.
11396
8cf28c5e
JM
113972013-01-31 Joseph Myers <joseph@codesourcery.com>
11398
3a7ac8a0
JM
11399 [BZ #13550]
11400 * sysdeps/generic/bp-start.h: Remove file.
11401 * csu/libc-start.c: Don't include <bp-start.h>.
11402 (LIBC_START_MAIN): Set up __environ directly instead of using
11403 INIT_ARGV_and_ENVIRON.
11404 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11405 <bp-start.h>.
11406
f3499f95
JM
11407 [BZ #13550]
11408 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11409 definitions.
11410 (CHECK_FCNTL): Likewise.
11411 (CHECK_N_PAGES): Likewise.
11412
32a45bea
JM
11413 [BZ #13550]
11414 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11415 definitions.
11416 (CHECK_SIGSET_NULL_OK): Likewise.
11417 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11418 <bp-checks.h>.
11419 (sigpending): Don't use CHECK_SIGSET.
11420 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11421 <bp-checks.h>.
11422 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11423 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11424 <bp-checks.h>.
11425 (do_sigsuspend): Don't use CHECK_SIGSET.
11426 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11427 use CHECK_SIGSET.
11428 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11429 (do_sigwait): Don't use CHECK_SIGSET.
11430 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11431 use CHECK_SIGSET.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11433 include <bp-checks.h>.
11434 (sigpending): Don't use CHECK_SIGSET.
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11436 include <bp-checks.h>.
11437 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11438 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11439 <bp-checks.h>.
11440 (sigpending): Don't use CHECK_SIGSET.
11441 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11442 <bp-checks.h>.
11443 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11444
2e8a5c8c
JM
11445 [BZ #13550]
11446 * sysdeps/generic/bp-semctl.h: Remove file.
11447 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11448 <bp-checks.h> and <bp-semctl.h>.
11449 (__old_semctl): Don't use CHECK_SEMCTL.
11450 (__new_semctl): Likewise.
11451 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11452 and <bp-semctl.h>.
11453 (__old_semctl): Don't use CHECK_SEMCTL.
11454 (__new_semctl): Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11456 <bp-checks.h> and <bp-semctl.h>.
11457 (__old_semctl): Don't use CHECK_SEMCTL.
11458 (__new_semctl): Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11460 <bp-checks.h> and <bp-semctl.h>.
11461 (semctl): Don't use CHECK_SEMCTL.
11462
c2d54929
JM
11463 [BZ #13550]
11464 * Makerules (elide-bp-thunks): Remove variable.
11465 (elide-routines.oS): Don't use $(elide-bp-thunks).
11466 (elide-routines.os): Likewise.
11467 (elide-routines.o): Likewise.
11468 (elide-routines.op): Likewise.
11469 (elide-routines.og): Likewise.
11470 (objects): Don't use $(bp-thunks).
11471 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11472 include.
11473 (common-generated): Do not add s-proto-bp.d.
11474 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11475 (int): Likewise.
11476 (typ): Likewise.
11477 Do not generate makefile rules for bounded-pointer thunks.
11478 * sysdeps/generic/bp-thunks.h: Remove file.
11479 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11480 * sysdeps/unix/s-proto-bp.S: Likewise.
11481
8cf28c5e
JM
11482 [BZ #15062]
11483 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11484 parts of result separately when argument is not close to line from
11485 -i to i and one part of argument is small.
11486 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11487 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11488 * math/libm-test.inc (cacos_test): Add more tests.
11489 (casin_test): Likewise.
11490 (casinh_test): Likewise.
11491 * sysdeps/i386/fpu/libm-test-ulps: Update.
11492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11493
c4e33b8d
DM
114942013-01-31 David S. Miller <davem@davemloft.net>
11495
11496 * po/de.po: Update from translation team.
11497
3b60b421
MK
114982013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11499
11500 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11501
bb931195
TS
115022013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11503
b5a5da23
TS
11504 * configure.in (_AC_PROG_CC_C89): New definition.
11505 * configure: Regenerate.
11506
bb931195
TS
11507 * configure.in (AC_PROG_CPP): New definition.
11508 * configure: Regenerate.
11509
8c53a12c
JM
115102013-01-23 Joseph Myers <joseph@codesourcery.com>
11511
11512 * debug/tst-backtrace.h: New file.
11513 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11514 (ret): Remove variable.
11515 (x): Likewise.
11516 (FAIL): Remove macro.
11517 (NO_INLINE): Likewise.
11518 (fn1): Use match function instead of strstr.
11519 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11520 (ret): Remove variable.
11521 (x): Likewise.
11522 (FAIL): Remove macro.
11523 (NO_INLINE): Likewise.
11524 (fn): Use match function instead of strstr.
11525 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11526 (ret): Remove variable.
11527 (x): Likewise.
11528 (FAIL): Remove macro.
11529 (NO_INLINE): Likewise.
11530 (handle_signal): Use match function instead of strstr.
11531 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11532 (ret): Remove variable.
11533 (x): Likewise.
11534 (FAIL): Remove macro.
11535 (NO_INLINE): Likewise.
11536 (handle_signal): Use match function instead of strstr.
11537
4858fa2a
RM
115382013-01-23 Roland McGrath <roland@hack.frob.com>
11539
11540 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11541
bae8e7f5
DM
115422013-01-23 David S. Miller <davem@davemloft.net>
11543
11544 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11545 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11546 argument of CAS if possible.
11547 * sysdeps/sparc/sparc64/bits/atomic.h
11548 (__arch_compare_and_exchange_val_32_acq): Likewise.
11549 (__arch_compare_and_exchange_val_64_acq): Likewise.
11550
9cbbc4ae
PT
115512013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11552
11553 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11554 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11555 Include <limits.h>.
67b3f58c 11556 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11557
5655a0b5
AC
115582013-01-23 Adam Conrad <adconrad@0c3.net>
11559
11560 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11561 (LDFLAGS-tst-array5): Likewise.
11562
052aff95
JM
115632013-01-23 Joseph Myers <joseph@codesourcery.com>
11564
11565 [BZ #15036]
11566 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11567 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11568 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11569 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11570
7c1e01aa
DM
115712013-01-21 David S. Miller <davem@davemloft.net>
11572
11573 * sysdeps/sparc/backtrace.c: New file.
11574 * sysdeps/sparc/sparc32/backtrace.h: New file.
11575 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11576 * sysdeps/sparc/sparc64/backtrace.h: New file.
11577 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11578 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11579 -funwind-tables.
11580
ab087e0a
AS
115812013-01-21 Andreas Schwab <schwab@suse.de>
11582
11583 [BZ #15020]
11584 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11585 closed its stdout.
11586
ed689c2f
AS
115872013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11588
11589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11590 "mpa2.h".
11591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11592
31d470ac
JM
115932013-01-18 Joseph Myers <joseph@codesourcery.com>
11594 Mark Mitchell <mark@codesourcery.com>
11595 Tom de Vries <tom@codesourcery.com>
11596 Paul Pluzhnikov <ppluzhnikov@google.com>
11597
11598 * debug/tst-backtrace2.c: New file.
11599 * debug/tst-backtrace3.c: Likewise.
11600 * debug/tst-backtrace4.c: Likewise.
11601 * debug/tst-backtrace5.c: Likewise.
11602 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11603 (CFLAGS-tst-backtrace3.c): Likewise.
11604 (CFLAGS-tst-backtrace4.c): Likewise.
11605 (CFLAGS-tst-backtrace5.c): Likewise.
11606 (LDFLAGS-tst-backtrace2): Likewise.
11607 (LDFLAGS-tst-backtrace3): Likewise.
11608 (LDFLAGS-tst-backtrace4): Likewise.
11609 (LDFLAGS-tst-backtrace5): Likewise.
11610 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11611 tst-backtrace4 and tst-backtrace5.
11612
90567f30 116132013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11614 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11615
11616 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11617 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11618 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11619 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11621 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11622 "+r" and remove output regs list as redundant. Add explicit inline
11623 asm to specify register of return val to work around compiler codegen
11624 bug. Remove (int) cast on return value. Add return type parameter to
11625 use in macro so that this macro does not truncate return value for
11626 64-bit values.
11627 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11628 pass to INTERNAL_VSYSCALL_NCS.
11629 (INLINE_VSYSCALL): Add 'long int' as return type to
11630 INTERNAL_VSYSCALL_NCS macro invocation.
11631 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11632 INTERNAL_VSYSCALL_NCS macro invocation.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11634
d3b9ea61
SP
116352013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11636
0b57daeb
SP
11637 [BZ #14496]
11638 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11639 Fix application of SIMD FP exception mask.
11640
caa99d06
SP
11641 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11642 mp_no from a power of two.
11643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11644 __mpexp_twomm1. Use __pow_mp.
11645
d3b9ea61
SP
11646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11647 multiplication.
11648
1dbaee3c
DM
116492013-01-17 David S. Miller <davem@davemloft.net>
11650
11651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11652
728d7b43
JM
116532013-01-17 Joseph Myers <joseph@codesourcery.com>
11654
11655 [BZ #15023]
11656 * include/complex.h: Condition contents on [!_COMPLEX_H].
11657 (__kernel_casinhf): New prototype.
11658 (__kernel_casinh): Likewise.
11659 (__kernel_casinhl): Likewise.
11660 * math/Makefile (libm_calls): Add k_casinh.
11661 * math/k_casinh.c: New file.
11662 * math/k_casinhf.c: Likewise.
11663 * math/k_casinhl.c: Likewise.
11664 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11665 finite nonzero arguments.
11666 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11667 finite nonzero arguments.
11668 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11669 finite nonzero arguments.
11670 * math/s_casinh.c: Do not include <float.h>.
11671 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11672 * math/s_casinhf.c: Do not include <float.h>.
11673 (__casinhf): Move code for finite nonzero arguments to
11674 k_casinhf.c.
11675 * math/s_casinhl.c: Do not include <float.h>.
11676 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11677 redefine.
11678 (__casinhl): Move code for finite nonzero arguments to
11679 k_casinhl.c.
11680 * math/libm-test.inc (cacos_test): Add more tests.
11681 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11683
2a26ef3a
PT
116842013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11685
11686 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11687 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11688 [!HAVE_MREMAP]: Remove [defined linux] case.
11689 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11690
a897655d
SP
116912013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11692
11693 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11694
881ebe89 116952013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11696
11697 * elf/elf.h (R_386_SIZE32): New relocation.
11698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11699 R_386_SIZE32.
11700 (elf_machine_rela): Likewise.
11701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11702 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11703
59981e9b
JM
117042013-01-17 Joseph Myers <joseph@codesourcery.com>
11705
11706 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11707 (FP_FAST_FMA): Do not define.
11708 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11709 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11710 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11711 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11712 !_SOFT_FLOAT]: Likewise.
11713 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11714 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11715 value.
11716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11717 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11718 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11719 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11720 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11721 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11722 file.
11723
cfa8054f
AS
117242013-01-16 Andreas Schwab <schwab@suse.de>
11725
11726 [BZ #14327]
11727 * include/stdlib.h (__mktemp): Add declaration.
11728 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11729 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11730
dd930cc5
SP
117312013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11732
881ebe89
SP
11733 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11734 definitions.
11735 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11736 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11737 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11738 definitions here.
11739 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11740 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11741 definitions.
11742 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11743 and ONE.
11744 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11745 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11746 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11747 definitions.
11748 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11749 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11750 definitions.
11751 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11752
dd930cc5
SP
11753 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11754
c19a9f89
DM
117552013-01-15 David S. Miller <davem@davemloft.net>
11756
1aa61767
DM
11757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11758 trunc{,f} to libm-sysdep_routes.
11759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11761 file.
11762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11764 file.
11765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11766 file.
11767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11773 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11774 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11775
c42d5e98
DM
11776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11777 nearbyint{,f} to libm-sysdep_routes.
11778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11780 New file.
11781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11782 file.
11783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11784 New file.
11785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11786 file.
11787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11789 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11790 file.
11791 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11793 file.
11794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11795 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11796 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11797
c19a9f89
DM
11798 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11799 libc_feholdexcept and libc_fesetenv.
11800
357679d2
MF
118012013-01-15 Mike Frysinger <vapier@gentoo.org>
11802
11803 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11804
65a82e3d
DM
118052013-01-14 David S. Miller <davem@davemloft.net>
11806
8b954ab9
DM
11807 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11808 (SPARC_ASM_VIS2_IFUNC): Likewise.
11809 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11811 use of 'siam' instruction.
11812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11813 Likewise.
11814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11815 Likewise.
11816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11817 Likewise.
11818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11823 file.
11824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11825 file.
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11827 file.
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11829 file.
11830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11835 new VIS2 routines.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11839 Likewise.
11840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11845 routines to libm-sysdep_routines.
11846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11847
65a82e3d
DM
11848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11849 fdim/fdimf to libm-sysdep_routines.
11850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11851 file.
11852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11854 file.
11855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11858 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11859 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11860 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11861 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11862
e34ab705
SP
118632013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
2a91b573
SP
11865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11866 to optimize copies.
11867
1066a534
SP
11868 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11871
e34ab705
SP
11872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11873 local variable MPTWO.
11874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11875 Likewise.
11876
aba5e596
MF
118772013-01-13 Mike Frysinger <vapier@gentoo.org>
11878
11879 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11880 GLOB_NOESCAPE.
11881
e557e9e5
MF
118822013-01-13 Mike Frysinger <vapier@gentoo.org>
11883
11884 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11885
0428cec9
MF
118862013-01-13 Mike Frysinger <vapier@gentoo.org>
11887
11888 * manual/pattern.texi (glob_t): Document gl_flags.
11889 (glob64_t): Likewise.
11890
8794a964
DM
118912013-01-11 David S. Miller <davem@davemloft.net>
11892
66438c3f
RM
11893 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11894 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11895 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11896 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11897 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11898 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11899 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11900 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11901 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11902 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11903 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11904 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11905 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11906
4ae4244d
DM
11907 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11908 sparc V9 rather than using V8 code.
11909 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11910 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11911
8794a964
DM
11912 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11913 Move to...
11914 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11915 Here.
11916
6270516e
RM
119172013-01-11 Roland McGrath <roland@hack.frob.com>
11918
11919 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11920 not in the main loop.
11921 * configure: Regenerated.
11922
6a57d931
JM
119232013-01-11 Joseph Myers <joseph@codesourcery.com>
11924
11925 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11926 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11927 to just #else.
11928 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11929 [!__GLIBC_HAVE_LONG_LONG] case.
11930 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11931 condition to just #else.
11932 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11933 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11934 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11935 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11936 unconditional.
11937 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11938 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11939 #elif condition to just #else.
11940 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11941 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11942 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11943 #elif condition to just #else.
11944
0e8529e9
SE
119452013-01-11 Steve Ellcey <sellcey@mips.com>
11946
11947 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11948 (EF_MIPS_ARCH_64): Fix value.
11949 (EF_MIPS_ARCH_32R2): New.
11950 (EF_MIPS_ARCH_64R2): New.
11951
740b3dbe
L
119522013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 * Makeconfig (+link-pie-before-libc): New.
11955 (+link-pie-after-libc): Likewise.
11956 (+link-pie-tests): Likewise.
11957 (+link-pie): Rewritten.
11958 (link-before-libc): Remove $(config-LDFLAGS).
11959 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11960 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11961 (config-LDFLAGS): Renamed to ...
11962 (rtld-LDFLAGS): This.
11963 (rtld-tests-LDFLAGS): New macro.
11964 (link-libc-rpath-link): Likewise.
11965 (link-libc-tests-rpath-link): Likewise.
11966 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11967 (link-libc): Prepand $(link-libc-rpath-link).
11968 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11969 (test-program-prefix): New macro.
11970 (test-via-rtld-prefix): Likewise.
11971 (test-program-cmd): Likewise.
11972 (host-test-program-cmd): Likewise.
11973 * Makefile ($(common-objpfx)testrun.sh): Replace
11974 $(run-program-prefix) with $(test-program-prefix).
11975 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11976 $(rtld-LDFLAGS).
11977 ($(common-objpfx)shlib.lds): Likewise.
11978 (build-module-helper): Likewise.
11979 ($(common-objpfx)format.lds): Likewise.
11980 * Rules (binaries-pie-tests): New.
11981 (binaries-pie-notests): Likewise.
11982 (binaries-pie): Rewritten.
11983 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11984 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11985 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11986 (make-test-out): Replace $(host-built-program-cmd) with
11987 $(host-test-program-cmd).
11988 * config.make.in (build-hardcoded-path-in-tests): New variable.
11989 * configure.in (--enable-hardcoded-path-in-tests): New configure
11990 option.
11991 (hardcoded_path_in_tests): New AC_SUBST.
11992 * configure: Regenerated.
11993 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11994 $(built-program-cmd) with $(test-program-cmd).
11995 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11996 (test_program_cmd): This.
11997 * elf/Makefile ($(objpfx)order.out): Run test with
11998 $(test-program-prefix).
11999 ($(objpfx)order2.out): Likewise.
12000 ($(objpfx)tst-initorder.out): Likewise.
12001 ($(objpfx)tst-initorder2.out): Likewise.
12002 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12003 $(test-program-cmd).
12004 ($(objpfx)tst-array1-static.out): Likewise.
12005 ($(objpfx)tst-array2.out): Likewise.
12006 ($(objpfx)tst-array3.out): Likewise.
12007 ($(objpfx)tst-array4.out): Likewise.
12008 ($(objpfx)tst-array5.out): Likewise.
12009 ($(objpfx)tst-array5-static.out): Likewise.
12010 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12011 $(test-program-cmd).
12012 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12013 $(run-program-prefix) with $(test-program-prefix).
12014 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12015 (test_program_prefix): This.
12016 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12017 $(run-program-prefix) with $(test-program-prefix).
12018 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12019 (test_program_prefix): This.
12020 * iconvdata/tst-tables.sh: Likewise.
12021 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12022 $(run-program-prefix) with $(test-program-prefix).
12023 ($(objpfx)tst-translit.out): Likewise.
12024 ($(objpfx)tst-gettext2.out): Likewise.
12025 ($(objpfx)tst-gettext4.out): Likewise.
12026 ($(objpfx)tst-gettext6.out): Likewise.
12027 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12028 (test_program_prefix): This.
12029 * intl/tst-gettext2.sh: Likewise.
12030 * intl/tst-gettext4.sh Likewise.
12031 * intl/tst-gettext6.sh: Likewise.
12032 * intl/tst-translit.sh: Likewise.
12033 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12034 with $(test-program-cmd).
12035 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12036 $(run-program-prefix) with $(test-program-prefix).
12037 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12038 (test_program_prefix): This.
12039 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12040 $(run-program-prefix) with $(test-program-prefix).
12041 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12042 (test_program_prefix): This.
12043 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12044 * posix/Makefile ($(objpfx)globtest.out): Replace
12045 $(run-via-rtld-prefix) and $(test-wrapper) with
12046 $(test-program-prefix) and $(test-via-rtld-prefix).
12047 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12048 $(test-program-prefix).
12049 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12050 $(host-test-program-cmd).
12051 (tst-spawn-ARGS): Likewise.
12052 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12053 $(test-program-prefix).
12054 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12055 (test_via_rtld_prefix): This.
12056 (test_wrapper): Renamed to ...
12057 (test_program_prefix): This.
12058 (run_program_prefix): Replaced by test_program_prefix.
12059 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12060 (test_program_prefix): This.
12061 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12062 with $(host-test-program-cmd).
12063 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12064 $(run-program-prefix) with $(test-program-prefix).
12065 ($(objpfx)tst-printf.out): Likewise.
12066 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12067 $(test-program-cmd).
12068 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12069 (test_program_prefix): This.
12070 * stdio-common/tst-unbputc.sh: Likewise.
12071 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12072 $(run-program-prefix) with $(test-program-prefix).
12073 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12074 (test_program_prefix): This.
12075 * string/Makefile ($(objpfx)tst-svc.out): Replace
12076 $(built-program-cmd) with $(test-program-cmd).
12077
c6fe55cf
AJ
120782013-01-11 Andreas Jaeger <aj@suse.de>
12079
12080 [BZ #15003]
12081 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12082 value. Sync with Linux 3.7.
12083
9e6919c8
DM
120842013-01-10 David S. Miller <davem@davemloft.net>
12085
12086 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12087 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12088 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12089
1c9f1a02
RM
120902013-01-10 Roland McGrath <roland@hack.frob.com>
12091
12092 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12093 never set.
12094 * configure: Regenerated.
12095
b9de2dde
DM
120962013-01-10 David S. Miller <davem@davemloft.net>
12097
12098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12099 sparc V9 rather than using V8 code.
12100 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12101 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12102
e7f68ef4
RM
121032013-01-10 Roland McGrath <roland@hack.frob.com>
12104
12105 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12106 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12107 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12108 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12109 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12110 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12111 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12112 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12113 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12114 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12115 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12116 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12117 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12118 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12119 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12120 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12121 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12122 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12123 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12124 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12125 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12126 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12127 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12128 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12129 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12130 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12131 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12132
5a47cc9c
DM
121332013-01-10 David S. Miller <davem@davemloft.net>
12134
12135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12136
4cf8f209
L
121372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12138
12139 * posix/Makefile (tests-static): New variable.
12140 (tests): Add $(tests-static).
12141 (tst-exec-static-ARGS): New variable.
12142 (tst-spawn-static-ARGS): Likewise.
12143 * posix/tst-exec-static.c: New file.
12144 * posix/tst-spawn-static.c: Likewise.
12145 * posix/tst-exec.c: Support run directly.
12146 * posix/tst-spawn.c: Likewise.
12147
fed0faa1
JM
121482013-01-10 Joseph Myers <joseph@codesourcery.com>
12149
828beb13
JM
12150 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12151 long.
12152 * math/bits/mathcalls.h (llrint): Likewise.
12153 (llround): Likewise.
12154 * stdlib/stdlib.h (struct drand48_data): Likewise.
12155 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12156 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12158 Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12160 Likewise.
12161 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12162 (elf_greg_t): Likewise.
12163 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12164 (__jmp_buf): Likewise.
12165 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12166 definitions.
12167 (llrint): Likewise, for all definitions.
12168 (llrintl): Likewise.
12169
fed0faa1
JM
12170 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12171 Remove [__GNUC__] condition.
12172 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12173 condition to just [__USE_ISOC99].
12174 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12175
1a20cb20
L
121762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 [BZ #14200]
12179 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12180 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12181 defined.
12182 (_POSIX_V6_ILP32_OFF32): Likewise.
12183 (_XBS5_ILP32_OFF32): Likewise.
12184 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12185 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12186
751b85f7
SP
121872013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12188
7490eb81
SP
12189 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12190
751b85f7
SP
12191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12192 doubles __mpexp_twomm1. Adjust usage.
12193 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12194 Remove.
12195
988197f0
AS
121962013-01-10 Andreas Schwab <schwab@suse.de>
12197
12198 [BZ #14964]
12199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12200 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12201
e83d7298
DM
122022013-01-09 David S. Miller <davem@davemloft.net>
12203
034ed64b 12204 [BZ #15003]
e83d7298
DM
12205 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12206 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12207 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12208 TCP_FASTOPEN): Define.
12209 (tcp_repair_opt): New structure.
12210 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12211 enum values.
12212 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12213 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12214 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12215 (tcp_cookie_transactions): New structure.
12216
d5e0b9bd
AB
122172013-01-09 Anton Blanchard <anton@samba.org>
12218
12219 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12220 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12221 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12222 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12223
0c07e3ea
JM
122242013-01-09 Joseph Myers <joseph@codesourcery.com>
12225
12226 * include/features.h (__USE_ANSI): Remove.
12227
232f7002
RM
122282013-01-09 Roland McGrath <roland@hack.frob.com>
12229
ad98e30c
RM
12230 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12231
232f7002
RM
12232 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12233
950c99ca
SP
122342013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12235
b5792741
SP
12236 * sysdeps/s390/fpu/libm-test-ulps: Update.
12237
47cf2278
SP
12238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12239
950c99ca
SP
12240 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12241 (__acr): Likewise.
12242 (__cpy): Likewise.
12243 (norm): Likewise.
12244 (denorm): Likewise.
12245 (__mp_dbl): Likewise.
12246 (__dbl_mp): Likewise.
12247 (add_magnitudes): Likewise.
12248 (sub_magnitudes): Likewise.
12249 (__add): Likewise.
12250 (__sub): Likewise.
12251 (__mul): Likewise.
12252 (__inv): Likewise.
12253 (__dvd): Likewise.
12254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12255 (__acr): Likewise.
12256 (__cpy): Likewise.
12257 (norm): Likewise.
12258 (denorm): Likewise.
12259 (__mp_dbl): Likewise.
12260 (__dbl_mp): Likewise.
12261 (add_magnitudes): Likewise.
12262 (sub_magnitudes): Likewise.
12263 (__add): Likewise.
12264 (__sub): Likewise.
12265 (__mul): Likewise.
12266 (__inv): Likewise.
12267 (__dvd): Likewise.
12268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12269 (__acr): Likewise.
12270 (__cpy): Likewise.
12271 (norm): Likewise.
12272 (denorm): Likewise.
12273 (__mp_dbl): Likewise.
12274 (__dbl_mp): Likewise.
12275 (add_magnitudes): Likewise.
12276 (sub_magnitudes): Likewise.
12277 (__add): Likewise.
12278 (__sub): Likewise.
12279 (__mul): Likewise.
12280 (__inv): Likewise.
12281 (__dvd): Likewise.
12282
eede9df9
JM
122832013-01-08 Joseph Myers <joseph@codesourcery.com>
12284
12285 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12286 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12287 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12288 2 && __USE_EXTERN_INLINES]: Likewise.
12289
c40ea3d9
AJ
122902013-01-08 Andreas Jaeger <aj@suse.de>
12291
12292 [BZ# 14985]
12293 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12294 Remove.
12295 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12296 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12297
2ccdea26
AB
122982013-01-07 Anton Blanchard <anton@samba.org>
12299
12300 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12301 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12302 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12303 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12304 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12306 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12310 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12313 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12316 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12318 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12319 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12323 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12324 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12325 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12326 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12327 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12328 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12329 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12330 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12333 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12338 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12340 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12342 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12343
a9708fed
JM
123442013-01-07 Joseph Myers <joseph@codesourcery.com>
12345
375607b9
JM
12346 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12347 (__MALLOC_PMT): Likewise.
12348 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12349 [__GNUC__], only on [_LIBC].
12350 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12351 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12352 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12353 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12354 forward declaration.
12355 (realloc_hook_ini): Likewise.
12356 (memalign_hook_ini): Likewise.
12357 (__libc_memalign): Do not use __MALLOC_PMT in variable
12358 declaration.
12359 (__libc_valloc): Likewise.
12360 (__libc_pvalloc): Likewise.
12361 (__libc_calloc): Likewise.
12362 (__posix_memalign): Likewise.
12363
a9708fed
JM
12364 [BZ #14996]
12365 * math/s_casinh.c: Include <float.h>.
12366 (__casinh): Do not do computation with squaring and square root
12367 for large arguments.
12368 * math/s_casinhf.c: Include <float.h>.
12369 (__casinhf): Do not do computation with squaring and square root
12370 for large arguments.
12371 * math/s_casinhl.c: Include <float.h>.
12372 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12373 (__casinhl): Do not do computation with squaring and square root
12374 for large arguments.
12375 * math/libm-test.inc (casin_test): Add more tests.
12376 (casinh_test): Likewise.
12377 * sysdeps/i386/fpu/libm-test-ulps: Update.
12378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12379
afec409a
L
123802013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12383 (__x86_64_raw_data_cache_size): Likewise.
12384 (__x86_64_data_cache_size_half): Likewise.
12385 (__x86_64_raw_data_cache_size_half): Likewise.
12386 (__x86_64_shared_cache_size): Likewise.
12387 (__x86_64_raw_shared_cache_size): Likewise.
12388 (__x86_64_shared_cache_size_half): Likewise.
12389 (__x86_64_raw_shared_cache_size_half): Likewise.
12390 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12391 to ...
12392 (__x86_data_cache_size): This.
12393 (__x86_64_raw_data_cache_size): Renamed to ...
12394 (__x86_raw_data_cache_size): This.
12395 (__x86_64_data_cache_size_half): Renamed to ...
12396 (__x86_data_cache_size_half): This.
12397 (__x86_64_raw_data_cache_size_half): Renamed to ...
12398 (__x86_raw_data_cache_size_half): This.
12399 (__x86_64_shared_cache_size): Renamed to ...
12400 (__x86_shared_cache_size): This.
12401 (__x86_64_raw_shared_cache_size): Renamed to ...
12402 (__x86_raw_shared_cache_size): This.
12403 (__x86_64_shared_cache_size_half): Renamed to ...
12404 (__x86_shared_cache_size_half): This.
12405 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12406 (__x86_raw_shared_cache_size_half): This.
12407 * sysdeps/x86_64/memcpy.S: Updated.
12408 * sysdeps/x86_64/memset.S: Likewise.
12409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12410 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12412
0b3986d0
DM
124132013-01-04 David S. Miller <davem@davemloft.net>
12414
12415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12416
e47686e9
AS
124172013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12418
d643bac1
AS
12419 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12420 1 to avoid redefinition warning.
12421 (__USE_GNU): Don't define.
12422 (init_signaling_nan): Protoize.
12423
e47686e9
AS
12424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12425
b18decba
SP
124262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12427
fffb407f
SP
12428 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12430 (__cpymn): Likewise.
12431 (norm): Remove commented code.
12432 (denorm): Likewise.
12433 (__mp_dbl): Likewise.
12434 (__inv): Likewise.
12435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12436 (__cpymn): Likewise.
12437 (norm): Remove commented code.
12438 (denorm): Likewise.
12439 (__mp_dbl): Likewise.
12440 (__inv): Likewise.
12441
b18decba
SP
12442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12443 mp_no value for 1.0 and 2.0.
12444 (norm): Use RADIXI instead of radixi.d.
12445 (denorm): Likewise.
12446 (__mul): Use 0.0 instead of zero.d.
12447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12448 mp_no value for 1.0 and 2.0.
12449 (norm): Use RADIXI instead of radixi.d.
12450 (denorm): Likewise.
12451 (__mul): Use 0.0 instead of zero.d.
12452
cdc1c96f
JM
124532013-01-04 Joseph Myers <joseph@codesourcery.com>
12454
12455 [BZ #14994]
12456 * math/s_casinh.c (__casinh): Reduce finite argument to first
12457 quadrant then set signs of results at the end.
12458 * math/s_casinhf.c (__casinhf): Likewise.
12459 * math/s_casinhl.c (__casinhl): Likewise.
12460 * math/libm-test.inc (casin_test): Add more tests.
12461 (casinh_test): Likewise.
12462 * sysdeps/i386/fpu/libm-test-ulps: Update.
12463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12464
302913e1
SP
124652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12466
6420d207
SP
12467 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12468
a9e48ab4
SP
12469 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12470
b7837264
SP
12471 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12472 declarations.
12473 (denorm): Likewise.
12474 (__mp_dbl): Likewise.
12475 (__inv): Likewise.
12476
f8af25d2
SP
12477 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12478 and adjust the header comment.
12479
302913e1
SP
12480 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12481 variable name from declaration.
12482
5d7dd1ca
L
124832013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12486 Initialize COMMON_CPUID_INDEX_7 element.
12487 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12488 (CPUID_RTM): Likewise.
12489 (HAS_RTM): Likewise.
12490 (COMMON_CPUID_INDEX_7): New enum.
12491
2f5f40f4
AS
124922013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12493
12494 [BZ #14981]
12495 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12496 size is zero, record memory as freed.
12497
4056f4a0
AJ
124982013-01-03 Andreas Jaeger <aj@suse.de>
12499
12500 * po/ia.po: Add new Interlingua translation.
12501
ab15736f 125022012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12503
12504 * locale/programs/localedef.c: Fix description of '--posix' flag.
12505
568035b7
JM
125062013-01-02 Joseph Myers <joseph@codesourcery.com>
12507
e6898b8d
JM
12508 * NEWS: Update dates in second copyright notice.
12509 * README: Update copyright dates in example.
12510 * manual/libc.texinfo: Update copyright dates.
12511 * scripts/test-installation.pl: Update copyright date in --version
12512 output.
12513
0e2f9562
JM
12514 * hurd/ctty-input.c: Fix copyright notice formatting.
12515 * hurd/ctty-output.c: Likewise.
12516 * hurd/dtable.c: Likewise.
12517 * hurd/hurd-raise.c: Likewise.
12518 * hurd/hurdprio.c: Likewise.
12519 * hurd/msgportdemux.c: Likewise.
12520 * misc/sys/file.h: Likewise.
12521 * misc/sys/ioctl.h: Likewise.
12522 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12523 * sysdeps/mach/hurd/chdir.c: Likewise.
12524 * sysdeps/mach/hurd/fchdir.c: Likewise.
12525 * sysdeps/mach/hurd/rename.c: Likewise.
12526 * sysdeps/mach/hurd/rmdir.c: Likewise.
12527 * sysdeps/mach/hurd/seekdir.c: Likewise.
12528 * sysdeps/mach/hurd/setsid.c: Likewise.
12529 * sysdeps/posix/wait3.c: Likewise.
12530
568035b7
JM
12531 * All files with FSF copyright notices: Update copyright dates
12532 using scripts/update-copyrights.
12533 * intl/plural.c: Regenerated.
12534 * locale/programs/charmap-kw.h: Likewise.
12535 * locale/programs/locfile-kw.h: Likewise.
12536
da08f647
SP
125372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12538
0f5477af
SP
12539 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12540 four values.
12541
44e0d4c2
SP
12542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12543 calculation loop and add branch prediction.
12544
4d55b4e5
SP
12545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12546 check access beyond bounds of m1np.
12547
da08f647
SP
12548 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12549 MPTWO.
12550 (__inv): Remove local variable MPTWO to use the global
12551 constant.
12552 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12554 variable MPTWO.
12555 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12556 MP3HALFS static const.
12557
8e051029
DM
125582013-01-01 David S. Miller <davem@davemloft.net>
12559
12560 * po/ca.po: Update from translation team.
12561
f4cf5f2d
JM
125622013-01-01 Joseph Myers <joseph@codesourcery.com>
12563
12564 * scripts/update-copyrights: New file.
12565 * Makeconfig: Reformat copyright notice.
12566 * ctype/ctype.h: Likewise.
12567 * debug/swprintf_chk.c: Likewise.
12568 * elf/dl-cache.c: Likewise.
12569 * elf/dl-debug.c: Likewise.
12570 * elf/dl-object.c: Likewise.
12571 * grp/initgroups.c: Likewise.
12572 * hurd/Makefile: Likewise.
12573 * hurd/hurd/signal.h: Likewise.
12574 * hurd/hurdfault.c: Likewise.
12575 * hurd/hurdioctl.c: Likewise.
12576 * hurd/hurdlookup.c: Likewise.
12577 * hurd/intr-msg.c: Likewise.
12578 * iconv/gconv_open.c: Likewise.
12579 * libio/swprintf.c: Likewise.
12580 * locale/lc-ctype.c: Likewise.
12581 * locale/nl_langinfo.c: Likewise.
12582 * mach/Machrules: Likewise.
12583 * mach/Makefile: Likewise.
12584 * malloc/obstack.h: Likewise.
12585 * manual/Makefile: Likewise.
12586 * manual/tsort.awk: Likewise.
12587 * misc/bits/stab.def: Likewise.
12588 * nis/nis_print_group_entry.c: Likewise.
12589 * nis/nis_table.c: Likewise.
12590 * nis/nss_compat/compat-pwd.c: Likewise.
12591 * nis/nss_compat/compat-spwd.c: Likewise.
12592 * po/Makefile: Likewise.
12593 * posix/fnmatch.c: Likewise.
12594 * posix/regex.h: Likewise.
12595 * resolv/Makefile: Likewise.
12596 * resolv/nss_dns/dns-network.c: Likewise.
12597 * resolv/res_hconf.c: Likewise.
12598 * scripts/gen-sorted.awk: Likewise.
12599 * soft-fp/soft-fp.h: Likewise.
12600 * stdio-common/printf.h: Likewise.
12601 * stdlib/monetary.h: Likewise.
12602 * stdlib/random.c: Likewise.
12603 * stdlib/random_r.c: Likewise.
12604 * sysdeps/generic/Makefile: Likewise.
12605 * sysdeps/gnu/Makefile: Likewise.
12606 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12634 * sysdeps/mach/hurd/errnos.awk: Likewise.
12635 * sysdeps/mach/hurd/fork.c: Likewise.
12636 * sysdeps/mach/hurd/getcwd.c: Likewise.
12637 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12638 * sysdeps/mach/hurd/mmap.c: Likewise.
12639 * sysdeps/mach/hurd/utimes.c: Likewise.
12640 * sysdeps/mach/hurd/xmknod.c: Likewise.
12641 * sysdeps/posix/profil.c: Likewise.
12642 * sysdeps/posix/readdir_r.c: Likewise.
12643 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12644 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12645 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12649 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12654 * sysdeps/pthread/lio_listio.c: Likewise.
12655 * sysdeps/sparc/dl-procinfo.h: Likewise.
12656 * sysdeps/unix/i386/sysdep.S: Likewise.
12657 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12658 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12659 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12660 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12662 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12663 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12664 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12665 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12666 * sysdeps/wordsize-32/divdi3.c: Likewise.
12667 * time/sys/time.h: Likewise.
12668 * wcsmbs/Makefile: Likewise.
12669
0549fbba
DM
126702013-01-01 David S. Miller <davem@davemloft.net>
12671
a141f1a7
DM
12672 * po/fr.po: Update from translation team.
12673
0549fbba
DM
12674 * catgets/gencat.c: Update copyright year.
12675 * csu/version.c: Likewise.
12676 * debug/catchsegv.sh: Likewise.
12677 * debug/pcprofiledump.c: Likewise.
12678 * debug/xtrace.sh: Likewise.
12679 * elf/ldconfig.c: Likewise.
12680 * elf/ldd.bash.in: Likewise.
12681 * elf/pldd.c: Likewise.
12682 * elf/sotruss.ksh: Likewise.
12683 * elf/sprof.c: Likewise.
12684 * iconv/iconv_prog.c: Likewise.
12685 * iconv/iconvconfig.c: Likewise.
12686 * locale/programs/locale.c: Likewise.
12687 * locale/programs/localedef.c: Likewise.
12688 * login/programs/pt_chown.c: Likewise.
12689 * malloc/memusage.sh: Likewise.
12690 * malloc/memusagestat.c: Likewise.
12691 * malloc/mtrace.pl: Likewise.
12692 * nscd/nscd.c: Likewise.
12693 * nss/getent.c: Likewise.
12694 * nss/makedb.c: Likewise.
12695 * posix/getconf.c: Likewise.
12696
18ea052c
SP
126972012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12698
12699 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12700 numbers.
12701
9c89fca6
MF
127022012-12-30 Mike Frysinger <vapier@gentoo.org>
12703
12704 * math/bits/mathcalls.h (modf): Use __nonnull.
12705
085ec079
SP
127062012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
12708 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12709 (split): Use macro CN instead of the bare value.
12710 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12711 could be used.
12712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12713 instead of the bare value.
12714 (power1): Likewise.
12715
6d9f97e1
SP
127162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12717
d63f73be
SP
12718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12719 __ATAN_TWOM.
12720 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12721
6d9f97e1
SP
12722 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12723 their values.
12724 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12726 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12727 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12728
4c4febf5
AJ
127292012-12-28 Andreas Jaeger <aj@suse.de>
12730
af5843ef
AJ
12731 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12732 values are from Linux 3.7.
12733
4c4febf5
AJ
12734 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12735 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12736
99136f82
SP
127372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12738
2f216c3c 12739 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12740 TRUE case.
12741
99136f82
SP
12742 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12743 (norm): Likewise.
12744 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12745 variables with preprocessor constants.
12746 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12747 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12748 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12749
7fffbdff
BH
127502012-12-27 Bruno Haible <bruno@clisp.org>
12751
12752 [BZ #14317]
12753 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12754 only if needed.
12755
b76eb5f0
SP
127562012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12757
31a7fe5c
SP
12758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12759 and use variable directly.
12760 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12761
b76eb5f0
SP
12762 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12763 MPONE.
12764 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12766 variable MPONE.
12767 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12769 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12770 include directive. Remove local variable MPONE.
12771 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12772 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12773 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12774
2c8bfe7d
DM
127752012-12-25 David S. Miller <davem@davemloft.net>
12776
12777 * version.h (RELEASE): Set to "development".
12778 (VERSION): Set to "2.17.90".
12779 * NEWS: Add 2.18 section.
12780
147d03b0
DM
127812012-12-21 David S. Miller <davem@davemloft.net>
12782
12783 * po/hr.po: Update from translation team.
12784
a8ebb2b9
AK
127852012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12786
12787 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12788
95b4f1b6
SE
127892012-12-19 Steve Ellcey <sellcey@mips.com>
12790
b2d94007 12791 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12792
cedb2a90
MS
127932012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12794
12795 * manual/contrib.texi (Contributors): Spelling correction.
12796
bbf527d6
DM
127972012-12-15 David S. Miller <davem@davemloft.net>
12798
12799 * po/ru.po: Update from translation team.
12800
bc38c906
DM
128012012-12-13 David S. Miller <davem@davemloft.net>
12802
85429b1a
DM
12803 * NEWS: Mention IFUNC testsuite enhancements.
12804
d283e353
DM
12805 * po/pl.po: Update from translation team.
12806 * po/bg.po: Likewise.
12807
bc38c906
DM
12808 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12809 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12810
a181b0d7
DM
128112012-12-11 David S. Miller <davem@davemloft.net>
12812
4641d57e
DM
12813 * po/sv.po: Update from translation team.
12814
f7bc6495
DM
12815 * po/vi.po: Update from translation team.
12816
6fc9048f
DM
12817 * po/cs.po: Update from translation team.
12818
a181b0d7
DM
12819 * po/de.po: Update from translation team.
12820 * po/eo.po: Likewise.
12821 * po/nl.po: Likewise.
12822
f70bfe80
SP
128232012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12824
3c8b4190
SP
12825 [BZ #14246]
12826 * manual/argp.texi (Argp Helper Functions): Move node to follow
12827 Argp Parsing State.
12828
f70bfe80
SP
12829 [BZ #14872]
12830 * manual/conf.texi (Limits on File System Capacity): Mention if
12831 terminating null is included in the max size.
12832
188f0adf
AJ
128332012-12-10 Andreas Jaeger <aj@suse.de>
12834
12835 * po/cs.po: Update from translation team.
12836
56e7d3ad
SP
128372012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12838
12839 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12840 void pointer and cast to uintptr_t.
12841 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12842 path.
12843 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12844 * sysdeps/s390/s390-64/memset.S: Likewise.
12845
76f2d2ea 128462012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12847
12848 [BZ #14833]
12849 * menual/message.texi (Message Translation): Fix typos.
12850 (Helper programs for gettext): Likewise.
12851
67cbf9a2
AS
128522012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12853
12854 [BZ #14898]
12855 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12856 Change to -1.
12857
682d0e9a
DM
128582012-12-07 David S. Miller <davem@davemloft.net>
12859
12860 * po/libc.pot: Update.
12861
573cd484
RH
128622012-12-07 Richard Henderson <rth@redhat.com>
12863
7e9da188 12864 [BZ #10114]
573cd484
RH
12865 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12866 normal/normal case to before the switch.
12867 (_FP_DIV): Likewise.
12868
e933a943
MF
128692012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12870 Mike Frysinger <vapier@gentoo.org>
12871
12872 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12873 check for __NR_fadvise64_64.
12874
82123268
CM
128752012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12876
12877 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12878 0, not just to plain "0" as a statement.
12879 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12880 with cw.
12881
d9814526
JM
128822012-12-06 Joseph Myers <joseph@codesourcery.com>
12883
12884 * NEWS: Use sourceware.org in Bugzilla URL.
12885
7728c574
SP
128862012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12887
f16946dd
SP
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12889 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12890
5704bbcb
SP
12891 * stdio-common/tst-put-error.c (do_test): Add newline to the
12892 padded test to ensure flush.
12893
17aa0516
JL
128942012-12-05 Jeff Law <law@redhat.com>
12895
12896 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12897
363313b5
JM
128982012-12-05 Joseph Myers <joseph@codesourcery.com>
12899
effbd42a
JM
12900 * README: Don't refer to ports add-on as distributed separately.
12901 Mention AArch64 in list of systems supported in the ports add-on.
12902
87600365
JM
12903 * LICENSES: Add more non-FSF copyright and license notices.
12904
a0d7066a
JM
12905 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12906 ((unused)).
12907
66ca5a5b
JM
12908 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12909
363313b5
JM
12910 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12911 10000 as width of padded output.
12912
b37984ad
JM
129132012-12-04 Joseph Myers <joseph@codesourcery.com>
12914
9003570a
JM
12915 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12916
b37984ad
JM
12917 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12918 variable LX with __attribute__ ((unused)).
12919 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12920 Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12924 with __attribute__ ((unused)).
12925
c8df52ec
DM
129262012-12-04 David S. Miller <davem@abraco.davemloft.net>
12927
12928 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12929
b3b099af
JM
129302012-12-04 Joseph Myers <joseph@codesourcery.com>
12931
c33aa6e3
JM
12932 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12933 (CFLAGS-nldbl-acos.c): New variable.
12934 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12935 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12936 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12937 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12938 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12939 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12940 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12941 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12942 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12943 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12944 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12945 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12946 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12947 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12948 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12949 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12950 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12951 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12952 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12953 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12954 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12955 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12956 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12957 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12958 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12959 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12960 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12961 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12962 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12963 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12964 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12965 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12966 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12967 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12968 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12969 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12970 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12971 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12972 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12973 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12974 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12975 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12976 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12977 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12978 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12979 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12980 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12981 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12982 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12983 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12984 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12985 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12986 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12987 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12988 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12989 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12990 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12991 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12992 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12993 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12994 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12995 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12996 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12997 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12998 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12999 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13000 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13001 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13002 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13003 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13004 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13005 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13006 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13007 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13008 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13009 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13010 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13011 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13012 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13013 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13014 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13015 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13016 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13017 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13018 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13019 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13020 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13021 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13022 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13023 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13024 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13025 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13026 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13027 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13028 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13029 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13030 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13031
20f0018d
JM
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13033 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13034
b3b099af
JM
13035 [BZ #14914]
13036 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13037 whole low double instead of just low 47 bits when splitting values
13038 into two parts.
13039
029264d1
AM
130402012-12-03 Allan McRae <allan@archlinux.org>
13041
13042 * manual/stdio.texi (Predefined Printf Handlers): Remove
13043 @hsep and @vsep usage.
13044
c9d6789e
MF
130452012-12-03 Mike Frysinger <vapier@gentoo.org>
13046
13047 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13048 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13049
4b7634a5
JL
130502012-12-03 Jeff Law <law@redhat.com>
13051
13052 * time/sys/time.h (settimeofday): Do not mark TV argument
13053 as __nonnull.
13054
eb6cbd24
MF
130552012-12-01 Mike Frysinger <vapier@gentoo.org>
13056
13057 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13058 when currently writing and seek to current position when not.
13059 * libio/Makefile (tests): Remove bug-fclose1.
13060 * libio/bug-fclose1.c: Delete.
13061
f638872a
JM
130622012-12-01 Joseph Myers <joseph@codesourcery.com>
13063
13064 * manual/arith.texi (feenableexcept): Fix typo.
13065 (fedisableexcept): Likewise.
13066
48085d14
RM
130672012-11-30 Roland McGrath <roland@hack.frob.com>
13068
13069 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13070 second, differently-typed declaration, rather than a cast.
13071
1a538b9f
SP
130722012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13073
13074 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13075 * include/rpc/svc.h: ... here.
13076
d07f2ff1 130772012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13078
13079 [BZ #13013]
13080 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13081 depending n and resplen2 to catch cases where answer
13082 equals answerp2.
13083
c93ec1f0
CD
130842012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13085
13086 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13087 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13088
37db69de
MF
130892012-11-29 Mike Frysinger <vapier@gentoo.org>
13090
13091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13092
e10c4e4f
RM
130932012-11-29 Roland McGrath <roland@hack.frob.com>
13094
13095 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13096
2af1b328
JL
130972012-11-28 Jeff Law <law@redhat.com>
13098
13099 [BZ #13761]
13100 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13101 dataset_temporary. Track alloca usage into alloca_used.
13102 If dataset is large allocate and release it via malloc/free.
13103
111db5b1
FW
131042012-06-04 Florian Weimer <fweimer@redhat.com>
13105
f06cc227 13106 [BZ #14197]
111db5b1
FW
13107 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13108
dd694abd
DM
131092012-11-28 David S. Miller <davem@davemloft.net>
13110
13111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13112
9984dd01
JM
131132012-11-28 Joseph Myers <joseph@codesourcery.com>
13114
13115 [BZ #14803]
13116 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13117 of pi/2 rounded to nearest to 64 bits.
13118 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13119 nearest to 64 bits.
13120 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13121 bits.
13122
14bc93a9
JL
131232012-11-28 Jeff Law <law@redhat.com>
13124 Martin Osvald <mosvald@redhat.com>
13125
13126 [BZ #14889]
13127 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13128 * sunrpc/svc.c: Include time.h.
13129 (__svc_accept_failed): New function.
13130 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13131 any reason other than EINTR, call __svc_accept_failed.
13132 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13133 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13134
e3c6aa3a
AS
131352012-11-28 Andreas Schwab <schwab@suse.de>
13136
13137 * scripts/abilist.awk: Also handle indirect functions in .opd
13138 section.
13139
1bead169
JM
131402012-11-28 Joseph Myers <joseph@codesourcery.com>
13141
13142 [BZ #13881]
13143 * sysdeps/x86/fpu/powl_helper.c: New file.
13144 * sysdeps/x86/fpu/Makefile: Likewise.
13145 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13146 (p3): New object.
13147 (__ieee754_powl): Use __powl_helper for finite arguments except
13148 integer exponents below 8.
13149 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13150 (p3): New object.
13151 (__ieee754_powl): Use __powl_helper for finite arguments except
13152 integer exponents below 8.
13153 * math/libm-test.inc (pow_test): Add more tests and enable some
13154 previously disabled tests.
13155 * sysdeps/i386/fpu/libm-test-ulps: Update.
13156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13157
0817d63d
SP
131582012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13159 Carlos O'Donell <carlos_odonell@mentor.com>
13160
13161 * nss/makedb.c (is_prime): Assert that input is odd and greater
13162 than 4. Note that fact in a comment too.
13163 (next_prime): Add 4 to input.
13164
de2fd463
SP
131652012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13166
13167 [BZ #11741]
13168 * libio/Makefile (tests): Add test case tst-fwrite-error.
13169 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13170 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13171 * libio/tst-fwrite-error.c: New test case.
13172
c515fb51
L
131732012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13174
13175 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13176 before casting to void *.
13177 * include/libc-internal.h (__pointer_type): New macro.
13178 (__integer_if_pointer_type_sub): Likewise.
13179 (__integer_if_pointer_type): Likewise.
13180 (cast_to_integer): Likewise.
13181 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13182 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13183 before casting to atomic64_t.
13184 (atomic_exchange_acq): Likewise.
13185 (__arch_exchange_and_add_body): Likewise.
13186 (__arch_add_body): Likewise.
13187 (atomic_add_negative): Likewise.
13188 (atomic_add_zero): Likewise.
13189
4cf77aa9
JM
131902012-11-26 Joseph Myers <joseph@codesourcery.com>
13191
13192 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13193 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13194 (add_fdes): Likewise.
13195 (linear_search_fdes): Likewise.
13196 (binary_search_unencoded_fdes): Likewise.
13197
d260b3b4
AS
131982012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13199
13200 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13201
67060746
AC
132022012-11-24 Adam Conrad <adconrad@0c3.net>
13203
13204 * configure.in: Autodetect C++ header directories.
13205 * configure: Regenerated.
13206
800938a1
MF
132072012-11-23 Mike Frysinger <vapier@gentoo.org>
13208
13209 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13210
4e6e34e6
AS
132112012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13212
13213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13214
7c7feb47
JM
132152012-11-22 Joseph Myers <joseph@codesourcery.com>
13216
7184dcdf
JM
13217 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13218 LDBL_MANT_DIG == 106]: Disable some tests.
13219 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13220 Likewise.
13221 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13222 Likewise.
13223
0a42601f
JM
13224 [BZ #14871]
13225 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13226 input for small inputs. Return +/- pi/2 for large inputs.
13227 * math/libm-test.inc (atan_test): Add more tests.
13228
79c9b9fe
JM
13229 * sysdeps/generic/unwind-dw2-fde-glibc.c
13230 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13231 __attribute__ ((unused)).
13232
c60d3bf2
JM
13233 [BZ #14645]
13234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13235 x * y if x and y are nonzero and z is zero.
13236
ef1e0867
JM
13237 [BZ #14811]
13238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13239 nonzero exponents with absolute value below 0x1p-117 to +/-
13240 0x1p-117.
13241
1468ded3
JM
13242 [BZ #14869]
13243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13244 up arguments below 2**-450, not just those below 2**-500.
13245 * math/libm-test.inc (hypot_test): Add another test.
13246
8e27e3cc
JM
13247 [BZ #14868]
13248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13249 Return a+b for ratio over 2**120, not 2**60.
13250 * math/libm-test.inc (hypot_test): Add another test.
13251
c9c0279b
JM
13252 * math/libm-test.inc (clog_test): Use
13253 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13254 (clog10_test): Likewise.
13255
7c7feb47
JM
13256 [BZ #6778]
13257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13258
fff1530e
AS
132592012-11-22 Andreas Schwab <schwab@suse.de>
13260
13261 * sysdeps/i386/fpu/libm-test-ulps: Update.
13262
94558d30
PT
132632012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13264
13265 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13266 printf output with newline.
13267
7e1be741
L
132682012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13269
6bfea974
L
13270 [BZ #14865]
13271 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13272 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13273 -z nodlopen, -z initfirst and -z execstack support.
13274 * configure: Regenerated.
13275
7e1be741
L
13276 * elf/elf.h (DF_1_NODIRECT): New macro.
13277 (DF_1_IGNMULDEF): Likewise.
13278 (DF_1_NOKSYMS): Likewise.
13279 (DF_1_NOHDR): Likewise.
13280 (DF_1_EDITED): Likewise.
13281 (DF_1_NORELOC): Likewise.
13282 (DF_1_SYMINTPOSE): Likewise.
13283 (DF_1_GLOBAUDIT): Likewise.
13284 (DF_1_SINGLETON): Likewise.
13285 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13286 DT_1_SUPPORTED_MASK bits.
13287 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13288
105ce2ce
CD
132892012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13290
13291 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13292
123be9de
TS
132932012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13294
d072f3f7
TS
13295 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13296 macro.
13297
123be9de
TS
13298 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13299 (sendmmsg): Move declarations...
13300 * socket/sys/socket.h: ... here.
13301 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13302 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13303 include it from...
13304 * socket/recvmmsg.c: ... this new file.
13305 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13306 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13307 definition of __sendmmsg hidden.
13308 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13309 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13310 Move ENOSYS stub into and include it from...
13311 * socket/sendmmsg.c: ... this new file.
13312 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13313 (sysdep_routines): Move recvmmsg and sendmmsg...
13314 * socket/Makefile (routines): ... here.
13315 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13316 (GLIBC_PRIVATE): Add __sendmmsg.
13317 * include/sys/socket.h (__sendmmsg): Add declarations.
13318 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13319 sendmmsg.
13320
cf9a5d18
JM
133212012-11-20 Joseph Myers <joseph@codesourcery.com>
13322
13323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13324 variable I1 with __attribute__ ((unused)).
13325 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13326
ecd4caf9
JM
133272012-11-19 Joseph Myers <joseph@codesourcery.com>
13328
be14d48f
JM
13329 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13330 DUMMY variables with __attribute__ ((unused)).
13331
ecd4caf9
JM
13332 * bits/byteswap.h: Include <bits/types.h>.
13333 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13334
986cab95
PT
133352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13336
13337 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13338 string_t. Do not manually set errno.
13339 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13340 length with __strnlen. Make sure to both set errno and return it on
13341 failure.
13342
6d33cc9d
DM
133432012-11-19 David S. Miller <davem@davemloft.net>
13344
13345 With help from Joseph Myers.
13346 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13347 very large arguments properly.
13348 * math/libm-test.inc (atan_test): New tests.
13349 (atan2_test): New tests.
13350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13352
ee663277
JM
133532012-11-19 Joseph Myers <joseph@codesourcery.com>
13354
877f2d8e
JM
13355 [BZ #14856]
13356 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13357 Define to 3.
13358
116fc08a
JM
13359 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13360 [POSIX] (EADDRNOTAVAIL): Likewise.
13361 [POSIX] (EAFNOSUPPORT): Likewise.
13362 [POSIX] (EALREADY): Likewise.
13363 [POSIX] (ECONNABORTED): Likewise.
13364 [POSIX] (ECONNREFUSED): Likewise.
13365 [POSIX] (ECONNRESET): Likewise.
13366 [POSIX] (EDESTADDRREQ): Likewise.
13367 [POSIX] (EDQUOT): Likewise.
13368 [POSIX] (EHOSTUNREACH): Likewise.
13369 [POSIX] (EIDRM): Likewise.
13370 [POSIX] (EISCONN): Likewise.
13371 [POSIX] (ELOOP): Likewise.
13372 [POSIX] (EMULTIHOP): Likewise.
13373 [POSIX] (ENETDOWN): Likewise.
13374 [POSIX] (ENETUNREACH): Likewise.
13375 [POSIX] (ENOBUFS): Likewise.
13376 [POSIX] (ENODATA): Likewise.
13377 [POSIX] (ENOLINK): Likewise.
13378 [POSIX] (ENOMSG): Likewise.
13379 [POSIX] (ENOPROTOOPT): Likewise.
13380 [POSIX] (ENOSR): Likewise.
13381 [POSIX] (ENOSTR): Likewise.
13382 [POSIX] (ENOTCONN): Likewise.
13383 [POSIX] (ENOTSOCK): Likewise.
13384 [POSIX] (EOPNOTSUPP): Likewise.
13385 [POSIX] (EOVERFLOW): Likewise.
13386 [POSIX] (EPROTO): Likewise.
13387 [POSIX] (EPROTONOSUPPORT): Likewise.
13388 [POSIX] (EPROTOTYPE): Likewise.
13389 [POSIX] (ESTALE): Likewise.
13390 [POSIX] (ETIME): Likewise.
13391 [POSIX] (ETXTBSY): Likewise.
13392 [POSIX] (EWOULDBLOCK): Likewise.
13393 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13394 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13395 [POSIX] (SEEK_CUR): Likewise.
13396 [POSIX] (SEEK_END): Likewise.
13397 [POSIX || UNIX98] (mode_t): Do not require.
13398 [POSIX] (off_t): Likewise.
13399 [POSIX] (pid_t): Likewise.
13400 [POSIX] (sys/stat.h): Do not allow header.
13401 [POSIX] (unistd.h): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13403 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13404 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13405 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13406 require.
13407 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13408 sigevent): Specify elements.
13409 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13410 entry.
13411 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13412 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13413
a483863f
JM
13414 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13415 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13416 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13417 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13418 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13419 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13420 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13421 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13423 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13424 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13425 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13426 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13427 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13428 Likewise.
13429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13430 Likewise.
13431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13432 Likewise.
13433 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13434 Likewise.
13435 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13436 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13437 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13438 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13440 Specify lower bound on value.
13441 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13447 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13448 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13449 value.
13450 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13451 as optional.
13452 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13468 entry.
13469 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13470 optional.
13471 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13477 Likewise.
13478 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13483 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13484 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13485 as optional.
13486 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13490 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13491 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13492 specify as optional.
13493 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13496 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13497 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13498 [XPG3] (NL_LANGMAX): Likewise.
13499 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13500 [POSIX || XPG3] (NL_NMAX): Likewise.
13501 [POSIX || XPG3] (NL_SETMAX): Likewise.
13502 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13503 [XPG3] (NZERO): Likewise.
13504 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13505 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13506 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13507 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13508 (REG_ERANGE): Expect.
13509 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13510 optional-constant.
13511 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13512 Use (void) in prototype.
13513 [POSIX] (*_t): Allow.
13514 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13515 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13516 (WRDE_BADVAL): Expect.
13517
5ba924e3
JM
13518 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13519 expect.
13520 [XPG3 || XPG4] (O_RSYNC): Likewise.
13521 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13522 Likewise.
13523 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13524 [XPG3 || XPG4] (sigqueue): Likewise.
13525 [XPG3 || XPG4] (sigtimedwait): Likewise.
13526 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13527 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13528 [XPG3 || XPG4] (vsnprintf): Likewise.
13529 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13530 Likewise.
13531 [XPG3 || XPG4] (blksize_t): Likewise.
13532 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13533 Likewise.
13534 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13535 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13536 [XPG3 || XPG4] (struct itimerspec): Likewise.
13537 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13538 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13539 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13540 [XPG3 || XPG4] (clockid_t): Likewise.
13541 [XPG3 || XPG4] (timer_t): Likewise.
13542 [XPG3 || XPG4] (clock_getres): Likewise.
13543 [XPG3 || XPG4] (clock_gettime): Likewise.
13544 [XPG3 || XPG4] (clock_settime): Likewise.
13545 [XPG3 || XPG4] (nanosleep): Likewise.
13546 [XPG3 || XPG4] (timer_create): Likewise.
13547 [XPG3 || XPG4] (timer_delete): Likewise.
13548 [XPG3 || XPG4] (timer_gettime): Likewise.
13549 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13550 [XPG3 || XPG4] (timer_settime): Likewise.
13551 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13552 [XPG3 || XPG4] (getlogin_r): Likewise.
13553 [XPG3 || XPG4] (pread): Likewise.
13554 [XPG3 || XPG4] (pthread_atfork): Likewise.
13555 [XPG3 || XPG4] (pwrite): Likewise.
13556
ee663277
JM
13557 [BZ #14835]
13558 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13559 <bits/siginfo.h>.
13560
942caa16
PT
135612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13562
e19af380
PT
13563 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13564 finalizing MALLSTREAM.
13565
942caa16
PT
13566 * sysdeps/mach/hurd/syncfs.c: New file.
13567
cfde9b46
SP
135682012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13569
13570 [BZ #14719]
13571 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13572 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13573 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13574 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13575 (_nss_dns_gethostbyname4_r): Likewise.
13576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13577 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13578
f6da27e5
PH
135792012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13580
13581 [BZ #13763]
13582 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13583
6665d4a2
SM
135842012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13585
1f51ee92
SM
13586 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13587 * elf/cache.c (print_entry): Print ",AArch64" for
13588 FLAG_AARCH64_LIB64
13589
6665d4a2
SM
13590 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13591 * elf/cache.c (print_entry): Print ",hard-float" for
13592 FLAG_ARM_LIBHF.
13593
05b227bd
DM
135942012-11-18 David S. Miller <davem@davemloft.net>
13595
13596 With help from Joseph Myers.
13597 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13598 cutoff to 2**-13.
13599 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13600 cutoff to 2**-25.
13601 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13602 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13603 small.
13604 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13605 * math/libm-test.inc (y0_test): New tests.
13606 (y1_test): New tests.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13610
786b0b67
AS
136112012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13612
13613 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13614 64-bit targets.
13615 * configure: Regenerated.
13616
8e18b86d
DM
136172012-11-17 David S. Miller <davem@davemloft.net>
13618
13619 [BZ #14811]
13620 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13621 nonzero exponents with absolute value below 0x1p-128 to +/-
13622 0x1p-128.
13623
531f1ae0
JM
136242012-11-17 Joseph Myers <joseph@codesourcery.com>
13625
12df29e2
JM
13626 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13627
150dc1a0
JM
13628 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13629
531f1ae0
JM
13630 * posix/getconf-speclist.c: New file.
13631 * posix/posix-envs.def: Likewise.
13632 * posix/confstr.c (START_ENV_GROUP): New macro.
13633 (END_ENV_GROUP): Likewise.
13634 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13635 (KNOWN_PRESENT_ENV_STRING): Likewise.
13636 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13637 (UNKNOWN_ENVIRONMENT): Likewise.
13638 (confstr): Include posix-envs.def instead of handling
13639 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13640 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13641 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13642 (END_ENV_GROUP): Likewise.
13643 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13644 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13645 (UNKNOWN_ENVIRONMENT): Likewise.
13646 (__sysconf): Include posix-envs.def instead of handling associated
13647 cases directly here.
13648 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13649 preprocessing getconf-speclist.c rather than running getconf or
13650 generating empty file.
13651
a93f9cbc
PT
136522012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13653
13654 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13655
d64d9f87
AL
136562012-11-16 Andrej Lajovic <natrij@gmail.com>
13657
13658 [BZ #14672]
13659 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13660
447885eb
DM
136612012-11-16 David S. Miller <davem@davemloft.net>
13662
13663 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13664 smaller than LDBL_EPSILON/2.0L, just return xm1.
13665
bcbf9830
L
136662012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13667
13668 * elf/tst-array1.c (init): Set constructor priority to 1000.
13669 (fini): Set destructor priority to 1000.
13670 * elf/tst-array2dep.c: Likewise.
13671
2b766585
SP
136722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13673
13674 [BZ #11741]
13675 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13676 (_IO_new_file_xsputn): Also return EOF if none of the input
13677 data was written when overflow failed.
13678 * libio/iopadn.c (_IO_padn): Likewise.
13679 * libio/iowpadn.c (_IO_wpadn): Likewise.
13680 * stdio-common/tst-put-error.c: Add copyright notice.
13681 (do_test): Add case for printing padded string.
13682 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13683 _IO_padn returned error.
13684 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13685 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13686 return EOF.
13687
b1848fde
SP
136882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13689
13690 * libio/libioP.h: Add comment note that the references to C++
13691 bits are now obsolete.
13692
2fd89785
MS
136932012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13694
13695 * math/libm-test.inc (check_complex): Use asprintf.
13696
e3ea5409
JM
136972012-11-14 Joseph Myers <joseph@codesourcery.com>
13698
13699 * debug/pcprofiledump.c (print_version): Update copyright year.
13700 * malloc/memusagestat.c (print_version): Likewise.
13701
2e64d265
L
137022012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13703
13704 [BZ #14831]
13705 * elf/Makefile (tests): Add tst-audit8.
13706 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13707 ($(objpfx)tst-audit8.out): New target.
13708 (tst-audit8-ENV): New variable.
13709 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13710 audit if l_reloc_result is NULL.
13711 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13712 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13713 * elf/tst-audit8.c: New file.
13714
c485e4d2
MS
137152012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13716
13717 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13718 * misc/Makefile (CFLAGS-select.c): Define.
13719 * posix/Makefile (CFLAGS-pause.c): Define.
13720
3a0d900a
DM
137212012-11-13 David S. Miller <davem@davemloft.net>
13722
13723 * crypt/Makefile: Move test targets after toplevel Rules
13724 inclusion. Grab any necessary sysdep routines when linking.
13725 * crypt/md5.c (md5_process_block): Remove define, we will always
13726 name it __md5_process_block.
13727 (md5_finish_ctx): Update md5_process_block call.
13728 (md5_stream): Likewise.
13729 (md5_process_bytes): Likewise.
13730 (md5_process_block): Rename to __md5_process_block and move to ...
13731 * crypt/md5-block.c: ... here.
13732 * crypt/sha256.c (sha256_process_block): Move to ...
13733 * crypt/sha256-block.c: ... here.
13734 * crypt/sha512.c (sha512_process_block): Move to ...
13735 * crypt/sha512-block.c: ... here.
13736 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13737 path.
13738 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13739 * sysdeps/sparc/sparc64/multiarch/Makefile
13740 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13741 crypt subdir.
13742 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13744 multiarch changes.
13745 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13746 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13747 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13748 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13749 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13750 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13751 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13752 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13753 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13754 file.
13755 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13757 file.
13758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13759
8ca89318
JM
137602012-11-13 Joseph Myers <joseph@codesourcery.com>
13761
e27d476a
JM
13762 * timezone/tzselect.ksh: Update from tzcode git revision
13763 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13764 * timezone/zdump.c: Likewise.
13765 * timezone/zic.c: Likewise.
13766 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13767 in TZVERSION setting, not $(PKGVERSION).
13768 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13769 REPORT_BUGS_TO settings.
13770
8ca89318
JM
13771 [BZ #14838]
13772 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13773 macro.
13774
47594329
MS
137752012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13776
13777 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13778 detection to immediately after _FP_ROUND().
13779 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13780 bits are 0.
13781
640ac3f1
DM
137822012-11-11 David S. Miller <davem@davemloft.net>
13783
13784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13785 inttypes.h
13786 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13787 __close rather than their public counterparts.
13788
3d2577bb
JM
137892012-11-10 Joseph Myers <joseph@codesourcery.com>
13790
13791 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13792 file.
13793 [UNIX98] (sem_timedwait): Do not expect.
13794 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13795 [XPG4 || UNIX98] (sockatmark): Do not expect.
13796 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13797 (clock_getcpuclockid): Do not expect.
13798 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13799 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13800 Do not expect.
13801 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13802 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13803 [UNIX98] (vwscanf): Likewise.
13804 [UNIX98] (vswscanf): Likewise.
13805
fb1ae1ee
JM
138062012-11-09 Joseph Myers <joseph@codesourcery.com>
13807
9ec6f8bd
JM
13808 * timezone/version.h: Remove file.
13809 * timezone/README: Do not refer to version.h.
13810 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13811 $(objpfx)version.h.
13812 ($(objpfx)zdump.o): Likewise.
c3f81911 13813 ($(objpfx)version.h): New target.
9ec6f8bd 13814
0aa8f8a1
JM
13815 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13816 2012i.
13817 * timezone/README: Don't mention modification to tzselect.ksh.
13818 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13819 work on unmodified tzselect.ksh. Substitute version numbers in
13820 tzselect.ksh.
13821
4e87147f
JM
13822 * Makefile (format-me): Remove.
13823 (INSTALL): Adjust indentation. Use commands directly instead of
13824 using $(format-me).
13825
8b748aed
JM
13826 * aclocal.m4 (ACX_PKGVERSION): New macro.
13827 (ACX_BUGURL): Likewise.
13828 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13829 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13830 (REPORT_BUGS_TO): Likewise.
13831 * configure: Regenerated.
13832 * config.h.in (PKGVERSION): New macro.
13833 (REPORT_BUGS_TO): Likewise.
13834 * config.make.in (PKGVERSION): New variable.
13835 (PKGVERSION_TEXI): Likewise.
13836 (REPORT_BUGS_TO): Likewise.
13837 (REPORT_BUGS_TEXI): Likewise.
13838 * Makefile (format-me): Use -I$(common-objpfx)manual.
13839 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13840 ($(common-objpfx)manual/%): New target.
13841 (manual/%): Remove target.
13842 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13843 (print_version): Use PKGVERSION.
13844 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13845 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13846 and REPORT_BUGS_TO.
13847 ($(objpfx)xtrace): Likewise.
13848 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13849 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13850 (print_version): Use PKGVERSION.
13851 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13852 (do_version): Use PKGVERSION.
13853 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13854 REPORT_BUGS_TO.
13855 (common-ldd-rewrite): Likewise.
13856 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13857 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13858 (print_version): Use PKGVERSION.
13859 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13860 * elf/pldd.c (argp_program_bug_address): Remove variable.
13861 (more_help): New function.
13862 (argp): Use more_help.
13863 (print_version): Use PKGVERSION.
13864 * elf/sln.c (main): Use PKGVERSION.
13865 (usage): Use REPORT_BUGS_TO.
13866 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13867 (top level): Use PKGVERSION.
13868 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13869 (print_version): Use PKGVERSION.
13870 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13871 (print_version): Use PKGVERSION.
13872 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13873 (print_version): Use PKGVERSION.
13874 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13875 (print_version): Use PKGVERSION.
13876 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13877 (print_version): Use PKGVERSION.
13878 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13879 (print_version): Use PKGVERSION.
13880 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13881 and BUGURL.
13882 ($(objpfx)memusage): Likewise.
13883 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13884 (do_version): Use PKGVERSION.
13885 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13886 (print_version): Use PKGVERSION.
13887 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13888 ($PKGVERSION): New variable.
13889 ($REPORT_BUGS_TO): Likewise.
13890 (usage): Use $REPORT_BUGS_TO.
13891 (top level): Use $PKGVERSION.
13892 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13893 ($(objpfx)pkgvers.texi): New rule.
13894 ($(objpfx)stamp-pkgvers): Likewise.
13895 * manual/install.texi: Include pkgvers.texi.
13896 (--with-pkgversion): Document new configure option.
13897 (--with-bugurl): Likewise.
13898 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13899 than necessarily for this particular distribution. Use
13900 REPORT_BUGS_TO for where to report bugs.
13901 * INSTALL: Regenerated.
13902 * manual/libc.texinfo: Include pkgvers.texi.
13903 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13904 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13905 (print_version): Use PKGVERSION.
13906 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13907 (print_version): Use PKGVERSION.
13908 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13909 (print_version): Use PKGVERSION.
13910 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13911 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13912 macro.
13913 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13914 (print_version): Use PKGVERSION.
13915 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13916 (print_version): Use PKGVERSION.
13917 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13918 and PKGVERSION.
13919
92e4b6a9
JM
13920 * timezone/checktab.awk: Update from tzcode 2012i.
13921 * timezone/ialloc.c: Likewise.
13922 * timezone/private.h: Likewise.
13923 * timezone/scheck.c: Likewise.
13924 * timezone/tzfile.h: Likewise.
13925 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13926 (TZVERSION): Hardcode tzcode version number.
13927 * timezone/zdump.c: Update from tzcode 2012i.
13928 * timezone/zic.c: Likewise.
13929 * timezone/version.h: New file.
13930 * timezone/README: Describe version.h. Update upstream location.
13931
9bde902c
JM
13932 [BZ #14824]
13933 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13934 (mktemp): Enable declaration.
13935 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13939 Likewise.
13940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13941 Likewise.
13942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13943 Likewise.
13944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13945 Likewise.
13946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13947 Likewise.
13948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13949 Likewise.
13950
fb1ae1ee
JM
13951 [BZ #14821]
13952 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13953 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13954 for copies of such integer values.
13955 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13956 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13957
2c1adbcb
AJ
139582012-11-09 Andreas Jaeger <aj@suse.de>
13959
13960 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13961 definitions and declarations that are provided by
13962 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13963
d0f8457e
AK
139642012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13965
3a235abb 13966 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13967 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13968 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13969 definition.
13970
57241e26
MS
139712012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13972
13973 * elf/elf.h: Update comment before AArch64 relocations.
13974
60e8270d
DM
139752012-11-07 David S. Miller <davem@davemloft.net>
13976
13977 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13978 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13979 (__start_context): Declare.
13980 (__makecontext_ret): Delete.
13981 (__makecontext): Hook up __start_context instead of
13982 __makecontext_ret.
13983 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13984 (sysdep_routines): Add __start_context when in stdlib.
13985
0fbb0fbc
JM
139862012-11-07 Joseph Myers <joseph@codesourcery.com>
13987
13988 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13989 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13990 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13991 hardcoded "nm".
13992 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13993 (READELF): New variable. Use it instead of hardcoded "readelf".
13994
eb48db7e
L
139952012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13996
13997 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13998 * sysdeps/x86/Makefile: Here.
13999 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14000 * sysdeps/x86/tst-xmmymm.sh: This.
14001
05bcf62a
JM
140022012-11-07 Joseph Myers <joseph@codesourcery.com>
14003
c4b6cf53
JM
14004 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14005 expectations.
14006 [UNIX98] (pthread_barrier_t): Do not expect.
14007 [UNIX98] (pthread_barrierattr_t): Likewise.
14008 [UNIX98] (pthread_spinlock_t): Likewise.
14009 [UNIX98] (pthread_barrier_destroy): Likewise.
14010 [UNIX98] (pthread_barrier_init): Likewise.
14011 [UNIX98] (pthread_barrier_wait): Likewise.
14012 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14013 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14014 [UNIX98] (pthread_barrierattr_init): Likewise.
14015 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14016 [UNIX98] (pthread_getcpuclockid): Likewise.
14017 [UNIX98] (pthread_mutex_timedlock): Likewise.
14018 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14019 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14020 [UNIX98] (pthread_sigmask): Likewise.
14021 [UNIX98] (pthread_spin_destroy): Likewise.
14022 [UNIX98] (pthread_spin_init): Likewise.
14023 [UNIX98] (pthread_spin_lock): Likewise.
14024 [UNIX98] (pthread_spin_trylock): Likewise.
14025 [UNIX98] (pthread_spin_unlock): Likewise.
14026 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14027 Do not expect.
14028 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14029 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14030 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14031 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14032 [XPG3 || XPG4] (pthread_key_t): Likewise.
14033 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14034 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14035 [XPG3 || XPG4] (pthread_once_t): Likewise.
14036 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14037 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14039 [XPG3 || XPG4] (pthread_t): Likewise.
14040
cbe6e120
JM
14041 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14042 not expect.
14043 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14044
1b126443
JM
14045 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14046 Change function return type to int.
14047
b961a573
JM
14048 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14049 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14050 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14051 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14052 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14053 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14054 [!POSIX] (posix_madvise): Likewise.
14055 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14056 && !UNIX98].
14057 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14058 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14059 (mode_t): Likewise.
14060 (posix_mem_offset): Likewise.
14061 (posix_typed_mem_get_info): Likewise.
14062 (posix_typed_mem_open): Likewise.
14063
9e188909
JM
14064 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14065 Change condition to [XOPEN2K8].
14066
05bcf62a
JM
14067 * conform/conformtest.pl: Preprocess allow-header data with -x c
14068 instead of from stdin.
14069 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14070 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14071 [C99-based standards] (cerfc): Likewise.
14072 [C99-based standards] (cexp2): Likewise.
14073 [C99-based standards] (cexpm1): Likewise.
14074 [C99-based standards] (clog10): Likewise.
14075 [C99-based standards] (clog1p): Likewise.
14076 [C99-based standards] (clog2): Likewise.
14077 [C99-based standards] (clgamma): Likewise.
14078 [C99-based standards] (ctgamma): Likewise.
14079 [C99-based standards] (cerff): Likewise.
14080 [C99-based standards] (cerfcf): Likewise.
14081 [C99-based standards] (cexp2f): Likewise.
14082 [C99-based standards] (cexpm1f): Likewise.
14083 [C99-based standards] (clog10f): Likewise.
14084 [C99-based standards] (clog1pf): Likewise.
14085 [C99-based standards] (clog2f): Likewise.
14086 [C99-based standards] (clgammaf): Likewise.
14087 [C99-based standards] (ctgammaf): Likewise.
14088 [C99-based standards] (cerfl): Likewise.
14089 [C99-based standards] (cerfcl): Likewise.
14090 [C99-based standards] (cexp2l): Likewise.
14091 [C99-based standards] (cexpm1l): Likewise.
14092 [C99-based standards] (clog10l): Likewise.
14093 [C99-based standards] (clog1pl): Likewise.
14094 [C99-based standards] (clog2l): Likewise.
14095 [C99-based standards] (clgammal): Likewise.
14096 [C99-based standards] (ctgammal): Likewise.
14097 * conform/data/inttypes.h-data [C99-based standards]: Include
14098 stdint.h-data. Remove all expectations for stdint.h contents.
14099 [C99-based standards] (PRI*): Do not allow.
14100 [C99-based standards] (SCN*): Likewise.
14101 [C99-based standards] (*_t): Likewise.
14102 [C99-based-standards] (PRId8): Expect macro.
14103 [C99-based-standards] (PRIi8): Likewise.
14104 [C99-based-standards] (PRIo8): Likewise.
14105 [C99-based-standards] (PRIu8): Likewise.
14106 [C99-based-standards] (PRIx8): Likewise.
14107 [C99-based-standards] (PRIX8): Likewise.
14108 [C99-based-standards] (SCNd8): Likewise.
14109 [C99-based-standards] (SCNi8): Likewise.
14110 [C99-based-standards] (SCNo8): Likewise.
14111 [C99-based-standards] (SCNu8): Likewise.
14112 [C99-based-standards] (SCNx8): Likewise.
14113 [C99-based-standards] (PRIdLEAST8): Likewise.
14114 [C99-based-standards] (PRIiLEAST8): Likewise.
14115 [C99-based-standards] (PRIoLEAST8): Likewise.
14116 [C99-based-standards] (PRIuLEAST8): Likewise.
14117 [C99-based-standards] (PRIxLEAST8): Likewise.
14118 [C99-based-standards] (PRIXLEAST8): Likewise.
14119 [C99-based-standards] (SCNdLEAST8): Likewise.
14120 [C99-based-standards] (SCNiLEAST8): Likewise.
14121 [C99-based-standards] (SCNoLEAST8): Likewise.
14122 [C99-based-standards] (SCNuLEAST8): Likewise.
14123 [C99-based-standards] (SCNxLEAST8): Likewise.
14124 [C99-based-standards] (PRIdFAST8): Likewise.
14125 [C99-based-standards] (PRIiFAST8): Likewise.
14126 [C99-based-standards] (PRIoFAST8): Likewise.
14127 [C99-based-standards] (PRIuFAST8): Likewise.
14128 [C99-based-standards] (PRIxFAST8): Likewise.
14129 [C99-based-standards] (PRIXFAST8): Likewise.
14130 [C99-based-standards] (SCNdFAST8): Likewise.
14131 [C99-based-standards] (SCNiFAST8): Likewise.
14132 [C99-based-standards] (SCNoFAST8): Likewise.
14133 [C99-based-standards] (SCNuFAST8): Likewise.
14134 [C99-based-standards] (SCNxFAST8): Likewise.
14135 [C99-based-standards] (PRId16): Likewise.
14136 [C99-based-standards] (PRIi16): Likewise.
14137 [C99-based-standards] (PRIo16): Likewise.
14138 [C99-based-standards] (PRIu16): Likewise.
14139 [C99-based-standards] (PRIx16): Likewise.
14140 [C99-based-standards] (PRIX16): Likewise.
14141 [C99-based-standards] (SCNd16): Likewise.
14142 [C99-based-standards] (SCNi16): Likewise.
14143 [C99-based-standards] (SCNo16): Likewise.
14144 [C99-based-standards] (SCNu16): Likewise.
14145 [C99-based-standards] (SCNx16): Likewise.
14146 [C99-based-standards] (PRIdLEAST16): Likewise.
14147 [C99-based-standards] (PRIiLEAST16): Likewise.
14148 [C99-based-standards] (PRIoLEAST16): Likewise.
14149 [C99-based-standards] (PRIuLEAST16): Likewise.
14150 [C99-based-standards] (PRIxLEAST16): Likewise.
14151 [C99-based-standards] (PRIXLEAST16): Likewise.
14152 [C99-based-standards] (SCNdLEAST16): Likewise.
14153 [C99-based-standards] (SCNiLEAST16): Likewise.
14154 [C99-based-standards] (SCNoLEAST16): Likewise.
14155 [C99-based-standards] (SCNuLEAST16): Likewise.
14156 [C99-based-standards] (SCNxLEAST16): Likewise.
14157 [C99-based-standards] (PRIdFAST16): Likewise.
14158 [C99-based-standards] (PRIiFAST16): Likewise.
14159 [C99-based-standards] (PRIoFAST16): Likewise.
14160 [C99-based-standards] (PRIuFAST16): Likewise.
14161 [C99-based-standards] (PRIxFAST16): Likewise.
14162 [C99-based-standards] (PRIXFAST16): Likewise.
14163 [C99-based-standards] (SCNdFAST16): Likewise.
14164 [C99-based-standards] (SCNiFAST16): Likewise.
14165 [C99-based-standards] (SCNoFAST16): Likewise.
14166 [C99-based-standards] (SCNuFAST16): Likewise.
14167 [C99-based-standards] (SCNxFAST16): Likewise.
14168 [C99-based-standards] (PRId32): Likewise.
14169 [C99-based-standards] (PRIi32): Likewise.
14170 [C99-based-standards] (PRIo32): Likewise.
14171 [C99-based-standards] (PRIu32): Likewise.
14172 [C99-based-standards] (PRIx32): Likewise.
14173 [C99-based-standards] (PRIX32): Likewise.
14174 [C99-based-standards] (SCNd32): Likewise.
14175 [C99-based-standards] (SCNi32): Likewise.
14176 [C99-based-standards] (SCNo32): Likewise.
14177 [C99-based-standards] (SCNu32): Likewise.
14178 [C99-based-standards] (SCNx32): Likewise.
14179 [C99-based-standards] (PRIdLEAST32): Likewise.
14180 [C99-based-standards] (PRIiLEAST32): Likewise.
14181 [C99-based-standards] (PRIoLEAST32): Likewise.
14182 [C99-based-standards] (PRIuLEAST32): Likewise.
14183 [C99-based-standards] (PRIxLEAST32): Likewise.
14184 [C99-based-standards] (PRIXLEAST32): Likewise.
14185 [C99-based-standards] (SCNdLEAST32): Likewise.
14186 [C99-based-standards] (SCNiLEAST32): Likewise.
14187 [C99-based-standards] (SCNoLEAST32): Likewise.
14188 [C99-based-standards] (SCNuLEAST32): Likewise.
14189 [C99-based-standards] (SCNxLEAST32): Likewise.
14190 [C99-based-standards] (PRIdFAST32): Likewise.
14191 [C99-based-standards] (PRIiFAST32): Likewise.
14192 [C99-based-standards] (PRIoFAST32): Likewise.
14193 [C99-based-standards] (PRIuFAST32): Likewise.
14194 [C99-based-standards] (PRIxFAST32): Likewise.
14195 [C99-based-standards] (PRIXFAST32): Likewise.
14196 [C99-based-standards] (SCNdFAST32): Likewise.
14197 [C99-based-standards] (SCNiFAST32): Likewise.
14198 [C99-based-standards] (SCNoFAST32): Likewise.
14199 [C99-based-standards] (SCNuFAST32): Likewise.
14200 [C99-based-standards] (SCNxFAST32): Likewise.
14201 [C99-based-standards] (PRId64): Likewise.
14202 [C99-based-standards] (PRIi64): Likewise.
14203 [C99-based-standards] (PRIo64): Likewise.
14204 [C99-based-standards] (PRIu64): Likewise.
14205 [C99-based-standards] (PRIx64): Likewise.
14206 [C99-based-standards] (PRIX64): Likewise.
14207 [C99-based-standards] (SCNd64): Likewise.
14208 [C99-based-standards] (SCNi64): Likewise.
14209 [C99-based-standards] (SCNo64): Likewise.
14210 [C99-based-standards] (SCNu64): Likewise.
14211 [C99-based-standards] (SCNx64): Likewise.
14212 [C99-based-standards] (PRIdLEAST64): Likewise.
14213 [C99-based-standards] (PRIiLEAST64): Likewise.
14214 [C99-based-standards] (PRIoLEAST64): Likewise.
14215 [C99-based-standards] (PRIuLEAST64): Likewise.
14216 [C99-based-standards] (PRIxLEAST64): Likewise.
14217 [C99-based-standards] (PRIXLEAST64): Likewise.
14218 [C99-based-standards] (SCNdLEAST64): Likewise.
14219 [C99-based-standards] (SCNiLEAST64): Likewise.
14220 [C99-based-standards] (SCNoLEAST64): Likewise.
14221 [C99-based-standards] (SCNuLEAST64): Likewise.
14222 [C99-based-standards] (SCNxLEAST64): Likewise.
14223 [C99-based-standards] (PRIdFAST64): Likewise.
14224 [C99-based-standards] (PRIiFAST64): Likewise.
14225 [C99-based-standards] (PRIoFAST64): Likewise.
14226 [C99-based-standards] (PRIuFAST64): Likewise.
14227 [C99-based-standards] (PRIxFAST64): Likewise.
14228 [C99-based-standards] (PRIXFAST64): Likewise.
14229 [C99-based-standards] (SCNdFAST64): Likewise.
14230 [C99-based-standards] (SCNiFAST64): Likewise.
14231 [C99-based-standards] (SCNoFAST64): Likewise.
14232 [C99-based-standards] (SCNuFAST64): Likewise.
14233 [C99-based-standards] (SCNxFAST64): Likewise.
14234 [C99-based-standards] (PRIdMAX): Likewise.
14235 [C99-based-standards] (PRIiMAX): Likewise.
14236 [C99-based-standards] (PRIoMAX): Likewise.
14237 [C99-based-standards] (PRIuMAX): Likewise.
14238 [C99-based-standards] (PRIxMAX): Likewise.
14239 [C99-based-standards] (PRIXMAX): Likewise.
14240 [C99-based-standards] (SCNdMAX): Likewise.
14241 [C99-based-standards] (SCNiMAX): Likewise.
14242 [C99-based-standards] (SCNoMAX): Likewise.
14243 [C99-based-standards] (SCNuMAX): Likewise.
14244 [C99-based-standards] (SCNxMAX): Likewise.
14245 [C99-based-standards] (PRIdPTR): Likewise.
14246 [C99-based-standards] (PRIiPTR): Likewise.
14247 [C99-based-standards] (PRIoPTR): Likewise.
14248 [C99-based-standards] (PRIuPTR): Likewise.
14249 [C99-based-standards] (PRIxPTR): Likewise.
14250 [C99-based-standards] (PRIXPTR): Likewise.
14251 [C99-based-standards] (SCNdPTR): Likewise.
14252 [C99-based-standards] (SCNiPTR): Likewise.
14253 [C99-based-standards] (SCNoPTR): Likewise.
14254 [C99-based-standards] (SCNuPTR): Likewise.
14255 [C99-based-standards] (SCNxPTR): Likewise.
14256 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14257 allow.
14258 * conform/data/stdint.h-data: Update comments to clarify
14259 requirements.
14260 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14261 type.
14262 [C99-based standards] (INT8_MAX): Likewise.
14263 [C99-based standards] (INT16_MIN): Likewise.
14264 [C99-based standards] (INT16_MAX): Likewise.
14265 [C99-based standards] (INT32_MIN): Likewise.
14266 [C99-based standards] (INT32_MAX): Likewise.
14267 [C99-based standards] (INT64_MIN): Likewise.
14268 [C99-based standards] (INT64_MAX): Likewise.
14269 [C99-based standards] (UINT8_MAX): Likewise.
14270 [C99-based standards] (UINT16_MAX): Likewise.
14271 [C99-based standards] (UINT32_MAX): Likewise.
14272 [C99-based standards] (UINT64_MAX): Likewise.
14273 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14274 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14275 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14276 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14277 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14278 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14279 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14280 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14281 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14282 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14283 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14284 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14285 [C99-based standards] (INT_FAST8_MIN): Likewise.
14286 [C99-based standards] (INT_FAST8_MAX): Likewise.
14287 [C99-based standards] (INT_FAST16_MIN): Likewise.
14288 [C99-based standards] (INT_FAST16_MAX): Likewise.
14289 [C99-based standards] (INT_FAST32_MIN): Likewise.
14290 [C99-based standards] (INT_FAST32_MAX): Likewise.
14291 [C99-based standards] (INT_FAST64_MIN): Likewise.
14292 [C99-based standards] (INT_FAST64_MAX): Likewise.
14293 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14294 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14295 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14296 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14297 [C99-based standards] (INTPTR_MIN): Likewise.
14298 [C99-based standards] (INTPTR_MAX): Likewise.
14299 [C99-based standards] (UINTPTR_MAX): Likewise.
14300 [C99-based standards] (INTMAX_MIN): Likewise.
14301 [C99-based standards] (INTMAX_MAX): Likewise.
14302 [C99-based standards] (UINTMAX_MAX): Likewise.
14303 [C99-based standards] (PTRDIFF_MIN): Likewise.
14304 [C99-based standards] (PTRDIFF_MAX): Likewise.
14305 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14306 [C99-based standards] (SIZE_MAX): Likewise.
14307 [C99-based standards] (WCHAR_MAX): Likewise.
14308 [C99-based standards] (WINT_MAX): Likewise.
14309 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14310 constraint on value.
14311 [C99-based standards] (WCHAR_MIN): Likewise.
14312 [C99-based standards] (WINT_MIN): Likewise.
14313 [C99-based standards] (*_t): Allow.
14314 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14315 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14316 Include math.h-data and complex.h-data. Remove all expectations
14317 of math.h and complex.h contents.
14318 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14319 at end of line.
14320 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14321 (struct tm): Expect tag.
14322 [C99-based-standards] (wcstof): Expect function.
14323 [C99-based-standards] (wcstold): Likewise.
14324 [C99-based-standards] (wcstoll): Likewise.
14325 [C99-based-standards] (wcstoull): Likewise.
14326 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14327 macro-int-constant. Specify type.
14328 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14329 constraint on value.
14330 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14331 Specify type.
14332 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14333 Specify value.
14334 [ISO C standards]: Do not allow headers.
14335 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14336 wcs[abcdefghijklmnopqrstuvwxyz]*.
14337 [ISO C standards] (*_t): Do not allow.
14338 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14339 Expect function.
14340 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14341 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14342 Specify type.
14343 [ISO C standards]: Do not allow headers.
14344 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14345 is[abcdefghijklmnopqrstuvwxyz]*.
14346 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14347 to[abcdefghijklmnopqrstuvwxyz]*.
14348 [ISO C standards] (*_t): Do not allow.
14349 * conform/data/stdalign.h-data: New file.
14350 * conform/data/stdbool.h-data: Likewise.
14351 * conform/data/stdnoreturn.h-data: Likewise.
14352
7514feb8
RM
143532012-11-07 Roland McGrath <roland@hack.frob.com>
14354
14355 [BZ #14815]
14356 * manual/filesys.texi (Directory Entries): Typo fix.
14357 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14358
19b2ecfc
MS
143592012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14360
14361 * elf/elf.h (EM_AARCH64): New macro.
14362 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14363 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14364 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14365 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14366 (R_AARCH64_TLSDESC): Likewise.
14367 (NT_ARM_TLS): Likewise.
14368 (NT_ARM_HW_BREAK): Likewise.
14369 (NT_ARM_HW_WATCH): Likewise.
14370
60e235ee
JM
143712012-11-07 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #14811]
14374 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14375 (__ieee754_powl): Saturate nonzero exponents with absolute value
14376 below 0x1p-79 to +/- 0x1p-79.
14377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14378 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14379 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14380 nonzero exponents with absolute value below 0x1p-32 to +/-
14381 0x1p-32.
14382 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14383 (__ieee754_powl): Saturate nonzero exponents with absolute value
14384 below 0x1p-79 to +/- 0x1p-79.
14385 * math/libm-test.inc (pow_test): Add more tests.
14386
0ab234b7
AK
143872012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14388
14389 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14390 _dl_s390_cap_flags with kernel. Increase string length.
14391 (_dl_s390_platforms): Add z196 and zEC12.
14392
45832f74
JM
143932012-11-07 Joseph Myers <joseph@codesourcery.com>
14394
14395 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14396 Change XOPEN21K to XOPEN2K.
14397
19218757
MK
143982012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14399
14400 * string/memmove.c: Use memcpy when possible.
14401
c5f45721
AJ
144022012-11-06 Andreas Jaeger <aj@suse.de>
14403
14404 * po/eo.po: Update from translation team.
14405
82477c28
JM
144062012-11-06 Joseph Myers <joseph@codesourcery.com>
14407
14408 [BZ #14793]
14409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14410 exponent and small x and y exponents, scale x or y up. Increase
14411 by 2 the exponent used in scaling up.
14412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14414 * math/libm-test.inc (fma_test): Add more tests.
14415 (fma_test_towardzero): Likewise.
14416 (fma_test_downward): Likewise.
14417 (fma_test_upward): Likewise.
14418
99252c8c
JM
144192012-11-05 Joseph Myers <joseph@codesourcery.com>
14420
acfa885f
JM
14421 [BZ #14805]
14422 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14423 fenv_t *.
14424
99252c8c
JM
14425 [BZ #14801]
14426 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14427 namespace for names of struct fields.
14428 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14429 fenv_t fields.
14430 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14431 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14432
d6d98dea
ST
144332012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14434
14435 [BZ #3665]
14436 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14437
e10bb107
TS
144382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14439
14440 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14441 PTR_DEMANGLE.
14442
14443 [BZ #5246]
14444 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14445 PTR_DEMANGLE.
14446
a0c2940d
JM
144472012-11-04 Joseph Myers <joseph@codesourcery.com>
14448
14449 [BZ #14797]
14450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14451 definitely overflow as x * y not x * y + z.
14452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14454 * math/libm-test.inc (fma_test): Add more tests.
14455 (fma_test_towardzero): Likewise.
14456 (fma_test_downward): Likewise.
14457 (fma_test_upward): Likewise.
14458
b830319d
TS
144592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14460
14461 [BZ #157]
14462
14463 * include/stub-tag.h: Remove file.
14464 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14465 '#include' of it.
14466 * manual/maint.texi (Porting): Don't reference it.
14467 * Makerules ($(objpfx)stubs): Likewise.
14468 * dirent/closedir.c: Don't include <stub-tag.h>.
14469 * dirent/dirfd.c: Likewise.
14470 * dirent/fdopendir.c: Likewise.
14471 * dirent/getdents.c: Likewise.
14472 * dirent/getdents64.c: Likewise.
14473 * dirent/opendir.c: Likewise.
14474 * dirent/readdir.c: Likewise.
14475 * dirent/readdir64.c: Likewise.
14476 * dirent/readdir64_r.c: Likewise.
14477 * dirent/readdir_r.c: Likewise.
14478 * dirent/rewinddir.c: Likewise.
14479 * dirent/seekdir.c: Likewise.
14480 * dirent/telldir.c: Likewise.
14481 * gmon/profil.c: Likewise.
14482 * grp/setgroups.c: Likewise.
14483 * inet/if_index.c: Likewise.
14484 * io/access.c: Likewise.
14485 * io/chdir.c: Likewise.
14486 * io/chmod.c: Likewise.
14487 * io/chown.c: Likewise.
14488 * io/close.c: Likewise.
14489 * io/dup.c: Likewise.
14490 * io/dup2.c: Likewise.
14491 * io/dup3.c: Likewise.
14492 * io/euidaccess.c: Likewise.
14493 * io/faccessat.c: Likewise.
14494 * io/fchdir.c: Likewise.
14495 * io/fchmod.c: Likewise.
14496 * io/fchmodat.c: Likewise.
14497 * io/fchown.c: Likewise.
14498 * io/fchownat.c: Likewise.
14499 * io/fcntl.c: Likewise.
14500 * io/flock.c: Likewise.
14501 * io/fstatfs.c: Likewise.
14502 * io/fstatfs64.c: Likewise.
14503 * io/fstatvfs.c: Likewise.
14504 * io/fstatvfs64.c: Likewise.
14505 * io/futimens.c: Likewise.
14506 * io/fxstat.c: Likewise.
14507 * io/fxstat64.c: Likewise.
14508 * io/fxstatat.c: Likewise.
14509 * io/fxstatat64.c: Likewise.
14510 * io/getcwd.c: Likewise.
14511 * io/isatty.c: Likewise.
14512 * io/lchmod.c: Likewise.
14513 * io/lchown.c: Likewise.
14514 * io/link.c: Likewise.
14515 * io/linkat.c: Likewise.
14516 * io/lseek.c: Likewise.
14517 * io/lseek64.c: Likewise.
14518 * io/lxstat64.c: Likewise.
14519 * io/mkdir.c: Likewise.
14520 * io/mkdirat.c: Likewise.
14521 * io/mkfifo.c: Likewise.
14522 * io/mkfifoat.c: Likewise.
14523 * io/open.c: Likewise.
14524 * io/open64.c: Likewise.
14525 * io/openat.c: Likewise.
14526 * io/openat64.c: Likewise.
14527 * io/pipe.c: Likewise.
14528 * io/pipe2.c: Likewise.
14529 * io/poll.c: Likewise.
14530 * io/posix_fadvise.c: Likewise.
14531 * io/posix_fadvise64.c: Likewise.
14532 * io/posix_fallocate.c: Likewise.
14533 * io/posix_fallocate64.c: Likewise.
14534 * io/read.c: Likewise.
14535 * io/readlink.c: Likewise.
14536 * io/readlinkat.c: Likewise.
14537 * io/rmdir.c: Likewise.
14538 * io/sendfile.c: Likewise.
14539 * io/sendfile64.c: Likewise.
14540 * io/statfs.c: Likewise.
14541 * io/statfs64.c: Likewise.
14542 * io/statvfs.c: Likewise.
14543 * io/statvfs64.c: Likewise.
14544 * io/symlink.c: Likewise.
14545 * io/symlinkat.c: Likewise.
14546 * io/ttyname.c: Likewise.
14547 * io/ttyname_r.c: Likewise.
14548 * io/umask.c: Likewise.
14549 * io/unlink.c: Likewise.
14550 * io/unlinkat.c: Likewise.
14551 * io/utime.c: Likewise.
14552 * io/utimensat.c: Likewise.
14553 * io/write.c: Likewise.
14554 * io/xmknod.c: Likewise.
14555 * io/xmknodat.c: Likewise.
14556 * io/xstat.c: Likewise.
14557 * io/xstat64.c: Likewise.
14558 * login/getpt.c: Likewise.
14559 * login/grantpt.c: Likewise.
14560 * login/unlockpt.c: Likewise.
14561 * math/e_acoshl.c: Likewise.
14562 * math/e_acosl.c: Likewise.
14563 * math/e_asinl.c: Likewise.
14564 * math/e_atan2l.c: Likewise.
14565 * math/e_atanhl.c: Likewise.
14566 * math/e_coshl.c: Likewise.
14567 * math/e_expl.c: Likewise.
14568 * math/e_fmodl.c: Likewise.
14569 * math/e_gammal_r.c: Likewise.
14570 * math/e_hypotl.c: Likewise.
14571 * math/e_j0l.c: Likewise.
14572 * math/e_j1l.c: Likewise.
14573 * math/e_jnl.c: Likewise.
14574 * math/e_lgammal_r.c: Likewise.
14575 * math/e_log10l.c: Likewise.
14576 * math/e_log2l.c: Likewise.
14577 * math/e_logl.c: Likewise.
14578 * math/e_powl.c: Likewise.
14579 * math/e_rem_pio2l.c: Likewise.
14580 * math/e_sinhl.c: Likewise.
14581 * math/e_sqrtl.c: Likewise.
14582 * math/fclrexcpt.c: Likewise.
14583 * math/fedisblxcpt.c: Likewise.
14584 * math/feenablxcpt.c: Likewise.
14585 * math/fegetenv.c: Likewise.
14586 * math/fegetexcept.c: Likewise.
14587 * math/fegetround.c: Likewise.
14588 * math/feholdexcpt.c: Likewise.
14589 * math/fesetenv.c: Likewise.
14590 * math/fesetround.c: Likewise.
14591 * math/feupdateenv.c: Likewise.
14592 * math/fgetexcptflg.c: Likewise.
14593 * math/fraiseexcpt.c: Likewise.
14594 * math/fsetexcptflg.c: Likewise.
14595 * math/ftestexcept.c: Likewise.
14596 * math/k_cosl.c: Likewise.
14597 * math/k_rem_pio2l.c: Likewise.
14598 * math/k_sinl.c: Likewise.
14599 * math/k_tanl.c: Likewise.
14600 * math/s_asinhl.c: Likewise.
14601 * math/s_atanl.c: Likewise.
14602 * math/s_cbrtl.c: Likewise.
14603 * math/s_erfl.c: Likewise.
14604 * math/s_expm1l.c: Likewise.
14605 * math/s_log1pl.c: Likewise.
14606 * math/s_tanhl.c: Likewise.
14607 * misc/acct.c: Likewise.
14608 * misc/brk.c: Likewise.
14609 * misc/chflags.c: Likewise.
14610 * misc/chroot.c: Likewise.
14611 * misc/fchflags.c: Likewise.
14612 * misc/fgetxattr.c: Likewise.
14613 * misc/flistxattr.c: Likewise.
14614 * misc/fremovexattr.c: Likewise.
14615 * misc/fsetxattr.c: Likewise.
14616 * misc/fsync.c: Likewise.
14617 * misc/ftruncate.c: Likewise.
14618 * misc/futimes.c: Likewise.
14619 * misc/futimesat.c: Likewise.
14620 * misc/getdomain.c: Likewise.
14621 * misc/getdtsz.c: Likewise.
14622 * misc/gethostid.c: Likewise.
14623 * misc/gethostname.c: Likewise.
14624 * misc/getloadavg.c: Likewise.
14625 * misc/getpagesize.c: Likewise.
14626 * misc/getsysstats.c: Likewise.
14627 * misc/getxattr.c: Likewise.
14628 * misc/gtty.c: Likewise.
14629 * misc/ioctl.c: Likewise.
14630 * misc/lgetxattr.c: Likewise.
14631 * misc/listxattr.c: Likewise.
14632 * misc/llistxattr.c: Likewise.
14633 * misc/lremovexattr.c: Likewise.
14634 * misc/lsetxattr.c: Likewise.
14635 * misc/lutimes.c: Likewise.
14636 * misc/madvise.c: Likewise.
14637 * misc/mincore.c: Likewise.
14638 * misc/mlock.c: Likewise.
14639 * misc/mlockall.c: Likewise.
14640 * misc/mmap.c: Likewise.
14641 * misc/mprotect.c: Likewise.
14642 * misc/msync.c: Likewise.
14643 * misc/munlock.c: Likewise.
14644 * misc/munlockall.c: Likewise.
14645 * misc/munmap.c: Likewise.
14646 * misc/preadv.c: Likewise.
14647 * misc/preadv64.c: Likewise.
14648 * misc/ptrace.c: Likewise.
14649 * misc/pwritev.c: Likewise.
14650 * misc/pwritev64.c: Likewise.
14651 * misc/readv.c: Likewise.
14652 * misc/reboot.c: Likewise.
14653 * misc/remap_file_pages.c: Likewise.
14654 * misc/removexattr.c: Likewise.
14655 * misc/revoke.c: Likewise.
14656 * misc/select.c: Likewise.
14657 * misc/setdomain.c: Likewise.
14658 * misc/setegid.c: Likewise.
14659 * misc/seteuid.c: Likewise.
14660 * misc/sethostid.c: Likewise.
14661 * misc/sethostname.c: Likewise.
14662 * misc/setregid.c: Likewise.
14663 * misc/setreuid.c: Likewise.
14664 * misc/setxattr.c: Likewise.
14665 * misc/sstk.c: Likewise.
14666 * misc/stty.c: Likewise.
14667 * misc/swapoff.c: Likewise.
14668 * misc/swapon.c: Likewise.
14669 * misc/sync.c: Likewise.
14670 * misc/syncfs.c: Likewise.
14671 * misc/syscall.c: Likewise.
14672 * misc/truncate.c: Likewise.
14673 * misc/ualarm.c: Likewise.
14674 * misc/usleep.c: Likewise.
14675 * misc/ustat.c: Likewise.
14676 * misc/utimes.c: Likewise.
14677 * misc/vhangup.c: Likewise.
14678 * misc/writev.c: Likewise.
14679 * posix/_exit.c: Likewise.
14680 * posix/alarm.c: Likewise.
14681 * posix/execve.c: Likewise.
14682 * posix/fexecve.c: Likewise.
14683 * posix/fork.c: Likewise.
14684 * posix/fpathconf.c: Likewise.
14685 * posix/getaddrinfo.c: Likewise.
14686 * posix/getegid.c: Likewise.
14687 * posix/geteuid.c: Likewise.
14688 * posix/getgid.c: Likewise.
14689 * posix/getgroups.c: Likewise.
14690 * posix/getlogin.c: Likewise.
14691 * posix/getlogin_r.c: Likewise.
14692 * posix/getpgid.c: Likewise.
14693 * posix/getpid.c: Likewise.
14694 * posix/getppid.c: Likewise.
14695 * posix/getresgid.c: Likewise.
14696 * posix/getresuid.c: Likewise.
14697 * posix/getsid.c: Likewise.
14698 * posix/getuid.c: Likewise.
14699 * posix/glob64.c: Likewise.
14700 * posix/nanosleep.c: Likewise.
14701 * posix/pathconf.c: Likewise.
14702 * posix/pause.c: Likewise.
14703 * posix/posix_madvise.c: Likewise.
14704 * posix/pread.c: Likewise.
14705 * posix/pread64.c: Likewise.
14706 * posix/pwrite.c: Likewise.
14707 * posix/pwrite64.c: Likewise.
14708 * posix/sched_getaffinity.c: Likewise.
14709 * posix/sched_getp.c: Likewise.
14710 * posix/sched_gets.c: Likewise.
14711 * posix/sched_primax.c: Likewise.
14712 * posix/sched_primin.c: Likewise.
14713 * posix/sched_rr_gi.c: Likewise.
14714 * posix/sched_setaffinity.c: Likewise.
14715 * posix/sched_setp.c: Likewise.
14716 * posix/sched_sets.c: Likewise.
14717 * posix/sched_yield.c: Likewise.
14718 * posix/setgid.c: Likewise.
14719 * posix/setlogin.c: Likewise.
14720 * posix/setpgid.c: Likewise.
14721 * posix/setresgid.c: Likewise.
14722 * posix/setresuid.c: Likewise.
14723 * posix/setsid.c: Likewise.
14724 * posix/setuid.c: Likewise.
14725 * posix/sleep.c: Likewise.
14726 * posix/spawni.c: Likewise.
14727 * posix/sysconf.c: Likewise.
14728 * posix/times.c: Likewise.
14729 * posix/wait.c: Likewise.
14730 * posix/wait3.c: Likewise.
14731 * posix/wait4.c: Likewise.
14732 * posix/waitpid.c: Likewise.
14733 * resolv/gai_sigqueue.c: Likewise.
14734 * resource/getpriority.c: Likewise.
14735 * resource/getrlimit.c: Likewise.
14736 * resource/getrusage.c: Likewise.
14737 * resource/nice.c: Likewise.
14738 * resource/setpriority.c: Likewise.
14739 * resource/setrlimit.c: Likewise.
14740 * resource/ulimit.c: Likewise.
14741 * rt/aio_cancel.c: Likewise.
14742 * rt/aio_fsync.c: Likewise.
14743 * rt/aio_read.c: Likewise.
14744 * rt/aio_sigqueue.c: Likewise.
14745 * rt/aio_suspend.c: Likewise.
14746 * rt/aio_write.c: Likewise.
14747 * rt/clock_getres.c: Likewise.
14748 * rt/clock_gettime.c: Likewise.
14749 * rt/clock_nanosleep.c: Likewise.
14750 * rt/clock_settime.c: Likewise.
14751 * rt/lio_listio.c: Likewise.
14752 * rt/mq_close.c: Likewise.
14753 * rt/mq_getattr.c: Likewise.
14754 * rt/mq_notify.c: Likewise.
14755 * rt/mq_open.c: Likewise.
14756 * rt/mq_receive.c: Likewise.
14757 * rt/mq_send.c: Likewise.
14758 * rt/mq_setattr.c: Likewise.
14759 * rt/mq_timedreceive.c: Likewise.
14760 * rt/mq_timedsend.c: Likewise.
14761 * rt/mq_unlink.c: Likewise.
14762 * rt/shm_open.c: Likewise.
14763 * rt/shm_unlink.c: Likewise.
14764 * rt/timer_create.c: Likewise.
14765 * rt/timer_delete.c: Likewise.
14766 * rt/timer_getoverr.c: Likewise.
14767 * rt/timer_gettime.c: Likewise.
14768 * rt/timer_settime.c: Likewise.
14769 * setjmp/__longjmp.c: Likewise.
14770 * setjmp/setjmp.c: Likewise.
14771 * signal/kill.c: Likewise.
14772 * signal/killpg.c: Likewise.
14773 * signal/raise.c: Likewise.
14774 * signal/sigaction.c: Likewise.
14775 * signal/sigaltstack.c: Likewise.
14776 * signal/sigblock.c: Likewise.
14777 * signal/sigignore.c: Likewise.
14778 * signal/sigintr.c: Likewise.
14779 * signal/signal.c: Likewise.
14780 * signal/sigpause.c: Likewise.
14781 * signal/sigpending.c: Likewise.
14782 * signal/sigqueue.c: Likewise.
14783 * signal/sigreturn.c: Likewise.
14784 * signal/sigset.c: Likewise.
14785 * signal/sigsetmask.c: Likewise.
14786 * signal/sigstack.c: Likewise.
14787 * signal/sigsuspend.c: Likewise.
14788 * signal/sigtimedwait.c: Likewise.
14789 * signal/sigvec.c: Likewise.
14790 * signal/sigwait.c: Likewise.
14791 * signal/sigwaitinfo.c: Likewise.
14792 * signal/sysv_signal.c: Likewise.
14793 * socket/accept.c: Likewise.
14794 * socket/accept4.c: Likewise.
14795 * socket/bind.c: Likewise.
14796 * socket/connect.c: Likewise.
14797 * socket/getpeername.c: Likewise.
14798 * socket/getsockname.c: Likewise.
14799 * socket/getsockopt.c: Likewise.
14800 * socket/isfdtype.c: Likewise.
14801 * socket/listen.c: Likewise.
14802 * socket/recv.c: Likewise.
14803 * socket/recvfrom.c: Likewise.
14804 * socket/recvmsg.c: Likewise.
14805 * socket/send.c: Likewise.
14806 * socket/sendmsg.c: Likewise.
14807 * socket/sendto.c: Likewise.
14808 * socket/setsockopt.c: Likewise.
14809 * socket/shutdown.c: Likewise.
14810 * socket/sockatmark.c: Likewise.
14811 * socket/socket.c: Likewise.
14812 * socket/socketpair.c: Likewise.
14813 * stdio-common/ctermid.c: Likewise.
14814 * stdio-common/cuserid.c: Likewise.
14815 * stdio-common/remove.c: Likewise.
14816 * stdio-common/rename.c: Likewise.
14817 * stdio-common/renameat.c: Likewise.
14818 * stdio-common/tempname.c: Likewise.
14819 * stdlib/getcontext.c: Likewise.
14820 * stdlib/makecontext.c: Likewise.
14821 * stdlib/setcontext.c: Likewise.
14822 * stdlib/swapcontext.c: Likewise.
14823 * stdlib/system.c: Likewise.
14824 * streams/fattach.c: Likewise.
14825 * streams/fdetach.c: Likewise.
14826 * streams/getmsg.c: Likewise.
14827 * streams/getpmsg.c: Likewise.
14828 * streams/putmsg.c: Likewise.
14829 * streams/putpmsg.c: Likewise.
14830 * sysdeps/unix/bsd/getpt.c: Likewise.
14831 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14832 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14833 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14835 Likewise.
14836 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14837 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14838 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14839 * sysvipc/msgctl.c: Likewise.
14840 * sysvipc/msgget.c: Likewise.
14841 * sysvipc/msgrcv.c: Likewise.
14842 * sysvipc/msgsnd.c: Likewise.
14843 * sysvipc/semctl.c: Likewise.
14844 * sysvipc/semget.c: Likewise.
14845 * sysvipc/semop.c: Likewise.
14846 * sysvipc/semtimedop.c: Likewise.
14847 * sysvipc/shmat.c: Likewise.
14848 * sysvipc/shmctl.c: Likewise.
14849 * sysvipc/shmdt.c: Likewise.
14850 * sysvipc/shmget.c: Likewise.
14851 * termios/tcdrain.c: Likewise.
14852 * termios/tcflow.c: Likewise.
14853 * termios/tcflush.c: Likewise.
14854 * termios/tcgetattr.c: Likewise.
14855 * termios/tcgetpgrp.c: Likewise.
14856 * termios/tcsendbrk.c: Likewise.
14857 * termios/tcsetattr.c: Likewise.
14858 * termios/tcsetpgrp.c: Likewise.
14859 * time/adjtime.c: Likewise.
14860 * time/clock.c: Likewise.
14861 * time/getitimer.c: Likewise.
14862 * time/gettimeofday.c: Likewise.
14863 * time/setitimer.c: Likewise.
14864 * time/settimeofday.c: Likewise.
14865 * time/stime.c: Likewise.
14866 * time/time.c: Likewise.
14867
148682012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14869
a20492cf
PT
14870 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14871 /usr/old/bin.
14872
72e182e3
PT
14873 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14874 instead of spaces.
14875 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14876
fbeafede
JM
148772012-11-03 Joseph Myers <joseph@codesourcery.com>
14878
5b5b04d6
JM
14879 [BZ #14796]
14880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14881 FE_TONEAREST before applying Dekker multiplication and Knuth
14882 addition. Clear inexact exceptions and check for exact zero
14883 results afterwards.
14884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14885 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14887 * math/libm-test.inc (fma_test): Add more tests.
14888 (fma_test_towardzero): Likewise.
14889 (fma_test_downward): Likewise.
14890 (fma_test_upward): Likewise.
14891 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14892 function.
14893 (libc_fesetround): New macro.
14894 (libc_fesetroundf): Likewise.
14895 (libc_fesetroundl): Likewise.
14896 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14897 function.
14898 (libc_fesetround_387): Likewise.
14899 (libc_fesetroundf): New macro.
14900 (libc_fesetround): Likewise.
14901 (libc_fesetroundl): Likewise.
14902 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14903 function.
14904 (libc_fesetroundf): New macro.
14905 (libc_fesetround): Likewise.
14906 (libc_fesetroundl): Likewise.
14907 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14908 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14909 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14910 libm_hidden_ver.
14911 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14912 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14913 libm_hidden_def.
14914 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14915 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14916 libm_hidden_ver.
14917 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14918 libm_hidden_def.
14919
fbeafede
JM
14920 [BZ #3439]
14921 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14922 integer constant usable in #if and use that to give value to enum
14923 constant.
14924 (FE_DIVBYZERO): Likewise.
14925 (FE_UNDERFLOW): Likewise.
14926 (FE_OVERFLOW): Likewise.
14927 (FE_INVALID): Likewise.
14928 (FE_INVALID_SNAN): Likewise.
14929 (FE_INVALID_ISI): Likewise.
14930 (FE_INVALID_IDI): Likewise.
14931 (FE_INVALID_ZDZ): Likewise.
14932 (FE_INVALID_IMZ): Likewise.
14933 (FE_INVALID_COMPARE): Likewise.
14934 (FE_INVALID_SOFTWARE): Likewise.
14935 (FE_INVALID_SQRT): Likewise.
14936 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14937 (FE_TONEAREST): Likewise.
14938 (FE_TOWARDZERO): Likewise.
14939 (FE_UPWARD): Likewise.
14940 (FE_DOWNWARD): Likewise.
14941 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14942 (FE_DIVBYZERO): Likewise.
14943 (FE_OVERFLOW): Likewise.
14944 (FE_UNDERFLOW): Likewise.
14945 (FE_INEXACT): Likewise.
14946 (FE_TONEAREST): Likewise.
14947 (FE_DOWNWARD): Likewise.
14948 (FE_UPWARD): Likewise.
14949 (FE_TOWARDZERO): Likewise.
14950 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14951 (FE_UNDERFLOW): Likewise.
14952 (FE_OVERFLOW): Likewise.
14953 (FE_DIVBYZERO): Likewise.
14954 (FE_INVALID): Likewise.
14955 (FE_TONEAREST): Likewise.
14956 (FE_TOWARDZERO): Likewise.
14957 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14958 (FE_OVERFLOW): Likewise.
14959 (FE_UNDERFLOW): Likewise.
14960 (FE_DIVBYZERO): Likewise.
14961 (FE_INEXACT): Likewise.
14962 (FE_TONEAREST): Likewise.
14963 (FE_TOWARDZERO): Likewise.
14964 (FE_UPWARD): Likewise.
14965 (FE_DOWNWARD): Likewise.
14966 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14967 (FE_DIVBYZERO): Likewise.
14968 (FE_OVERFLOW): Likewise.
14969 (FE_UNDERFLOW): Likewise.
14970 (FE_INEXACT): Likewise.
14971 (FE_TONEAREST): Likewise.
14972 (FE_DOWNWARD): Likewise.
14973 (FE_UPWARD): Likewise.
14974 (FE_TOWARDZERO): Likewise.
14975
105ca950
CM
149762012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14977
14978 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14979
a542b389
AS
149802012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14981
14982 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14983 commands. Quote $PWD.
14984 (blacklist_exports): Don't use remove_newlines. Replace "declare
14985 -x" by "export".
14986 (remove_newlines): Remove.
14987
f62c8abc
L
149882012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14989
14990 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14991 * stdlib/stdlib.h (atof): Moved to ...
14992 * include/bits/stdlib-float.h: Here. New file.
14993 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14994 * stdlib/bits/stdlib-float.h: New file.
14995 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14996 -mno-sse -mno-mmx.
14997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14998 <xmmintrin.h>.
14999
0155d5b2
JM
150002012-11-02 Joseph Myers <joseph@codesourcery.com>
15001
a68d0680
JM
15002 * conform/conformtest.pl (@headers): Add fenv.h.
15003 * conform/data/fenv.h-data: New file.
15004 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15005 include of <math/fenv.h>.
15006
caf7f573
JM
15007 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15008 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15009 && !UNIX98]. Enables tests for XOPEN2K8.
15010 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15011 POSIX2008]: Likewise.
15012
6c073ad6
JM
15013 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15014 (struct rusage): Do not expect type or its members.
15015
0155d5b2
JM
15016 [BZ #3439]
15017 * math/math.h (FP_NAN): Define macro to integer constant usable in
15018 #if and use that to give value to enum constant.
15019 (FP_INFINITE): Likewise.
15020 (FP_ZERO): Likewise.
15021 (FP_SUBNORMAL): Likewise.
15022 (FP_NORMAL): Likewise.
15023
b5dcacb4
AS
150242012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15025
15026 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15027 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15028 arguments.
15029
f7934be8
RM
150302012-11-02 Roland McGrath <roland@hack.frob.com>
15031
15032 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15033 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15034 autoconf-time if not.
15035 * configure.in: Remove AC_PREREQ.
15036
d7d08bde
TMQMF
150372012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15038
15039 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15040 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15041 of the internal implementation.
15042
dcdae19a
JM
150432012-11-02 Joseph Myers <joseph@codesourcery.com>
15044
15045 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15046 except include of <misc/sys/syslog.h>.
15047
d6cffd3e
AS
150482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15049
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15051 function returns with a NULL context exit with zero.
15052
b3563932
TMQMF
150532012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15054
15055 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15056
b288a93d
L
150572012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15058
15059 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15060 (run_program_cmd): This.
15061 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15062 (tst_langinfo): New variable. Use it.
15063
a2421a68
SAS
150642012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15065
15066 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15067 floating point opcodes.
15068
6f796e1b
TS
150692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15070
7402596b
TS
15071 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15072 variable.
15073
d0d4f868
TS
15074 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15075
6f796e1b
TS
15076 * sysdeps/mach/hurd/powerpc: Remove directory.
15077 * sysdeps/mach/powerpc: Likewise.
15078
4da224a2
AS
150792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15080
15081 * scripts/check-local-headers.sh: Ignore c++ headers.
15082
341dd673
TS
150832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15084
15085 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15086 __libc_cleanup_region_start argument.
15087
473611b2
JM
150882012-11-01 Joseph Myers <joseph@codesourcery.com>
15089
15090 [BZ #14784]
15091 [BZ #14785]
15092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15093 x * y using scaling, not as x * y + z.
15094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15096 * math/libm-test.inc (fma_test): Add more tests.
15097 (fma_test_towardzero): Likewise.
15098 (fma_test_downward): Likewise.
15099 (fma_test_upward): Likewise.
15100
4078da3d
TS
151012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15102
15103 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15104
903252aa
JM
151052012-10-31 Joseph Myers <joseph@codesourcery.com>
15106
15107 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15108 New variable.
15109
cbc818d0
TS
151102012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15111
15112 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15113
5a03cb1e
AS
151142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15115
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15117 Fix sort order.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15119 Likewise.
15120
90aff2ff
TMQMF
151212012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15122
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15124 Fix the order of the list for glibc 2.17.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15126 Likewise.
15127
1818fcb7
AS
151282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15129
15130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15131
ef82f4da
JM
151322012-10-31 Joseph Myers <joseph@codesourcery.com>
15133
16a0e2ec
JM
15134 [BZ #14610]
15135 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15136 for low part of x being zero before using __atanl (y).
15137 * math/libm-test.inc (atan2_test): Add another test.
15138
0eb69512
JM
15139 * manual/install.texi (Configuring and compiling): Document
15140 general use of test-wrapper and test-wrapper-env.
15141 * INSTALL: Regenerated.
15142
ef82f4da
JM
15143 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15144 (__fma): Do not extract and scale down low bits on after-rounding
15145 systems when result rounded to normal precision would have normal
15146 exponent.
15147 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15148 (__fmal): Do not extract and scale down low bits on after-rounding
15149 systems when result rounded to normal precision would have normal
15150 exponent.
15151 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15152 (__fmal): Do not extract and scale down low bits on after-rounding
15153 systems when result rounded to normal precision would have normal
15154 exponent.
15155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15156 macro.
15157 (fma_test): Add more tests.
15158 (fma_test_towardzero): Likewise.
15159 (fma_test_downward): Likewise.
15160 (fma_test_upward): Likewise.
15161
954ef0d9
L
151622012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15163
15164 * sysdeps/i386/tininess.h: Renamed to ...
15165 * sysdeps/x86/tininess.h: This.
15166 * sysdeps/x86_64/tininess.h: Removed.
15167
df61ffb2
JM
151682012-10-30 Joseph Myers <joseph@codesourcery.com>
15169
15170 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15171 input. Use $(build-program-cmd).
15172 ($(objpfx)tst-array1-static.out): Likewise.
15173 ($(objpfx)tst-array2.out): Likewise.
15174 ($(objpfx)tst-array3.out): Likewise.
15175 ($(objpfx)tst-array4.out): Likewise.
15176 ($(objpfx)tst-array5.out): Likewise.
15177 ($(objpfx)tst-array5-static.out): Likewise.
15178
01767843
CM
151792012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15180
47cc1490
CM
15181 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15182 if defined.
15183
01767843
CM
15184 * nss/nsswitch.h (nss_interface_function): Provide new
15185 macro for use with NSS functions.
15186 * grp/initgroups.c: Use new macro.
15187 * nss/getXXbyYY.c: Likewise.
15188 * nss/getXXbyYY_r.c: Likewise.
15189 * nss/getXXent.c: Likewise.
15190 * nss/getXXent_r.c: Likewise.
15191 * sysdeps/posix/getaddrinfo.c: Likewise.
15192
8321aa97
AJ
151932012-10-30 Andreas Jaeger <aj@suse.de>
15194
15195 * po/ru.po: Update Russion translation from translation project.
15196
2a27fd6d
JM
151972012-10-30 Joseph Myers <joseph@codesourcery.com>
15198
8627a232
JM
15199 [BZ #14152]
15200 [BZ #14783]
15201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15202 result and shift together with sticky bit instead of replicating
15203 round-to-nearest rounding.
15204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15206 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15207 missing underflow exceptions.
15208 (fma_test_towardzero): Add more tests.
15209 (fma_test_downward): Likewise.
15210 (fma_test_upward): Likewise.
15211
2a27fd6d
JM
15212 [BZ #14047]
15213 * sysdeps/generic/tininess.h: New file.
15214 * sysdeps/i386/tininess.h: Likewise.
15215 * sysdeps/sh/tininess.h: Likewise.
15216 * sysdeps/x86_64/tininess.h: Likewise.
15217 * stdlib/tst-strtod-underflow.c: Likewise.
15218 * stdlib/tst-tininess.c: Likewise.
15219 * stdlib/strtod_l.c: Include <tininess.h>.
15220 (round_and_return): Do not set errno for exact underflow cases.
15221 Force an underflow exception when setting errno for underflow.
15222 Determine underflow based on rounding to normal precision if
15223 TININESS_AFTER_ROUNDING.
15224 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15225 ERANGE for exact underflow cases.
15226 * stdlib/Makefile (tests): Add tst-tininess and
15227 tst-strtod-underflow.
15228 ($(objpfx)tst-tininess): Use $(link-libm).
15229 ($(objpfx)tst-strtod-underflow): Likewise.
15230
e7170363
AJ
152312012-10-30 Andreas Jaeger <aj@suse.de>
15232
e5088dc6
AJ
15233 [BZ#14767]
15234 * elf/Makefile (tests): Remove conditional for have-initfini-array
15235 since this is now always required and the variable does not exist
15236 anymore.
15237 (tests-static): Likewise.
15238 (modules-names): Likewise.
15239
e7170363 15240 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15241
15242 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15243 merged with constructor/destructor.
15244 (init_array): Likewise.
15245 * elf/tst-array2dep.c (fini_array): Likewise.
15246 (init_array): Likewise.
15247
60457d8a
MF
152482012-10-29 Mike Frysinger <vapier@gentoo.org>
15249
15250 * manual/message.texi: Delete @cartouche tags.
15251
8bece752
PT
152522012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15253
94ce799f
PT
15254 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15255 EOPNOTSUPP.
15256 * sysdeps/mach/hurd/fsync.c: Likewise.
15257
8bece752
PT
15258 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15259 [_POSIX_REALTIME_SIGNALS]: Change condition to
15260 [_POSIX_REALTIME_SIGNALS > 0].
15261
86ebe6b1
AJ
152622012-10-27 Andreas Jaeger <aj@suse.de>
15263
15264 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15265 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15267 [__WORDSIZE != 64]: Likewise.
15268
54399c08
L
152692012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15270
15271 * iconvdata/tst-table.sh: Remove ${SHELL}.
15272 * iconvdata/tst-tables.sh: Likewise.
15273
e2211bed
DM
152742012-10-25 David S. Miller <davem@davemloft.net>
15275
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15277 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15278 of strtoull.
15279
f303f97c
DM
15280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15281 ifunc-impl-list.c
15282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15283 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15285 file.
15286
1e9d84cd
RM
152872012-10-25 Roland McGrath <roland@hack.frob.com>
15288
15289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15290 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15291 __getdirentries.
15292
df381762
JM
152932012-10-25 Joseph Myers <joseph@codesourcery.com>
15294 Jim Blandy <jimb@codesourcery.com>
15295
15296 * scripts/cross-test-ssh.sh: New file.
15297 * manual/install.texi (Configuring and compiling): Document use of
15298 cross-test-ssh.sh.
15299 * INSTALL: Regenerated.
15300
bff64913
PT
153012012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15302
15303 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15304 EOPNOTSUPP.
15305
25fe8932
JM
153062012-10-25 Joseph Myers <joseph@codesourcery.com>
15307
15308 * Makeconfig (run-program-prefix): Fix comment.
15309
cc1290d0
JM
153102012-10-24 Joseph Myers <joseph@codesourcery.com>
15311 Jim Blandy <jimb@codesourcery.com>
15312
15313 * Makeconfig (test-wrapper): New variable,
15314 (test-wrapper-env): Likewise.
15315 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15316 (run-built-tests): Define to yes.
15317 (run-program-prefix): Use $(test-wrapper).
15318 (built-program-cmd): Likewise.
15319 * Rules (make-test-out): Use $(test-wrapper-env) and
15320 $(host-built-program-cmd).
15321 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15322 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15323 tst-pathopt.sh.
15324 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15325 $(test-wrapper-env) to tst-rtld-load-self.sh.
15326 ($(objpfx)order2.out): Use $(test-wrapper).
15327 ($(objpfx)tst-initorder.out): Likewise.
15328 ($(objpfx)tst-initorder2.out): Likewise.
15329 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15330 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15331 (test_wrapper_env): New variable. Use it to run ld.so.
15332 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15333 Use it to run ld.so.
15334 (test_wrapper_env): Likewise.
15335 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15336 $(test-wrapper) to run-iconv-test.sh.
15337 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15338 (ICONV): Use $test_wrapper.
15339 * posix/Makefile ($(objpfx)globtest.out): Pass
15340 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15341 globtest.sh, not $(run-program-prefix).
15342 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15343 (test_wrapper): Likewise.
15344 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15345 set together with run_via_rtld_prefix.
15346 (run_program_prefix): Define in terms of test_wrapper and
15347 run_via_rtld_prefix.
15348
6e6249d0
RM
153492012-10-24 Roland McGrath <roland@hack.frob.com>
15350
15351 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15352 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15353 Targets removed.
15354
15355 [BZ #14743]
15356 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15357 Declare __clock_getres, __clock_gettime, __clock_settime,
15358 __clock_nanosleep, and __clock_getcpuclockid.
15359 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15360 Remove librt_hidden_def (clock_gettime).
15361 * sysdeps/unix/clock_gettime.c: Likewise.
15362 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15364 * rt/clock_getres.c: Define __clock_getres as an alias.
15365 * sysdeps/posix/clock_getres.c: Likewise.
15366 * rt/clock_settime.c: Define __clock_settime as an alias.
15367 * sysdeps/unix/clock_settime.c: Likewise.
15368 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15369 * sysdeps/unix/clock_nanosleep.c: Likewise.
15370 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15371 * rt/clock-compat.c: New file.
15372 * rt/Makefile (librt-routines): Add clock-compat and move
15373 $(clock-routines) to ...
15374 (routines): ... here, new variable.
15375 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15376 Don't add get_clockfreq here.
15377 * rt/Versions (libc: GLIBC_2.17): New version set.
15378 Add clock_* symbols here.
15379 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15380 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15381 (GLIBC_2.17): Add clock_* symbols.
15382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15386 Likewise.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15388 Likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15393 * NEWS: Mention the move.
15394
15395 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15396 Use __open, __read, __close rather than their public counterparts.
15397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15398 (__get_clockfreq_via_cpuinfo): Likewise.
15399 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15400 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15401
15402 * config.h.in (HAVE_IFUNC): New #undef.
15403 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15404 was successful.
15405 * configure: Regenerated.
15406
0cae3f4b
MF
154072012-10-24 Mike Frysinger <vapier@gentoo.org>
15408
15409 * configure.in: Move READELF check to start of file.
15410 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15411 libc_cv_asm_gnu_indirect_function in the process.
15412 * configure: Regenerated.
15413
8175a253
MF
154142012-10-24 Mike Frysinger <vapier@gentoo.org>
15415
15416 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15417 send the output to /dev/null.
15418 (libc_cv_cc_with_libunwind): Likewise.
15419 (libc_cv_as_noexecstack): Likewise.
15420 * configure: Regenerate.
15421
0708a7d1
JM
154222012-10-24 Joseph Myers <joseph@codesourcery.com>
15423
10b40d85
JM
15424 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15425
0708a7d1
JM
15426 * posix/globtest.sh (TMPDIR): Do not set.
15427 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15428 (testout): Likewise.
15429
9fddec1a
AJ
154302012-10-24 Andreas Jaeger <aj@suse.de>
15431
3a8db22f
AJ
15432 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15433 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15434 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15435 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15436 posix_fadvise64, posix_fallocate64.
15437
9fddec1a
AJ
15438 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15439 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15440 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15441 Likewise.
15442 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15443 Likewise.
15444 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15445
15446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15447 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15448 <bits/fcntl-linux.h>.
15449 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15450
15451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15452 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15453 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15454 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15455 [__WORDSIZE != 64]: Likewise.
15456
ebfd1bbd
JM
154572012-10-23 Joseph Myers <joseph@codesourcery.com>
15458
03ac099f
JM
15459 * Makeconfig (run-built-tests): New variable.
15460 * Rules [$(cross-compiling) = yes]: Change condition to
15461 [$(run-built-tests) = no].
15462 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15463 to [$(run-built-tests) = yes].
15464 * elf/Makefile [$(cross-compiling) = no]: Likewise
15465 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15466 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15467 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15468 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15469 * io/Makefile [$(cross-compiling) = no]: Likewise.
15470 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15471 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15472 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15473 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15474 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15475 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15476 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15477 * string/Makefile [$(cross-compiling) = no]: Likewise.
15478
ebfd1bbd
JM
15479 * posix/Makefile ($(objpfx)globtest.out): Pass
15480 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15481 $(rtld-installed-name).
15482 * posix/globtest.sh (elf_objpfx): Remove variable.
15483 (rtld_installed_name): Likewise.
15484 (library_path): Likewise.
15485 (run_program_prefix): New variable. Use for running globtest
15486 binary.
15487
166bca24
JB
154882012-10-23 Jim Blandy <jimb@codesourcery.com>
15489 Joseph Myers <joseph@codesourcery.com>
15490
15491 * Makeconfig (host-built-program-cmd): New variable.
15492 * elf/Makefile (tst-stackguard1-ARGS): Use
15493 $(host-built-program-cmd).
15494 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15495 (tst-spawn-ARGS): Likewise.
15496 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15497
88866099
JM
154982012-10-23 Joseph Myers <joseph@codesourcery.com>
15499 Jim Blandy <jimb@codesourcery.com>
15500
15501 * Makeconfig (run-via-rtld-prefix): New variable.
15502 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15503 (built-program-cmd): Likewise.
15504
b4b4c296
AJ
155052012-10-22 Andreas Jaeger <aj@suse.de>
15506
15507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15508 __O_RSYNC if it exists, otherwise to O_SYNC.
15509
6fb54a22
JB
155102012-10-22 Jim Blandy <jimb@codesourcery.com>
15511 Joseph Myers <joseph@codesourcery.com>
15512
15513 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15514 /dev/null.
15515 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15516 from /dev/null
15517 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15518 /dev/null.
15519
481b90b9
AJ
155202012-10-22 Andreas Jaeger <aj@suse.de>
15521
2a0e2669
AJ
15522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15523 Define always.
15524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15525
76e38f9a
AJ
15526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15527 bits/fcntl-linux.h.
15528
7cd37b43
AJ
15529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15530 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15531
481b90b9
AJ
15532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15533 to __O_LARGEFILE.
15534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15535 to __O_LARGEFILE.
15536
aba75984
JB
155372012-10-21 Jim Blandy <jimb@codesourcery.com>
15538 Joseph Myers <joseph@codesourcery.com>
15539
15540 * config.make.in (NM): New variable.
15541
88d4247f
AJ
155422012-10-21 Andreas Jaeger <aj@suse.de>
15543
15544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15545 definitions and declarations that are provided by
15546 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15547
f2eed205
L
155482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 [BZ #14683]
15551 * elf/Makefile (tests-static): Add tst-leaks1-static.
15552 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15553 ($(objpfx)tst-leaks1-static): New rule.
15554 ($(objpfx)tst-leaks1-static-mem): Likewise.
15555 (tst-leaks1-static-ENV): New macro.
15556 * elf/dl-open.c (dl_open_worker): Check the main application
15557 only if SHARED is defined.
15558 * elf/tst-leaks1-static.c: New file.
15559
335e6931
AJ
155602012-10-20 Andreas Jaeger <aj@suse.de>
15561
15562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15563 generic values for Linux.
15564 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15565 and declarations that are provided by <bits/fcntl-linux.h> and
15566 include <bits/fcntl-linux.h>.
15567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15569
ac5c94d3
RM
155702012-10-20 Roland McGrath <roland@hack.frob.com>
15571
15572 * io/fcntl.h: Move include of <bits/types.h> to the top and
15573 include it unconditionally.
15574
de54b33a
L
155752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15576
228cfb01
L
15577 * wcsmbs/Makefile (tests-ifunc): New variable.
15578 (tests): Add $(tests-ifunc).
15579 * wcsmbs/test-wcschr-ifunc.c: New file.
15580 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15581 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15582 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15583 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15584 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15585
69f07e5f
L
15586 * string/Makefile (tests-ifunc): New variable.
15587 (tests): Add $(tests-ifunc).
15588 * string/test-memccpy.c (TEST_NAME): New macro.
15589 * string/test-memchr.c (TEST_NAME): Likewise.
15590 * string/test-memcmp.c (TEST_NAME): Likewise.
15591 * string/test-memcpy.c (TEST_NAME): Likewise.
15592 * string/test-memmem.c (TEST_NAME): Likewise.
15593 * string/test-memmove.c (TEST_NAME): Likewise.
15594 * string/test-memset.c (TEST_NAME): Likewise.
15595 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15596 * string/test-stpcpy.c (TEST_NAME): Likewise.
15597 * string/test-stpncpy.c (TEST_NAME): Likewise.
15598 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15599 * string/test-strcasestr.c (TEST_NAME): Likewise.
15600 * string/test-strcat.c (TEST_NAME): Likewise.
15601 * string/test-strchr.c (TEST_NAME): Likewise.
15602 * string/test-strcmp.c(TEST_NAME): Likewise.
15603 * string/test-strcpy.c (TEST_NAME): Likewise.
15604 * string/test-strcspn.c (TEST_NAME): Likewise.
15605 * string/test-strlen.c (TEST_NAME): Likewise.
15606 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15607 * string/test-strncmp.c (TEST_NAME): Likewise.
15608 * string/test-strncpy.c (TEST_NAME): Likewise.
15609 * string/test-strnlen.c (TEST_NAME): Likewise.
15610 * string/test-strpbrk.c (TEST_NAME): Likewise.
15611 * string/test-strrchr.c (TEST_NAME): Likewise.
15612 * string/test-strspn.c (TEST_NAME): Likewise.
15613 * string/test-strstr.c (TEST_NAME): Likewise.
15614 * string/test-bcopy-ifunc.c: New file.
15615 * string/test-bzero-ifunc.c: Likewise.
15616 * string/test-memccpy-ifunc.c: Likewise.
15617 * string/test-memchr-ifunc.c: Likewise.
15618 * string/test-memcmp-ifunc.c: Likewise.
15619 * string/test-memcpy-ifunc.c: Likewise.
15620 * string/test-memmem-ifunc.c: Likewise.
15621 * string/test-memmove-ifunc.c: Likewise.
15622 * string/test-mempcpy-ifunc.c: Likewise.
15623 * string/test-memset-ifunc.c: Likewise.
15624 * string/test-rawmemchr-ifunc.c: Likewise.
15625 * string/test-stpcpy-ifunc.c: Likewise.
15626 * string/test-stpncpy-ifunc.c: Likewise.
15627 * string/test-strcasecmp-ifunc.c: Likewise.
15628 * string/test-strcasestr-ifunc.c: Likewise.
15629 * string/test-strcat-ifunc.c: Likewise.
15630 * string/test-strchr-ifunc.c: Likewise.
15631 * string/test-strchrnul-ifunc.c: Likewise.
15632 * string/test-strcmp-ifunc.c: Likewise.
15633 * string/test-strcpy-ifunc.c: Likewise.
15634 * string/test-strcspn-ifunc.c: Likewise.
15635 * string/test-strlen-ifunc.c: Likewise.
15636 * string/test-strncasecmp-ifunc.c: Likewise.
15637 * string/test-strncat-ifunc.c: Likewise.
15638 * string/test-strncmp-ifunc.c: Likewise.
15639 * string/test-strncpy-ifunc.c: Likewise.
15640 * string/test-strnlen-ifunc.c: Likewise.
15641 * string/test-strpbrk-ifunc.c: Likewise.
15642 * string/test-strrchr-ifunc.c: Likewise.
15643 * string/test-strspn-ifunc.c: Likewise.
15644 * string/test-strstr-ifunc.c: Likewise.
15645
de54b33a
L
15646 * debug/Makefile (tests-ifunc): New variable.
15647 (tests): Add $(tests-ifunc).
15648 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15649 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15650 * debug/test-stpcpy_chk-ifunc.c: New file.
15651 * debug/test-strcpy_chk-ifunc.c: Likewise.
15652
88481c16
SP
156532012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15654
15655 [BZ #13601]
15656 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15657 header is not read in.
15658
135948bd
JM
156592012-10-19 Joseph Myers <joseph@codesourcery.com>
15660
89f1c388
JM
15661 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15662 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15663 directly. Pass built executable to script as
15664 $(built-program-cmd).
15665 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15666 $testprogram without using LD_LIBRARY_PATH and $ldso.
15667
e40a0d21
JM
15668 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15669 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15670 $(rtld-installed-name).
15671 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15672 (rtld_installed_name): Likewise.
15673 (library_path): Likewise.
15674 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15675 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15676 $(run-program-prefix) to tst-tables.sh.
15677 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15678 it to run tst-table-from and tst-table-to.
15679 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15680 Pass it to tst-table.sh.
15681 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15682 $(run-program-prefix) to tst-gettext.sh.
15683 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15684 tst-translit.sh.
15685 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15686 tst-gettext2.sh.
15687 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15688 to run tst-gettext.
15689 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15690 to run tst-gettext2.
15691 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15692 to run tst-translit.
15693 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15694 $(run-program-prefix) to tst-mtrace.sh.
15695 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15696 to run tst-mtrace.
15697 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15698 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15699 $(rtld-installed-name).
15700 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15701 (rtld_installed_name): Likewise.
15702 (run_program_prefix): New variable. Use it to run wordexp-test.
15703
728e272a
JM
15704 * Makeconfig (ARCH): Remove all definitions.
15705 (machine): Likewise.
15706 [ARCH]: Remove conditional code.
15707 [!objdir]: Give error.
15708 [!objdir] (objpfx): Remove.
15709 [!objdir] (common-objpfx): Likewise.
15710 [!objdir] (common-objdir): Likewise.
15711 * configure.in (config_makefile): Remove. Hardcode Makefile in
15712 AC_CONFIG_FILES call.
15713 * configure: Regenerated.
15714
d528cdcf
JM
15715 [BZ #13888]
15716 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15717 or TMPDIR.
15718 (testout): Likewise.
15719
135948bd
JM
15720 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15721 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15722 $(rtld-installed-name).
15723 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15724 (rtld_installed_name): Likwise.
15725 (runit): Remove function.
15726 (run_getconf): New variable, Use it for running getconf binary.
15727
38c78296
L
157282012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 [BZ #14716]
15731 * string/test-memmem.c (check_result): New function.
15732 (do_one_test): Use it.
15733 (check1): New function.
15734 (test_main): Use it.
15735
d077f65f
MT
157362012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15737
15738 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15739
ced52c71
JM
157402012-10-18 Joseph Myers <joseph@codesourcery.com>
15741
15742 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15743 (_G_LSEEK64): Likewise.
15744 (_G_MMAP64): Likewise.
15745 (_G_FSTAT64): Likewise.
15746 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15747 (_G_LSEEK64): Likewise.
15748 (_G_MMAP64): Likewise.
15749 (_G_FSTAT64): Likewise.
15750 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15751 unconditional. Call __mmap64 directly.
15752 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15753 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15754 __lseek64 directly.
15755 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15756 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15757 __mmap64 directly.
15758 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15759 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15760 __lseek64 directly.
15761 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15762 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15763 __lseek64 directly.
15764 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15765 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15766 __lseek64 directly.
15767 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15768 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15769 __fxstat64 directly.
15770 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15771 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15772 unconditional.
15773 (freopen64) [!_G_OPEN64]: Remove conditional code.
15774 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15775 unconditional.
15776 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15777 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15778 unconditional.
15779 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15780 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15781 unconditional.
15782 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15783 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15784 unconditional.
15785 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15786 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15787 unconditional.
15788 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15789 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15790 unconditional.
15791 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15792 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15793 unconditional.
15794 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15795
b741de23
SP
157962012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15797
15798 [BZ #12140]
15799 * manual/memory.texi (Malloc Tunable Parameters): Add note
15800 about free list pointers overwriting some perturb bytes.
15801 Wording suggested by Roland McGrath.
15802
f9b9d9c9
JM
158032012-10-17 Joseph Myers <joseph@codesourcery.com>
15804
15805 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15806 (lgamma_test): Likewise.
15807 (tgamma_test): Likewise.
15808
172a631a
FW
158092012-10-16 Florian Weimer <fweimer@redhat.com>
15810
15811 [BZ #14700]
15812 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15813 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15814
e9f37252
MK
158152012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15816
15817 * NEWS: Mention BZ #14716.
15818 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15819 when removing AVAILABLE1_USES_J macro.
15820
d394eb74
L
158212012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15822
15823 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15824 (__bswap_64): __uint64_t for unsigned 64-bit int.
15825
ca38dc17
AS
158262012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15827
15828 * include/string.h (memmem): Declare libc hidden alias.
15829 * string/memmem.c (memmem): Define libc hidden alias.
15830 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15831 __read, __close instead of open, read, close.
15832
9a387d1f
L
158332012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15834
ac49ecaf
L
15835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15836 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15837 global and hidden.
15838 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15839 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15840 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15841 Likewise.
15842 (__rawmemchr_sse2): Likewise.
15843 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15844 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15845 (__strchr_sse2): Likewise.
15846 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15847 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15848 (__strcasecmp_sse2): Likewise.
15849 (__strncasecmp_sse2): Likewise.
15850 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15851 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15852 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15853 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15854 (__strrchr_sse2): Likewise.
15855 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15856 ifunc-impl-list.c.
15857 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15858 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15859 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15860 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15861 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15862 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15865 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15866 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15867 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15868 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15869 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15870 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15871 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15872 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15873 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15874 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15875 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15876 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15877 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15878 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15879 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15880 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15881 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15882 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15883 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15884 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15885 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15886 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15887
b090e8ea
L
15888 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15889 global and hidden.
15890 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15891 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15892 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15893 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15894 Likewise.
15895 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15896 Likewise.
15897 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15898 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15899 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15900 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15901 ifunc-impl-list.c.
15902 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15903 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15904 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15905 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15906 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15907 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15908 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15909 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15910 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15911 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15912 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15913 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15914 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15915 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15916 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15919 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15920 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15921 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15925 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15927 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15928 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15929 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15930 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15931 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15932 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15935 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15938 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15940 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15941 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15942 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15943
11dd4af6
L
15944 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15945 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15946 * include/ifunc-impl-list.h: New file.
15947 * misc/ifunc-impl-list.c: Likewise.
15948 * misc/Makefile (routines): Add ifunc-impl-list.
15949 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15950 * string/test-string.h: Include <ifunc-impl-list.h>.
15951 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15952 impl_array): New variables.
15953 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15954 are defined.
15955 (test_init): Call __libc_ifunc_impl_list to initialize
15956 func_list if TEST_IFUNC and TEST_NAME are defined.
15957
9a387d1f
L
15958 * string/Makefile (strop-tests): Add bcopy and bzero.
15959 * string/test-bcopy.c: New file.
15960 * string/test-bzero.c: Likewise.
15961 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15962 defined.
15963 * string/test-memset.c: Support bzero test if TEST_BZERO is
15964 defined.
15965 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15966 __libc_memmove.
15967 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15968 __libc_memset.
15969 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15970 of memset.
15971
472371b9
JM
159722012-10-10 Joseph Myers <joseph@codesourcery.com>
15973
1e4a9536
JM
15974 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15975 * configure: Regenerated.
15976
d173d12e
JM
15977 * Makeconfig (+link-static-before-libc): Don't include
15978 $(link-static-libc).
15979
472371b9
JM
15980 * libio/libio.h (_IO_pos_t): Remove.
15981
89a3ad0b
AO
159822012-10-10 Alexandre Oliva <aoliva@redhat.com>
15983
15984 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15985 McGrath.
15986
e7451425
AO
159872012-10-10 Alexandre Oliva <aoliva@redhat.com>
15988
15989 * crypt/crypt-entry.c: Include fips-private.h.
15990 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15991 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15992 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15993 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15994
4ba74a35
AO
159952012-10-10 Alexandre Oliva <aoliva@redhat.com>
15996
15997 * crypt/crypt-private.h: Include stdbool.h.
15998 (_ufc_setup_salt_r): Return bool.
15999 * crypt/crypt-entry.c: Include errno.h.
16000 (__crypt_r): Return NULL with EINVAL for bad salt.
16001 * crypt/crypt_util.c (bad_for_salt): New.
16002 (_ufc_setup_salt_r): Check that salt is long enough and within
16003 the specified alphabet.
16004 * crypt/badsalttest.c: New file.
16005 * crypt/Makefile (tests): Add it.
16006 ($(objpfx)badsalttest): New.
16007
f96f1242
MK
160082012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16009
16010 * NEWS: Add entry for BZ #14602.
16011
0e8e0c1c
JM
160122012-10-09 Joseph Myers <joseph@codesourcery.com>
16013
16014 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16015 type-generic.
16016 * math/libm-test.inc: Update comment listing what functions and
16017 macros are tested.
16018 (isgreater_test): New function.
16019 (isgreaterequal_test): Likewise.
16020 (isless_test): Likewise.
16021 (islessequal_test): Likewise.
16022 (islessgreater_test): Likewise.
16023 (isunordered_test): Likewise.
16024 (main): Call the new functions.
16025
273edc5e
RM
160262012-10-09 Roland McGrath <roland@hack.frob.com>
16027
b8493de0
RM
16028 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16029 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16030 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16031 * sysdeps/i386/configure: Regenerated.
16032 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16033 * sysdeps/mach/configure: Regenerated.
16034 * sysdeps/mach/hurd/configure: Regenerated.
16035 * sysdeps/powerpc/configure: Regenerated.
16036 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16037 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16038 * sysdeps/s390/s390-32/configure: Regenerated.
16039 * sysdeps/s390/s390-64/configure: Regenerated.
16040 * sysdeps/sh/configure: Regenerated.
16041 * sysdeps/sparc/configure: Regenerated.
16042 * sysdeps/unix/sysv/linux/configure: Regenerated.
16043 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16044 * sysdeps/x86_64/configure: Regenerated.
16045
273edc5e
RM
16046 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16047 defined. Don't check if MAP is NULL.
16048
c8450f70
JM
160492012-10-09 Joseph Myers <joseph@codesourcery.com>
16050
16051 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16052 (_G_stat64): Likewise.
16053 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16054 (_G_stat64): Likewise.
16055 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16056 instead of struct _G_stat64.
16057 * libio/fileops.c (mmap_remap_check): Likewise.
16058 (decide_maybe_mmap): Likewise.
16059 (_IO_new_file_seekoff): Likewise.
16060 (_IO_file_stat): Likewise.
16061 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16062 _G_off64_t.
16063 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16064 instead of struct _G_stat64.
16065 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16066
57e605ba
MK
160672012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16068
16069 [BZ #14602]
16070 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16071 Replace with ...
16072 (CHECK_EOL): New macro.
16073 (two_way_short_needle): Check beginning of haystack for EOL. Use
16074 CHECK_EOL.
16075 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16076 Replace with CHECK_EOL.
16077 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16078 Replace with CHECK_EOL.
16079
ef1bb361
JM
160802012-10-08 Joseph Myers <joseph@codesourcery.com>
16081
16082 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16083 type-generic.
16084 * math/libm-test.inc: Update comment listing what functions and
16085 macros are tested.
16086 (finite_test): New function.
16087 (isinf_test): Likewise.
16088 (isnan_test): Likewise.
16089 (fpclassify_test): Test subnormal input.
16090 (isfinite_test): Likewise.
16091 (isnormal_test): Likewise.
16092 (main): Call the new functions.
16093
55f11534
JN
160942012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16095
16096 [BZ #14660]
16097 * Makerules (%.dynsym): Force C locale when running
16098 $(OBJDUMP) --dynamic-syms.
16099
1ab29350
AS
161002012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16101
16102 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16103 <stdint.h>.
16104
f1ecb7ef
DM
161052012-10-06 David S. Miller <davem@davemloft.net>
16106
16107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16108 upper 32-bits of the length value in %o2 since we use branch-on-register
16109 tests which consider the entire 64-bit register.
16110
5d41d91a
L
161112012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16112
16113 * string/test-strstr.c (check2): Add a test for page boundary.
16114
3baddb72
DM
161152012-10-05 David S. Miller <davem@davemloft.net>
16116
16117 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16118 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16119 file.
16120 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16121 sysdep_routines.
16122 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16123 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16124 and bzero when HWCAP_SPARC_CRYPTO is present.
16125
9cee5585
L
161262012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16127
d7e0dab9
L
16128 [BZ #14602]
16129 * string/test-strstr.c (check2): New function.
16130 (test_main): Call check2.
16131
03759f47
L
16132 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16133 and bug-strchr1.
16134 * string/bug-strcasestr1.c (do_test): Moved to ...
16135 * string/test-strcasestr.c (check1): Here. New function.
16136 (do_one_test): Break out result checking code into ...
16137 (check_result): This. New function.
16138 (do_one_test): Call check_result.
16139 (test_main): Call check1.
16140 * string/bug-strchr1.c (do_test): Moved to ...
16141 * string/test-strchr.c (check1): Here. New function.
16142 (do_one_test): Break out result checking code into ...
16143 (check_result): This. New function.
16144 (do_one_test): Call check_result.
16145 (test_main): Call check1.
16146 * string/bug-strstr1.c (main): Moved to ...
046f153e 16147 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16148 (do_one_test): Break out result checking code into ...
16149 (check_result): This. New function.
16150 (do_one_test): Call check_result.
16151 (test_main): Call check1.
16152 * string/bug-strcasestr1.c: Removed.
16153 * string/bug-strchr1.c: Likewise.
16154 * string/bug-strstr1.c: Likewise.
16155
53cea63e
L
16156 * elf/Makefile (dl-routines): Add hwcaps.
16157 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16158 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16159 (_dl_important_hwcaps): Moved to ...
16160 * elf/dl-hwcaps.c: Here. New file.
16161 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16162
9cee5585 16163 [BZ #14557]
bb859b06
L
16164 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16165 if IS_IN_rtld isn't defined.
16166
9cee5585
L
16167 * elf/dl-support.c (_dl_sysinfo_map): New.
16168 Include "get-dynamic-info.h" and "setup-vdso.h".
16169 (_dl_non_dynamic_init): Call setup_vdso.
16170 * elf/dynamic-link.h: Don't include <assert.h>.
16171 (elf_get_dynamic_info): Moved to ...
16172 * elf/get-dynamic-info.h: Here. New file.
16173 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16174 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16175 * elf/setup-vdso.h: Here. New file.
16176 * elf/rtld.c: Include "setup-vdso.h".
16177 (dl_main): Call setup_vdso.
16178
23c31b76
JM
161792012-10-05 Joseph Myers <joseph@codesourcery.com>
16180
28234b07
JM
16181 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16182 creal in comment listing functions tested. List finite, isinf,
16183 isnan, isless, islessequal, isgreater, isgreaterequal,
16184 islessgreater, isunordered, lgamma_r and pow10 as functions and
16185 macros not tested. Mention which functions not tested are aliases
16186 for other functions. Fix typo. Note that signs of NaNs are not
16187 tested.
16188
23c31b76
JM
16189 * scripts/config.guess: Update from config.git.
16190 * scripts/config.sub: Likewise.
16191
9043e228
RM
161922012-10-04 Roland McGrath <roland@hack.frob.com>
16193
16194 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16195 * misc/madvise.c (madvise): Renamed to __madvise.
16196 Make madvise a weak alias.
16197 * include/sys/mman.h: Declare __madvise.
16198 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16199 * sysdeps/unix/syscalls.list
16200 (madvise): Make __madvise the strong name, and madvise a weak alias.
16201 * sysdeps/unix/sysv/linux/syscalls.list
16202 (madvise, mmap): Remove redundant entries.
16203 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16204 * malloc/malloc.c (mtrim): Likewise.
16205 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16206
f57f8055
RM
162072012-10-03 Roland McGrath <roland@hack.frob.com>
16208
16209 * sysdeps/mach/hurd/dl-cache.c: File removed.
16210 * config.h.in (USE_LDCONFIG): New #undef.
16211 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16212 * configure: Regenerated.
16213 * elf/Makefile (dl-routines): Add dl-cache only under
16214 [$(use-ldconfig) = yes].
16215 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16216 cache on [USE_LDCONFIG].
16217 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16218 [USE_LDCONFIG].
16219 * elf/rtld.c (dl_main): Likewise.
16220
5bb0c10a
PT
162212012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16222
16223 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16224 _SC_LEVEL4_CACHE_LINESIZE.
16225
010188c6
RM
162262012-10-03 Roland McGrath <roland@hack.frob.com>
16227
16228 * sysdeps/unix/bsd/confstr.h: File removed.
16229
b6c5ec07
AO
162302012-10-02 Alexandre Oliva <aoliva@redhat.com>
16231
16232 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16233 sys/sdt-config.h.
16234
408223d4
RM
162352012-10-02 Roland McGrath <roland@hack.frob.com>
16236
16237 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16238 Make 'mapoff' field ElfW(Off) rather than off_t.
16239
bb9510dc
DL
162402012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16241
fc997c6e
DL
16242 * nscd/Makefile: Remove nscd-cflags and all its users.
16243 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16244 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16245
bb9510dc
DL
16246 [BZ #10631]
16247 * malloc.c (malloc_printerr): Clarify error message.
16248
05699367
L
162492012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16250
16251 [BZ #14648]
16252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16253 Set bit_FMA_Usable if FMA is supported.
16254 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16255 macro.
16256 (bit_FMA4_Usable): Updated.
16257 (index_FMA_Usable): New macro.
16258 (CPUID_FMA): Likewise
16259 (HAS_FMA): Defined with bit_FMA_Usable.
16260
51367701
RM
162612012-10-01 Roland McGrath <roland@hack.frob.com>
16262
16263 * bits/types.h (__swblk_t): Type removed.
16264 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16265 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16267 (__SWBLK_T_TYPE): Likewise.
16268 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16269 (__SWBLK_T_TYPE): Likewise.
16270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16271 (__SWBLK_T_TYPE): Likewise.
16272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16273 (__SWBLK_T_TYPE): Likewise.
16274
4d57bf63 162752012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16276 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16277
16278 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16279 (xdr_mapname): Use YPMAXMAP as maxsize.
16280 (xdr_peername): Use YPMAXPEER as maxsize.
16281 (xdr_keydat): Use YPAXRECORD as maxsize.
16282 (xdr_valdat): Use YPMAXRECORD as maxsize.
16283
93c65d43
RM
162842012-10-01 Roland McGrath <roland@hack.frob.com>
16285
497a03d6
RM
16286 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16287
93c65d43
RM
16288 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16289 * csu/init-first.c: ... here.
16290 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16291 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16292 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16293 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16294 * sysdeps/i386/init-first.c: File removed.
16295 * sysdeps/sh/init-first.c: File removed.
16296
bec749fd
JM
162972012-10-01 Joseph Myers <joseph@codesourcery.com>
16298
16299 [BZ #14645]
16300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16301 if x * y might underflow to zero and z is zero.
16302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16304 * math/libm-test.inc (min_subnorm_value): New variable.
16305 (fma_test): Add more tests.
16306 (fma_test_towardzero): Likewise.
16307 (fma_test_downward): Likewise
16308 (fma_test_upward): Likewise.
16309 (initialize): Set min_subnorm_value.
16310
8ec5b013
JM
163112012-09-29 Joseph Myers <joseph@codesourcery.com>
16312
16313 [BZ #14638]
16314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16315 0 + 0.
16316 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16317 mode for addition resulting in exact zero.
16318 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16320 exact 0 + 0.
16321 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16323 * math/libm-test.inc (fma_test): Add more tests.
16324 (fma_test_towardzero): New function.
16325 (fma_test_downward): Likewise.
16326 (fma_test_upward): Likewise.
16327 (main): Call the new functions.
16328
b1fa802e
DM
163292012-09-28 David S. Miller <davem@davemloft.net>
16330
16331 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16332
d3b9fd9e
RM
163332012-09-28 Roland McGrath <roland@hack.frob.com>
16334
ea4d37b3
RM
16335 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16336 instead of SIGALRM.
16337
ac51c949
RM
16338 * sysdeps/gnu/_G_config.h: Moved to ...
16339 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16340 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16341 * sysdeps/generic/_G_config.h: ... here.
16342
28c195f7
RM
16343 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16344
848917f9
RM
16345 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16346
6bacf05b
RM
16347 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16348 Conditionalize target on [libnss_test1.so-version].
16349
91363dbb
RM
16350 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16351
cc87f7d8
RM
16352 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16353 (elfobjdir): Move out of conditionals.
16354
b1c608fe
RM
16355 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16356 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16357 (__nss_lookup_function): Conditionalize label remove_from_tree on
16358 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16359
1d9a6d96
DM
163602012-09-28 David S. Miller <davem@davemloft.net>
16361
16362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16363 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16364 file.
16365 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16366 sysdep_routines.
16367 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16369 when HWCAP_SPARC_CRYPTO is present.
16370
72581615
PT
163712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16372
16373 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16374
715a900c
JL
163752012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16376
16377 [BZ #6530]
16378 * stdio-common/vfprintf.c (process_string_arg): Revert
16379 2000-07-22 change.
16380
163812011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16382
16383 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16384 for testcase.
16385 * stdio-common/tst-sprintf.c: Include <locale.h>
16386 (main): Test sprintf's handling of incomplete multibyte
16387 characters.
16388
9bac1d86
L
163892012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 * elf/dl-runtime.c (VERSYMIDX): Removed.
16392 * elf/dl-version.c (VERSYMIDX): Likewise.
16393 * elf/do-rel.h (VERSYMIDX): Likewise.
16394 (VALIDX): Likewise.
16395 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16396 * elf/rtld.c (VALIDX): Likewise.
16397 (ADDRIDX): Likewise.
9bac1d86
L
16398 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16399 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16400 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16401 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16402 (VALIDX): Likewise.
16403 (ADDRIDX): Likewise.
9bac1d86 16404
b31606c0
PT
164052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16406
16407 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16408
11541177
JL
164092012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16410
16411 [BZ #11438]
16412 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16413 to global scope.
16414 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16415 addresses are in the same scope as 192.0.2/24.
16416 * posix/gai.conf: Document new scope table defaults.
16417
adb26fae
SP
164182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16419
16420 [BZ #5298]
16421 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16422 for ftell. Compute offsets from write pointers instead.
16423 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16424
4573c6b0
SP
164252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16426
16427 [BZ #14543]
16428 * libio/Makefile (tests): New test case tst-fseek.
16429 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16430 combination works in wide mode.
16431 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16432 state when the external buffer state changes.
16433
aa9bbfe6
DM
164342012-09-27 David S. Miller <davem@davemloft.net>
16435
16436 [BZ #14376]
16437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16438 pass reloc->r_addend in as the 'high' argument to
16439 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16440
784421e7
DM
16441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16442
c39bc8b8
PT
164432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16444
16445 * rt/tst-aio2.c: Include <pthread.h>.
16446 * rt/tst-aio3.c: Likewise.
16447
1ccc2399
SE
164482012-09-27 Steve Ellcey <sellcey@mips.com>
16449
16450 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16451
31ed4153
L
164522012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16453
25f5f885
L
16454 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16455 contents on [SHARED].
31ed4153 16456
b7bfe116
MP
164572012-09-26 Marek Polacek <polacek@redhat.com>
16458
16459 [BZ #14530]
16460 [BZ #13741]
16461 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16462 for C++ and GCC <4.3 as well as for non GCC compilers.
16463
43c4edba
MT
164642012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16465
16466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16467
6a1bf82f
RM
164682012-09-25 Roland McGrath <roland@hack.frob.com>
16469
16470 * Makefile.in (all, install): Declare with .PHONY.
16471 Reported by Michael Hope <michael.hope@linaro.org>.
16472
8ad11b9a
TMQMF
164732012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16474
16475 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16476 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16477 system header.
16478 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16479 Likewise.
16480 (sydep_routines): Add the new and the internal functions.
16481 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16482 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16484 (GLIBC_2.17): Add the new function.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16486 (GLIBC_2.17): Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16488 (GLIBC_2.17): Likewise.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16490 (GLIBC_2.17): Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16492
7e2fca8d
AM
164932012-09-25 Alan Modra <amodra@gmail.com>
16494
16495 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16496 Add release barrier before setting once_control to say
16497 initialisation is done. Add hints on lwarx. Use macro in
16498 place of isync.
16499 (clear_once_control): Add release barrier.
16500
b87c4b24
JM
165012012-09-25 Joseph Myers <joseph@codesourcery.com>
16502
d032e0d2
JM
16503 [BZ #13629]
16504 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16505 specially.
16506 * math/s_clog10.c (__clog10): Likewise.
16507 * math/s_clog10f.c (__clog10f): Likewise.
16508 * math/s_clog10l.c (__clog10l): Likewise.
16509 * math/s_clogf.c (__clogf): Likewise.
16510 * math/s_clogl.c (__clogl): Likewise.
16511 * math/Makefile (libm-calls): Add x2y2m1.
16512 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16513 (__x2y2m1): Likewise.
16514 (__x2y2m1l): Likewise.
16515 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16516 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16519 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16520 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16521 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16524
b87c4b24
JM
16525 [BZ #14621]
16526 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16527 int as type of variable DEPTH.
16528 (glob): Use size_t instead of int as type of variables NEWCOUNT
16529 and OLD_PATHC.
16530
6d3bf199
LD
165312012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16532
22bf5c17
LD
16533 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16534 Add s_sincosf-sse2.
16535 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16536 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16537 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16538 macros for using routine as __sincosf_ia32.
16539 Use macro for function declaration and weak_alias.
16540 * sysdeps/i386/fpu/libm-test-ulps: Update.
16541
16542 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16544
16545 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16546 subnormal argument.
16547 * math/s_cexpf.c (__cexpf): Likewise.
16548 * math/s_csinf.c (__csinf): Likewise.
16549 * math/s_csinhf.c (__csinhf): Likewise.
16550 * math/s_ctanf.c (__ctanf): Likewise.
16551 * math/s_ctanhf.c (__ctanhf): Likewise.
16552 * math/s_ccosh.c (__ccoshf): Likewise.
16553 * math/s_cexp.c (__cexpl): Likewise.
16554 * math/s_csin.c (__csin): Likewise.
16555 * math/s_csinh.c (__csinh): Likewise.
16556 * math/s_ctan.c (__ctan): Likewise.
16557 * math/s_ctanh.c (ctanh): Likewise.
16558 * math/s_ccoshl.c (__ccoshl): Likewise.
16559 * math/s_cexpl.c (__cexpl): Likewise.
16560 * math/s_csinl.c (__csinl): Likewise.
16561 * math/s_csinhl.c (__csinhl): Likewise.
16562 * math/s_ctanl.c (__ctanl): Likewise.
16563 * math/s_ctanhl.c (__ctanhl): Likewise.
16564
203e5603
JM
165652012-09-25 Joseph Myers <joseph@codesourcery.com>
16566
16567 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16568 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16569 (_IO_off_t): Define to __off_t, not _G_off_t.
16570 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16571 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16572 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16573 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16574 type of __dummy and __dummy2 fields.
16575 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16576 (_G_ssize_t): Likewise.
16577 (_G_off_t): Likewise.
16578 (_G_pid_t): Likewise.
16579 (_G_uid_t): Likewise.
16580 (_G_wchar_t): Likewise.
16581 (_G_wint_t): Likewise.
16582 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16583 (_G_ssize_t): Likewise.
16584 (_G_off_t): Likewise.
16585 (_G_pid_t): Likewise.
16586 (_G_uid_t): Likewise.
16587 (_G_wchar_t): Likewise.
16588 (_G_wint_t): Likewise.
16589 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16590 (_G_ssize_t): Likewise.
16591 (_G_off_t): Likewise.
16592 (_G_pid_t): Likewise.
16593 (_G_uid_t): Likewise.
16594 (_G_wchar_t): Likewise.
16595 (_G_wint_t): Likewise.
16596
9fab36eb
SP
165972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16598
16599 * malloc/arena.c: Include malloc-sysdep.h.
16600 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16601 is sufficient to shrink the heap or an unmap is needed.
16602 * sysdeps/generic/malloc-sysdep.h: New file. Define
16603 new function check_may_shrink_heap.
16604 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16605 new function check_may_shrink_heap.
16606
2b4f00d1
SP
166072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16608
16609 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16610 comments.
16611
9a9028b1
DL
166122012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16613
57c69bef
DL
16614 * catgets/test-gencat.sh: Add "set -e".
16615 * elf/tst-pathopt.sh: Likewise.
16616 * grp/tst_fgetgrent.sh: Likewise.
16617 * iconvdata/run-iconv-test.sh: Likewise.
16618 * intl/tst-gettext.sh: Likewise.
16619 * intl/tst-gettext2.sh: Likewise.
16620 * intl/tst-gettext4.sh: Likewise.
16621 * intl/tst-gettext6.sh: Likewise.
16622 * intl/tst-translit.sh: Likewise.
16623 * io/ftwtest-sh: Likewise.
16624 * libio/test-freopen.sh: Likewise.
16625 * malloc/tst-mtrace.sh: Likewise.
16626 * posix/globtest.sh: Likewise.
16627 * posix/tst-getconf.sh: Likewise.
16628 * posix/wordexp-tst.sh: Likewise.
16629 * stdio-common/tst-printf.sh: Likewise.
16630 * stdio-common/tst-unbputc.sh: Likewise.
16631 * stdlib/tst-fmtmsg.sh: Likewise.
16632 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16633 * catgets/Makefile: Do not specify -e option when running
16634 testsuite shell scripts.
16635 * elf/Makefile: Likewise.
16636 * grp/Makefile: Likewise.
16637 * iconvdata/Makefile: Likewise.
16638 * intl/Makefile: Likewise.
16639 * io/Makefile: Likewise.
16640 * libio/Makefile: Likewise.
16641 * malloc/Makefile: Likewise.
16642 * posix/Makefile: Likewise.
16643 * stdio-common/Makefile: Likewise.
16644 * stdlib/Makefile: Likewise.
16645 * sysdeps/x86_64/Makefile: Likewise.
16646
9a9028b1
DL
16647 * io/ftwtest-sh: Add copyright header.
16648 * posix/globtest.sh: Likewise.
16649 * posix/tst-getconf.sh: Likewise.
16650 * posix/wordexp-tst.sh: Likewise.
16651 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16652
ced6f16e
L
166532012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16654
94b32c39
L
16655 [BZ #13679]
16656 * Makeconfig (+link): Defined as $(+link-static) if
16657 $(build-shared) isn't yes.
16658 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16659 isn't yes.
16660 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16661
189e935b
L
16662 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16663
ced6f16e
L
16664 [BZ #14562]
16665 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16666 new chunk size with MALLOC_ALIGN_MASK.
16667
a9f8e53a
JM
166682012-09-24 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #5044]
16671 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16672 <rounding-mode.h>.
16673 (__printf_fphex): Determine rounding using get_rounding_mode and
16674 round_away.
16675 * stdio-common/tst-printf-round.c (struct hex_test): New
16676 structure.
16677 (hex_tests): New variable.
16678 (test_hex_in_one_mode): New function.
16679 (do_test): Also run tests for hex float output.
16680
43153109
JM
166812012-09-21 Joseph Myers <joseph@codesourcery.com>
16682
16683 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16684 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16685 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16686 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16687 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16688 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16689 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16690 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16691
8a26625d
JM
166922012-09-20 Joseph Myers <joseph@codesourcery.com>
16693
16694 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16695 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16696 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16697 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16698
f3fd569c
DL
166992012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16700
16701 [BZ #14579]
16702 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16703 mode only.
16704 * elf/tst-rtld-load-self.sh: New test.
16705 * elf/Makefile: Run it.
16706
63bbedd4
JM
167072012-09-18 Joseph Myers <joseph@codesourcery.com>
16708
16709 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16710 (tst-writev-ENV): Remove.
16711 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16712
626f8b6a
CM
167132012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16714
16715 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16716
b7aaa4d6
JM
167172012-09-17 Joseph Myers <joseph@codesourcery.com>
16718
16719 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16720 unconditional.
16721 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16722 Likewise.
16723 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16724 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16725 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16726 Likewise.
16727
65513990
L
167282012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16729
16730 [BZ #14587]
16731 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16732 * config.make.in (have-cpp-asm-debuginfo): Removed.
16733 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16734 * configure: Regenerated.
16735
784761be
JM
167362012-09-14 Joseph Myers <joseph@codesourcery.com>
16737
16738 [BZ #5044]
16739 * stdio-common/printf_fp.c: Include <stdbool.h> and
16740 <rounding-mode.h>.
16741 (___printf_fp): Determine rounding using get_rounding_mode and
16742 round_away.
16743 * stdio-common/tst-printf-round.c: New file.
16744 * stdio-common/Makefile (tests): Add tst-printf-round.
16745 (link-libm): New variable.
16746 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16747
9503345f
L
167482012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16749
16750 [BZ #14576]
16751 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16752 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16753 Likewise.
16754 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16755 Likewise.
16756
ad35fc00
JM
167572012-09-13 Joseph Myers <joseph@codesourcery.com>
16758
16759 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16760 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16761 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16762 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16763
6c9b0f68
JM
167642012-09-12 Joseph Myers <joseph@codesourcery.com>
16765
16766 [BZ #14518]
16767 * include/rounding-mode.h: New file.
16768 * sysdeps/generic/get-rounding-mode.h: Likewise.
16769 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16770 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16771 (MAX_VALUE): New macro.
16772 (MIN_VALUE): Likewise.
16773 (overflow_value): New function.
16774 (underflow_value): Likewise.
16775 (round_and_return): Use overflow_value and underflow_value to
16776 determine return values in overflow and underflow cases. Use
16777 round_away to determine rounding depending on rounding mode.
16778 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16779 determine return values in overflow and underflow cases.
16780 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16781 (struct test_results): New structure.
16782 (struct test): Use struct test_results to store expected results
16783 for all rounding modes.
16784 (TEST): Include expected results for all rounding modes.
16785 (test_in_one_mode): New function.
16786 (do_test): Use test_in_one_mode to compute and check results.
16787 Check results for all rounding modes.
16788 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16789 $(link-libm).
16790
19fcedd5
AM
167912012-12-09 Allan McRae <allan@archlinux.org>
16792
1e9d84cd 16793 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16794
8bbfd2f1
JM
167952012-09-11 Joseph Myers <joseph@codesourcery.com>
16796
16797 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16798 (_G_int32_t): Likewise.
16799 (_G_uint16_t): Likewise.
16800 (_G_uint32_t): Likewise.
16801 (_G_HAVE_BOOL): Likewise.
16802 (_G_HAVE_ATEXIT): Likewise.
16803 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16804 (_G_HAVE_IO_FILE_OPEN): Likewise.
16805 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16806 (_G_int32_t): Likewise.
16807 (_G_uint16_t): Likewise.
16808 (_G_uint32_t): Likewise.
16809 (_G_HAVE_BOOL): Likewise.
16810 (_G_HAVE_ATEXIT): Likewise.
16811 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16812 (_G_HAVE_IO_FILE_OPEN): Likewise.
16813 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16814 (_G_int32_t): Likewise.
16815 (_G_uint16_t): Likewise.
16816 (_G_uint32_t): Likewise.
16817 (_G_HAVE_BOOL): Likewise.
16818 (_G_HAVE_ATEXIT): Likewise.
16819 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16820 (_G_HAVE_IO_FILE_OPEN): Likewise.
16821
b1dc5912
L
168222012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16823
16824 * csu/libc-tls.c: Update copyright years.
16825
0e886ef9
JM
168262012-09-10 Joseph Myers <joseph@codesourcery.com>
16827
28361c5e
JM
16828 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16829 [!_G_USING_THUNKS]: Remove conditional code.
16830 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16831 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16832
0e886ef9
JM
16833 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16834 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16835 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16836 (_G_VTABLE_LABEL_PREFIX): Likewise.
16837 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16838 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16839 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16840 (_G_VTABLE_LABEL_PREFIX): Likewise.
16841 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16842 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16843 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16844 (_G_VTABLE_LABEL_PREFIX): Likewise.
16845 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16846
bcba7aa2
L
168472012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16848
16849 * libio/Makefile: Include ../Makeconfig before tests.
16850 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16851 only if $(build-shared) is yes.
16852
06585ee8
L
16853 * iconv/gconv_db.c: Update copyright years.
16854
80ccd52c
LD
168552012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16856
16857 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16858 unwind info if defined PIC. Fix special cases description.
16859 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16860
16861 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16862 DP_HI_MASK entry.
16863 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16864
691bc9c1
L
168652012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16866
3d9b46b3
L
16867 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16868
de2139a9
L
16869 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16870 is NULL.
16871
5ca78dd0
L
16872 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16873 (LDLIBS-tst-chk4): This.
16874 (LDFLAGS-tst-chk5): Renamed to ...
16875 (LDLIBS-tst-chk5): This.
16876 (LDFLAGS-tst-chk6): Renamed to ...
16877 (LDLIBS-tst-chk6): This.
16878 (LDFLAGS-tst-lfschk4): Renamed to ...
16879 (LDLIBS-tst-lfschk4): This.
16880 (LDFLAGS-tst-lfschk5): Renamed to ...
16881 (LDLIBS-tst-lfschk5): This.
16882 (LDFLAGS-tst-lfschk6): Renamed to ...
16883 (LDLIBS-tst-lfschk6): This.
16884
691bc9c1
L
16885 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16886 on $(common-objpfx)soversions.mk.
16887
65cafb1c
JM
168882012-09-07 Joseph Myers <joseph@codesourcery.com>
16889
16890 [BZ #10014]
16891 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16892 example host name.
16893
c78ab094
SP
168942012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16895
16896 * malloc/arena.c (arena_get_retry): New function that gets
16897 another arena for the caller to try its request on.
16898 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16899 current arena cannot fulfill the request.
16900 (__libc_memalign): Likewise.
16901 (__libc_memalign): Likewise.
16902 (__libc_pvalloc): Likewise.
16903 (__libc_calloc): Likewise.
16904
01f49f59
JT
169052012-09-05 John Tobey <john.tobey@gmail.com>
16906
16907 [BZ #13542]
16908 * manual/arith.texi (Operations on Complex): Fix description
16909 of carg branch cut.
16910
4c23fed5
JM
169112012-09-06 Joseph Myers <joseph@codesourcery.com>
16912
1d3c8572
JM
16913 [BZ #10014]
16914 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16915 host name.
16916
4c23fed5
JM
16917 [BZ #10038]
16918 * manual/memory.texi (Memory): Make order of menu items match
16919 order of sections.
16920
04570aaa
L
169212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16924 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16925 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16926
b80af2f4
L
169272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16928
16929 * csu/libc-tls.c (static_dtv): Renamed to ...
16930 (_dl_static_dtv): This. Make it global.
16931 (_dl_initial_dtv): Removed.
16932 (__libc_setup_tls): Updated.
16933 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16934 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16935 DL_INITIAL_DTV.
16936
2abe9f15
PM
169372012-09-06 Petr Machata <pmachata@redhat.com>
16938
16939 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16940 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16941 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16942 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16943
0948c3af
L
169442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 [BZ #14545]
16947 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16948 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16949 freeing dtv[-1].
16950
a5055ad1
L
169512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16952
16953 [BZ #14544]
16954 * Makeconfig (link-static-before-libc): Replace $(+prector)
16955 with $(+prectorT).
16956 (link-static-after-libc): Replace $(+postctor) with
16957 $(+postctorT).
16958 (link-bounded): Replace $(+prector)/$(+postctor) with
16959 $(+prectorT)/$(+postctorT).
16960 (+prectorT): New macro.
16961 (+postctorT): Likewise.
16962
ed8c2ecd
JM
169632012-09-06 Joseph Myers <joseph@codesourcery.com>
16964
16965 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16966 (round_str): Handle values above the maximum for IBM long double
16967 as inexact.
16968 * stdlib/tst-strtod-round.c (tests): Regenerated.
16969
14c996c8
AK
169702012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16971
16972 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16973 assembler flag.
16974 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16975 zarch_nohighgprs around the zarch optimized routines.
16976 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16977 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16978 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16979 for zarch.
16980
430d6ce6
DM
169812012-09-05 David S. Miller <davem@davemloft.net>
16982
16983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16984
ff04dda4
DM
16985 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16986 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16987 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16988 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16989 entries.
16990
24d4e01b
AO
169912012-09-05 Alexandre Oliva <aoliva@redhat.com>
16992
16993 * malloc/arena.c: Fold copyright years.
16994 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16995
61d58174
AO
169962012-09-05 Alexandre Oliva <aoliva@redhat.com>
16997
16998 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16999
20196a5e
AO
170002012-09-05 Alexandre Oliva <aoliva@redhat.com>
17001
17002 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17003
5c447383
AO
170042012-09-05 Alexandre Oliva <aoliva@redhat.com>
17005
17006 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17007 change internal state upon failure.
17008
fad64255
AO
170092012-09-05 Alexandre Oliva <aoliva@redhat.com>
17010
17011 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17012 * malloc/memusage.c (mmap): Likewise.
17013 (mmap64, mremap): Likewise. Adjust name in comment.
17014
1ffb8c90
SP
170152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17016
17017 * libio/fileops.c: Fix typos in comments.
17018 * libio/oldfileops.c: Likewise.
17019 * libio/wfileops.c: Likewise.
17020
6ef9cc37
SP
170212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17022
17023 [BZ #1349]
17024 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17025 (tst-malloc-usable-ENV): Set environment for test case.
17026 * malloc/hooks.c (malloc_check_get_size): New function to get
17027 requested size.
17028 * malloc/malloc.c (musable): Use malloc_check_get_size.
17029 * malloc/tst-malloc-usable.c: New test case.
17030
4d038ae3
AS
170312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17032
17033 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17034
c4e85184
AM
170352012-09-05 Allan McRae <allan@archlinux.org>
17036
b9dafc56 17037 [BZ #13966]
c4e85184
AM
17038 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17039 determine header location.
17040 * configure: Regenerated.
17041
e1343020
AS
170422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17043
17044 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17045 float format.
17046 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17047 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17048 format.
e1343020
AS
17049 (test): Regenerate.
17050
0a9f1987
DM
170512012-09-04 David S. Miller <davem@davemloft.net>
17052
17053 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17054 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17055 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17056
29237804
FW
170572012-09-04 Florian Weimer <fweimer@redhat.com>
17058
17059 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17060 failures.
17061
edb3cb88
FW
17062 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17063
60160d83
JM
170642012-09-04 Joseph Myers <joseph@codesourcery.com>
17065
17066 [BZ #9914]
17067 * libio/iogetdelim.c: Include <limits.h>.
17068 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17069 + len + 1 would overflow.
17070
bcd6c8dc
AJ
170712012-09-03 Andreas Jaeger <aj@suse.de>
17072
17073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17074 * sysdeps/i386/fpu/libm-test-ulps: Update.
17075
4ffffbd2
LD
170762012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17077
17078 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17079 Add s_sinf-sse2, s_conf-sse2.
17080
17081 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17082 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17083 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17084 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17085
17086 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17087 for using routine as __sinf_ia32.
17088 Use macro for function declaration and weak_alias.
17089 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17090 for using routine as __cosf_ia32.
17091 Use macro for function declaration and weak_alias.
17092
17093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17094 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17095
17096 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17097 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17099
17100 * math/libm-test.inc (cos_test): Add more test cases.
17101 (sin_test): Likewise.
17102 (sincos_test): Likewise.
17103
511fa286
AK
171042012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17105
17106 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17107 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17108 hidden.
17109 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17110
5f30cfec
L
171112012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17112
17113 [BZ #14538]
17114 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17115 first element of the GOT.
17116 (elf_machine_load_address): Return the difference between
17117 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17118
0786794f
AM
171192012-09-01 Allan McRae <allan@archlinux.org>
17120
5f30cfec
L
17121 [BZ #13412]
17122 * configure.in (AWK): Require gawk version 3.0 or later.
17123 * configure: Regenerated.
0786794f 17124
26889eac
JM
171252012-09-01 Joseph Myers <joseph@codesourcery.com>
17126
17127 * sysdeps/unix/sysv/linux/kernel-features.h
17128 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17129 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17130 [__NR_clock_getres]: Make code unconditional.
17131 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17132 (clock_getcpuclockid): Remove code left unreachable by removal of
17133 conditionals.
17134 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17135 code unconditional.
17136 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17137 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17138 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17139 Make code unconditional.
17140 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17141 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17142 * sysdeps/unix/sysv/linux/clock_settime.c
17143 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17144 conditional code.
17145 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17146 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17147
d22e28b0
L
171482012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 [BZ #14476]
17151 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17152 scripts/test-installation.pl.
17153
17154 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17155 and $ld_so_version if it is set.
17156
050af9c4
SP
171572012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17158
17159 [BZ #14516]
17160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17161 failure if reading from procfs failed.
17162 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17163
ad845c0b
JM
171642012-08-27 Joseph Myers <joseph@codesourcery.com>
17165
17166 * sysdeps/unix/sysv/linux/kernel-features.h
17167 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17168 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17169 Remove conditional code.
17170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17171 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17172 Remove conditional code.
17173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17174 * sysdeps/unix/sysv/linux/i386/fxstat.c
17175 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17177 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17180 * sysdeps/unix/sysv/linux/i386/lxstat.c
17181 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17183 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17184 Remove conditional code.
17185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17186 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17187 Remove conditional code.
17188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17190 <kernel-features.h>.
17191 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17192 Remove.
17193 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17194 Remove conditional code.
17195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17196 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17197 Remove conditional.
17198
5dbf56af
MF
171992012-08-27 Mike Frysinger <vapier@gentoo.org>
17200
17201 [BZ #5400]
17202 * NEWS: Add fixed bug number.
17203
d6e70f43
JM
172042012-08-27 Joseph Myers <joseph@codesourcery.com>
17205
7efb4737
JM
17206 [BZ #14519]
17207 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17208 underflowing exponent in case of negative sign.
17209 * stdlib/tst-strtod-round-data: Add more tests.
17210 * stdlib/tst-strtod-round.c (tests): Regenerated.
17211
af92131a
JM
17212 [BZ #3479]
17213 * stdlib/strtod_l.c (NDIG): Remove.
17214 (HEXNDIG): Likewise.
17215 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17216 smallest representable value.
17217 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17218 lie within an exact representation of 1/2 ulp of the result.
17219 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17220 unconditionally.
17221 (TENS_P9_IDX): Define unconditionally.
17222 (TENS_P9_SIZE): Likewise.
17223 (TENS_P10_IDX): Likewise.
17224 (TENS_P10_SIZE): Likewise.
17225 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17226 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17227 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17228 entries for 10^2^13 and 10^2^14.
17229 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17230 (TENS_P13_IDX): Define.
17231 (TENS_P13_SIZE): Likewise.
17232 (TENS_P14_IDX): Likewise.
17233 (TENS_P14_SIZE): Likewise.
17234 (_fpioconst_pow10): Change array size to
17235 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17236 unconditional.
17237 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17238 1024]: Add entries for 10^2^13 and 10^2^14.
17239 [LAST_POW10 > _LAST_POW10]: Remove #error.
17240 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17241 (_fpioconst_pow10): Change array size to
17242 FPIOCONST_POW10_ARRAY_SIZE.
17243 * stdlib/gen-fpioconst.c: New file.
17244 * stdlib/gen-tst-strtod-round.c: Likewise.
17245 * stdlib/tst-strtod-round-data: Likewise.
17246 * stdlib/tst-strtod-round.c: Likewise.
17247 * stdlib/Makefile (tests): Add tst-strtod-round.
17248
d6e70f43
JM
17249 [BZ #14459]
17250 * stdlib/strtod_l.c: Include <stdint.h>.
17251 (NDEBUG): Do not define.
17252 (round_and_return): Change EXPONENT parameter to type intmax_t.
17253 Rearrange calculations to avoid internal overflow possibilities.
17254 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17255 Rearrange calculations to avoid internal overflow possibilities.
17256 Assert that number fits inside MPNSIZE limbs.
17257 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17258 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17259 calculations and add assertions to avoid internal overflow
17260 possibilities. Add casts to avoid signed/unsigned operations.
17261 * stdlib/tst-strtod-overflow.c: New file.
17262 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17263
1f529f7d
MP
172642012-08-25 Marek Polacek <polacek@redhat.com>
17265
17266 * time/time.h: Fix some typos in comments.
17267
59a629f1
RM
172682012-08-23 Roland McGrath <roland@hack.frob.com>
17269
17270 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17271 * posix/tst-rfc3484-2.c: Likewise.
17272 * posix/tst-rfc3484-3.c: Likewise.
17273
d3bafbc9
SM
172742012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17275
17276 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17277 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17278
4efcc022
JM
172792012-08-23 Joseph Myers <joseph@codesourcery.com>
17280
17281 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17282 #include of fxstatat64.c.
17283
3cc3ef96
RM
172842012-08-22 Roland McGrath <roland@hack.frob.com>
17285
f04e2132
RM
17286 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17287 * shadow/getspent_r.c: Likewise.
17288 * shadow/getspnam.c: Likewise.
17289 * shadow/getspnam_r.c: Likewise.
17290 * gshadow/getsgent.c: Likewise.
17291 * gshadow/getsgent_r.c: Likewise.
17292 * gshadow/getsgnam.c: Likewise.
17293 * gshadow/getsgnam_r.c: Likewise.
17294 * inet/getnetbyad.c: Likewise.
17295 * inet/getnetbyad_r.c: Likewise.
17296 * inet/getnetbynm.c: Likewise.
17297 * inet/getnetbynm_r.c: Likewise.
17298 * inet/getnetent.c: Likewise.
17299 * inet/getnetent_r.c: Likewise.
17300 * inet/getproto.c: Likewise.
17301 * inet/getproto_r.c: Likewise.
17302 * inet/getprtent.c: Likewise.
17303 * inet/getprtent_r.c: Likewise.
17304 * inet/getprtname.c: Likewise.
17305 * inet/getprtname_r.c: Likewise.
17306 * inet/getrpcbyname.c: Likewise.
17307 * inet/getrpcbyname_r.c: Likewise.
17308 * inet/getrpcbynumber.c: Likewise.
17309 * inet/getrpcbynumber_r.c: Likewise.
17310 * inet/getrpcent.c: Likewise.
17311 * inet/getrpcent_r.c: Likewise.
17312 * inet/getaliasent.c: Likewise.
17313 * inet/getaliasent_r.c: Likewise.
17314 * inet/getaliasname.c: Likewise.
17315 * inet/getaliasname_r.c: Likewise.
17316 * nscd/getgrgid_r.c: Likewise.
17317 * nscd/getgrnam_r.c: Likewise.
17318 * nscd/gethstbyad_r.c: Likewise.
17319 * nscd/gethstbynm3_r.c: Likewise.
17320 * nscd/getpwnam_r.c: Likewise.
17321 * nscd/getpwuid_r.c: Likewise.
17322 * nscd/getsrvbynm_r.c: Likewise.
17323 * nscd/getsrvbypt_r.c: Likewise.
17324 * nscd/gai.c: Likewise.
17325
c53d909c
RM
17326 * configure.in (build_nscd): New substituted variable, set
17327 by --disable-build-nscd and defaults to $use_nscd.
17328 * configure: Regenerated.
17329 * config.make.in (build-nscd): New substituted variable.
17330 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17331 Change conditional to require [$(build-nscd) = yes] as well.
17332 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17333
3cc3ef96
RM
17334 [BZ# 13696]
17335 * configure.in (use_nscd): New substituted variable, set by
17336 --disable-nscd. If enabled, define USE_NSCD.
17337 * configure: Regenerated.
17338 * config.h.in: Add USE_NSCD.
17339 * config.make.in (use-nscd): New substituted variable.
17340 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17341 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17342 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17343 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17344 (CFLAGS-getgrnam_r.c): Likewise.
17345 (CFLAGS-initgroups.c): Likewise.
17346 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17347 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17348 Variables removed.
17349 * inet/getnetgrent_r.c
17350 (nscd_setnetgrent): New function, broken out of ...
17351 (setnetgrent): ... here. Call it.
17352 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17353 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17354 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17355 * nscd/Makefile (routines, aux): Move definitions after include of
17356 Makeconfig. Conditionalize on [$(use-nscd) != no].
17357 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17358 Conditionalize on [USE_NSCD].
17359 (is_nscd, nscd_init_cb): Likewise.
17360 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17361 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17362 * nss/nss_db/db-init.c: Likewise.
17363 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17364 [USE_NSCD].
17365 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17366 (make_request): Use it.
17367 (cache_valid_p): New function.
17368 (__check_pf): Use it.
17369 * NEWS: Add item for --disable-nscd.
17370
07e51550
DL
173712012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17372
17373 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17374 to support sed >= 4.2.1-20-ga9bf076.
17375 * configure: Regenerated.
17376
35a5b08b
RM
173772012-08-22 Roland McGrath <roland@hack.frob.com>
17378
17379 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17380 Conditionalize whole body on [IREL].
17381
8479f23a
JL
173822012-08-22 Jeff Law <law@redhat.com>
17383
17384 [BZ #14505]
17385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17386 if the family is PF_UNSPEC.
17387
48da0b21
MF
173882012-08-22 Mike Frysinger <vapier@gentoo.org>
17389
17390 * Makerules (lib-version): Rename from V.
17391 (install-lib-nosubdir): Change V to lib-version.
17392
15d0da8c
WS
173932012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17394
17395 [BZ #14252]
17396 * powerpc32/power6/wcschr.c: New file.
17397 * powerpc32/power6/wcscpy.c: New file.
17398 * powerpc32/power6/wcsrchr.c: New file.
17399 * powerpc64/power6/wcschr.c: New file.
17400 * powerpc64/power6/wcscpy.c: New file.
17401 * powerpc64/power6/wcsrchr.c: New file.
17402
bcca0895
MK
174032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17404
17405 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17406 (two_way_short_needle): Use it.
5a4aaa33
RM
17407 * string/strstr.c (AVAILABLE1_USES_J): Define.
17408 * string/strcasestr.c: Likewise.
99677e57
MK
17409
17410 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17411 array references.
17412 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17413
400726de
MK
17414 [BZ #11607]
17415 * NEWS: Add an entry.
17416 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17417 define their defaults.
17418 (two_way_short_needle): Detect end-of-string on-the-fly.
17419 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17420 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17421 * string/bug-strcasestr1.c: New test.
17422 * string/Makefile: Run it.
17423
20a71f2c
MK
174242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17425
17426 [BZ #11607]
17427 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17428 the first character.
17429
21ad0558
RM
174302012-08-21 Roland McGrath <roland@hack.frob.com>
17431
17432 * csu/elf-init.c (__libc_csu_irel): Function removed.
17433 * csu/libc-start.c (apply_irel): New function.
17434 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17435
0e1d9911
JM
174362012-08-21 Joseph Myers <joseph@codesourcery.com>
17437
17438 * sysdeps/unix/sysv/linux/kernel-features.h
17439 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17440 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17441 <kernel-features.h>.
17442 [__NR_fadvise64_64]: Make code unconditional.
17443 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17444 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17445 !__NR_fadvise64_64)]: Likewise.
17446 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17447 !__NR_fadvise64_64))]: Likewise.
17448 [__NR_fadvise64]: Make code unconditional.
17449 [!__NR_fadvise64]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17451 <kernel-features.h>.
17452 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17453 unconditional.
17454 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17455 conditional code.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17457 not include <kernel-features.h>.
17458 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17459 unconditional.
17460 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17461 conditional code.
17462 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17463 include <kernel-features.h>.
17464 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17465 unconditional.
17466 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17467 conditional code.
17468
14a50c9d
WS
174692012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17470
17471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17472 slight instruction rearrangements per scrollpipe analysis.
17473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17474
c0f4faf0
RM
174752012-08-20 Roland McGrath <roland@hack.frob.com>
17476
696da859
RM
17477 * manual/syslog.texi (syslog; vsyslog, closelog):
17478 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17479 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17480
c0f4faf0
RM
17481 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17482 DSOCAPS to match condition on defining it.
17483
348363b2
JM
174842012-08-20 Joseph Myers <joseph@codesourcery.com>
17485
a35cbf28
JM
17486 * sysdeps/unix/sysv/linux/kernel-features.h
17487 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17489 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17490 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17495 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17496 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17497
445f7ecd
JM
17498 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17499 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17500
348363b2
JM
17501 * sysdeps/unix/sysv/linux/kernel-features.h
17502 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17503 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17504 unconditional.
17505 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17506 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17507 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17508 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17509 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17510 Make code unconditional.
17511 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17512 (__mmap64) [!__NR_mmap2]: Likewise.
17513 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17514 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17515 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17517 [__NR_mmap2]: Make code unconditional.
17518 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17519 (__mmap64) [!__NR_mmap2]: Likewise.
17520
bc5bc0e5
AK
175212012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17522
17523 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17524
88d506de
AJ
175252012-08-18 Andreas Jaeger <aj@suse.de>
17526
17527 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17528
493387d2
MF
175292012-08-18 Mike Frysinger <vapier@gentoo.org>
17530
17531 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17532 * include/unistd.h (__have_sock_cloexec): Likewise.
17533 (__have_pipe2): Likewise.
17534 (__have_dup3): Likewise.
17535
a277af22
MF
175362012-08-18 Mike Frysinger <vapier@gentoo.org>
17537
17538 [BZ #9685]
17539 * include/unistd.h (__have_pipe2): Change define into an extern int.
17540 (__have_dup3): Likewise.
17541 * socket/have_sock_cloexec.c: Include fcntl.h.
17542 (__have_pipe2): New variable.
17543 (__have_dup3): Likewise.
17544
fdab8fd3
MF
175452012-08-17 Mike Frysinger <vapier@gentoo.org>
17546
17547 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17548
31035e80
MP
175492012-08-17 Marek Polacek <polacek@redhat.com>
17550
17551 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17552 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17553
3bd9e993
RM
175542012-08-17 Roland McGrath <roland@hack.frob.com>
17555
c91c505f
RM
17556 * configure.in: Add AC_SUBST for sysheaders.
17557 * configure: Regenerated.
17558 * config.make.in (sysheaders): New substituted variable.
17559
7c6f9d53
RM
17560 * sysdeps/unix/mkfifo.c: Moved ...
17561 * sysdeps/posix/mkfifo.c: ... here.
17562 * sysdeps/unix/mkfifoat.c: Moved ...
17563 * sysdeps/posix/mkfifoat.c: ... here.
17564
17565 * sysdeps/unix/utime.c: Moved ...
17566 * sysdeps/posix/utime.c: ... here.
17567
17568 * sysdeps/unix/time.c: Moved ...
17569 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17570 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17571 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17572
17573 * sysdeps/unix/nice.c: Moved ...
17574 * sysdeps/posix/nice.c: ... here.
17575
17576 * sysdeps/unix/alarm.c: Moved ...
17577 * sysdeps/posix/alarm.c: ... here.
17578
3bd9e993
RM
17579 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17580
d1f09384
JL
175812012-08-17 Jeff Law <law@redhat.com>
17582
17583 * intl/Makefile (codeset_mo): New variable.
17584 ($(codeset_mo)): New target.
17585 (tst-codeset.out): Depend on that. Remove explicit rule.
17586 (tst-gettext3.out, tst-gettext5.out): Likewise.
17587 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17588 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17589 * intl/tst-codeset.sh: Remove.
17590 * intl/tst-gettext3.sh: Likewise.
17591 * intl/tst-gettext5.sh: Likewise.
17592
2ae1ae5c
RM
175932012-08-17 Roland McGrath <roland@hack.frob.com>
17594
c31fdb83
RM
17595 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17596 * sysdeps/unix/syscalls.list: ... here.
17597
a0844057
RM
17598 * sysdeps/posix/getaddrinfo.c
17599 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17600 (gaiconf_init, gaiconf_reload): Use them.
17601 [!_STATBUF_ST_NSEC]
17602 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17603 Define using time_t rather than struct timespec.
17604
750c1f2a
RM
17605 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17606 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17607 Macros removed.
17608 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17609 [!NO_THREADS].
17610 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17611 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17612 Likewise.
17613
2ae1ae5c
RM
17614 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17615 __libc_cleanup_push argument.
17616
e66a42f5
RM
17617 * bits/param.h: New file.
17618 * misc/sys/param.h: New file.
17619 * include/sys/param.h: New file.
17620 * misc/Makefile (headers): Add bits/param.h.
17621 * sysdeps/generic/sys/param.h: File removed.
17622 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17623 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17624 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17625 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17626
b7c08a66
RM
17627 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17628 last change.
17629
b2e1c562
RM
17630 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17631 [_IO_MTSAFE_IO].
17632 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17633 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17634 New macros.
17635
c75ccd4c
RM
17636 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17637 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17638 rather than -D_IO_MTSAFE_IO conditionally.
17639 * stdio-common/Makefile (CPPFLAGS): Likewise.
17640 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17641 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17642 Use $(libio-mtsafe).
17643 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17644 of -D_IO_MTSAFE_IO.
17645 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17646 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17647 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17648 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17649 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17650 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17651 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17652 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17653 (CFLAGS-fread_u_chk.c): Likewise.
17654 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17655 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17656 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17657 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17658 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17659 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17660 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17661 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17662 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17663
17664 * libio/Makefile: Test [$(libc-reentrant) = yes]
17665 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17666
17667 * Makeconfig
17668 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17669 * sysdeps/pthread/configure: File removed.
17670 * sysdeps/pthread/Makeconfig: New file.
17671 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17672 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17673
d9195db8
GB
176742012-08-16 Gary Benson <gbenson@redhat.com>
17675
17676 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17677 unmapping the first object in a namespace.
17678
86466cd9
RM
176792012-08-16 Roland McGrath <roland@hack.frob.com>
17680
17681 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17682 (__internal_setnetgrent): ... this. Add internal_function to
17683 definition. Add libc_hidden_def.
17684 (setnetgrent): Update caller.
17685 (internal_endnetgrent): Renamed to ...
17686 (__internal_endnetgrent): ... this. Add internal_function to
17687 definition. Add libc_hidden_def.
17688 (endnetgrent): Update caller.
17689 (internal_getnetgrent_r): Renamed to ...
17690 (__internal_getnetgrent_r): ... this. Add internal_function to
17691 definition. Add libc_hidden_def.
17692 (__getnetgrent_r): Update caller.
17693 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17694
c3c8283c
JM
176952012-08-16 Joseph Myers <joseph@codesourcery.com>
17696
17697 * stdlib/longlong.h: Update from GCC.
17698
db1ee0a8
RM
176992012-08-16 Roland McGrath <roland@hack.frob.com>
17700
17701 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17702 on _QL, which is set by umul_ppmm but never used.
17703 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17704 variables, which are set by GMP macros but never used.
17705 * stdio-common/_itowa.c (_itowa): Likewise.
17706 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17707 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17708
30f69637
CD
177092012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17710
17711 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17712 struct La_sh_regs is not constant.
17713 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17714 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17715 and struct La_sparc64_regs are not constant.
17716
93a78ac4
JM
177172012-08-16 Joseph Myers <joseph@codesourcery.com>
17718
17719 * sysdeps/unix/sysv/linux/kernel-features.h
17720 (__ASSUME_POSIX_TIMERS): Remove.
17721 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17722 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17723 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17724 Make code unconditional.
17725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17726 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17727 Make code unconditional.
17728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17729 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17730 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17732 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17733 Make code unconditional.
17734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17735 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17736 (__libc_missing_posix_timers): Remove.
17737
dd924cd7
RM
177382012-08-15 Roland McGrath <roland@hack.frob.com>
17739
4b4f2771
RM
17740 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17741 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17742
601c888b
RM
17743 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17744
176790a7
RM
17745 * elf/dl-sym.c: Include <stdlib.h>.
17746
329bc018
RM
17747 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17748 constants, which avoids warnings in 32-bit builds.
17749
e04e272d
RM
17750 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17751 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17752
952bf94a
RM
17753 * misc/lseek.c: File moved to ...
17754 * io/lseek.c: ... here.
17755
7c99b50a
RM
17756 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17757
dd924cd7
RM
17758 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17759 shifting LEN more than 31 bits at once.
17760
b3f479a8
LD
177612012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17762
17763 [BZ #14195]
8c4ae0d4
RM
17764 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17765 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17766 * string/test-strncasecmp.c (check1): Renamed to...
17767 (bz12205): ...this.
17768 (bz14195): Add new testcase for two empty input strings and N > 0.
17769 (test_main): Call new testcase, adapt for renamed function.
17770
9c55864e
AJ
177712012-08-15 Andreas Jaeger <aj@suse.de>
17772
17773 [BZ #14090]
17774 * crypt/md5test2.c: New test, based on test supplied by Serge
17775 Belyshev <belyshev@depni.sinp.msu.ru>.
17776 * crypt/Makefile (xtests): Add md5test-giant..
17777 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17778
02dcb6c5
PE
177792012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17780
17781 [BZ #14090]
17782 * crypt/md5.c (md5_process_block): Don't assume the buffer
17783 length is less than 2**32.
17784 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17785 length is less than 2**64.
17786
a3f95dcc
RM
177872012-08-15 Roland McGrath <roland@hack.frob.com>
17788
be75d758
RM
17789 * string/str-two-way.h: Include <sys/param.h>.
17790 (MAX): Macro removed.
17791
7312ca90
RM
17792 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17793 Move #define and #undef of memmove to just before and after
17794 including <string.h>.
17795
9a0a5486
RM
17796 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17797 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17798 and after including <string.h>. Move declarations of
17799 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17800 to before #include "string/memmove.c".
17801
67cc348d
RM
17802 * include/dirent.h: Declare __getdirentries.
17803
a3f95dcc
RM
17804 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17805 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17806
ca98e171
MF
178072012-08-14 Mike Frysinger <vapier@gentoo.org>
17808
17809 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17810 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17811 * sysdeps/i386/configure: Regenerated.
17812 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17813 STABS_CURRENT_FILE, and STABS_FUN.
17814 (END): Remove call to STABS_FUN_END.
17815 (STABS_CURRENT_FILE1): Delete.
17816 (STABS_CURRENT_FILE): Likewise.
17817 (STABS_FUN): Likewise.
17818 (STABS_FUN_END): Likewise.
17819 (STABS_FUN2): Likewise.
17820 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17821 * sysdeps/x86_64/configure: Regenerated.
17822
5908bf46
RM
178232012-08-14 Roland McGrath <roland@hack.frob.com>
17824
17825 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17826 * elf/dl-lookup.c: Likewise.
5908bf46 17827
f2c05b9e
JM
178282012-08-14 Joseph Myers <joseph@codesourcery.com>
17829
17830 * sysdeps/unix/sysv/linux/kernel-features.h
17831 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17832 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17833 unconditionally.
17834 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17835 unconditionally.
17836 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17837 condition on __ASSUME_CLONE_THREAD_FLAGS.
17838
e11f5155
AJ
178392012-08-14 Andreas Jaeger <aj@suse.de>
17840
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842
51a9ba86
MK
178432012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17844
2fdd4f78
AJ
17845 * include/atomic.h (atomic_exchange_and_add): Split into ...
17846 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17847 New atomic macros.
51a9ba86 17848
ba6cba9e
MT
178492012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17850
17851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17852
42443a47
JL
178532012-08-13 Jeff Law <law@redhat.com>
17854
17855 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17856 null byte in the output string.
17857
121dce05
JM
178582012-08-10 Joseph Myers <joseph@codesourcery.com>
17859
17860 * sysdeps/unix/sysv/linux/kernel-features.h
17861 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17862 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17863 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17864 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17865 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17866 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17867 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17868
bf51f568
JL
178692012-08-09 Jeff Law <law@redhat.com>
17870
17871 [BZ #13939]
17872 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17873 When avoid_arena is set, don't retry in the that arena. Pick the
17874 next one, whatever it might be.
17875 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17876 (arena_lock): Pass in new parameter to arena_get2.
17877 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17878 arena_get2.
17879 (__libc_malloc): Unify retrying after main arena failure with
17880 __libc_memalign version.
17881 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17882
f85fa270
L
178832012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17884
17885 [BZ #14166]
17886 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17887 to __redirect_strstr.
17888 (__strstr_sse42): Use typeof __redirect_strstr.
17889 (__strstr_ia32): Likewise.
17890 (__libc_strstr): New prototype.
17891 (strstr): Renamed to ...
17892 (__libc_strstr): This.
17893 (strstr): New strong alias of __libc_strstr.
17894 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17896 __redirect_time.
17897 Include <time.h>.
17898 (__libc_time): New prototype.
17899 (time_ifunc): Replace time with __libc_time.
17900 (time): New strong alias and hidden definition of __libc_time.
17901 (__GI_time): Remove strong alias.
17902 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17903 Include <stddef.h>.
17904 (memmove): Redefined to __redirect_memmove.
17905 (__memmove_sse2): Use typeof __redirect_memmove.
17906 (__memmove_ssse3): Likewise.
17907 (__memmove_ssse3_back): Likewise.
17908 (__libc_memmove): New prototype.
17909 (memmove): Renamed to ...
17910 (__libc_memmove): This.
17911 (memmove): New strong alias of __libc_memmove.
17912
33b4a91e
MS
179132012-08-08 Mark Salter <msalter@redhat.com>
17914
17915 * elf/elf.h
17916 (R_MN10300_TLS_GD): Define.
17917 (R_MN10300_TLS_LD): Likewise.
17918 (R_MN10300_TLS_LDO): Likewise.
17919 (R_MN10300_TLS_GOTIE): Likewise.
17920 (R_MN10300_TLS_IE): Likewise.
17921 (R_MN10300_TLS_LE): Likewise.
17922 (R_MN10300_TLS_DTPMOD): Likewise.
17923 (R_MN10300_TLS_DTPOFF): Likewise.
17924 (R_MN10300_TLS_TPOFF): Likewise.
17925 (R_MN10300_SYM_DIFF): Likewise.
17926 (R_MN10300_ALIGN): Likewise.
17927 (R_MN10300_NUM): Update.
17928
b36137f1
JM
179292012-08-08 Joseph Myers <joseph@codesourcery.com>
17930
17931 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17932 Remove.
17933
cdd915fd
RM
179342012-08-08 Roland McGrath <roland@hack.frob.com>
17935
a2433aac
RM
17936 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17937
cdd915fd
RM
17938 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17939 sysdeps/unix -> sysdeps/posix move.
17940 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17941
bf9b740a
AM
179422012-08-07 Allan McRae <allan@archlinux.org>
17943
17944 [BZ #14303]
17945 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17946 (SUNOS_CPP): Likewise.
17947 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17948 not found.
17949 (open_input): Call CPP using execvp.
17950
93df14ee
JM
179512012-08-07 Joseph Myers <joseph@codesourcery.com>
17952
17953 * sysdeps/unix/sysv/linux/kernel-features.h
17954 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17955 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17956 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17957 (__ASSUME_WAITID_SYSCALL): Likewise.
17958 * sysdeps/unix/sysv/linux/dl-execstack.c
17959 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17960 code unconditional.
17961 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17962 conditional code.
17963 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17964 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17965 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17966 code.
17967 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17968 unconditional.
17969 [__ASSUME_WAITID_SYSCALL]: Likewise.
17970 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17971
d34689de
RM
179722012-08-07 Roland McGrath <roland@hack.frob.com>
17973
a281decc
RM
17974 * sysdeps/unix/closedir.c: Renamed to ...
17975 * sysdeps/posix/closedir.c: ... here.
17976 * sysdeps/unix/dirfd.c: Renamed to ...
17977 * sysdeps/posix/dirfd.c: ... here.
17978 * sysdeps/unix/dirstream.h: Renamed to ...
17979 * sysdeps/posix/dirstream.h: ... here.
17980 * sysdeps/unix/fdopendir.c: Renamed to ...
17981 * sysdeps/posix/fdopendir.c: ... here.
17982 * sysdeps/unix/opendir.c: Renamed to ...
17983 * sysdeps/posix/opendir.c: ... here.
17984 * sysdeps/unix/readdir.c: Renamed to ...
17985 * sysdeps/posix/readdir.c: ... here.
17986 * sysdeps/unix/readdir_r.c: Renamed to ...
17987 * sysdeps/posix/readdir_r.c: ... here.
17988 * sysdeps/unix/rewinddir.c: Renamed to ...
17989 * sysdeps/posix/rewinddir.c: ... here.
17990 * sysdeps/unix/seekdir.c: Renamed to ...
17991 * sysdeps/posix/seekdir.c: ... here.
17992 * sysdeps/unix/telldir.c: Renamed to ...
17993 * sysdeps/posix/telldir.c: ... here.
17994 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17995 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17996 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17997 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17998
22895b47
RM
17999 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18000 * bits/fcntl.h: ... here.
18001
707a53b6
RM
18002 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18003 not 0.
18004 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18005 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18006 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18007 (struct flock): Move l_start, l_len to the beginning.
18008 Use __pid_t for l_pid.
18009 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18010 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18011 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18012 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18013 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18014 [__USE_LARGEFILE64] (struct flock64): New type.
18015 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18016
f0bd3e25
RM
18017 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18018 * bits/dirent.h: ... here.
18019
d34689de
RM
18020 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18021 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18022
6dad2c06
JM
180232012-08-07 Joseph Myers <joseph@codesourcery.com>
18024
18025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18026 Change from 2.6.0 to 2.6.16.
18027 * sysdeps/unix/sysv/linux/configure: Regenerated.
18028 * sysdeps/unix/sysv/linux/kernel-features.h
18029 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18030 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18031 version.
18032 (__ASSUME_UTIMES): Likewise.
18033 (__ASSUME_CLONE_STOPPED): Remove.
18034 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18035 architectures, not kernel version.
18036 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18037 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18038 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18039 (__ASSUME_WAITID_SYSCALL): Likewise.
18040 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18041 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18042 * README: State 2.6.16 as minimum Linux kernel version. Do not
18043 refer to older versions.
18044
03af9520
RM
180452012-08-06 Roland McGrath <roland@hack.frob.com>
18046
8e49df1d
RM
18047 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18048 Define alphasort64 as an alias.
18049 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18050 Define versionsort64 as an alias.
18051 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18052 Define scandir64 as an alias.
18053 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18054 Define scandirat64 as an alias.
18055 * dirent/alphasort64.c (alphasort64):
18056 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18057 * dirent/versionsort64.c: Likewise.
18058 * dirent/scandir64.c: Likewise.
18059 * dirent/scandirat64.c: Likewise.
18060 * sysdeps/wordsize-64/alphasort.c: File removed.
18061 * sysdeps/wordsize-64/alphasort64.c: File removed.
18062 * sysdeps/wordsize-64/scandir.c: File removed.
18063 * sysdeps/wordsize-64/scandir64.c: File removed.
18064 * sysdeps/wordsize-64/scandirat.c: File removed.
18065 * sysdeps/wordsize-64/scandirat64.c: File removed.
18066 * sysdeps/wordsize-64/versionsort.c: File removed.
18067 * sysdeps/wordsize-64/versionsort64.c: File removed.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18074 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18075 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18076
18077 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18079 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18081 [defined __arch64__ || defined __sparcv9]
18082 (__INO_T_MATCHES_INO64_T): New macro.
18083 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18084 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18085 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18086 * sysdeps/unix/sysv/linux/bits/dirent.h
18087 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18088 (_DIRENT_MATCHES_DIRENT64): New macro.
18089
03af9520
RM
18090 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18091 Define lockf64 as an alias.
18092 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18093 Define fseeko64 as an alias.
18094 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18095 Define ftello64 as an alias.
18096 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18097 Define _IO_fgetpos64 and fgetpos64 as aliases.
18098 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18099 Define _IO_fsetpos64 and fsetpos64 as aliases.
18100 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18101 Conditionalize body on this.
18102 * libio/fseeko64.c: Likewise.
18103 * libio/ftello64.c: Likewise.
18104 * libio/iofgetpos64.c: Likewise.
18105 * libio/iofsetpos64.c: Likewise.
18106 * sysdeps/wordsize-64/lockf.c: File removed.
18107 * sysdeps/wordsize-64/lockf64.c: File removed.
18108 * sysdeps/wordsize-64/fseeko.c: File removed.
18109 * sysdeps/wordsize-64/fseeko64.c: File removed.
18110 * sysdeps/wordsize-64/ftello.c: File removed.
18111 * sysdeps/wordsize-64/ftello64.c: File removed.
18112 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18113 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18114 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18115 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18116 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18118 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18120 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18124 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18126
18127 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18129 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18131 [defined __arch64__ || defined __sparcv9]
18132 (__OFF_T_MATCHES_OFF64_T): New macro.
18133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18134 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18136 (__OFF_T_MATCHES_OFF64_T): New macro.
18137
c5757acd
L
181382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 * stdlib/secure-getenv.c (__secure_getenv): Replace
18141 GLIBC_2_16 with GLIBC_2_17.
18142
3a31811e
L
181432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18144
18145 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18146 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18147
faa2bccb
DM
181482012-08-03 David S. Miller <davem@davemloft.net>
18149
18150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18151
85fe1997
JM
181522012-08-03 Joseph Myers <joseph@codesourcery.com>
18153
18154 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18155 Remove.
18156 (__ASSUME_CORRECT_SI_PID): Likewise.
18157 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18158 (__ASSUME_TMPFS_NAME): Likewise.
18159 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18160 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18161 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18162 (HAVE_AUX_SECURE): Make definition unconditional.
18163 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18164 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18165
4f75b7a0
RM
181662012-08-03 Roland McGrath <roland@hack.frob.com>
18167
18168 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18169 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18170 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18172 __eloop_threshold instead of SYMLOOP_MAX.
18173
18174 * sysdeps/generic/eloop-threshold.h: New file.
18175 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18176 of MAXSYMLINKS.
18177 * elf/chroot_canon.c (chroot_canon): Likewise.
18178
7aab07e4
JM
181792012-08-03 Joseph Myers <joseph@codesourcery.com>
18180
18181 [BZ #13717]
18182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18183 Change to 2.6.0 everywhere.
18184 * sysdeps/unix/sysv/linux/configure: Regenerated.
18185 * sysdeps/unix/sysv/linux/kernel-features.h
18186 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18187 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18188 kernel versions.
18189 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18190 (__ASSUME_FUTEX_REQUEUE): Remove.
18191 (__ASSUME_STATFS64): Define unconditionally.
18192 (__ASSUME_AT_SECURE): Likewise.
18193 (__ASSUME_CORRECT_SI_PID): Likewise.
18194 (__ASSUME_TGKILL): Define without depending on kernel version for
18195 i386.
18196 (__ASSUME_UTIMES): Likewise.
18197 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18198 kernel version.
18199 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18200 (__ASSUME_TMPFS_NAME): Likewise.
18201 * README: Update reference to Linux kernel versions.
18202
b67e9372
MP
182032012-08-02 Marek Polacek <polacek@redhat.com>
18204
1f529f7d 18205 [BZ# 14150]
b67e9372
MP
18206 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18207 libc_cv_asm_type_prefix with %.
18208 * configure: Regenerated.
d2441631
RM
18209 * include/libc-symbols.h: Remove comment about
18210 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18211 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18212 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18213 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18214 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18215 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18216 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18217 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18218 * elf/tst-unique2mod1.c: Likewise.
18219 * elf/tst-unique1mod2.c: Likewise.
18220 * elf/tst-unique1mod1.c: Likewise.
18221 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18222 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18223 Replace ASM_TYPE_DIRECTIVE with .type.
18224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18225 * sysdeps/i386/sysdep.h: Likewise.
18226 * sysdeps/x86_64/sysdep.h: Likewise.
18227 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18229 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18230 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18231 * sysdeps/powerpc/powerpc32/sysdep.h:
18232 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18233 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18234 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18235 * sysdeps/i386/fpu/e_powf.S: Likewise.
18236 * sysdeps/i386/fpu/e_expl.S: Likewise.
18237 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18238 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18239 * sysdeps/i386/fpu/e_pow.S: Likewise.
18240 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18241 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18242 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18243 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18244 * sysdeps/i386/fpu/e_log2.S: Likewise.
18245 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18246 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18247 * sysdeps/i386/fpu/e_powl.S: Likewise.
18248 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18249 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18250 * sysdeps/i386/fpu/e_logl.S: Likewise.
18251 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18252 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18253 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18254 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18255 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18256 * sysdeps/i386/fpu/e_log.S: Likewise.
18257 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18258 * sysdeps/i386/fpu/e_logf.S: Likewise.
18259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18261 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18262 * sysdeps/i386/fpu/e_log10.S: Likewise.
18263 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18264 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18265 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18266 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18267 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18269 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18270 * sysdeps/i386/i686/strtok.S: Likewise.
18271 * sysdeps/i386/i386-mcount.S: Likewise.
18272 * sysdeps/i386/strtok.S: Likewise.
18273 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18274 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18275 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18276 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18277 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18279 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18280 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18281 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18282 * sysdeps/x86_64/_mcount.S: Likewise.
18283 * sysdeps/x86_64/strtok.S: Likewise.
18284 * sysdeps/sh/_mcount.S: Likewise.
18285
2747bf9a
RM
182862012-08-01 Roland McGrath <roland@hack.frob.com>
18287
18288 * libio/iofopen.c: Include <fcntl.h>.
18289 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18290 (_IO_fopen64, fopen64): Define as aliases.
18291 * libio/iofopen64.c: Include <fcntl.h>.
18292 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18293 Conditionalize body on this.
18294 * sysdeps/wordsize-64/iofopen.c: File removed.
18295 * sysdeps/wordsize-64/iofopen64.c: File removed.
18296
3fb791b8
MP
182972012-08-01 Marek Polacek <polacek@redhat.com>
18298
18299 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18300 Use dlfcn directly instead of a variable.
18301 (binfmt-subdir): Do not define.
18302 (dlfcn): Likewise.
18303
a9f1039f
JM
183042012-08-01 Joseph Myers <joseph@codesourcery.com>
18305
23bddc06
JM
18306 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18307 Remove all definitions.
18308 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18309 <kernel-features.h>.
18310 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18311 (miss_F_GETOWN_EX): Remove all definitions.
18312 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18313 macro definition.
18314 [!__ASSUME_FCNTL64]: Remove conditional code.
18315 [__ASSUME_FCNTL64]: Make code unconditional.
18316 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18317 <kernel-features.h>.
18318 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18319 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18320 (lockf64) [__NR_fcntl64]: Make code unconditional.
18321 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18322
a9f1039f
JM
18323 * sysdeps/unix/sysv/linux/kernel-features.h
18324 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18325 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18326 Make code unconditional.
18327 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18328 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18330 [__NR_vfork]: Make code unconditional.
18331 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18332 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18334 [__NR_vfork]: Make code unconditional.
18335 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18336 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18337
09c0ee5f
RM
183382012-08-01 Roland McGrath <roland@hack.frob.com>
18339
48aec5b9
RM
18340 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18341 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18342
cd97c966
RM
18343 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18344 Define mkstemp64 as an alias.
3f55550c
RM
18345 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18346 Define mkstemps64 as an alias.
cd97c966
RM
18347 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18348 Define mkostemp64 as an alias.
b8625cfc
RM
18349 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18350 Define mkostemps64 as an alias.
cd97c966
RM
18351 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18352 Conditionalize body on this.
18353 * misc/mkostemp64.c: Likewise.
b8625cfc 18354 * misc/mkostemps64.c: Likewise.
3f55550c 18355 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18356 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18357 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18358 * sysdeps/wordsize-64/mkostemp.c: File removed.
18359 * sysdeps/wordsize-64/mkstemp.c: File removed.
18360 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18361 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18362 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18364
09c0ee5f
RM
18365 [BZ #14138]
18366 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18367 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18368 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18369 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18370
18371 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18372 compat_symbol macros from <shlib-compat.h> rather than the underlying
18373 default_symbol_version and symbol_version macros, so that DEFAULT
18374 lines in shlib-versions are respected.
18375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18376
7e66ee51
FW
183772012-08-01 Florian Weimer <fweimer@redhat.com>
18378
18379 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18380 Declare with warn_unused_result.
18381 (setgid, setregid, setegid, setresgid): Likewise.
18382 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18383 Likewise.
18384 * WUR-REPORT: Remove set*id functions.
18385
d2a54255
PT
183862012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18387
18388 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18389
7ecdb005
RM
183902012-07-31 Roland McGrath <roland@hack.frob.com>
18391
b4180a5e 18392 [BZ #10191]
789bd351
RM
18393 * include/sys/socket.h (__libc_accept, __libc_accept4):
18394 Add attribute_hidden.
18395 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18396
40ce302d
RM
18397 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18398 use of PTR_MANGLE.
18399 * inet/getnetgrent_r.c (setup): Likewise.
18400
7ecdb005
RM
18401 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18402
e2eabb2c
DM
184032012-07-31 David S. Miller <davem@davemloft.net>
18404
18405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18406
d0419dbf
JM
184072012-07-31 Joseph Myers <joseph@codesourcery.com>
18408
18409 [BZ #13629]
18410 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18411 value between 1.0 and 2.0 and smaller part has absolute value less
18412 than 1.0.
18413 * math/s_clog10.c (__clog10): Likewise.
18414 * math/s_clog10f.c (__clog10f): Likewise.
18415 * math/s_clog10l.c (__clog10l): Likewise.
18416 * math/s_clogf.c (__clogf): Likewise.
18417 * math/s_clogl.c (__clogl): Likewise.
18418 * math/libm-test.inc (clog_test): Add more tests.
18419 (clog10_test): Likewise.
18420 * sysdeps/i386/fpu/libm-test-ulps: Update.
18421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18422
2bc13872
FW
184232012-07-31 Florian Weimer <fweimer@redhat.com>
18424
18425 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18426 Exit with zero in case no suitable GID is found, and write a
18427 message to standard error.
18428
bea9b193
RM
184292012-07-30 Roland McGrath <roland@hack.frob.com>
18430
18431 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18432 rather than to 1.
18433 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18434 (MAXPATHLEN): Removed.
18435 (NOGROUP, NODEV): New macros.
18436 (setbit, clrbit, isset, isclr): New macros.
18437 (howmany, roundup, powerof2): New macros.
18438 (DEV_BSIZE): New macro.
18439
18440 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18441 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18442
18443 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18444 definition on [!__NO_LONG_DOUBLE_MATH].
18445
18446 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18447 PTR_MANGLE and PTR_DEMANGLE.
18448
18449 * socket/accept4.c (accept4): Rename to __libc_accept4.
18450 Define accept4 as a weak alias.
18451
18452 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18453 on [_DIRENT_HAVE_D_TYPE].
18454 * io/ftw.c (ftw_dir): Likewise.
18455
18456 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18457
18458 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18459
18460 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18461 Use the BSD numbers rather than the arbitrary ones we had.
18462 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18463 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18464 (SIGXCPU, SIGXFSZ): New macros.
18465 (_NSIG): Now 32.
18466
18467 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18468 initializer on [_LIBC_REENTRANT].
18469
18470 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18471 definitions inside [_POSIX_MAPPED_FILES].
18472
18473 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18474
18475 * dirent/opendir.c: Include <fcntl.h>.
18476
18477 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18478 (__libc_getspecific): Likewise.
18479 (__libc_key_create): Likewise.
18480
18481 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18482 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18483 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18484 (tmpfile64): Define as alias.
18485 * sysdeps/wordsize-64/tmpfile.c: File removed.
18486 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18487 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18488 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18489
18490 * stdio-common/vfscanf.c: Include <stdbool.h>.
18491 * nss/makedb.c: Likewise.
18492 * stdio-common/_i18n_number.h: Likewise.
18493 * argp/argp-help.c: Likewise.
18494 * posix/wordexp.c: Likewise.
18495 * sysdeps/posix/spawni.c: Likewise.
18496 * nss/nss_files/files-initgroups.c: Likewise.
18497 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18498 * nss/nss_files/files-initgroups.c: Likewise.
18499 * nss/nss_db/db-netgrp.c: Likewise.
18500 * nss/nss_db/db-initgroups.c: Likewise.
18501 * io/fchmodat.c: Include <sys/stat.h>.
18502
18503 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18504 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18505
18506 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18507 [HAVE_MMAP].
18508
18509 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18510 Add multiple inclusion protection.
18511
e5abc686
DM
185122012-07-27 David S. Miller <davem@davemloft.net>
18513
18514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18515
815e6fa3
GB
185162012-07-27 Gary Benson <gbenson@redhat.com>
18517
18518 [BZ #14298]
18519 * elf/rtld.c: Include <stap-probe.h>.
18520 (dl_main): Added static probes "init_start" and "init_complete".
18521 * elf/dl-load.c: Include <stap-probe.h>.
18522 (lose): Take new parameter "nsid".
18523 Added static probe "map_failed".
18524 (_dl_map_object_from_fd): Pass namespace id to lose.
18525 Added static probe "map_start".
18526 (open_verify): Pass namespace id to lose.
18527 * elf/dl-open.c: Include <stap-probe.h>.
18528 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18529 and "reloc_complete".
18530 * elf/dl-close.c: Include <stap-probe.h>.
18531 (_dl_close_worker): Added static probes "unmap_start" and
18532 "unmap_complete".
18533 * elf/rtld-debugger-interface.txt: New file documenting the above.
18534
9f98c16c
RM
185352012-07-26 Roland McGrath <roland@hack.frob.com>
18536
18537 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18538 rather than a string variable.
18539 * sunrpc/rpc_main.c (h_output): Likewise.
18540 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18541
f3c22df3
PT
185422012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18543
18544 * inet/check_native.c: New file.
18545
3129cfc6
JM
185462012-07-26 Joseph Myers <joseph@codesourcery.com>
18547
da865e95
JM
18548 [BZ #13629]
18549 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18550 if larger part has absolute value 1.0.
18551 * math/s_clog10.c (__clog10): Likewise.
18552 * math/s_clog10f.c (__clog10f): Likewise.
18553 * math/s_clog10l.c (__clog10l): Likewise.
18554 * math/s_clogf.c (__clogf): Likewise.
18555 * math/s_clogl.c (__clogl): Likewise.
18556 * math/libm-test.inc (clog_test): Add more tests.
18557 (clog10_test): Likewise.
18558 * sysdeps/i386/fpu/libm-test-ulps: Update.
18559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18560
3129cfc6
JM
18561 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18562 (pltexit): Likewise.
18563 (La_regs): Likewise.
18564 (La_retval): Likewise.
18565 (int_retval): Likewise.
18566 Update #error for removed macros to refer only to definitions in
18567 tst-audit.h.
18568 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18569 macro.
18570 (pltexit): Likewise.
18571 (La_regs): Likewise.
18572 (La_retval): Likewise.
18573 (int_retval): Likewise.
18574 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18575 macro.
18576 (pltexit): Likewise.
18577 (La_regs): Likewise.
18578 (La_retval): Likewise.
18579 (int_retval): Likewise.
18580 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18581 macro.
18582 (pltexit): Likewise.
18583 (La_regs): Likewise.
18584 (La_retval): Likewise.
18585 (int_retval): Likewise.
18586 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18587 macro.
18588 (pltexit): Likewise.
18589 (La_regs): Likewise.
18590 (La_retval): Likewise.
18591 (int_retval): Likewise.
18592 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18593 macro.
18594 (pltexit): Likewise.
18595 (La_regs): Likewise.
18596 (La_retval): Likewise.
18597 (int_retval): Likewise.
18598 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18599 macro.
18600 (pltexit): Likewise.
18601 (La_regs): Likewise.
18602 (La_retval): Likewise.
18603 (int_retval): Likewise.
18604 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18605 macro definitions in tst-audit.h.
18606 * sysdeps/i386/tst-audit.h: New file.
18607 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18608 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18609 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18610 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18611 * sysdeps/sh/tst-audit.h: Likewise.
18612 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18613 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18614 * sysdeps/x86_64/tst-audit.h: Likewise.
18615
bfc07087
AJ
186162012-07-26 Andreas Jaeger <aj@suse.de>
18617
b1b2aaf8
AJ
18618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18619 ptrace.
18620
18621 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18622 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18623 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18624 PTRACE_O_MASK.
18625 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18626 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18628
bfc07087
AJ
18629 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18630 value.
18631
18632 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18633 _sigsys.
18634 (si_call_addr, si_syscall, si_arch): Define new macro.
18635 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18636 _sigsys.
18637 (si_call_addr, si_syscall, si_arch): Define new marcro.
18638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18639 _sigsys.
18640 (si_call_addr, si_syscall, si_arch): Define new macro.
18641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18642 _sigsys.
18643 (si_call_addr, si_syscall, si_arch): Define new macro.
18644
89b4b02f
JM
186452012-07-25 Joseph Myers <joseph@codesourcery.com>
18646
18647 [BZ #13717]
18648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18649 Change to 2.4.21 where previously 2.4.1.
18650 * sysdeps/unix/sysv/linux/configure: Regenerated.
18651 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18652 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18653 Linux kernel version.
18654 (__ASSUME_STD_AUXV): Remove.
18655 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18656 kernel version.
18657 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18658 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18659 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18660 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18661 (__ASSUME_NETLINK_SUPPORT): Likewise.
18662 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18663 (__no_netlink_support): Remove conditional definition.
18664 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18665 Remove.
18666 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18667 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18668 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18669 (if_nameindex_ioctl): Remove.
18670 (if_nameindex_netlink): Do not handle __no_netlink_support.
18671 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18672 code.
18673 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18674 Remove conditional code.
18675 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18676 code.
18677 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18678 unconditional.
18679 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18680 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18681 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18682 Remove.
18683 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18684 [!__ASSUME_STD_AUXV]: Remove conditional code.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18686 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18687 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18689 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18690 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18691 code.
18692 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18694 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18695 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18696 conditional code.
18697 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18699 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18700 code.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18702 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18703 conditional code.
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18705 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18706 code unconditional.
18707 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18708 conditional code.
18709 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18710 unconditional.
18711 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18712 conditional code.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18714 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18715 unconditional.
18716 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18717 conditional code.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18719 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18720 code unconditional.
18721 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18722 conditional code.
18723 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18724 unconditional.
18725 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18726 conditional code.
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18728 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18729 code unconditional.
18730 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18731 conditional code.
18732 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18733 unconditional.
18734 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18735 conditional code.
18736
842a39cd
AS
187372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18738
18739 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18740 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18741 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18742 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18743 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18744 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18745 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18746 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18747 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18748 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18749 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18750 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18751 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18752 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18754 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18756 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18757 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18760 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18762
84b3fd84
FW
187632012-07-25 Florian Weimer <fweimer@redhat.com>
18764
18765 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18766 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18767 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18768 Introduce __libc_secure_getenv.
0c7936d5
FW
18769 * stdlib/Versions (2.17): Add secure_getenv
18770 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18771 * stdlib/secure-getenv.c: Rename __secure_getenv to
18772 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18773 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18774 * stdlib/tst-secure-getenv.c: New.
18775 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18776 * manual/startup.texi (Environment Access): Document
18777 secure_getenv.
84b3fd84
FW
18778 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18779 __libc_secure_getenv.
18780 * inet/ruserpass.c (ruserpass): Likewise.
18781 * malloc/mtrace.c (mtrace): Likewise.
18782 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18783 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18784 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18785 * sysdeps/posix/tempname.c: Likewise. Evaluate
18786 HAVE_SECURE_GETENV.
18787 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18788 __secure_getenv to __libc_secure_getenv.
84b3fd84 18789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18793 Likewise.
18794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18801
56e49b71
JM
188022012-07-25 Joseph Myers <joseph@codesourcery.com>
18803
18804 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18805 (struct La_i86_retval): Likewise.
18806 (struct La_x86_64_regs): Likewise.
18807 (struct La_x86_64_retval): Likewise.
18808 (struct La_x32_regs): Likewise.
18809 (struct La_x32_retval): Likewise.
18810 (struct La_ppc32_regs): Likewise.
18811 (struct La_ppc32_retval): Likewise.
18812 (struct La_ppc64_regs): Likewise.
18813 (struct La_ppc64_retval): Likewise.
18814 (struct La_sh_regs): Likewise.
18815 (struct La_sh_retval): Likewise.
18816 (struct La_s390_32_regs): Likewise.
18817 (struct La_s390_32_retval): Likewise.
18818 (struct La_s390_64_regs): Likewise.
18819 (struct La_s390_64_retval): Likewise.
18820 (struct La_sparc32_regs): Likewise.
18821 (struct La_sparc32_retval): Likewise.
18822 (struct La_sparc64_regs): Likewise.
18823 (struct La_sparc64_retval): Likewise.
18824 (struct audit_ifaces): Remove architecture-specific pltenter and
18825 pltexit members.
18826 * sysdeps/i386/ldsodefs.h: New file.
18827 * sysdeps/powerpc/ldsodefs.h: Likewise.
18828 * sysdeps/s390/ldsodefs.h: Likewise.
18829 * sysdeps/sh/ldsodefs.h: Likewise.
18830 * sysdeps/sparc/ldsodefs.h: Likewise.
18831 * sysdeps/x86_64/ldsodefs.h: Likewise.
18832
354691b7
MP
188332012-07-25 Marek Polacek <polacek@redhat.com>
18834
18835 [BZ #6808]
18836 * math/libm-test.inc (yn_test): Add another test.
18837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18838 to ERANGE when the result is +-Inf.
18839 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18840 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18841 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18842 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18843
bf9e2071
JM
188442012-07-24 Joseph Myers <joseph@codesourcery.com>
18845
18846 * conform/data/time.h-data (NULL): Use macro-constant. Require
18847 equal to 0.
18848 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18849 clock_t.
18850 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18851
57633811
TS
188522012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18853
18854 * configure.in <sysdeps resolving>: Correct printing
18855 Implies_before.
18856 * configure: Regenerate.
18857
c23c33b0
TS
188582012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18859
18860 * math/w_ilogb.c: Include <limits.h>.
18861 * math/w_ilogbl.c: Likewise.
18862
b5982523
JM
188632012-07-20 Joseph Myers <joseph@codesourcery.com>
18864
18865 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18866 va_copy. Document allowing for unavailable va_copy only as
18867 pre-C99 compatibility.
18868 * manual/string.texi (Copying and Concatenation): Use va_copy
18869 instead of __va_copy in concat example.
18870
ac4ea442
PT
188712012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18872
18873 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18874 (__sendto): Use create_address_port. Initialize APORT and deallocate
18875 it if not null.
18876
f98eafbd
PT
18877 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18878 with O_NOLINK passed to __file_name_lookup.
18879
898c7aab
PT
18880 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18881 with O_NOLINK passed to __file_name_lookup.
18882
0ced335a
PT
18883 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18884 negative N or less than NGIDS.
18885
b3404dbd
PT
18886 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18887 type to string_t. Set ERANGE as errno and return it if NAME is not big
18888 enough. Use memcpy instead of strncpy.
18889
0f48659e
JM
188902012-07-20 Joseph Myers <joseph@codesourcery.com>
18891
18892 * elf/Makefile (check-data): Remove.
18893 (localplt.data): New vpath directive.
18894 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18895 instead of $(check-data).
18896 * scripts/data/localplt-generic.data: Move to ...
18897 * sysdeps/generic/localplt.data: ... here.
18898 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18899 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18900 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18902 ... here.
18903 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18905 ... here.
18906 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18908 ... here.
18909 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18911 ... here.
18912 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18914 ... here.
18915 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18917 ... here.
18918
d37cbdaa
AZ
189192012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18920
18921 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18922 PPC32 and PPC64 files.
18923 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18924 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18925
46f85fc2
AK
189262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18927
18928 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18929 __makecontext_ret to ...
18930 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18931 ... here and call exit if uc_link is NULL. New file.
18932 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18933 __makecontext_ret.S.
18934 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18935 __makecontext_ret to ...
18936 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18937 ... here and call exit if uc_link is NULL. New file.
18938 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18939 __makecontext_ret.S.
18940
08f43f9b
AK
189412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18942
18943 * elf/elf.h (R_390_IRELATIVE): New definition.
18944 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18945 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18946 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18948 (elf_machine_lazy_rel): Likewise.
18949 * sysdeps/s390/dl-irel.h: New file.
18950 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18951 * sysdeps/s390/s390-64/memset.S: New asm code.
18952 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18953 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18954 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18955 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18956 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18957 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18958 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18959 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18960 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18961 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18962 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18963 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18964 * sysdeps/s390/s390-32/memset.S: New asm code.
18965 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18966
3b05db33
MP
189672012-07-17 Marek Polacek <polacek@redhat.com>
18968
18969 [BZ #14349]
18970 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18971 * sysdeps/s390/s390-64/configure.in: Likewise.
18972 * sysdeps/sparc/configure.in: Likewise.
18973 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18974 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18975 * sysdeps/i386/configure.in: Likewise.
18976 * sysdeps/x86_64/configure.in: Likewise.
18977 * sysdeps/sh/configure.in: Likewise.
18978 * sysdeps/s390/s390-32/configure: Regenerated.
18979 * sysdeps/s390/s390-64/configure: Likewise.
18980 * sysdeps/x86_64/configure: Likewise.
18981 * sysdeps/sh/configure: Likewise.
18982 * sysdeps/powerpc/powerpc64/configure: Likewise.
18983 * sysdeps/powerpc/powerpc32/configure: Likewise.
18984 * sysdeps/sparc/configure: Likwise.
18985 * sysdeps/i386/configure: Likewise.
18986
a66877c6
MP
18987 * elf/dl-open.c: Comment fixes.
18988
cfc82fd8
JM
189892012-07-17 Joseph Myers <joseph@codesourcery.com>
18990
bd29910a
JM
18991 * Makefile [CXX] (check-data): Remove.
18992 [CXX] (c++-types.data): New vpath directive.
18993 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18994 vpath. Do not allow for C++ type data being missing.
18995 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18996 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18997 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18998 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18999 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19000 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19001 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19003 ... here.
19004 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19006 ... here.
19007 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19009 ... here.
19010 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19012 ... here.
19013 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19015 ... here.
19016 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19018 ... here.
19019 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19021 ... here.
19022 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19024
cfc82fd8
JM
19025 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19026 definitions to architecture-specific files.
19027 (TLS_IE): Likewise.
19028 (TLS_LD): Likewise.
19029 (TLS_GD): Likewise.
19030 * sysdeps/i386/tls-macros.h: New file.
19031 * sysdeps/powerpc/tls-macros.h: Likewise.
19032 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19033 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19034 * sysdeps/sh/tls-macros.h: Likewise.
19035 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19036 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19037 * sysdeps/x86_64/tls-macros.h: Likewise.
19038
f7db3170
TS
190392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19040
07cbfc23
TS
19041 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19042 zero value for regular exit case.
19043
f7db3170
TS
19044 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19045 (__start_context): Preserve zero value for regular exit case.
19046
dc97c227
TS
190472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19048 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19049
19050 * manual/setjmp.texi (setcontext): Clarify normal process
19051 termination when uc_link is the null pointer.
19052 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19053 exit call.
19054
d0cd7d02
AS
190552012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19056
19057 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19058 preprocessor. Test for each exception mask separately.
19059
dd318934
AJ
190602012-07-16 Andreas Jaeger <aj@suse.de>
19061
19062 * po/ru.po: Update from translation team.
19063
8048311a
JM
190642012-07-15 Joseph Myers <joseph@codesourcery.com>
19065
19066 * conform/data/string.h-data (NULL): Use macro-constant. Require
19067 equal to 0.
19068 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19069 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19070 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19071 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19073
b637d46e
AJ
190742012-07-13 Andreas Jaeger <aj@suse.de>
19075
19076 * po/fr.po: Update from translation team.
19077
541428fe
MP
190782012-07-12 Marek Polacek <polacek@redhat.com>
19079
19080 [BZ #14173]
19081 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19082 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19083 loop condition.
19084
ec332e94
JM
190852012-07-12 Joseph Myers <joseph@codesourcery.com>
19086
19087 [BZ #13717]
19088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19089 Change to 2.4.1 where previously 2.4.0.
19090 * sysdeps/unix/sysv/linux/configure: Regenerated.
19091 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19092 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19093 version.
19094 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19095 (__ASSUME_AT_CLKTCK): Remove.
19096 (__ASSUME_AT_PAGESIZE): Likewise.
19097 (__ASSUME_AT_XID): Likewise.
19098 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19099 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19100 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19101 unconditionally.
19102 (HAVE_AUX_PAGESIZE): Likewise.
19103 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19104 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19105 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19106
7b6e99be
JB
191072012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19108
19109 [BZ #14307]
19110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19111 the temporary buffer used to invoke __gethostbyname2_r,
19112 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19113 host_data / struct gaih_addrtuple.
19114 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19115 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19116 header file nss/nsswitch.h.
19117 * nss/nsswitch.h (global scope): Add definition of implementation
19118 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19119 resolv/nss_dns/dns-host.c).
19120
608404eb
AJ
191212012-07-11 Andreas Jaeger <aj@suse.de>
19122
19123 * po/fr.po: Update from translation team.
19124
71220aca
AJ
19125 * po/sv.po: Update from translation team
19126 * po/fr.po: Another update from translation team.
19127
28cfe843
AZ
191282012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19129
19130 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19131 for subnormals or multiply small sinh result by itself.
19132 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19134
6b90f981
DM
191352012-07-11 David S. Miller <davem@davemloft.net>
19136
19137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19138
c6825772
AS
191392012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19140
19141 [BZ #14347]
19142 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19143 (INTERNAL_MARK): Shift it here.
19144
7b8e0d49
MP
191452012-07-10 Marek Polacek <polacek@redhat.com>
19146
19147 [BZ #14151]
19148 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19149 libc_cv_asm_global_directive with .globl.
19150 * configure: Regenerated.
19151 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19152 with .globl.
19153 * sysdeps/i386/configure: Regenerated.
19154 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19155 with .globl.
19156 * sysdeps/x86_64/configure: Regenerated.
19157 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19158 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19159 * elf/tst-unique2mod2.c: Likewise.
19160 * elf/tst-unique2mod1.c: Likewise.
19161 * elf/tst-unique1mod2.c: Likewise.
19162 * elf/tst-unique1mod1.c: Likewise.
19163 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19164 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19166 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19167 * sysdeps/mach/sysdep.h: Likewise.
19168 * sysdeps/i386/sysdep.h: Likewise.
19169 * sysdeps/i386/i386-mcount.S: Likewise.
19170 * sysdeps/x86_64/_mcount.S: Likewise.
19171 * sysdeps/x86_64/sysdep.h: Likewise.
19172 * sysdeps/sh/_mcount.S: Likewise.
19173 * sysdeps/sh/sysdep.h: Likewise.
19174 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19175 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19176 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19177 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19178 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19179 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19180 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19181 * locale/localeinfo.h: Likewise.
19182 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19183 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19184
6c55cda3
RM
191852012-07-09 Roland McGrath <roland@hack.frob.com>
19186
19187 [BZ #14336]
19188 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19189 system".
19190 * manual/message.texi (The Uniforum approach): Likewise.
19191 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19192 (glibc iconv Implementation): Likewise.
19193
638a572e
JM
191942012-07-09 Joseph Myers <joseph@codesourcery.com>
19195
19196 [BZ #14337]
19197 * math/s_clog.c (__clog): Avoid scaling a value down where that
19198 could result in underflow.
19199 * math/s_clog10.c (__clog10): Likewise.
19200 * math/s_clog10f.c (__clog10f): Likewise.
19201 * math/s_clog10l.c (__clog10l): Likewise.
19202 * math/s_clogf.c (__clogf): Likewise.
19203 * math/s_clogl.c (__clogl): Likewise.
19204 * math/libm-test.inc (clog_test): Add more tests.
19205 (clog10_test): Likewise.
19206 * sysdeps/i386/fpu/libm-test-ulps: Update.
19207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19208
261f4859
AS
192092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19210
0abaf3e4
AS
19211 [BZ #14283]
19212 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19213 by 7 not 8 to examine high bit of fractional part.
19214
261f4859
AS
19215 [BZ #14042]
19216 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19217 for call to __mcount_internal.
19218 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19219 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19220 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19221
f17ac40d
JM
192222012-07-06 Joseph Myers <joseph@codesourcery.com>
19223
9ad63c23
JM
19224 [BZ #14154]
19225 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19226 approximation for values within 0x1p-13f of an odd multiple of
19227 pi/4.
19228 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19229 exception. Add more tests.
19230 * sysdeps/i386/fpu/libm-test-ulps: Update.
19231
f17ac40d
JM
19232 [BZ #6778]
19233 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19234 inputs and return -1 for them. Do not check for +Inf in case not
19235 reachable for +Inf.
19236 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19237 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19238 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19239 and return -1 for them. Do not check for +Inf in case not
19240 reachable for +Inf.
19241 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19242 define.
19243 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19244 and return -1 for them. Do not check for +Inf in case not
19245 reachable for +Inf.
19246 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19247 spurious underflow.
19248 * sysdeps/i386/fpu/libm-test-ulps: Update.
19249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19250
fb21f89b
MF
192512012-07-06 Mike Frysinger <vapier@gentoo.org>
19252
19253 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19254
cdfe2c5e
JM
192552012-07-05 Joseph Myers <joseph@codesourcery.com>
19256
19257 [BZ #14157]
19258 [BZ #14331]
19259 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19260 could result in spurious underflow. Scale down values above
19261 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19262 * math/s_csqrtf.c (__csqrtf): Likewise.
19263 * math/s_csqrtl.c (__csqrtl): Likewise.
19264 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19265 spurious underflow.
19266 * sysdeps/i386/fpu/libm-test-ulps: Update.
19267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19268
70d35b67
AS
192692012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19270
704bc459
AS
19271 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19272 xopen-msg.sed.
19273 * catgets/xopen-msg.awk: New file.
19274 * catgets/xopen-msg.sed: Removed.
19275
70d35b67
AS
19276 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19277 po2text.sed.
19278 * intl/po2test.awk: New file.
19279 * intl/po2test.sed: Removed.
19280
ca61cf32
JM
192812012-07-04 Joseph Myers <joseph@codesourcery.com>
19282
19283 [BZ #14328]
19284 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19285 or multiply small sinh result by itself.
19286 * math/s_ctanf.c (__ctanf): Likewise.
19287 * math/s_ctanh.c (__ctanh): Likewise.
19288 * math/s_ctanhf.c (__ctanhf): Likewise.
19289 * math/s_ctanhl.c (__ctanhl): Likewise.
19290 * math/s_ctanl.c (__ctanl): Likewise.
19291 * math/libm-test.inc (ctan_test_tonearest): New function.
19292 (ctan_test_towardzero): Likewise.
19293 (ctan_test_downward): Likewise.
19294 (ctan_test_upward): Likewise.
19295 (ctanh_test_tonearest): Likewise.
19296 (ctanh_test_towardzero): Likewise.
19297 (ctanh_test_downward): Likewise.
19298 (ctanh_test_upward): Likewise.
19299 (main): Call these new functions.
19300 * sysdeps/i386/fpu/libm-test-ulps: Update.
19301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302
ca48a46a
MF
193032012-07-03 Mike Frysinger <vapier@gentoo.org>
19304
19305 * .gitignore: Delete /ports entry.
19306
9d63d37d
AJ
193072012-07-03 Andreas Jaeger <aj@suse.de>
19308
19309 * po/bg.po: Update from translation team.
19310 * po/cs.po: Likewise.
19311 * po/de.po: Likewise.
19312 * po/hr.po: Likewise.
19313 * po/nl.pl: Likewise.
19314 * po/pl.po: Likewise.
19315 * po/vi.po: Likewise.
19316
370ca3d2
JM
193172012-07-03 Joseph Myers <joseph@codesourcery.com>
19318
95f5a9a8
JM
19319 * Makeconfig [!+link] (+link-before-libc): New variable.
19320 [!+link] (+link-after-libc): Likewise.
19321 [!+link] (+link-tests): Likewise.
19322 [!+link] (+link): Define in terms of $(+link-before-libc) and
19323 $(+link-after-libc).
19324 [!+link-static] (+link-static-before-libc): New variable.
19325 [!+link-static] (+link-static-after-libc): Likewise.
19326 [!+link-static] (+link-static-tests): Likewise.
19327 [!+link-static] (+link-static): Define in terms of
19328 $(+link-static-before-libc) and $(+link-static-after-libc).
19329 [build-shared] (link-libc-before-gnulib): New variable.
19330 [build-shared] (link-libc-tests): Likewise.
19331 [build-shared] (link-libc): Define in terms of
19332 $(link-libc-before-gnulib).
19333 [!build-shared] (link-libc-tests): New variable.
19334 (link-libc-static-tests): New variable.
19335 [!gnulib] (gnulib-arch): New variable.
19336 [!gnulib] (gnulib-tests): Likewise.
19337 [!gnulib] (static-gnulib-arch): Likewise.
19338 [!gnulib] (static-gnulib-tests): Likewise.
19339 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19340 Define with "=" instead of ":=".
19341 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19342 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19343 * Rules (binaries-all-notests): New variable.
19344 (binaries-all-tests): Likewise.
19345 (binaries-static-notests): Likewise.
19346 (binaries-static-tests): Likewise.
19347 (binaries-all): Define using $(binaries-all-notests) and
19348 $(binaries-all-tests).
19349 (binaries-static): Define using $(binaries-static-notests) and
19350 $(binaries-static-tests).
19351 (binaries-shared-tests): New variable.
19352 (binaries-shared-notests): Likewise.
19353 (binaries-shared): Remove variable.
19354 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19355 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19356 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19357 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19358 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19359 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19360 * elf/Makefile (sln-modules): New variable.
19361 (extra-objs): Add $(sln-modules:=.o).
19362 (ldconfig-modules): Add static-stubs.
19363 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19364 * elf/static-stubs.c: New file.
19365
7a845b2c
JM
19366 [BZ #14283]
19367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19368 by 7 not 8 to examine high bit of fractional part. Use volatile
19369 variables when splitting into final array of floats if
19370 __FLT_EVAL_METHOD__ != 0.
19371 * math/libm-test.inc (cos_test): Add another test.
19372 (sin_test): Likewise.
19373 * sysdeps/i386/fpu/libm-test-ulps: Update.
19374
e2283f38
JM
19375 [BZ #14273]
19376 * math/libm-test.inc (cosh_test): Add more tests.
19377
370ca3d2
JM
19378 * version.h (RELEASE): Set to "development".
19379 (VERSION): Set to "2.16.90".
19380
ee9247c3
CD
193812012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19382
19383 * NEWS: Update copyright. Remove last-updated date.
19384 Mention math library bug fixes and timezone data changes.
19385 * README: Mention GNU/Hurd, x32, and HPPA support status.
19386
4648c381
TS
193872012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19388
19389 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19390
aac78a43
AJ
193912012-06-27 Andreas Jaeger <aj@suse.de>
19392
19393 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19394
ed3dbfad
AJ
193952012-06-25 Andreas Jaeger <aj@suse.de>
19396
19397 * sysdeps/s390/fpu/libm-test-ulps: Update.
19398
4d0ee855
AS
193992012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19400 Thomas Schwinge <thomas@codesourcery.com>
19401
19402 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19403 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19405 fanotify_mark.
19406
af1bce34
TS
194072012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19408
a9fa33ba
TS
19409 * sysdeps/mach/start.c: Remove file.
19410 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19411 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19412 * sysdeps/sh/init-first.c: Likewise.
19413
58f902b8
TS
19414 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19415 registers for frame unwinding purposes, add CFI directives.
19416 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19418 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19419 Likewise.
19420
1518f58b
TS
19421 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19422 __fortify_fail returning.
19423 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19424
db9b5059
TS
19425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19426 sysdeps/sh/____longjmp_chk.S.
19427 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19428 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19429 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19430 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19431
967705fe
TS
19432 * sysdeps/sh/abort-instr.h: New file.
19433 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19434 process in case exit returns.
19435
a9def8c4
TS
19436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19437 initialize the GOT register before use.
19438
2a649725
TS
19439 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19440 calculation of ARGC > 4.
19441
af1bce34
TS
19442 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19443 meaningful names to some local labels.
19444
d230f50a
KK
194452012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19446 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19447
19448 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19449 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19450 (__arch_compare_and_exchange_val_16_acq): Likewise.
19451 (__arch_compare_and_exchange_val_32_acq): Likewise.
19452 (atomic_exchange_and_add): Fix gUSA sequence.
19453 (atomic_add): Likewise.
19454 (atomic_add_negative): Likewise.
19455 (atomic_add_zero): Likewise.
19456 (atomic_bit_test_set): Likewise.
19457
0479b305
AS
194582012-06-22 Andreas Schwab <schwab@redhat.com>
19459
19460 [BZ #13579]
19461 * include/link.h (struct link_map): Add l_free_initfini.
19462 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19463 l_initfini.
19464 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19465 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19466 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19467 set.
19468
0e3933b9
CD
194692012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19470
19471 * configure.in: Use AC_LANG_SOURCE.
19472 * configure: Regenerate.
19473
4248b1b1
RM
194742012-06-22 Roland McGrath <roland@hack.frob.com>
19475
19476 * configure.in (libc_cv_localstatedir): New substituted variable.
19477 * configure: Regenerated.
19478 * config.make.in (localstatedir): New variable, substituted from
19479 libc_cv_localstatedir.
19480 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19481 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19482 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19483 * sysdeps/gnu/configure: Regenerated.
19484
006dd861
JL
194852012-06-21 Jeff Law <law@redhat.com>
19486
19487 [BZ #14277]
19488 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19489 free. Simplify list management for _LIBC case.
19490
79662d42
JM
194912012-06-21 Joseph Myers <joseph@codesourcery.com>
19492
b7abb4bf
JM
19493 [BZ #14273]
19494 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19495 Clear sign bit of 64-bit integer value before comparing against
19496 overflow value.
19497
79662d42
JM
19498 * sysdeps/mach/configure: Regenerated.
19499
1f150908
L
195002012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19501
19502 [BZ #14278]
19503 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19504
28363bbf
JL
195052012-06-21 Jeff Law <law@redhat.com>
19506
19507 [BZ #13882]
19508 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19509 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19511 * elf/dl-open.c (dl_open_worker): Likewise.
19512
09615db4
CD
195132012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19514
19515 * scripts/list-sources.sh: Scan PORTS for translations.
19516 * po/libc.pot: Regenerated.
19517
2174c6dd
AJ
195182012-06-21 Andreas Jaeger <aj@suse.de>
19519
19520 [BZ #12194]
19521 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19522 warning.
19523 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19524 * bits/byteswap-16.h (__bswap_16): Likewise.
19525 * bits/byteswap.h (__bswap_constant_16): Likewise.
19526
3ee947b1
L
195272012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19528
19529 [BZ #14117]
a2f34833
L
19530 * sysdeps/i386/fpu_control.h: Removed.
19531 * sysdeps/x86_64/fpu_control.h: Moved to ...
19532 * sysdeps/x86/fpu_control.h: Here.
19533
3ee947b1
L
19534 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19535 (_FPU_SETCW): Likewise.
19536
ed1825f8
L
195372012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19538
25f1282a
L
19539 [BZ #14117]
19540 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19541 * sysdeps/x86/fpu/bits/mathinline.h: This.
19542 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19543
ed1825f8
L
19544 [BZ #14050]
19545 [BZ #14117]
19546 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19547 functions if __x86_64__ is defined.
19548
36d54b74
CLT
195492012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19550
19551 * string/endian.h: Add !__ASSEMBLER__ condition for including
19552 conversion interfaces.
19553
10285c21
JM
195542012-06-15 Joseph Myers <joseph@codesourcery.com>
19555
19556 [BZ #14241]
19557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19558 of ABS(x) in calculating zero to negative powers other than odd
19559 integers.
19560 * math/libm-test.inc (pow_test): Add more tests.
19561
06c5abbd
AJ
195622012-06-15 Andreas Jaeger <aj@suse.de>
19563
19564 * manual/contrib.texi (Contributors): Update entry of Liubov
19565 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19566 Machado Filho.
19567
a3aeac40
CH
195682012-06-15 Cyril Hrubis <metan@ucw.cz>
19569
19570 * string/string.h: Add __wur to GNU version of strerror_r.
19571
49bdf4c1
L
195722012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 [BZ #14229]
19575 * string/Makefile (tests): Add tst-strtok_r.
19576 * string/tst-strtok_r.c: New file.
19577 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19578 RAX_LP/RDX_LP on SAVE_PTR.
19579
834f9b8d
RM
195802012-06-14 Roland McGrath <roland@hack.frob.com>
19581
19582 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19583
75fa1921
JM
195842012-06-14 Joseph Myers <joseph@codesourcery.com>
19585
19586 * libm_test.inc (csqrt_test): Allow more spurious underflow
19587 exceptions.
19588 (j0_test): Likewise.
19589 (j1_test): Likewise.
19590 (y0_test): Likewise.
19591 (y1_test): Likewise.
19592
771766df
CD
195932012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19594
19595 * po/Makefile (libc.pot): Use UTF-8 charset.
19596
ceb9e56b
PP
195972012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19598
19599 [BZ #14210]
19600 Suppress sign-conversion warning from FD_SET.
19601 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19602 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19603 not unsigned long int.
19604 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19605
ddb28975
L
196062012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19607
19608 [BZ #14050]
19609 [BZ #14117]
19610 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19611 __extern_always_inline instead of __extern_inline.
19612 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19613 (__signbit): Likewise.
19614 (__signbitl): Support C++ namespace.
19615 (lrintf): New inline function.
19616 (lrint): Likewise.
19617 (llrintf): Likewise.
19618 (llrint): Likewise.
19619 (fmaxf): Likewise.
19620 (fmax): Likewise.
19621 (fminf): Likewise.
19622 (fmin): Likewise.
19623 (rint): Likewise.
19624 (rintf): Likewise.
19625 (ceil): Likewise.
19626 (ceilf): Likewise.
19627 (floor): Likewise.
19628 (floorf): Likewise.
19629 (nearbyint): Likewise.
19630 (nearbyintf): Likewise.
19631
d7b4fb26
TS
196322012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19633
19634 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19635 non-default versions.
19636
eb55f5c2
RM
196372012-06-11 Roland McGrath <roland@hack.frob.com>
19638
19639 [BZ #14218]
19640 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19641
366af02c
TS
196422012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19643
99ff6e5c
TS
19644 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19645 (FE_UPWARD, FE_DOWNWARD): Don't define.
19646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19647 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19648
366af02c
TS
19649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19650 reading it.
19651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19653
793ea851
KK
196542012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19655
19656 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19658 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19660
a728a38f
L
196612012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 [BZ #14117]
c08010c7
L
19664 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19665 * sysdeps/i386/fpu/Implies: New file.
19666 * sysdeps/x86_64/fpu/Implies: Likewise.
19667 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19668 * sysdeps/x86/fpu/bits/fenv.h: This.
19669
a728a38f
L
19670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19671 __SSE_MATH__.
19672
6e230d11
SP
196732012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19674
19675 [BZ #14134]
19676 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19677 character 0xffff that matches the last element of the
19678 conversion table.
19679
1b671feb
AZ
196802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19681
19682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19683 fmodl commit.
19684
6043738b
AZ
196852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19686
19687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19688 values higher than 25.6283.
19689
34ae0b32
AZ
196902012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19691
19692 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19693 subnormal exponent extraction and add some __builtin_expect.
19694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19695 Fix for subnormal mantissa calculation.
19696
1214ec8f
MF
196972012-06-04 Mike Frysinger <vapier@gentoo.org>
19698
19699 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19700 cpu2 is -1 and errno is not ENOSYS.
19701
f3d1f93c
L
197022012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 [BZ #14117]
0e4a3cd7
L
19705 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19706 * sysdeps/x86/bits/string.h: This.
19707 * sysdeps/x86_64/bits/string.h: Removed.
19708
6704c645
L
19709 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19710 if not compiling for x86-64, but compiling for >= i486.
19711
48495318
L
19712 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19713 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19714
14adcbfc
L
19715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19716 New macro from Linux kernel 3.4.0.
19717 (FP_XSTATE_MAGIC2): Likewise.
19718 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19719 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19720 (struct _fpx_sw_bytes): New struct.
19721 (struct _xsave_hdr): Likewise.
19722 (struct _ymmh_state): Likewise.
19723 (struct _xstate): Likewise.
19724
68e408ab
L
19725 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19726 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19728 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19729 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19730 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19731
f3d1f93c
L
19732 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19733 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19734 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19735 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19736 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19737 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19738
d9dc34cd
TMQMF
197392012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19740
19741 [BZ #13743]
19742 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19743 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19744 (sysdep_headers): Include sys/platform/ppc.h.
19745 * sysdeps/powerpc/test-gettimebase.c: Test for
19746 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19747 * manual/Makefile (appendices): Include platform.texi.
19748 * manual/contrib.texi (Contributors): Update @node pointers.
19749 * manual/maint.texi (Maintenance): Likewise.
19750 (Platform): New node.
19751 * manual/platform.texi: New file. Document the new features.
19752
4af3879c
SP
197532012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19754 Jakub Jelinek <jakub@redhat.com>
19755
19756 [BZ #14188]
19757 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19758 where __builtin_expect is unavailable.
19759
2fd6ff13
DM
197602012-06-03 David S. Miller <davem@davemloft.net>
19761
19762 * stdlib/longlong.h: Updated from GCC.
19763
173f7220
AS
197642012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19765
19766 [BZ #14042]
19767 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19768 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19769 __mcount_internal.
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19771 (GLIBC_2.16): Likewise.
19772
f34a1c6f
L
197732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19776
88a4576f
JM
197772012-06-01 Joseph Myers <joseph@codesourcery.com>
19778
ea32bcdd
JM
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19780 (default-abi): New variable.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19782 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19783 variable.
19784 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19785 Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19787 Likewise.
19788 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19789 Likewise.
19790
88a4576f
JM
19791 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19792 definition. Document in comment.
19793
402fe938
DM
197942012-06-01 David S. Miller <davem@davemloft.net>
19795
19796 * stdlib/longlong.h: Updated from GCC.
19797
3553723f
L
197982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19799
19800 [BZ #14117]
3bd872c4
L
19801 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19802 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19803 sys/debugreg.h sys/io.h here.
19804 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19805 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19806 sys/io.h.
19807 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19808 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19809 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19810 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19811 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19812 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19813
3553723f
L
19814 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19815 Define only if __x86_64__ is defined.
19816
4842e4fe
JM
198172012-06-01 Joseph Myers <joseph@codesourcery.com>
19818
c5bfe3d5
JM
19819 [BZ #14048]
19820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19821 Use int64_t for variable i.
19822 * math/libm-test.inc (fmod_test): Add more tests.
19823
4842e4fe
JM
19824 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19825 z computation is not scheduled after fetestexcept.
19826 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19827 Use math_force_eval instead of asm to ensure calculation scheduled
19828 before exception test.
19829 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19830 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19831
efb73488
AJ
198322012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19833
19834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19835 computation is not scheduled after fetestexcept.
19836
29bcce7c
L
198372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 [BZ #14117]
19840 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19841 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19842
73a68f94
AZ
198432012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19844
19845 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19846 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19847
67b6df78
L
198482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19849
edf2933a 19850 [BZ #14117]
ebc64a18
L
19851 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19852 <bits/wordsize.h>.
19853 (__WCHAR_MIN): Support __WORDSIZE == 64.
19854 (__WCHAR_MAX): Likewise.
19855
edf2933a
L
19856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19857 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19858
57c6cf40
L
19859 [BZ #14183]
19860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19861 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19862
67b6df78 19863 [BZ #14117]
8eb6281e
L
19864 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19866
aac639f4
L
19867 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19868 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19869
67b6df78
L
19870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19871 Defined to 1 if __x86_64__ isn't defined.
19872 (_STAT_VER_LINUX_OLD): New.
19873 (st_atime): Remove duplicate.
19874 (st_mtime): Likewise.
19875 (st_ctime): Likewise.
19876
1c2cfe81
DM
198772012-05-31 David S. Miller <davem@davemloft.net>
19878
19879 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19880 entries.
19881
5be8418c
AS
198822012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19883
e7725326
AS
19884 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19885 gen-libm-test.pl.
19886
5be8418c
AS
19887 [BZ #14132]
19888 * elf/dl-reloc.c: Include <_itoa.h>.
19889 (_dl_reloc_bad_type): Remove use of INTUSE.
19890 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19891 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19892 * stdio-common/psiginfo.c (psiginfo): Likewise.
19893 * stdio-common/psignal.c (psignal): Likewise.
19894 * string/strsignal.c (strsignal): Likewise.
19895 * include/signal.h (_sys_siglist): Declare hidden proto.
19896 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19897 INTVARDEF with libc_hidden_data_def.
19898 * stdio-common/itoa-udigits.c: Likewise.
19899 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19900 (_itoa_lower_digits_internal): Remove declaration.
19901 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19902 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19903 (_sys_sigabbrev_internal): Remove aliases.
19904 (_sys_siglist): Define hidden alias.
19905
507352f1
MT
199062012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19907
19908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19909 bits/sysctl.h.
19910
42bbb1c3
L
199112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19912
19913 [BZ #14117]
6bd784b6
L
19914 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19915 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19916
8bca20f0
L
19917 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19918 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19919 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19920 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19922 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19923
f9e890a9
L
19924 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19926 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19927
471101a1
L
19928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19929 with __addr.
19930 (insw): Likewise.
19931 (insl): Likewise.
19932 (outsb): Likewise.
19933 (outsw): Likewise.
19934 (outsl): Likewise.
19935
6451c862
L
19936 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19938 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19939
a254b8c9
L
19940 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19941 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19943 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19944 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19945 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19946
b8dfdd92
L
19947 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19948 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19949
578cd270
L
19950 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19951 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19952
de662f5f
L
19953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19954 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19956
25653439
L
19957 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19958 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19959 to ...
19960 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19961
6bad24a0
L
19962 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19963 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19964 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19965
42bbb1c3
L
19966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19967 for x86-64.
19968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19969
2d10d547
JM
199702012-05-31 Joseph Myers <joseph@codesourcery.com>
19971
19972 * math/math.h (M_El): Use two more decimal places.
19973 (M_LOG2El): Likewise.
19974 (M_LOG10El): Likewise.
19975 (M_LN2l): Likewise.
19976 (M_LN10l): Likewise.
19977 (M_PIl): Likewise.
19978 (M_PI_2l): Likewise.
19979 (M_PI_4l): Likewise.
19980 (M_1_PIl): Likewise.
19981 (M_2_PIl): Likewise.
19982 (M_2_SQRTPIl): Likewise.
19983 (M_SQRT2l): Likewise.
19984 (M_SQRT1_2l): Likewise.
19985
f230c29b
DM
199862012-05-31 David S. Miller <davem@davemloft.net>
19987
19988 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19989 values between float registers.
19990 * sysdeps/sparc/sparc64/memset.S: Likewise.
19991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19992
fed806c3
MF
199932012-05-31 Mike Frysinger <vapier@gentoo.org>
19994
19995 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19996 -D_FORTIFY_SOURCE=1.
19997 (CPPFLAGS-tst-longjmp_chk.c): Define.
19998 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19999 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20000 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20001 CFLAGS-tst-wchar-h.c.
20002
30917259
MP
200032012-05-31 Marek Polacek <polacek@redhat.com>
20004
20005 [BZ #14132]
20006 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20007 __endmntent_internal): Remove declaration.
20008 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20009 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20010 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20011
1c58d5dc
DM
200122012-05-30 David S. Miller <davem@davemloft.net>
20013
20014 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20015 (___Q_simulate_exceptions): Use real FP ops rather than writing
20016 into the %fsr.
20017 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20018 Likewise.
20019
7dc00e0d
L
200202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20021
20022 [BZ #14117]
0bd53985
L
20023 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20024 * sysdeps/x86/bits/xtitypes.h: This.
20025
3a257e66
L
20026 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20027 * sysdeps/x86/bits/wordsize.h: This.
20028
62f62904
L
20029 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20030 * sysdeps/x86/bits/huge_vall.h: This.
20031
404fe9d9
L
20032 * sysdeps/i386/bits/select.h: Removed.
20033 * sysdeps/x86_64/bits/select.h: Renamed to ...
20034 * sysdeps/x86/bits/select.h: This.
20035
d48d0446
L
20036 * sysdeps/i386/bits/setjmp.h: Removed.
20037 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20038 * sysdeps/x86/bits/setjmp.h: This.
20039
7dc00e0d
L
20040 * sysdeps/i386/bits/mathdef.h: Removed.
20041 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20042 * sysdeps/x86/bits/mathdef.h: This.
20043
03277f8f
AS
200442012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20045
20046 [BZ #14132]
20047 * include/sys/socket.h (__connect_internal)
20048 (__libc_sa_len_internal): Remove declaration.
20049 (__connect, __libc_sa_len): Declare hidden_proto.
20050 (SA_LEN): Remove use of INTUSE.
20051 * socket/connect.c: Add libc_hidden_def.
20052 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20053 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20054 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20055 alias.
20056 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20057 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20058 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20059 of adding _internal alias.
20060
13764867
L
200612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20062
20063 [BZ #14117]
6bd97696
L
20064 * sysdeps/i386/bits/link.h: Removed.
20065 * sysdeps/i386/bits/linkmap.h: Likewise.
20066 * sysdeps/x86_64/bits/link.h: Renamed to ...
20067 * sysdeps/x86/bits/link.h: This.
20068 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20069 * sysdeps/x86/bits/linkmap.h: This.
20070
f726f0bb
L
20071 * sysdeps/i386/bits/endian.h: Removed.
20072 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20073 * sysdeps/x86/bits/endian.h: This.
20074
13764867
L
20075 * sysdeps/i386/bits/byteswap.h: Removed.
20076 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20077 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20078 * sysdeps/x86/bits/byteswap.h: This.
20079 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20080 * sysdeps/x86/bits/byteswap-16.h: This.
20081 * sysdeps/i386/Implies: Add x86.
20082 * sysdeps/x86_64/Implies: Likewise.
20083
ae251b0b
DM
200842012-05-30 David S. Miller <davem@davemloft.net>
20085
20086 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20087 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20088 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20089 (FP_TRAPPING_EXCEPTIONS): Define.
20090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20091 (FP_TRAPPING_EXCEPTIONS): Define.
20092 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20093 subnormals only when inexact has been signalled or underflow
20094 exceptions are enabled.
20095 (_FP_PACK_CANONICAL): Likewise.
20096
d5c90867
L
200972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20098
20099 [BZ #14183]
20100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20101 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20102
63f1549e
RH
201032012-05-30 Richard Henderson <rth@twiddle.net>
20104
8d8f2279
RH
20105 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20106 with #ifndef NOT_IN_libc.
20107
63f1549e
RH
20108 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20109 marked to avoid plt entry.
20110
0ab0291b
L
201112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20112
20113 [BZ #14112]
20114 * Makeconfig (default-abi): New macro.
20115 (abi-includes): Likewise.
20116 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20117 $(abi-$(default-abi)-lib-soname) for soname if defined.
20118 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20119 abi-variants.
20120 * Makefile (installed-stubs): Likewise.
20121 * include/stubs-biarch.h: Removed.
20122 * scripts/lib-names.awk: Only handle one library at a time.
20123 * scripts/soversions.awk: Remove WORDSIZE support.
20124 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20125 entries.
20126 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20127 Removed.
20128 (syscall-list-default-condition): Likewise.
20129 (syscall-list-default-condition): Likewise.
20130 (syscall-list-includes): Likewise.
20131 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20132 syscall-list-* with abi-*. Handle undefined abi-variants.
20133 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20134 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20135 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20136 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20137 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20138 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20139 Removed.
20140 (syscall-list-32-options): Likewise.
20141 (syscall-list-32-condition): Likewise.
20142 (syscall-list-64-options): Likewise.
20143 (syscall-list-64-condition): Likewise.
20144 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20145 macro.
20146 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20147 Renamed to ...
20148 (abi-*): This.
20149 (abi-64-ld-soname): New macro.
20150 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20151 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20152 Renamed to ...
20153 (abi-*): This.
20154 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20155 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20156
4da0431d
JM
201572012-05-30 Joseph Myers <joseph@codesourcery.com>
20158
3a85279c
JM
20159 * sysdeps/unix/sysv/linux/kernel-features.h
20160 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20161 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20162 include <kernel-features.h>.
20163 [!__NR_ftruncate64]: Remove conditional code.
20164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20165 [__NR_ftruncate64]: Make code unconditional.
20166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20167 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20168 include <kernel-features.h>.
20169 [!__NR_ftruncate64]: Remove conditional code.
20170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20171 [__NR_ftruncate64]: Make code unconditional.
20172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20174 include <kernel-features.h>.
20175 [!__NR_ftruncate64]: Remove conditional code.
20176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20177 [__NR_ftruncate64]: Make code unconditional.
20178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20180 include <kernel-features.h>.
20181 [!__NR_ftruncate64]: Remove conditional code.
20182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20183 [__NR_ftruncate64]: Make code unconditional.
20184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20185
4da0431d
JM
20186 * configure.in (libc_cv_fpie): Weaken to a compile test using
20187 LIBC_TRY_CC_OPTION.
20188 * configure: Regenerated.
20189
11ef492c
AK
201902012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20191
20192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20196 Refreshed.
20197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20203 Refreshed.
20204
d66ef399
DM
202052012-05-27 David S. Miller <davem@davemloft.net>
20206
20207 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20208 (___Q_zero): New.
20209 (__Q_simulate_exceptions): Return void. Change to simulate
20210 exceptions by writing into the %fsr.
20211 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20212 (__Qp_handle_exceptions): Likewise.
20213 (numbers): Delete.
20214 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20215 __Qp_handle_exceptions.
20216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20217 __Qp_handle_exceptions.
20218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20219 as unused and give dummy FP_RND_NEAREST initializer.
20220 (FP_INHIBIT_RESULTS): Define.
20221 (___Q_simulate_exceptions): Update declaration.
20222 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20223 formatting.
20224 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20225 as unused and give dummy FP_RND_NEAREST initializer.
20226 (__Qp_handle_exceptions): Update declaration.
20227 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20228 formatting.
20229
04fb54b5
TS
202302012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20231
20232 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20233 the temporary FPU control word.
20234 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20235 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20238 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20239 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20240 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20242 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20243 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20245
3f99608f
KK
202462012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20247
20248 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20249 fields.
20250
65a4de4e
CLT
202512012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20252
20253 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20254 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20255 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20256 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20257 Likewise.
20258 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20259 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20260 Likewise.
20261
15749d40
UD
202622012-05-27 Ulrich Drepper <drepper@gmail.com>
20263
20264 * po/h.po: Update from translation team.
20265
25dbcb27
AS
202662012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20267
3d3f8e55
AS
20268 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20269
25dbcb27
AS
20270 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20271 handling of denormals.
20272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20273 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20274 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20275 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20279 Likewise.
20280
7ad47a80 202812012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20282
20283 [BZ #14152]
20284 * math/libm-test.inc (fma_test): Don't always expect underflow
20285 exception.
20286
9c6ea9fa
SP
202872012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20288
20289 [BZ #12416]
20290 * elf/tst-execstack.c: Include stackinfo.h.
20291 (do_test): Adjust test case to ensure that pthread_getattr_np
20292 behaviour remains the same after marking stack executable.
20293
a8239222
JM
202942012-05-25 Joseph Myers <joseph@codesourcery.com>
20295
20296 * sysdeps/unix/sysv/linux/kernel-features.h
20297 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20298 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20299 kernel-features.h.
20300 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20301 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20302 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20303 kernel-features.h.
20304 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20305 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20306
918b5606
L
203072012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20308
20309 * configure.in: Define the default includes to being none.
20310 * configure: Regenerated.
20311
3a097cc7
RM
203122012-05-25 Roland McGrath <roland@hack.frob.com>
20313
8422c9a5
RM
20314 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20315 * sysdeps/x86_64/setjmp.S: Likewise.
20316 * sysdeps/i386/bsd-setjmp.S: Likewise.
20317 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20318 * sysdeps/i386/setjmp.S: Likewise.
20319 * sysdeps/i386/__longjmp.S: Likewise.
20320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20321 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20322
3a097cc7
RM
20323 * include/stap-probe.h: New file.
20324 * configure.in: Handle --enable-systemtap.
20325 * configure: Regenerated.
20326 * config.h.in (USE_STAP_PROBE): New #undef.
20327 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20328 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20329 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20330
21708942
JM
203312012-05-25 Joseph Myers <joseph@codesourcery.com>
20332
20333 [BZ #13717]
20334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20335 to 2.4.0 where earlier.
20336 * sysdeps/unix/sysv/linux/configure: Regenerated.
20337 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20338 <kernel-features.h>.
20339 [__ASSUME_32BITUIDS]: Make code unconditional.
20340 [!__ASSUME_32BITUIDS]: Remove conditional code.
20341 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20342 <kernel-features.h>.
20343 [__ASSUME_32BITUIDS]: Make code unconditional.
20344 [!__ASSUME_32BITUIDS]: Remove conditional code.
20345 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20346 [__ASSUME_32BITUIDS]: Make code unconditional.
20347 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20348 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20349 <kernel-features.h>.
20350 [__ASSUME_32BITUIDS]: Make code unconditional.
20351 [!__ASSUME_32BITUIDS]: Remove conditional code.
20352 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20353 <kernel-features.h>.
20354 [__ASSUME_32BITUIDS]: Make code unconditional.
20355 [!__ASSUME_32BITUIDS]: Remove conditional code.
20356 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20357 <kernel-features.h>.
20358 [__ASSUME_32BITUIDS]: Make code unconditional.
20359 [!__ASSUME_32BITUIDS]: Remove conditional code.
20360 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20361 <kernel-features.h>.
20362 [__ASSUME_32BITUIDS]: Make code unconditional.
20363 [!__ASSUME_32BITUIDS]: Remove conditional code.
20364 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20365 <kernel-features.h>.
20366 [__ASSUME_32BITUIDS]: Make code unconditional.
20367 [!__ASSUME_32BITUIDS]: Remove conditional code.
20368 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20369 <kernel-features.h>.
20370 [__ASSUME_32BITUIDS]: Make code unconditional.
20371 [!__ASSUME_32BITUIDS]: Remove conditional code.
20372 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20373 <kernel-features.h>.
20374 [__ASSUME_32BITUIDS]: Make code unconditional.
20375 [!__ASSUME_32BITUIDS]: Remove conditional code.
20376 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20377 <kernel-features.h>.
20378 [__ASSUME_32BITUIDS]: Make code unconditional.
20379 [!__ASSUME_32BITUIDS]: Remove conditional code.
20380 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20381 <kernel-features.h>.
20382 [__ASSUME_32BITUIDS]: Make code unconditional.
20383 [!__ASSUME_32BITUIDS]: Remove conditional code.
20384 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20385 <kernel-features.h>.
20386 [__ASSUME_32BITUIDS]: Make code unconditional.
20387 [!__ASSUME_32BITUIDS]: Remove conditional code.
20388 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20389 <kernel-features.h>.
20390 [__NR_setresgid] (__setresgid): Do not declare.
20391 [__ASSUME_32BITUIDS]: Make code unconditional.
20392 [!__ASSUME_32BITUIDS]: Remove conditional code.
20393 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20394 <kernel-features.h>.
20395 [__NR_setresuid] (__setresuid): Do not declare.
20396 [__ASSUME_32BITUIDS]: Make code unconditional.
20397 [!__ASSUME_32BITUIDS]: Remove conditional code.
20398 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20399 <kernel-features.h>.
20400 [__ASSUME_32BITUIDS]: Make code unconditional.
20401 [!__ASSUME_32BITUIDS]: Remove conditional code.
20402 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20403 <kernel-features.h>.
20404 [__ASSUME_32BITUIDS]: Make code unconditional.
20405 [!__ASSUME_32BITUIDS]: Remove conditional code.
20406 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20407 <kernel-features.h>.
20408 [__ASSUME_32BITUIDS]: Make code unconditional.
20409 [!__ASSUME_32BITUIDS]: Remove conditional code.
20410 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20411 <kernel-features.h>.
20412 [__ASSUME_32BITUIDS]: Make code unconditional.
20413 [!__ASSUME_32BITUIDS]: Remove conditional code.
20414 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20415 <kernel-features.h>.
20416 [__ASSUME_32BITUIDS]: Make code unconditional.
20417 [!__ASSUME_32BITUIDS]: Remove conditional code.
20418 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20419 <kernel-features.h>.
20420 [__ASSUME_32BITUIDS]: Make code unconditional.
20421 [!__ASSUME_32BITUIDS]: Remove conditional code.
20422 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20423 <kernel-features.h>.
20424 [__ASSUME_32BITUIDS]: Make code unconditional.
20425 [!__ASSUME_32BITUIDS]: Remove conditional code.
20426 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20427 <kernel-features.h>.
20428 [__ASSUME_32BITUIDS]: Make code unconditional.
20429 [!__ASSUME_32BITUIDS]: Remove conditional code.
20430 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20431 <kernel-features.h>.
20432 [__ASSUME_32BITUIDS]: Make code unconditional.
20433 [!__ASSUME_32BITUIDS]: Remove conditional code.
20434 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20435 <kernel-features.h>.
20436 [__ASSUME_32BITUIDS]: Make code unconditional.
20437 [!__ASSUME_32BITUIDS]: Remove conditional code.
20438 * sysdeps/unix/sysv/linux/kernel-features.h
20439 (__ASSUME_SETRESUID_SYSCALL): Remove.
20440 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20441 (__ASSUME_32BITUIDS): Likewise.
20442 (__ASSUME_LDT_WORKS): Likewise.
20443 (__ASSUME_O_DIRECTORY): Likewise.
20444 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20445 architecture but not kernel version.
20446 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20447 (__ASSUME_MMAP2_SYSCALL): Likewise.
20448 (__ASSUME_STAT64_SYSCALL): Likewise.
20449 (__ASSUME_IPC64): Likewise.
20450 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20451 <kernel-features.h>.
20452 [__ASSUME_32BITUIDS]: Make code unconditional.
20453 [!__ASSUME_32BITUIDS]: Remove conditional code.
20454 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20455 <kernel-features.h>.
20456 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20457 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20458 132096]: Remove conditional code.
20459 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20460 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20461 <kernel-features.h>.
20462 [__ASSUME_32BITUIDS]: Make code unconditional.
20463 [!__ASSUME_32BITUIDS]: Remove conditional code.
20464 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20465 <kernel-features.h>.
20466 [__ASSUME_32BITUIDS]: Make code unconditional.
20467 [!__ASSUME_32BITUIDS]: Remove conditional code.
20468 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20469 <kernel-features.h>.
20470 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20471 unconditional.
20472 (__setresgid): Do not declare.
20473 [__ASSUME_32BITUIDS]: Make code unconditional.
20474 [!__ASSUME_32BITUIDS]: Remove conditional code.
20475 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20476 <kernel-features.h>.
20477 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20478 unconditional.
20479 (__setresuid): Do not declare.
20480 [__ASSUME_32BITUIDS]: Make code unconditional.
20481 [!__ASSUME_32BITUIDS]: Remove conditional code.
20482 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20483 <kernel-features.h>.
20484 [__ASSUME_32BITUIDS]: Make code unconditional.
20485 [!__ASSUME_32BITUIDS]: Remove conditional code.
20486 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20487 <kernel-features.h>.
20488 [__ASSUME_32BITUIDS]: Make code unconditional.
20489 [!__ASSUME_32BITUIDS]: Remove conditional code.
20490
a386f1cc
RH
204912012-05-25 Richard Henderson <rth@twiddle.net>
20492
20493 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20494 dl_hwcap to ifunc resolver.
20495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20496 elf_ifunc_invoke.
20497 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20498 dl_hwcap to ifunc resolver.
20499 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20500
b6550497
JM
205012012-05-24 Joseph Myers <joseph@codesourcery.com>
20502
20503 [BZ #14153]
20504 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20505 for |x| <= 2**-26, not 2**-57.
20506 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20507 exception.
20508
b0bc23a1
JL
205092012-05-24 Jeff Law <law@redhat.com>
20510
20511 * stdio-common/Makefile (tests): Add bug25.
20512 * stdio-common/bug25.c: New test.
20513
347c92e9
L
205142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20515
20516 [BZ #13576]
20517 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20518 multiple of MALLOC_ALIGNMENT in size.
20519 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20520
6bcc8b3f
JM
205212012-05-24 Joseph Myers <joseph@codesourcery.com>
20522
20523 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20524 Require >= 256.
20525 (FILENAME_MAX): Use macro-int-constant.
20526 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20527 (_IOFBF): Use macro-int-constant.
20528 (_IOLBF): Likewise.
20529 (_IONBF): Likewise.
20530 (SEEK_CUR): Likewise.
20531 (SEEK_END): Likewise.
20532 (SEEK_SET): Likewise.
20533 (TMP_MAX): Likewise.
20534 (EOF): Use macro-int-constant. Require < 0.
20535 (NULL): Use macro-constant. Require == 0.
20536 (stdin): Require type to be FILE *.
20537 (stdout): Likewise.
20538 (stderr): Likewise.
20539 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20540 macro-int-constant.
20541 (EXIT_SUCCESS): Likewise.
20542 (NULL): Use macro-constant. Require == 0.
20543 (RAND_MAX): Use macro-int-constant.
20544 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20545 [C99-based standards] (strtof): Require function.
20546 [C99-based standards] (strtold): Likewise.
20547 [C99-based standards] (strtoll): Likewise.
20548 [C99-based standards] (strtoull): Likewise.
20549 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20550 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20551 [ISO || ISO99 || ISO11] (math.h): Likewise.
20552 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20553 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20555
d18ea0c5
AS
205562012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20557
20558 [BZ #14132]
56d25bb8
AS
20559 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20560 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20561 * intl/dgettext.c (DCGETTEXT): Likewise.
20562 * intl/gettext.c (DCGETTEXT): Likewise.
20563 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20564 * posix/regex_internal.h (gettext): Likewise.
20565 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20566 Remove declaration.
20567 * include/argz.h (__argz_count_internal)
20568 (__argz_stringify_internal): Remove declaration.
20569 (__argz_count, __argz_stringify): Declare hidden proto.
20570 * intl/dcgettext.c: Remove use of INTDEF.
20571 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20572 * string/argz-stringify.c: Likewise.
20573 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20574 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20575 Declare hidden proto.
d18ea0c5
AS
20576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20578 Declare hidden proto.
20579 * include/stdio.h (__asprintf_internal): Don't declare.
20580 (__asprintf): Don't define as macro. Declare hidden proto.
20581 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20582 (__fsetlocking): Declare hidden proto.
20583 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20584 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20585 hidden proto.
20586 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20587 (_IO_setlinebuf): Remove use of INTUSE.
20588 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20589 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20590 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20591 Remove declaration.
20592 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20593 (_IO_do_flush): Remove use of INTUSE.
20594 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20595 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20596 (_IO_adjust_column, _IO_least_wmarker)
20597 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20598 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20599 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20600 (_IO_default_doallocate, _IO_wdefault_doallocate)
20601 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20602 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20603 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20604 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20605 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20606 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20607 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20608 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20609 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20610 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20611 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20612 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20613 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20614 proto.
20615 (_IO_flush_all_internal, _IO_adjust_column_internal)
20616 (_IO_default_uflow_internal, _IO_default_finish_internal)
20617 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20618 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20619 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20620 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20621 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20622 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20623 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20624 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20625 (_IO_file_close_internal, _IO_file_close_it_internal)
20626 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20627 (_IO_file_init_internal, _IO_file_attach_internal)
20628 (_IO_file_fopen_internal, _IO_file_read_internal)
20629 (_IO_file_sync_internal, _IO_file_seek_internal)
20630 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20631 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20632 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20633 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20634 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20635 (_IO_list_all_internal, _IO_link_in_internal)
20636 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20637 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20638 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20639 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20640 (_IO_do_write_internal, _IO_padn_internal)
20641 (_IO_getline_info_internal, _IO_getline_internal)
20642 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20643 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20644 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20645 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20646 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20647 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20648 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20649 with libc_hidden_ver, remove use of INTUSE.
20650 * libio/genops.c: Likewise.
20651 * libio/freopen.c: Likewise.
20652 * libio/freopen64.c: Likewise.
20653 * libio/iofclose.c: Likewise.
20654 * libio/iofdopen.c: Likewise.
20655 * libio/iofflush.c: Likewise.
20656 * libio/iofflush_u.c: Likewise.
20657 * libio/iofgets.c: Likewise.
20658 * libio/iofgets_u.c: Likewise.
20659 * libio/iofopen.c: Likewise.
20660 * libio/iofopncook.c: Likewise.
20661 * libio/iofread.c: Likewise.
20662 * libio/iofread_u.c: Likewise.
20663 * libio/ioftell.c: Likewise.
20664 * libio/iofwrite.c: Likewise.
20665 * libio/iogetline.c: Likewise.
20666 * libio/iogets.c: Likewise.
20667 * libio/iogetwline.c: Likewise.
20668 * libio/iopadn.c: Likewise.
20669 * libio/iopopen.c: Likewise.
20670 * libio/ioseekoff.c: Likewise.
20671 * libio/ioseekpos.c: Likewise.
20672 * libio/iosetbuffer.c: Likewise.
20673 * libio/iosetvbuf.c: Likewise.
20674 * libio/ioungetc.c: Likewise.
20675 * libio/ioungetwc.c: Likewise.
20676 * libio/iovdprintf.c: Likewise.
20677 * libio/iovsprintf.c: Likewise.
20678 * libio/iovsscanf.c: Likewise.
20679 * libio/memstream.c: Likewise.
20680 * libio/obprintf.c: Likewise.
20681 * libio/oldfileops.c: Likewise.
20682 * libio/oldiofclose.c: Likewise.
20683 * libio/oldiofdopen.c: Likewise.
20684 * libio/oldiofopen.c: Likewise.
20685 * libio/oldiopopen.c: Likewise.
20686 * libio/oldstdfiles.c: Likewise.
20687 * libio/putc.c: Likewise.
20688 * libio/setbuf.c: Likewise.
20689 * libio/setlinebuf.c: Likewise.
20690 * libio/stdfiles.c: Likewise.
20691 * libio/strops.c: Likewise.
20692 * libio/vasprintf.c: Likewise.
20693 * libio/vscanf.c: Likewise.
20694 * libio/vsnprintf.c: Likewise.
20695 * libio/vswprintf.c: Likewise.
20696 * libio/wfiledoalloc.c: Likewise.
20697 * libio/wfileops.c: Likewise.
20698 * libio/wgenops.c: Likewise.
20699 * libio/wmemstream.c: Likewise.
20700 * libio/wstrops.c: Likewise.
20701 * libio/__fpurge.c: Likewise.
20702 * libio/__fsetlocking.c: Likewise.
20703 * assert/assert.c: Likewise.
20704 * debug/fgets_chk.c: Likewise.
20705 * debug/fgets_u_chk.c: Likewise.
20706 * debug/fread_chk.c: Likewise.
20707 * debug/fread_u_chk.c: Likewise.
20708 * debug/gets_chk.c: Likewise.
20709 * debug/obprintf_chk.c: Likewise.
20710 * debug/vasprintf_chk.c: Likewise.
20711 * debug/vdprintf_chk.c: Likewise.
20712 * debug/vsnprintf_chk.c: Likewise.
20713 * debug/vsprintf_chk.c: Likewise.
20714 * malloc/mtrace.c: Likewise.
20715 * misc/error.c: Likewise.
20716 * misc/syslog.c: Likewise.
20717 * stdio-common/asprintf.c: Likewise.
20718 * stdio-common/fxprintf.c: Likewise.
20719 * stdio-common/getw.c: Likewise.
20720 * stdio-common/isoc99_fscanf.c: Likewise.
20721 * stdio-common/isoc99_scanf.c: Likewise.
20722 * stdio-common/isoc99_vfscanf.c: Likewise.
20723 * stdio-common/isoc99_vscanf.c: Likewise.
20724 * stdio-common/isoc99_vsscanf.c: Likewise.
20725 * stdio-common/printf-prs.c: Likewise.
20726 * stdio-common/printf_fp.c: Likewise.
20727 * stdio-common/printf_fphex.c: Likewise.
20728 * stdio-common/printf_size.c: Likewise.
20729 * stdio-common/putw.c: Likewise.
20730 * stdio-common/scanf.c: Likewise.
20731 * stdio-common/sprintf.c: Likewise.
20732 * stdio-common/tmpfile.c: Likewise.
20733 * stdio-common/vfprintf.c: Likewise.
20734 * stdio-common/vfscanf.c: Likewise.
20735 * stdlib/strfmon_l.c: Likewise.
20736 * sunrpc/openchild.c: Likewise.
20737 * sunrpc/xdr_stdio.c: Likewise.
20738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20739 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20740
d6c33fda
RM
207412012-05-24 Roland McGrath <roland@hack.frob.com>
20742
c1487492
RM
20743 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20744
20745 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20746 in the third column, to generate for the shared library an IFUNC
20747 that uses _dl_vdso_vsym.
20748 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20749 * Makeconfig (object-suffixes-noshared): New variable.
20750
20751 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20752 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20753 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20754 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20755
d6c33fda
RM
20756 [BZ #14132]
20757 * include/sys/time.h (__gettimeofday): Remove macro.
20758 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20759 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20760 Remove INTDEF.
20761 (__gettimeofday): Add libc_hidden_def.
20762 (gettimeofday): Add libc_hidden_weak.
20763 * sysdeps/mach/gettimeofday.c: Likewise.
20764 * sysdeps/posix/gettimeofday.c: Likewise.
20765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20766 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20768 (__gettimeofday_internal): Remove strong_alias.
20769 (__gettimeofday): Add libc_hidden_def.
20770 (gettimeofday): Add libc_hidden_weak.
20771 * sysdeps/unix/syscalls.list (gettimeofday):
20772 Remove __gettimeofday_internal alias.
20773
b5a2bbe6
L
207742012-05-24 Daniel Jacobowitz <drow@false.org>
20775 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 [BZ #12495]
20778 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20779 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20780 (largebin_index_32_big): New.
20781 (largebin_index): Use it for 16-byte alignment.
20782 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20783 correction with front_misalign.
20784
cfba4fda
L
207852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20786
7f907421
L
20787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20789 Likewise.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20791 Likewise.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20793 Likewise.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20795 Likewise.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20797 Likewise.
20798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20799 Likewise.
20800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20801 Likewise.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20803 Likewise.
20804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20805 Likewise.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20807 Likewise.
20808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20809 Likewise.
20810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20811 Likewise.
20812
cfba4fda
L
20813 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20814 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20815
80bad0cc
JM
208162012-05-24 Joseph Myers <joseph@codesourcery.com>
20817
7a25eb06
JM
20818 [BZ #10846]
20819 [BZ #14036]
20820 * math/libm-test.inc (exp_test): Add test from bug 14036.
20821 (pow_test): Add test from bug 10846.
20822
795405f9
JM
20823 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20824 and other flags.
20825 (special_function): Do not include flags in test name.
20826 (parse_args): Likewise.
20827 * sysdeps/i386/fpu/libm-test-ulps: Update.
20828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20832
80bad0cc
JM
20833 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20834 exceptions.
20835 * math/libm-test.inc ("Philosophy"): Update comment about
20836 exception testing.
20837 (UNDERFLOW_EXCEPTION): New macro.
20838 (UNDERFLOW_EXCEPTION_OK): Likewise.
20839 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20840 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20841 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20842 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20843 (INVALID_EXCEPTION_OK): Update value.
20844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20845 (OVERFLOW_EXCEPTION_OK): Likewise.
20846 (IGNORE_ZERO_INF_SIGN): Likewise.
20847 (test_exceptions): Handle underflow exceptions.
20848 (acos_test): Update for underflow exception expectations.
20849 (cexp_test): Likewise.
20850 (clog_test): Likewise.
20851 (clog10_test): Likewise.
20852 (csqrt_test): Likewise.
20853 (ctan_test): Likewise.
20854 (ctanh_test): Likewise.
20855 (exp_test): Likewise.
20856 (exp10_test): Likewise.
20857 (exp2_test): Likewise.
20858 (expm1_test): Likewise.
20859 (fma_test): Likewise.
20860 (j0_test): Likewise.
20861 (jn_test): Likewise.
20862 (nexttoward_test): Likewise.
20863 (pow_test): Likewise.
20864 (scalbn_test): Likewise.
20865 (scalbln_test): Likewise.
20866 (tan_test): Likewise.
20867 (y1_test): Likewise.
20868 * sysdeps/i386/fpu/libm-test-ulps: Update.
20869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20870
9e0e3d0b
DM
208712012-05-23 David S. Miller <davem@davemloft.net>
20872
20873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20874 (__libc_sigaction): Remove unused local variables.
20875
ccd0a08f
L
208762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20879
62bdf9a6
PE
208802012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20881
f8591f80
PE
20882 mktime: avoid signed integer overflow
20883 * time/mktime.c (__mktime_internal): Do not mishandle the case
20884 where diff == INT_MIN.
20885
94c7d826
PE
20886 mktime: simplify computation of average
20887 * time/mktime.c (ranged_convert): Use new time_t_avg function
20888 instead of rolling our own (probably-slower) code.
20889
ce73d683
PE
20890 mktime: do not assume signed right shift propagates sign bit
20891 * time/mktime.c (isdst_differ): New static function.
20892 (__mktime_internal): No need to normalize tm_isdst now.
20893 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20894 tm_isdst values.
20895
72a22e59
PE
20896 mktime: merge another wrapv change from gnulib
20897 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20898 from some compilers.
20899
68605433
PE
20900 mktime: remove incorrect attempt at unusual arithmetics
20901 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20902 The code didn't really work on such machines anyway.
20903 (TYPE_MINIMUM): Assume two's complement.
20904 (twos_complement_arithmetic): Verify that long_int and time_t
20905 are two's complement (or unsigned, in the latter case).
20906
03cf7fe3
PE
20907 mktime: check signed shifts on long_int and time_t, too
20908 * time/mktime.c (SHR): Check that shifts work as desired
20909 on the types long_int and time_t too, as SHR is used on
20910 such types.
20911
f04dfbc2
PE
20912 mktime: do not assume 'long' is wide enough
20913 * time/mktime.c (verify): Move decl up.
20914 (long_int): New type.
20915 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20916 to remove assumption in the code that 'long' is wide enough to
20917 store year values. This assumption is not true on x32 and on
20918 some non-glibc platforms.
20919
62bdf9a6
PE
20920 mktime: merge wrapv change from gnulib
20921 * time/mktime.c (WRAPV): New macro.
20922 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20923 (guess_time_tm, __mktime_internal): Do not assume that signed
20924 integer overflow wraps around; modern compilers generate code
20925 where this assumption is no longer valid.
20926
5e292e4f
L
209272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20928
20929 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20930 Replace "jmp L(pseudo_end)" with "ret".
20931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20932 Likewise.
20933
8caf8c87
AJ
209342012-05-23 Andreas Jaeger <aj@suse.de>
20935
20936 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20937 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20938
1a09dc56
AJ
209392012-05-23 Andreas Jaeger <aj@suse.de>
20940 Maximilian Attems <max@stro.at>
20941
20942 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20943 New macros.
20944
1c87aba0
L
209452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20946
20947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20948 code so that pseudo_end is just ret and the stack pointer is
20949 correct also for static library in error case.
20950
40e45bd5
JM
209512012-05-23 Joseph Myers <joseph@codesourcery.com>
20952
c2670533
JM
20953 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20954 move to syscalls.list.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20959
40e45bd5
JM
20960 * manual/install.texi (Running make install): Do not mention Linux
20961 kernel version for which pt_chown is not needed.
20962 (Linux): Do not mention problems with nscd with 2.0 kernels.
20963 * INSTALL: Regenerated.
20964
be08eda5
AJ
209652012-05-23 Andreas Jaeger <aj@suse.de>
20966
20967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20968 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20969 macro.
20970 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20972 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20974 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20980 * sysdeps/unix/sysv/linux/bits/in.h
20981 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20982
a6a056bb
RM
209832012-05-22 Roland McGrath <roland@hack.frob.com>
20984
20985 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20986 (PREPARE_VERSION): Just use assert instead, it will be elided
20987 under [NDEBUG] anyway.
20988
c9009328
L
209892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20990
20991 * sysdeps/unix/sysv/linux/Makefile: Include
20992 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20993 (sysdep_routines): Remove sysctl.
c9009328
L
20994 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20995 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20996 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20997 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20998 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20999
73338355
AJ
210002012-05-22 Andreas Jaeger <aj@suse.de>
21001
21002 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21003 that pseudo_end is just ret and the stack pointer is correct also
21004 for static library in error case.
21005
d44638b0
PP
210062012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21007
21008 [BZ #14122]
21009 * nss/nsswitch.c (defconfig_entries): New variable.
21010 (__nss_database_lookup): Don't leak defconfig entries.
21011 (nss_parse_service_list): Don't leak on error paths.
21012 (free_database_entries): New function.
21013 (free_defconfig): New function.
21014 (free_mem): Move common code to free_database_entries.
21015
31a39bd8
L
210162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21017
da0331a8
L
21018 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21019 Add arch_prctl.
21020 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21021
31a39bd8
L
21022 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21023 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21025 New macro.
21026 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21027 (INTERNAL_SYSCALL_TYPES): Likewise.
21028 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21029 (LOAD_REGS_TYPES_[1-6]): Likewise.
21030 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21031 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21032
45470df3
AZ
210332012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21034
21035 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21036 copysignl for GLIBC_2_0.
21037 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21038 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21040 logbl for GLIBC_2_0.
21041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21042 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21043
98a61bcb
L
210442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21045
a4f6e481
L
21046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21047 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21048
f63d5db6
L
21049 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21050 Use "neg %eax".
21051
98a61bcb
L
21052 * time/mktime.c: Update copyright years.
21053
95770f14
PE
210542012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21055
6226efbd
PE
21056 mktime: merge comment-quoting-style change from gnulib
21057 * time/mktime.c: Quote 'like this' in comments.
21058 The GNU coding standards suggest that we no longer quote `like this',
21059 as "`" and "'" are typically rendered asymmetrically nowadays.
21060 The typical gnulib style is to quote 'like this' when quoting
21061 code, and "like this" when quoting English.
21062
b99e4f78
PE
21063 * time/mktime.c (compile-command): Add "-I.".
21064
643e01e6
PE
21065 mktime: merge mktime-internal.h change from gnulib
21066 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21067
2554247d
PE
21068 mktime: merge time_r change from gnulib
21069 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21070
826dd0ab
PE
21071 mktime: merge DEBUG change from gnulib
21072 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21073 case system <time.h> has a #define.
21074
bd83aabe
PE
21075 mktime: merge <sys/types.h> change from gnulib
21076 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21077 since <time.t> is now guaranteed to define time_t.
21078
95770f14
PE
21079 mktime: merge HAVE_CONFIG_H change from gnulib
21080 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21081
5e1a27a9
L
210822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21083
0e44a77e
L
21084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21085 Use "neg %eax".
21086
5e1a27a9
L
21087 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21088 __rlim_t cast.
21089 (struct rusage): Use anonymous union to pad each field to
21090 __syscall_slong_t.
21091
46259bec
DM
210922012-05-21 David S. Miller <davem@davemloft.net>
21093
21094 * Makefules (o-iterator): Remove .s cases.
21095 (compile-command.s): Delete.
21096 (COMPILE.s): Delete.
21097 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21098
59f0c22e
JM
210992012-05-21 Joseph Myers <joseph@codesourcery.com>
21100
21101 * configure.in (libc_cv_predef_stack_protector): Only consider
21102 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21103 * configure: Regenerated.
21104
20c07380
L
211052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21106
bbb3154b
L
21107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21108 New macro. Use R*LP on int and pointer.
21109 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21110 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21112 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21113
20c07380
L
21114 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21115 [__WORDSIZE_TIME64_COMPAT32] instead of
21116 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21117 (struct utmp): Likewise.
21118 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21119 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21120 Renamed to ...
21121 (__WORDSIZE_TIME64_COMPAT32): This.
21122 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21123 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21124 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21125 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21126 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21127 (__WORDSIZE_TIME64_COMPAT32): New macro.
21128
d8d1017e
AJ
211292012-05-21 Andreas Jaeger <aj@suse.de>
21130
21131 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21132 only if [SHARED]. Add prototype for __wcschr_ia32.
21133
6c7fb145
RM
211342012-05-21 Roland McGrath <roland@hack.frob.com>
21135
21136 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21137 of %rbp unmolested in the jmp_buf while mangling the low bits.
21138 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21139 unmolested high bits of %rbp while demangling the low bits.
21140 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21141
66274218
AJ
211422012-05-21 Andreas Jaeger <aj@suse.de>
21143
07c58f8f
AJ
21144 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21145 * sunrpc/svc_simple.c: Use it for registerrpc.
21146 * sunrpc/xcrypt.c: Use it for passwd2des.
21147
66274218
AJ
21148 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21149
61f65140
L
211502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21151
21152 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21153 Don't define if [__SYSCALL_WORDSIZE != 32].
21154 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21155 New macro.
21156
5fefb436
AJ
211572012-05-21 Bruno Haible <bruno@clisp.org>
21158 Andreas Jaeger <aj@suse.de>
21159
21160 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21161 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21162 inptr and inend for must_buffer_ch.
21163 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21164 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21165 * stdio-common/Makefile (tests): Remove bug15.
21166 (bug15-ENV): Remove macro.
21167 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21168 anymore.
21169
d8e272ab
AJ
211702012-05-19 Andreas Jaeger <aj@suse.de>
21171 Roland McGrath <roland@hack.frob.com>
21172
21173 * manual/contrib.texi: Completely rewritten. It contains now an
21174 alphabetical list of contributors and their contributions.
21175
4a56a162
RH
211762012-05-21 Richard Henderson <rth@twiddle.net>
21177
21178 * misc/getauxval.c (__getauxval): Use unsigned long int.
21179 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21180 (getauxval): Use unsigned long int.
21181
d024d23c
L
211822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21183
21184 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21185
cbc00a03
RM
211862012-05-21 Roland McGrath <roland@hack.frob.com>
21187
21188 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21189 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21190 __alignof__ (long double).
21191
478143fa
AZ
211922012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21193
21194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21195
c7683a6d
RH
211962012-05-20 Richard Henderson <rth@twiddle.net>
21197
21198 * misc/getauxval.c: New file.
21199 * misc/sys/auxv.h: New file.
21200 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21201 (routines): Add getauxval.
21202 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21203 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21204 * elf/dl-sysdep.c (_dl_auxv): Remove.
21205 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21206 * elf/dl-support.c (_dl_auxv): New variable.
21207 (_dl_aux_init): Initialize it.
21208 * manual/startup.texi (Auxiliary Vector): New node.
21209 * sysdeps/generic/bits/hwcap.h: New file.
21210 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21211 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21212 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21213 * sysdeps/sparc/sysdep.h: ... here. Include it.
21214 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21217 Update.
c7683a6d
RH
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21226
a6f1845d
AZ
212272012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21228
21229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21230
cbcbe830
DM
212312012-05-19 David S. Miller <davem@davemloft.net>
21232
21233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21234
e0b16cc2
JM
212352012-05-19 Joseph Myers <joseph@codesourcery.com>
21236
21237 [BZ #14123]
21238 * math/s_ccosh.c: Include <float.h>
21239 (__ccosh): Avoid internal overflow calculating sinh and cosh
21240 values before multiplying by sin and cos values.
21241 * math/s_ccoshf.c: Likewise.
21242 * math/s_ccoshl.c: Likewise.
21243 * math/s_csin.c: Likewise.
21244 * math/s_csinf.c: Likewise.
21245 * math/s_csinl.c: Likewise.
21246 * math/s_csinh.c: Likewise.
21247 * math/s_csinhf.c: Likewise.
21248 * math/s_csinhl.c: Likewise.
21249 * math/libm-test.inc (ccos_test): Add more tests.
21250 (ccosh_test): Likewise.
21251 (csin_test): Likewise.
21252 (csinh_test): Likewise.
21253 * sysdeps/i386/fpu/libm-test-ulps: Update.
21254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21255
6ad13e08
L
212562012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21257
f66f0ce8
L
21258 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21259 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21260
6ad13e08
L
21261 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21262
b1d072a7
JM
212632012-05-19 Joseph Myers <joseph@codesourcery.com>
21264
21265 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21266 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21267 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21268 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21269 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21270 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21271 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21272 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21273 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21274 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21275 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21276 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21277 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21278 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21279 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21280 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21281 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21282 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21283 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21284 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21285 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21286 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21287 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21288 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21289 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21290 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21291 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21292 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21293 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21294 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21295 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21296
9eae47cb
AJ
212972012-05-18 Andreas Jaeger <aj@suse.de>
21298
21299 * csu/.gitignore: Delete.
21300
bb07f69f
L
213012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21304 (timex): Use __syscall_slong_t.
21305
e6bdb741
AJ
213062012-05-18 Andreas Jaeger <aj@suse.de>
21307 Carlos O'Donell <carlos_odonell@mentor.com>
21308
21309 * manual/install.texi (Configuring and compiling): Update
21310 description about files modified in the source directory.
d6c33fda 21311 * INSTALL: Regenerated.
e6bdb741 21312
1b74487e
L
213132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21314
21315 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21316 value. Use "or" to set return value to -1.
21317 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21318 negate return value.
21319
a88b64b9
TMQMF
213202012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21321
21322 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21323 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21324 failure if the compiler has Graphite support disabled.
21325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21326 Likewise.
21327 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21328 CFLAGS-memmove.c): Likewise.
21329 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21330 Likewise.
21331
3707636e
L
213322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21333
610b8622
L
21334 * sysdeps/x86_64/x32/_itoa.h: New file.
21335
7cd195df
L
21336 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21337 getdents system call only if kernel and user dirents have the
21338 same d_ino and d_off.
21339
94b07d20
L
21340 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21341 LLONG_MAX != LONG_MAX.
21342 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21343 (_fitoa_word): Likewise.
21344
18298070
L
21345 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21346 years.
21347 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21350
553c7ea4
L
21351 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21352 include <bits/wordsize.h>. Check __x86_64__ instead of
21353 __WORDSIZE.
21354 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21355 if __x86_64__ is defined. Use anonymous union on fpstate.
21356
3707636e
L
21357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21358 anonymous union.
21359
b53ef01a
AS
213602012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21361
37fb1dc0
AS
21362 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21363 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21364 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21365 Refer to _rtld_local_ro instead of _rtld_global_ro.
21366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21367 Likewise.
21368 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21369 Likewise.
21370 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21371 Likewise.
21372 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21373 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21374 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21375
b53ef01a
AS
21376 * sysdeps/powerpc/powerpc32/dl-machine.c
21377 (__elf_machine_runtime_setup) [PROF]: Don't reference
21378 _dl_prof_resolve.
21379
7a185db2
AJ
213802012-05-18 Andreas Jaeger <aj@suse.de>
21381
21382 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21383 function only available for GCCs before 3.4 since GCC 3.4
21384 introduced a builtin.
21385 (lrint): Likewise.
21386 (llrintf): Likewise.
21387 (llrint): Likewise.
21388 (fmaxf): Likewise.
21389 (fmax): Likewise.
21390 (fminf): Likewise.
21391 (fmin): Likewise.
21392 (rint): Likewise.
21393 (rintf): Likewise.
21394 (nearbyint): Likewise.
21395 (nearbyintf): Likewise.
21396 (ceil): Likewise.
21397 (ceilf): Likewise.
21398 (floor): Likewise.
21399 (floorf): Likewise.
21400
3e5aef87
L
214012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21402
428bd707
L
21403 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21404 on both fields and cast pointer to __syscall_ulong_t.
21405
3e5aef87
L
21406 * bits/types.h (__fsword_t): New type.
21407 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21408 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21410 (__FSWORD_T_TYPE): Likewise.
21411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21412 (__FSWORD_T_TYPE): Likewise.
21413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21414 (__FSWORD_T_TYPE): Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21416 (__FSWORD_T_TYPE): Likewise.
21417 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21418 __SWORD_TYPE with __fsword_t.
21419 (statfs64): Likewise.
21420
1ba7c3dc
DM
214212012-05-17 David S. Miller <davem@davemloft.net>
21422
21423 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21424
59910343
AJ
214252012-05-17 Andreas Jaeger <aj@suse.de>
21426
21427 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21428 warning.
21429
2e4c1e9e
L
214302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21431
21432 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21433
de7f5ce7
AJ
214342012-05-17 Andreas Jaeger <aj@suse.de>
21435
21436 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21437 when it is used.
21438
286abc3d
CM
214392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21440
21441 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21442
477cc68e
L
214432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21446 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21447
1a0994f5
CD
214482012-05-17 Andreas Jaeger <aj@suse.de>
21449 Carlos O'Donell <carlos_odonell@mentor.com>
21450
21451 [BZ #14059]
21452 * sysdeps/x86_64/multiarch/init-arch.h
21453 (bit_YMM_Usable): Rename to...
21454 (bit_AVX_Usable): ... this.
21455 (bit_FMA4_Usable): New macro.
21456 (bit_XMM_state): New macro.
21457 (bit_YMM_state): New macro.
21458 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21459 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21460 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21461 (CPUID_OSXSAVE): New macro.
21462 (CPUID_AVX): New macro.
21463 (CPUID_FMA4): New macro.
21464 (index_YMM_Usable): Rename to...
21465 (index_AVX_Usable): ... this.
21466 (HAS_AVX): Use HAS_ARCH_FEATURE.
21467 (HAS_FMA4): Likewise.
21468 (HAS_YMM_USABLE): Remove.
21469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21470 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21471 are present.
21472 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21473 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21474 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21475 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21476 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21477
0af797de
CM
214782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21479
21480 * math/libm-test.c: Support platforms without multiple rounding modes.
21481 * math/bug-nextafter.c: Support platforms without FP exceptions.
21482 * math/bug-nexttoward.c: Likewise.
21483 * math/test-fenv.c: Likewise.
21484 * math/test-misc.c: Likewise.
21485 * stdlib/bug-getcontext.c: Likewise.
21486
e39745ff
AJ
214872012-05-17 Andreas Jaeger <aj@suse.de>
21488
21489 * manual/examples/search.c (critter_cmp): Change signature to
21490 avoid warnings.
21491 * manual/string.texi (Collation Functions): Likewise.
21492
48970aba
L
214932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21494
21495 * bits/types.h: Fold copyright years.
21496 * bits/typesizes.h: Likewise.
21497 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21501 * time/time.h: Likewise.
21502
bedee953
PP
215032012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21504
21505 [BZ #208]
21506 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21507 in instead of returning them. Return void.
21508 (__libc_mallinfo): Accumulate over all arenas.
21509 (__malloc_stats): Adjust for change in int_mallinfo interface.
21510
61653dfb
RM
215112012-05-16 Roland McGrath <roland@hack.frob.com>
21512
30b99d79
RM
21513 [BZ #10375]
21514 * configure.in (NM): Add AC_CHECK_TOOL for it.
21515 (libc_extra_cflags): New substituted variable.
21516 Check for -fstack-protector being used implicitly.
21517 * configure: Regenerated.
21518 * config.make.in (config-extra-cflags): New variable,
21519 gets @libc_extra_cflags@.
21520 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21521
61653dfb
RM
21522 [BZ #10375]
21523 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21524 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21525 * configure: Regenerated.
21526 * config.make.in (CPPUNDEFS): New substituted variable.
21527 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21528 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21529 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21530
661768bb
L
215312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21534 (mq_attr): Use __syscall_slong_t.
21535
d4261567
L
215362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21537
21538 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21539 Check __x86_64__ instead of __WORDSIZE.
21540 (_STAT_VER_LINUX): Likewise.
21541 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21542 __syscall_ulong_t and __syscall_slong_t.
21543 (stat64): Likewise.
21544
cf3ff365
L
215452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21546
21547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21548
76cf3e4d
L
215492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21550
21551 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21552
a637753a
L
215532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21554
21555 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21556 __syscall_ulong_t.
21557
d5e05119
L
21558 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21559 include <bits/wordsize.h>. Check __x86_64__ instead of
21560 __WORDSIZE.
21561 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21562 defined.
21563 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21564
f62ee380
L
21565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21566 include <bits/wordsize.h>. Check __x86_64__ instead of
21567 __WORDSIZE.
21568 (user_regs_struct): Use "__extension__ unsigned long long"
21569 instead of "unsigned long" if __x86_64__ is defined.
21570 (user): Likewise. Pad after pointer field if __ILP32__ is
21571 defined.
21572
4e124ced
JM
215732012-05-16 Joseph Myers <joseph@codesourcery.com>
21574
6a3951a0
JM
21575 * configure.in (makeinfo): Require version 4.5 or later. Allow
21576 versions 5 to 9.
21577 * configure: Regenerated.
21578 * manual/install.texi (texinfo): Increase version requirement to
21579 4.5 or later.
21580 * INSTALL: Regenerated.
21581
4e124ced
JM
21582 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21583
953ca31a
L
215842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21585
21586 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21587
617aca05
L
21588 * sysdeps/x86_64/x32/ffs.c: New file.
21589
5762f7ae
L
21590 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21591 __syscall_ulong_t.
21592 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21593 defined. Use __syscall_ulong_t.
21594 (shminfo): Use __syscall_ulong_t.
21595 (shm_info): Likewise.
21596
a26b6856
L
21597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21598 __syscall_ulong_t.
21599
cb2b9ef7
L
21600 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21601 <bits/wordsize.h>.
21602 (msgqnum_t): Use __syscall_ulong_t.
21603 (msglen_t): Likewise.
21604 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21605 __syscall_ulong_t.
21606
34683bb0
L
21607 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21608 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21609
84a68786
L
21610 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21611
48baa5f1
L
21612 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21613 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21614
180be88b
L
21615 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21616 __syscall_slong_t.
21617
5e90c8ad
L
21618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21619 include <bits/wordsize.h>. Check __x86_64__ instead of
21620 __WORDSIZE.
21621
23dfb58b
L
21622 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21623 "unsigned long long int" if __x86_64__ is defined.
21624 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21625
ce5d54b0
L
21626 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21628 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21629
13dc9eac
L
21630 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21631 <stdint.h>.
21632 (GET_PC): Cast to uintptr_t first.
21633 (GET_FRAME): Likewise.
21634 (GET_STACK): Likewise.
21635
a7895d15
L
21636 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21637 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21639 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21641 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21644 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21645 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21647 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21651 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21653 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21654 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21655 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21656 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21663 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21664 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21665
656416c9
AS
216662012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21667
5bd66283
AS
21668 * Makerules (+depfiles): Also collect depfiles from .oS in
21669 $(extra-objs).
21670 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21671 .oS, $(libnldbl-routines)).
21672
656416c9
AS
21673 * Makerules (native-compile-mkdep-flags): Define.
21674 * sunrpc/Makefile (extra-objs): Add $(addprefix
21675 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21676 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21677 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21678 calling $(make-target-directory).
21679
a46f2169
L
216802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21681
21682 * bits/types.h (__snseconds_t): Removed.
21683 * time/time.h (struct timespec): Replace __snseconds_t with
21684 __syscall_slong_t.
21685 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21686 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21687 Likewise.
21688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21689 (__SNSECONDS_T_TYPE): Likewise.
21690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21691 (__SNSECONDS_T_TYPE): Likewise.
21692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21693 (__SNSECONDS_T_TYPE): Likewise.
21694
6af6528b
L
216952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21696
21697 * sysdeps/mach/hurd/bits/typesizes.h
21698 (__SYSCALL_SLONG_TYPE): New macro.
21699 (__SYSCALL_ULONG_TYPE): Likewise.
21700
de986b56
L
217012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21702
21703 * bits/types.h (__syscall_slong_t): New type.
21704 (__syscall_ulong_t): Likewise.
21705
21706 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21707 (__SYSCALL_ULONG_TYPE): Likewise.
21708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21709 (__SYSCALL_SLONG_TYPE): Likewise.
21710 (__SYSCALL_ULONG_TYPE): Likewise.
21711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21712 (__SYSCALL_SLONG_TYPE): Likewise.
21713 (__SYSCALL_ULONG_TYPE): Likewise.
21714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21715 (__SYSCALL_SLONG_TYPE): Likewise.
21716 (__SYSCALL_ULONG_TYPE): Likewise.
21717
85736dc7
L
217182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21719
21720 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21721 Add sigaltstack-offsets.sym.
21722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21723 <sigaltstack-offsets.h>.
21724 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21725 longjmp_msg pointer.
21726 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21727 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21728 signal stack.
21729 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21730
cc03b296
JM
217312012-05-15 Joseph Myers <joseph@codesourcery.com>
21732
a9538892
JM
21733 * elf/stackguard-macros.h: Remove file.
21734 * sysdeps/generic/stackguard-macros.h: New file.
21735 * sysdeps/i386/stackguard-macros.h: Likewise.
21736 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21737 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21738 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21739 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21740 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21741 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21742 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21743 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21744 <elf/stackguard-macros.h>.
21745
cc03b296
JM
21746 [BZ #14109]
21747 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21748 __aligned__ in attribute.
21749 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21750 (gregset_t): Likewise.
21751
93171016
L
217522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21753
21754 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21755 * sysdeps/x86_64/64/Implies-after: Here. New file.
21756 * sysdeps/x86_64/x32/Implies-after: New file.
21757
d86813a0
L
217582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21759
21760 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21761 and access return value for _dl_profile_fixup. Use R10_LP to
21762 load frame size.
21763
2953ec75
L
217642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21767
3b550e9e
L
217682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21771 * sysdeps/x86_64/x32/sysdep.h: New file.
21772
eda41706
L
217732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21774
21775 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21776 * sysdeps/x86_64/setjmp.S: Likewise.
21777
9ea01d93
AZ
217782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21779
21780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21781 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21782 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21783 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21784 remove unused global constant.
21785
02a91938
CM
217862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21787
21788 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21789 include of <not-cancel.h>.
21790
6540185f
RM
217912012-05-15 Roland McGrath <roland@hack.frob.com>
21792
21793 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21794
509072a0
AJ
217952012-05-15 Jeff Law <law@redhat.com>
21796 Andreas Jaeger <aj@suse.de>
21797
21798 [BZ #13594]
21799 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21800 out from...
21801 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21802 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21803 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21804 code changing __hst_map_handle.map.
21805
ba75122d
RM
218062012-05-15 Roland McGrath <roland@hack.frob.com>
21807
21808 * configure.in (sysnames): Look for Implies-before and Implies-after
21809 files.
21810 * configure: Regenerated.
21811
890d8bd8
L
218122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21813
21814 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21815 8-byte data alignment with LP_SIZE alignment.
21816
f6ee6623
L
218172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21820 into R10_LP.
21821
ea2626f6
L
218222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21825
085f715e
L
218262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21827
21828 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21829 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21830 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21831 Likewise.
21832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21833
be8498fc
L
218342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21837 (stackinfo_sub_sp): Likewise.
21838
70bc83b9
L
218392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21842 RAX_LP.
21843
9bc0b730
L
218442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21845
21846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21847 into R*_LP.
21848
6d2850e7
L
218492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21850
21851 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21852 sizes into R*_LP.
21853
3cb84561
L
218542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21857
54e2ed81
L
218582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21859
21860 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21861 into R11_LP and load __x86_64_shared_cache_size_half into
21862 R8_LP.
21863
8a17f349
L
218642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21865
21866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21867 R8_LP.
21868
777b1eea
AZ
218692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21870
21871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21872 logb for POWER7.
21873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21874 logbf for POWER7.
21875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21876 logbl for POWER7.
21877 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21878 powerpc32/power7/fpu/s_logb.c via #include.
21879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21880 powerpc32/power7/fpu/s_logbf.c via #include.
21881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21882 powerpc32/power7/fpu/s_logbl.c via #include.
21883
d20d4ac2
JM
218842012-05-15 Joseph Myers <joseph@codesourcery.com>
21885
21886 * README.libm: Remove file.
21887
6cdef1ab
L
218882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21889
21890 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21891 count for x32. Use R*_LP and omit operand-size suffix.
21892
0b254d8f
L
218932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21894
21895 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21896 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21897 * sysdeps/x86_64/x32/shlib-versions: New file.
21898
ceb809dc
RM
218992012-05-14 Roland McGrath <roland@hack.frob.com>
21900
21901 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21902 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21903 Use _dl_fatal_printf instead.
21904
37f1abd4
JM
219052012-05-14 Joseph Myers <joseph@codesourcery.com>
21906
21907 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21908 set if not set by the user. Do not allow for being unset.
21909 * sysdeps/unix/sysv/linux/configure: Regenerated.
21910
11de3a33
L
219112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21912
21913 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21914 the `q' suffix from lea and replace .quad with ASM_ADDR.
21915
e02f153a
L
219162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21919 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21920 instead of $17.
21921 (PTR_DEMANGLE): Likewise.
21922
520ae0fd
L
219232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21926 (LP_OP): Likewise.
21927 (ASM_ADDR): Likewise.
21928 (RAX_LP): Likewise.
21929 (RBP_LP): Likewise.
21930 (RBX_LP): Likewise.
21931 (RCX_LP): Likewise.
21932 (RDI_LP): Likewise.
21933 (RSI_LP): Likewise.
21934 (RSP_LP): Likewise.
21935 (R8_LP): Likewise.
21936 (R9_LP): Likewise.
21937 (R10_LP): Likewise.
21938 (R10_LP): Likewise.
21939 (R11_LP): Likewise.
21940 (R12_LP): Likewise.
21941 (R13_LP): Likewise.
21942 (R14_LP): Likewise.
21943 (R15_LP): Likewise.
21944
b985be81
L
219452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21946
21947 * sysdeps/x86_64/x32/dl-machine.h: New file.
21948
6a4888ff
AJ
219492012-05-14 Andreas Jaeger <aj@suse.de>
21950
21951 * manual/Makefile (subdir): Remove export of subdir.
21952 (all): Remove target.
21953 (.PHONY): Remove all from list.
21954 (mkinstalldirs): Remove.
21955 (.PHONY): Remove installdirs from list.
21956 ($(inst_infodir)/libc.info): Use make-target-directory.
21957 (installdirs): Remove.
21958 (subdir_%): Remove.
21959 (glibc-targets): Remove.
21960 (lib): Remove.
21961 (stubs): Remove.
21962 ($(objpfx)stubs ../po/manual.pot): Remove.
21963 ($(objpfx)stamp%): Remove.
21964 (make-target-directory): Remove.
21965 (subdir_install): Remove.
21966 (routines): Remove.
21967 (aux): Remove.
21968 (sources): Remove.
21969 (objects): Remove.
21970 (headers): Remove.
21971
21972 [BZ #13750]
21973 * manual/.gitignore: Remove, it's not needed anymore.
21974 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21975 all files in it.
21976 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21977 directory.
21978 (texis): Renamed to $(objpfx)texis.
21979 (texis-path): New, contains path to generated files.
21980 (chapters.%): Use texis-path for complete path, add extra argument
21981 libc-texinfo.sh.
21982 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21983 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21984 (summary,texi, stamp-summary): Use complete path of
21985 files. Generate files in build dir.
21986 (dir-add.texi): Build in build dir.
21987 (libm-err.texi,stamp-libm-err): Likewise.
21988 (version.texi, stamp-version): Likewise.
21989 (.%c.texi): Likewise.
21990 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21991 (mostlyclean): Remove target.
21992 (realclean): Remove target.
21993 (generated): Add new variable with contents from mostlyclean and
21994 realclean, remove entries duplicated in common-mostlyclean, add
21995 stamp-libm-err and stamp-version.
21996 (generated-dirs): Add libc directory.
21997 ($(inst_infodir)/libc.info): Install files from build dir.
21998
21999 * manual/install.texi (Configuring and compiling): Adjust since
22000 the info files are not part of the tar ball anymore.
22001
7ac77294
AJ
220022012-05-14 Andreas Jaeger <aj@suse.de>
22003
22004 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22005 variable.
22006
ffb7875d
JM
220072012-05-14 Joseph Myers <joseph@codesourcery.com>
22008
22009 [BZ #13717]
22010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22011 to 2.2.0 where earlier.
22012 * sysdeps/unix/sysv/linux/configure: Regenerated.
22013 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22014 Remove conditional code.
22015 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22016 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22017 Remove conditional code.
22018 [!__NR_lchown]: Likewise.
22019 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22020 [__NR_lchown]: Likewise.
22021 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22022 comment referencing __ASSUME_LCHOWN_SYSCALL.
22023 * sysdeps/unix/sysv/linux/i386/sigaction.c
22024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22026 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22027 Remove conditional code.
22028 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22029 (__protocol_available): Remove #if 0 code.
22030 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22031 conditional code.
22032 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22033 * sysdeps/unix/sysv/linux/kernel-features.h
22034 (__ASSUME_GETCWD_SYSCALL): Don't define.
22035 (__ASSUME_REALTIME_SIGNALS): Likewise.
22036 (__ASSUME_PREAD_SYSCALL): Likewise.
22037 (__ASSUME_PWRITE_SYSCALL): Likewise.
22038 (__ASSUME_POLL_SYSCALL): Likewise.
22039 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22040 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22041 non-SPARC.
22042 (__ASSUME_SIOCGIFNAME): Don't define.
22043 (__ASSUME_MSG_NOSIGNAL): Likewise.
22044 (__ASSUME_SENDFILE): Define unconditionally.
22045 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22046 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22047 conditional code.
22048 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22049 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22050 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22051 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22052 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22054 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22079 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22080 Remove conditional code.
22081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22082 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22083 Remove conditional code.
22084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22085 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22086 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22087 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22088 Remove conditional code.
22089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22090 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22091 Remove conditional code.
22092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22093 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22094 Remove conditional code.
22095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22096 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22097 Remove conditional code.
22098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22099 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22100 Remove conditional code.
22101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22102 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22105 * sysdeps/unix/sysv/linux/sigaction.c
22106 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22107 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22108 * sysdeps/unix/sysv/linux/sigpending.c
22109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22111 * sysdeps/unix/sysv/linux/sigprocmask.c
22112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22114 * sysdeps/unix/sysv/linux/sigsuspend.c
22115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22117 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22118 (__libc_missing_rt_sigs): Remove.
22119 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22120 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22121 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22122 Remove conditional code.
22123 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22124 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22125 return 1.
22126 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22127 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22128 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22129 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22130
1bfb7291
AJ
221312012-05-14 Andreas Jaeger <aj@suse.de>
22132
caae5a81
AJ
22133 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22134 it's not used in glibc.
22135 (__coshm1): Likewise.
22136 (__acosh1p): Likewise.
22137 (__sgn): Likewise.
22138
1bfb7291
AJ
22139 * manual/string.texi (Copying and Concatenation): Add missing
22140 variable in concat example.
22141 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22142
c044d724
L
221432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22144
144c5467 22145 [BZ #14103]
c044d724
L
22146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22147 __builtin_clzl with __builtin_clzll.
22148
2523c62b
L
221492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22150
22151 [BZ #14104]
22152 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22153 libc_freeres_ptr.
22154
d7bb4c42
LD
221552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22156
22157 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22158 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22159 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22160 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22161
9dc4e1fb
MF
221622012-05-14 Mike Frysinger <vapier@gentoo.org>
22163
22164 * NEWS: Update ia64 info.
22165
c7df0112
AS
221662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22167
22168 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22169 used as bcopy.
22170
dc70356c
TS
221712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22172
22173 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22174 * sysdeps/unix/syscalls.list (dup3): Likewise.
22175 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22176 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22177
9fb1a21f
L
221782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22179
22180 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22181 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22182
4822a2a5
L
221832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22184
22185 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22186 thread pointer.
22187 (TLS_IE): Use mov/add instead of movq/addq to load thread
22188 pointer.
22189 (TLS_GD_PREFIX): New.
22190 (TLS_GD): Use it.
22191
842b81d6
DM
221922012-05-11 David S. Miller <davem@davemloft.net>
22193
22194 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22195 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22196 (_FPU_SETCW): Likewise.
22197
1cf463cd
L
221982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22199
22200 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22201 is 32-byte aligned.
22202
60cc4a18
AS
222032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22204
22205 [BZ #11837]
22206 * iconvdata/gb18030.c: Update tables.
22207 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22208 characters specially.
22209 (BODY for TO_LOOP): Add encoding of missing ranges.
22210
febb44a4
TS
222112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22212
22213 [BZ #13673]
22214 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22215 * sysdeps/mach/hurd/dup3.c: Likewise.
22216 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22217 * sysdeps/powerpc/memmove.c:: Likewise.
22218
0a10fb9e
L
222192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22222 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22223
df8a552f
L
222242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22225
22226 * elf/elf.h (R_X86_64_RELATIVE64): New.
22227 (R_X86_64_NUM): Updated.
22228 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22229 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22230 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22231 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22232 tst-quad1pie tst-quad2pie
22233 (modules-names): Add tst-quadmod1 tst-quadmod2.
22234 ($(objpfx)tst-quad1): New dependency.
22235 ($(objpfx)tst-quad2): Likewise.
22236 ($(objpfx)tst-quad1pie): Likewise.
22237 ($(objpfx)tst-quad2pie): Likewise.
22238 * sysdeps/x86_64/tst-quad1.c: New file.
22239 * sysdeps/x86_64/tst-quad1pie.c: New file.
22240 * sysdeps/x86_64/tst-quad2.c: Likewise.
22241 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22242 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22243 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22244 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22245 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22246
f34d6f84
ST
222472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22248
f42d41d1
ST
22249 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22250 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22251 * streams/stropts.h (t_scalar_t): Define type.
22252
3c3571fc
ST
22253 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22254 (_PATH_PRESERVE): Set to "/var/lib".
22255 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22256
61f06bd3
ST
22257 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22258 instead of int.
22259
918d4d71
ST
22260 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22261 if __dir_mkfile succeeded.
22262
f34d6f84
ST
22263 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22264 checking for _hurd_dtablesize. Unlock it right after having
22265 finished _hurd_dtable allocation.
22266
10589b4a
TS
222672012-05-10 Thomas Schwinge <thomas@schwinge.name>
22268
674cdbc7
TS
22269 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22270 * sysdeps/mach/hurd/configure: Regenerated.
22271 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22272 special-casing to...
22273 * sysdeps/gnu/configure.in: ... this new file.
22274 * sysdeps/unix/sysv/linux/configure: Regenerated.
22275 * sysdeps/gnu/configure: New generated file.
22276
8e41b99f
TS
22277 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22278 for Linux: use nsec instead of usec, as well as:
22279 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22280 members of type struct timespec.
22281 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22282 New macros.
22283 (struct stat64): Likewise.
22284 (_STATBUF_ST_NSEC): New macro.
22285 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22286
10589b4a
TS
22287 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22288 __strtoul_internal rather than strtoul.
22289
63643c85
PT
222902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22291
22292 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22293 and reject them.
22294
3faebe6a
ST
222952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22296
22297 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22298 which preserves existing values.
22299 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22300
c6474b07
PT
223012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22302
22303 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22304 TIMEOUT values. Return EINVAL for NFDS values either negative or
22305 greater than FD_SETSIZE.
22306
1043890b
ST
223072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22308
22309 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22310 allocated, call __vm_protect to finish enabling the existing space, and
22311 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22312 allocate the remainder.
22313
37ed8b9b
PT
223142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22315
22316 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22317 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22318
db653660
ST
223192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22320
37ed8b9b
PT
22321 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22322 sysdeps/mach/hurd/readlink.c.
b29d4053 22323
db653660
ST
22324 * posix/tst-sysconf.c (posix_options): Only use
22325 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22326 _POSIX_SYNCHRONIZED_IO when they are defined
22327 * sysdeps/mach/hurd/bits/posix_opt.h:
22328 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22329 (_XOPEN_REALTIME): Undefine macro.
22330 (_XOPEN_REALTIME_THREADS): Undefine macro.
22331 (_XOPEN_SHM): Undefine macro.
22332 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22333 macro to -1.
22334 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22335 macro to -1.
22336 (_POSIX_ASYNC_IO): Undefine macro.
22337 (_POSIX_PRIORITIZED_IO): Undefine macro.
22338 (_POSIX_SPIN_LOCKS): Define macro to -1.
22339
ee16e894
ST
22340 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22341 SA_NODEFER, SA_RESETHAND.
22342 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22343 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22344 F_DUPFD_CLOEXEC.
22345
6103ae3b
TS
223462012-05-10 Thomas Schwinge <thomas@schwinge.name>
22347
22348 * elf/Makefile (pldd-modules): Define unconditionally.
22349
80b4e5f3
TS
223502012-05-10 Thomas Schwinge <thomas@schwinge.name>
22351
22352 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22353
edadcbd6
ST
223542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22355
22356 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22357 Return ENOENT when name is empty.
22358 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22359
80694780
TS
223602012-05-10 Thomas Schwinge <thomas@schwinge.name>
22361
1792c087
TS
22362 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22363
80694780
TS
22364 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22365
6b645f0d
ST
223662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22367
80694780
TS
22368 Fix mlock in all cases except non-readable pages.
22369 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22370 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22371
6b645f0d
ST
22372 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22373 (__mkdir): When path is `/', just fail with EEXIST.
22374 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22375
e468f8a3
TS
223762012-05-10 Thomas Schwinge <thomas@schwinge.name>
22377
22378 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22379 <sys/uio.h> (for writev).
22380 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22381 and <sys/param.h> (for MIN).
22382
a4186cff
PT
223832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22384
22385 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22386 REQUESTED_TIME. Properly set the remaining time and return EINTR
22387 if interrupted.
22388
510bbf14
TS
223892012-05-10 Thomas Schwinge <thomas@schwinge.name>
22390
22391 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22392 Depend on against $(link-rpcuserlibs).
22393
5d5722e8
ST
223942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22395
a4186cff
PT
22396 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22397 (__libc_stack_end): Do not use attribute_relro.
22398 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22399 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22400 to libthread-provided value.
a4186cff
PT
22401 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22402 attribute_relro.
5d5722e8 22403
37233df9
TS
224042012-05-10 Thomas Schwinge <thomas@schwinge.name>
22405
be971a2b
TS
22406 [BZ #3748]
22407 * bits/libc-lock.h (__libc_once_get): New macro.
22408 * sysdeps/mach/bits/libc-lock.h: Likewise.
22409 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22411 instead of using implementation details.
22412
37233df9
TS
22413 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22414 * libio/freopen.c: Likewise.
22415 * libio/freopen64.c: Likewise.
22416 * misc/syslog.c: Likewise.
22417 * nscd/connections.c: Likewise.
22418 * nscd/netgroupcache.c: Likewise.
22419 * sysdeps/posix/getcwd.c: Likewise.
22420
38de94a5
RM
224212012-05-10 Roland McGrath <roland@hack.frob.com>
22422
22423 * math/w_ilogbf.c: Add #include <limits.h>.
22424
67530489
ST
224252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22426
a4186cff 22427 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22428 path instead of returning without unlocking.
22429
67530489
ST
22430 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22431 immediate-write ioctls.
22432 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22433
5aa3a74a
TS
224342012-05-10 Thomas Schwinge <thomas@schwinge.name>
22435
18bad2ae
TS
22436 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22437 __builtin_frame_address instead of making assumptions about the
22438 location of the return address relative to DATA. Force early load of
22439 the return address.
22440 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22441 __builtin_frame_address.
22442
5aa3a74a
TS
22443 dup3 for GNU Hurd.
22444 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22445 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22446 implement dup3 and do some further code clean-ups.
22447 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22448 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22449
ecd0de9a
ST
224502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22451
cd9fa985
ST
22452 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22453
a4186cff
PT
22454 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22455 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22456 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22457 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22458 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22459 d->port.lock.
802ca5a5 22460
a4186cff
PT
22461 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22462 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22463 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22464
bcf55240
TS
224652012-05-10 Thomas Schwinge <thomas@schwinge.name>
22466
6960eb42
TS
22467 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22468 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22469 definitions.
22470
eb43375f
TS
22471 accept4 for GNU Hurd.
22472 * include/sys/socket.h (__libc_accept4): New prototype.
22473 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22474 to implement __libc_accept4.
22475 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22476 __libc_accept4.
22477 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22478
bcf55240
TS
22479 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22480 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22481 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22482 signal-defines.sym.
22483
6178c55b
ST
224842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22485
a4186cff 22486 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22487
6f080c2f
TS
224882012-05-10 Thomas Schwinge <thomas@schwinge.name>
22489
22490 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22491 assertion on O_CLOEXEC flag.
22492 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22493 * hurd/intern-fd.c: Likewise.
22494 * hurd/port2fd.c: Likewise.
22495
bcfe3a54
ST
224962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22497
22498 [BZ #3906]
22499 * bits/in.h (IPV6_PKTINFO): Define new macro.
22500 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22501
89c9aa49
AZ
225022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22503
22504 [BZ #13954]
22505 [BZ #13955]
22506 [BZ #13956]
22507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22509 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22510 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22512 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22513 * math/libm-test.inc (logb_test) : Additional logb tests.
22514
021db4be
AJ
225152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22516 Andreas Jaeger <aj@suse.de>
22517
22518 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22519 * configure: Regenerated.
22520 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22521 * config.make.in (link-obsolete-rpc): New substituted variable.
22522 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22523 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22524 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22525 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22526 so that libc.a contains the symbols.
22527 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22528 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22529 * sunrpc/auth_none.c: Likewise.
22530 * sunrpc/auth_unix.c: Likewise.
22531 * sunrpc/authdes_prot.c: Likewise.
22532 * sunrpc/authuxprot.c: Likewise.
22533 * sunrpc/clnt_gen.c: Likewise.
22534 * sunrpc/clnt_perr.c: Likewise.
22535 * sunrpc/clnt_raw.c: Likewise.
22536 * sunrpc/clnt_simp.c: Likewise.
22537 * sunrpc/clnt_tcp.c: Likewise.
22538 * sunrpc/clnt_udp.c: Likewise.
22539 * sunrpc/clnt_unix.c: Likewise.
22540 * sunrpc/des_crypt.c: Likewise.
22541 * sunrpc/des_soft.c: Likewise.
22542 * sunrpc/get_myaddr.c: Likewise.
22543 * sunrpc/key_call.c: Likewise.
22544 * sunrpc/key_prot.c: Likewise.
22545 * sunrpc/netname.c: Likewise.
22546 * sunrpc/pm_getmaps.c: Likewise.
22547 * sunrpc/pm_getport.c: Likewise.
22548 * sunrpc/pmap_clnt.c: Likewise.
22549 * sunrpc/pmap_prot.c: Likewise.
22550 * sunrpc/pmap_prot2.c: Likewise.
22551 * sunrpc/pmap_rmt.c: Likewise.
22552 * sunrpc/publickey.c: Likewise.
22553 * sunrpc/rpc_cmsg.c: Likewise.
22554 * sunrpc/rpc_common.c: Likewise.
22555 * sunrpc/rpc_dtable.c: Likewise.
22556 * sunrpc/rpc_prot.c: Likewise.
22557 * sunrpc/rpc_thread.c: Likewise.
22558 * sunrpc/rtime.c: Likewise.
22559 * sunrpc/svc.c: Likewise.
22560 * sunrpc/svc_auth.c: Likewise.
22561 * sunrpc/svc_raw.c: Likewise.
22562 * sunrpc/svc_run.c: Likewise.
22563 * sunrpc/svc_tcp.c: Likewise.
22564 * sunrpc/svc_udp.c: Likewise.
22565 * sunrpc/svc_unix.c: Likewise.
22566 * sunrpc/svcauth_des.c: Likewise.
22567 * sunrpc/xcrypt.c: Likewise.
22568 * sunrpc/xdr.c: Likewise.
22569 * sunrpc/xdr_array.c: Likewise.
22570 * sunrpc/xdr_float.c: Likewise.
22571 * sunrpc/xdr_intXX_t.c: Likewise.
22572 * sunrpc/xdr_mem.c: Likewise.
22573 * sunrpc/xdr_rec.c: Likewise.
22574 * sunrpc/xdr_ref.c: Likewise.
22575 * sunrpc/xdr_sizeof.c: Likewise.
22576 * sunrpc/xdr_stdio.c: Likewise.
22577
b5c086a2
RM
225782012-05-10 Roland McGrath <roland@hack.frob.com>
22579
22580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22581 change. Update copyright years.
22582
6d74dd09
JM
225832012-05-10 Joseph Myers <joseph@codesourcery.com>
22584
22585 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22586
28e72501
MK
225872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22588 Joseph Myers <joseph@codesourcery.com>
22589 Paul Pluzhnikov <ppluzhnikov@google.com>
22590
22591 [BZ #14012]
22592 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22593 requiring rpcgen.
22594 [cross-compiling] (extra-libs): Likewise.
22595 [cross-compiling] (extra-libs-others): Likewise.
22596 [cross-compiling] (librpcsvc-routines): Likewise.
22597 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22598 [cross-compiling] (omit-deps): Likewise.
22599 (sunrpc-CPPFLAGS): New variable.
22600 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22601 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22602 (cross-rpcgen-objs): New variable.
22603 (extra-objs): Append $(cross-rpcgen-objs).
22604 ($(cross-rpcgen-objs)): New rule.
22605 ($(objpfx)cross-rpcgen): Likewise.
22606 (rpcgen-cmd): Define to use $(built-program-file). Expand
22607 comment.
22608 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22609 ($(objpfx)x%.stmp): Likewise.
22610 * sunrpc/proto.h [IS_IN_build] (_): Define.
22611 [IS_IN_build] (_libc_intl_domainname): Likewise.
22612
c8c59454
L
226132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22614
22615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22616 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22617 and R_X86_64_TPOFF64.
22618
6f27cd16
JM
226192012-05-10 Joseph Myers <joseph@codesourcery.com>
22620
22621 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22622 sysdeps/unix/sysv/syscalls.list.
22623 (stime): Likewise.
22624 (utime): Likewise.
22625 * sysdeps/unix/sysv/syscalls.list: Remove file.
22626
02467e1c
PE
226272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22628
22629 [BZ #3440]
22630 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22631 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22632 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22633 (__LC_IDENTIFICATION): Make these macros useful in #if
22634 expressions, as required by C99.
22635
da392631
AS
226362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22637
22638 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22639 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22640 after this.
22641
8115f29b
L
226422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * stdlib/longlong.h: Updated from GCC.
22645
bdd74070
AJ
226462012-05-09 Andreas Jaeger <aj@suse.de>
22647
edfe0dbe
AJ
22648 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22649 default is first entry.
22650 (run_mode): Set type.
22651 (main): Remove informal message about syslog.
22652 (options): Fix typo.
22653
bcfe3a54
ST
22654 [BZ #14053]
22655 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22656 to asm.
bcfe3a54
ST
22657 (lrint): Likewise.
22658 (llrintf): Likewise.
22659 (llrint): Likewise.
22660 (rint): Likewise.
22661 (rintf): Likewise.
22662 (nearbyint): Likewise.
22663 (nearbyintf): Likewise.
bdd74070 22664
91d8d69e
AJ
226652012-05-09 Andreas Jaeger <aj@suse.de>
22666 Pedro Alves <palves@redhat.com>
22667
22668 * nscd/nscd.c (run_mode): Use enum.
22669 (main): Cleanup coding style issue.
22670
bb90b80b
AJ
226712012-05-09 Alexandre Oliva <aoliva@redhat.com>
22672 Andreas Jaeger <aj@suse.de>
22673
bcfe3a54
ST
22674 * nscd/nscd.c (go_background): Replaced with...
22675 (run_mode): ... this.
bb90b80b 22676 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22677 (options): Add -F --foreground.
22678 (main): Implement it.
22679 (parse_opt): Parse it.
bb90b80b 22680
1a4b75a1
AJ
226812012-05-09 Andreas Jaeger <aj@suse.de>
22682
22683 [BZ #14083]
22684 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22685 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22686 -Wconversion warning.
22687 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22688 Likewise.
22689
b1cc2472
JM
226902012-05-09 Joseph Myers <joseph@codesourcery.com>
22691
22692 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22693 == 0.
22694 (LC_ALL): Use macro-int-constant.
22695 (LC_COLLATE): Likewise.
22696 (LC_CTYPE): Likewise.
22697 (LC_MESSAGES): Likewise.
22698 (LC_MONETARY): Likewise.
22699 (LC_NUMERIC): Likewise.
22700 (LC_TIME): Likewise.
22701 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22702 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22704 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22705 Specify type.
22706 [C99-based standards] (float_t): Expect type.
22707 [C99-based standards] (double_t): Expect type.
22708 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22709 type.
22710 [C99-based standards] (HUGE_VALL): Likewise.
22711 [C99-based standards] (INFINITY): Likewise.
22712 [C99-based standards] (NAN): Likewise.
22713 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22714 [C99-based standards] (FP_NAN): Likewise.
22715 [C99-based standards] (FP_NORMAL): Likewise.
22716 [C99-based standards] (FP_SUBNORMAL): Likewise.
22717 [C99-based standards] (FP_ZERO): Likewise.
22718 [C99-based standards] (FP_FAST_FMA): Use
22719 optional-macro-int-constant. Specify type. Require == 1.
22720 [C99-based standards] (FP_FAST_FMAF): Likewise.
22721 [C99-based standards] (FP_FAST_FMAL): Likewise.
22722 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22723 [C99-based standards] (FP_ILOGBNAN): Likewise.
22724 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22725 Specify type.
22726 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22727 [C99-based standards] (math_errhandling): Specify type.
22728 [ISO99 || ISO11] (signgam): Do not allow.
22729 [non-C99-based standards] (copysignf): Do not allow.
22730 [non-C99-based standards] (exp2f): Likewise.
22731 [non-C99-based standards] (log2f): Likewise.
22732 [non-C99-based standards] (modff): Allow.
22733 [non-C99-based standards] (erff): Do not allow.
22734 [non-C99-based standards] (erfcf): Likewise.
22735 [non-C99-based standards] (gammaf): Likewise.
22736 [non-C99-based standards] (hypotf): Likewise.
22737 [non-C99-based standards] (j0f): Likewise.
22738 [non-C99-based standards] (j1f): Likewise.
22739 [non-C99-based standards] (jnf): Likewise.
22740 [non-C99-based standards] (lgammaf): Likewise.
22741 [non-C99-based standards] (tgammaf): Likewise.
22742 [non-C99-based standards] (y0f): Likewise.
22743 [non-C99-based standards] (y1f): Likewise.
22744 [non-C99-based standards] (ynf): Likewise.
22745 [non-C99-based standards] (isnanf): Likewise.
22746 [non-C99-based standards] (acoshf): Likewise.
22747 [non-C99-based standards] (asinhf): Likewise.
22748 [non-C99-based standards] (atanhf): Likewise.
22749 [non-C99-based standards] (cbrtf): Likewise.
22750 [non-C99-based standards] (expm1f): Likewise.
22751 [non-C99-based standards] (ilogbf): Likewise.
22752 [non-C99-based standards] (log1pf): Likewise.
22753 [non-C99-based standards] (logbf): Likewise.
22754 [non-C99-based standards] (nextafterf): Likewise.
22755 [non-C99-based standards] (remainderf): Likewise.
22756 [non-C99-based standards] (rintf): Likewise.
22757 [non-C99-based standards] (scalbf): Likewise.
22758 [non-C99-based standards] (copysignl): Likewise.
22759 [non-C99-based standards] (exp2l): Likewise.
22760 [non-C99-based standards] (log2l): Likewise.
22761 [non-C99-based standards] (modfl): Allow.
22762 [non-C99-based standards] (erfl): Do not allow.
22763 [non-C99-based standards] (erfcl): Likewise.
22764 [non-C99-based standards] (gammal): Likewise.
22765 [non-C99-based standards] (hypotl): Likewise.
22766 [non-C99-based standards] (j0l): Likewise.
22767 [non-C99-based standards] (j1l): Likewise.
22768 [non-C99-based standards] (jnl): Likewise.
22769 [non-C99-based standards] (lgammal): Likewise.
22770 [non-C99-based standards] (tgammal): Likewise.
22771 [non-C99-based standards] (y0l): Likewise.
22772 [non-C99-based standards] (y1l): Likewise.
22773 [non-C99-based standards] (ynl): Likewise.
22774 [non-C99-based standards] (isnanl): Likewise.
22775 [non-C99-based standards] (acoshl): Likewise.
22776 [non-C99-based standards] (asinhl): Likewise.
22777 [non-C99-based standards] (atanhl): Likewise.
22778 [non-C99-based standards] (cbrtl): Likewise.
22779 [non-C99-based standards] (expm1l): Likewise.
22780 [non-C99-based standards] (ilogbl): Likewise.
22781 [non-C99-based standards] (log1pl): Likewise.
22782 [non-C99-based standards] (logbl): Likewise.
22783 [non-C99-based standards] (nextafterl): Likewise.
22784 [non-C99-based standards] (remainderl): Likewise.
22785 [non-C99-based standards] (rintl): Likewise.
22786 [non-C99-based standards] (scalbl): Likewise.
22787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22788 [non-C99-based standards] (FP_*): Do not allow.
22789 [C99-based standards] (FP_*): Change to
22790 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22791 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22792 allow.
22793 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22794 (SIG_ERR): Likewise.
22795 [X/Open-based standards] (SIG_HOLD): Likewise.
22796 (SIG_IGN): Likewise.
22797 (SIGABRT): Use macro-int-constant. Specify type. Require
22798 positive value.
22799 (SIGFPE): Likewise.
22800 (SIGILL): Likewise.
22801 (SIGINT): Likewise.
22802 (SIGSEGV): Likewise.
22803 (SIGTER): Likewise.
22804 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22805 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22806 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22807 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22808 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22809 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22810 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22811 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22812 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22813 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22814 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22815 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22816 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22817 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22818 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22819 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22820 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22821 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22822 [X/Open-based standards] (SIGTRAP): Likewise.
22823 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22824 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22825 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22826 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22827 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22828 allow.
22829
b9f1922d
IW
228302012-05-08 Ian Wienand <ianw@vmware.com>
22831
22832 [BZ #14080]
22833 * time/tzset.c (__tzset_parse_tz): Update default rules for
22834 daylight time changes in the Energy Policy Act of 2005.
22835
1db86e88
AJ
228362012-05-09 Andreas Jaeger <aj@suse.de>
22837
22838 [BZ #13983]
22839 * elf/ldconfig.c (parse_conf): Change string to make clear that
22840 ldconfig only issued a warning if ld.so.conf does not exist.
22841
dee4a4e3
DM
228422012-05-08 David S. Miller <davem@davemloft.net>
22843
ee0db190
DM
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22845 movxtod instead of popping the value on the stack.
22846
dee4a4e3
DM
22847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22848
6a43ec98
CD
228492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22850
22851 * config.h.in: Add HAVE_ARM_PCS_VFP.
22852
05c2c961
RMG
228532012-05-08 Roland Mc Grath <roland@hack.frob.com>
22854
bcfe3a54
ST
22855 [BZ #13979]
22856 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22857 checking but the checks are disabled for any reason.
05c2c961 22858
4b30f61a
L
228592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22860
22861 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22862 and ELF64_R_TYPE with ELFW(R_TYPE).
22863
eee2bc67
JM
228642012-05-08 Joseph Myers <joseph@codesourcery.com>
22865
7ea5391a
JM
22866 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22867 (ulimit): Likewise.
22868
eee2bc67
JM
22869 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22870 (settimeofday): Likewise.
22871
abb66a67
MF
228722012-05-08 Mike Frysinger <vapier@gentoo.org>
22873
22874 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22875 a struct th_u2 inside the union, and move tu_block/tu_code into
22876 a new th_u3 union of tu_block/tu_code inside of that. Move
22877 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22878 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22879 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22880 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22881 (th_stuff): Change to th_u1.tu_stuff.
22882 (th_data): Define.
22883 (th_msg): Change to th_u1.th_u2.tu_data.
22884
7f18b530
DM
228852012-05-07 David S. Miller <davem@davemloft.net>
22886
05760585
DM
22887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22888
7f18b530
DM
22889 [BZ #14074]
22890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22891 (SETUP_PIC_REG): Use it.
22892 (SETUP_PIC_REG_LEAF): Use it.
22893
495fd99f
JM
228942012-05-07 Joseph Myers <joseph@codesourcery.com>
22895
22896 [BZ #13885]
22897 [BZ #13923]
22898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22899 USE_AS_EXPM1L.
22900 (EXPL_FINITE): Likewise.
22901 (FLDLOG): Likewise.
22902 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22903 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22904 e_expl.S.
22905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22906 USE_AS_EXPM1L.
22907 (EXPL_FINITE): Likewise.
22908 (FLDLOG): Likewise.
22909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22910 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22911 e_expl.S.
22912 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22913 test of -max_value argument for long double.
22914 * sysdeps/i386/fpu/libm-test-ulps: Update.
22915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916
6693d694
DM
229172012-05-06 David S. Miller <davem@davemloft.net>
22918
22919 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22920 quad soft-float symbols whose references which are compiler
22921 generated.
22922 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22923
6c23e11c
JM
229242012-05-06 Joseph Myers <joseph@codesourcery.com>
22925
d8b82cad
JM
22926 [BZ #13884]
22927 [BZ #13914]
22928 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22929 USE_AS_EXP10L.
22930 (EXPL_FINITE): Likewise.
22931 (FLDLOG): Likewise.
22932 (c0): Likewise.
22933 (c1): Likewise.
22934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22935 Adjust comments for base varying.
22936 (__expl_finite): Change alias to EXPL_FINITE.
22937 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22938 e_expl.S.
22939 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22940 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22942 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22944 USE_AS_EXP10L.
22945 (EXPL_FINITE): Likewise.
22946 (FLDLOG): Likewise.
22947 (c0): Likewise.
22948 (c1): Likewise.
22949 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22950 Adjust comments for base varying.
22951 (__expl_finite): Change alias to EXPL_FINITE.
22952 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22953 tests for bugs.
22954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22955
6c23e11c
JM
22956 [BZ #14064]
22957 * math/libm-test.inc (check_float_internal): Correct ulp
22958 calculation for subnormal expected results.
22959
29ba805c
AJ
229602012-05-06 Andreas Jaeger <aj@suse.de>
22961
22962 * Makeconfig (+math-flags): New, set to -frounding-math.
22963 (+cflags): Add +math-flags so that all of glibc gets compiled with
22964 it.
22965
22966 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22967
7b17aeda
JM
229682012-05-05 Joseph Myers <joseph@codesourcery.com>
22969
5779f134
JM
22970 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22971 Disable one test.
22972
41498f4d
JM
22973 [BZ #13787]
22974 [BZ #13922]
22975 [BZ #14036]
22976 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22977 (__ieee754_expl): Allow for and saturate large arguments.
22978 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22979 (u_threshold): Likewise.
22980 (__exp): Call __ieee754_exp before checking for overflow and
22981 underflow.
22982 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22983 (u_threshold): Likewise.
22984 (__expf): Call __ieee754_expf before checking for overflow and
22985 underflow.
22986 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22987 (u_threshold): Likewise.
22988 (__expl): Call __ieee754_expl before checking for overflow and
22989 underflow.
22990 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22991 (__ieee754_expl): Allow for and saturate large arguments.
22992 * math/libm-test.inc (exp_test): Add another test. Do not allow
22993 missing overflow exception on overflow.
22994 (expm1_test): Do not allow missing overflow exception on overflow.
22995
6698b8bf
JM
22996 * sysdeps/i386/fpu/e_expl.c: Move to ...
22997 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22998 rather than using inline asm.
22999 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23000 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23001 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23002
7b17aeda
JM
23003 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23004 (nice): Likewise.
23005 (poll): Likewise.
23006 (signal): Likewise.
23007 (time): Likewise.
23008 (times): Likewise.
23009
f7c85819
JM
230102012-05-04 Joseph Myers <joseph@codesourcery.com>
23011
23012 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23013 sysdeps/unix/common/syscalls.list.
23014 (fchmod): Likewise.
23015 (fchown): Likewise.
23016 (ftruncate): Likewise.
23017 (getrusage): Likewise.
23018 (gettimeofday): Likewise.
23019 (setpgid): Likewise.
23020 (setregid): Likewise.
23021 (setreuid): Likewise.
23022 (sigaction): Likewise.
23023 (truncate): Likewise.
23024 (vhangup): Likewise.
23025 * sysdeps/unix/common/syscalls.list: Remove file.
23026 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23027 * sysdeps/unix/sysv/linux/Implies: Likewise.
23028
336270d0
L
230292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23030
23031 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23033 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23034 Moved to ...
23035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23036 Here.
23037 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23038 to ...
23039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23040 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23041 to ...
23042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23043 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23044 to ...
23045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23046 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23047 to ...
23048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23049 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23050 to ...
23051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23052 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23053 to ...
23054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23055 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23056 to ...
23057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23058 Here.
23059 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23060 to ...
23061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23062 Here.
23063 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23064 to ...
23065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23066 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23067 Moved to ...
23068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23069 Here.
23070 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23071 to ...
23072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23073
d128e450
JM
230742012-05-04 Joseph Myers <joseph@codesourcery.com>
23075
fa8ee516
JM
23076 * sysdeps/unix/common/bits/dirent.h: Remove file.
23077 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23078
d128e450
JM
23079 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23080 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23081 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23082 * sysdeps/unix/bsd/isatty.c: Likewise.
23083 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23084 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23085 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23086
ff8faaf0 230872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23088
62881be4 23089 [BZ #13563]
31dc8730
AZ
23090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23091 long double comparison inaccuracies.
23092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23094
6fef930c
AS
230952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23096
23097 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23099
8f203e6c
JM
231002012-05-04 Joseph Myers <joseph@codesourcery.com>
23101
23102 [BZ #14049]
23103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23104 nonzero digits before rounding a hex value.
23105 * stdlib/tst-strtod.c (tests): Add another test.
23106
5197d9c2
AK
231072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23108
23109 * sysdeps/s390/fpu/libm-test-ulps: Update.
23110
f0c1dedf
AJ
231112012-05-03 Andreas Jaeger <aj@suse.de>
23112
23113 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23114 does not get optimized out.
23115 (malloc_opt_barrier): New.
23116
a65ef2ae 231172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23118 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23119
2b942cb7 23120 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23121 intermediate file deletion.
2b942cb7 23122 (generated): Add .symlist files.
a65ef2ae 23123
54b71e02
JM
231242012-05-03 Joseph Myers <joseph@codesourcery.com>
23125
23126 [BZ #13775]
23127 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23128 Redirect under this condition.
23129 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23130 [__USE_GNU] (__dprintf_chk): Not under this condition.
23131 [__USE_GNU] (__vdprintf_chk): Likewise.
23132 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23133 under this condition.
23134 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23135 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23136 [__USE_XOPEN2K8] (vdprintf): Likewise.
23137 [__USE_GNU] (__dprintf_chk): Not under this condition.
23138 [__USE_GNU] (__vdprintf_chk): Likewise.
23139 [__USE_GNU] (dprintf): Likewise.
23140 [__USE_GNU] (vdprintf): Likewise.
23141
d3dfcc41
RM
231422012-05-03 Roland McGrath <roland@hack.frob.com>
23143
23144 * elf/Makefile (common-generated): Set this instead of generated for
23145 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23146 $(all-built-dso)-derived lists.
23147
7ac30cc5
AJ
231482012-05-03 Andreas Jaeger <aj@suse.de>
23149
0c51e550
AJ
23150 * sysdeps/i386/fpu/libm-test-ulps: Update.
23151
7ac30cc5
AJ
23152 * FAQ: Removed.
23153 * FAQ.in: Likewise.
23154 * scripts/gen-FAQ.pl: Likewise.
23155 * manual/install.texi (Installation): Point to online location of
23156 FAQ.
23157 * Makefile (files-for-dist): Remove FAQ.
23158 (FAQ): Remove.
23159
d4c2917f
AM
231602012-05-02 Allan McRae <allan@archlinux.org>
23161
23162 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23163 (LDFLAGS-reldepmod5.so): Likewise.
23164 (LDFLAGS-reldep6mod1.so): Likewise.
23165 (LDFLAGS-reldep6mod4.so): Likewise.
23166 (LDFLAGS-reldep8mod3.so): Likewise.
23167 (LDFLAGS-unload4mod1.so): Likewise.
23168 (LDFLAGS-unload4mod2.so): Likewise.
23169 (LDFLAGS-tst-initorder): Likewise.
23170 (LDFLAGS-tst-initordera2.so): Likewise.
23171 (LDFLAGS-tst-initordera3.so): Likewise.
23172 (LDFLAGS-tst-initordera4.so): Likewise.
23173 (LDFLAGS-tst-initorderb2.so): Likewise.
23174 (LDFLAGS-noload): Likewise.
23175 (LDFLAGS-next): Likewise.
23176 (LDFLAGS-order2mod1.so): Likewise.
23177 (LDFLAGS-order2mod2.so): Likewise.
23178 (LDFLAGS-tst-initorder2): Likewise.
23179 (LDFLAGS-tst-initorder2a.so): Likewise.
23180 (LDFLAGS-tst-initorder2b.so): Likewise.
23181 (LDFLAGS-tst-initorder2c.so): Likewise.
23182 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23183
d77f993f
DM
231842012-05-02 David S. Miller <davem@davemloft.net>
23185
23186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23187
171a70b4
PP
231882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23189
23190 [BZ #14055]
23191 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23192
0be196ad
AJ
231932012-05-02 Andreas Jaeger <aj@suse.de>
23194
23195 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23196 since we manipulate rounding mode.
23197 (CPPFLAGS-test-idouble.c): Likewise.
23198 (CPPFLAGS-test-ifloat.c): Likewise.
23199 (CFLAGS-test-ldouble.c): Likewise.
23200 (CFLAGS-test-double.c): Likewise.
23201 (CFLAGS-test-float.c): Likewise.
23202 (CFLAGS-test-misc.c): Likewise.
23203 (CFLAGS-test-test-fenv.c): Likewise.
23204
4f9d04aa
AZ
232052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23206
2b942cb7
RM
23207 [BZ #2550]
23208 [BZ #2570]
23209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23210 comparisons to determine direction to adjust input.
4f9d04aa 23211
82a79e7d
RM
232122012-05-01 Roland McGrath <roland@hack.frob.com>
23213
f5a01ca9
RM
23214 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23215 output to the target.
23216
90fe4186
RM
23217 * scripts/localplt.awk: New file.
23218 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23219 (check-localplt-CFLAGS): Variable removed.
23220 ($(all-built-dso:=.jmprel)): New static pattern rule.
23221 (generated): Add those targets.
23222 (localplt-built-dso): New variable.
23223 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23224
23225 * elf/check-localplt.c: File removed.
23226
82397ed6
RM
23227 * scripts/check-execstack.awk: New file.
23228 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23229 (check-execstack-CFLAGS): Variable removed.
23230 ($(objpfx)check-execstack.h): Target removed.
23231 ($(objpfx)execstack-default): New target.
23232 (generated): Add that instead of check-execstack.h.
23233 ($(all-built-dso:=.phdr)): New static pattern rule.
23234 (generated): Add those targets.
23235 * elf/check-execstack.c: File removed.
23236
82a79e7d
RM
23237 * scripts/check-textrel.awk: New file.
23238 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23239 (check-textrel-CFLAGS): Variable removed.
23240 (all-built-dso): Use := to define.o
23241 ($(all-built-dso:=.dyn)): New static pattern rule.
23242 (generated): Add those targets.
23243 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23244 * config.make.in (READELF): New substituted variable.
23245 * elf/check-textrel.c: File removed.
23246
62fde54f 232472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23248
615605c9
JM
23249 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23250 allow.
23251 * conform/data/ctype.h-data [C99-based standards] (isblank):
23252 Expect function.
23253 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23254 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23256 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23257 Specify type. Require positive value.
23258 (EILSEQ): Likewise.
23259 (ERANGE): Likewise.
23260 [ISO || POSIX] (EILSEQ): Do not expect.
23261 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23262 Specify type. Require positive value.
23263 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23264 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23265 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23266 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23267 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23268 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23269 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23270 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23271 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23272 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23273 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23274 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23275 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23276 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23277 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23278 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23279 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23280 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23281 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23282 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23283 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23284 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23285 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23286 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23287 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23288 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23289 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23290 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23291 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23292 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23293 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23294 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23295 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23296 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23297 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23298 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23299 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23300 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23301 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23302 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23303 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23304 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23305 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23306 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23307 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23308 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23309 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23310 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23311 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23312 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23313 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23314 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23315 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23316 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23317 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23318 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23319 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23320 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23321 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23322 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23323 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23324 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23325 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23326 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23327 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23328 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23329 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23330 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23331 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23332 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23333 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23334 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23335 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23336 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23337 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23338 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23339 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23340 Require >= 2.
23341 (FLT_ROUNDS): Expect as macro, not constant.
23342 (FLT_MANT_DIG): Use macro-int-constant.
23343 (DBL_MANT_DIG): Likewise.
23344 (LDBL_MANT_DIG): Likewise.
23345 (FLT_DIG): Likewise.
23346 (DBL_DIG): Likewise.
23347 (LDBL_DIG): Likewise.
23348 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23349 (DBL_MIN_EXP): Likewise.
23350 (LDBL_MIN_EXP): Likewise.
23351 (FLT_MAX_EXP): Use macro-int-constant.
23352 (DBL_MAX_EXP): Likewise.
23353 (LDBL_MAX_EXP): Likewise.
23354 (FLT_MAX_10_EXP): Likewise.
23355 (DBL_MAX_10_EXP): Likewise.
23356 (LDBL_MAX_10_EXP): Likewise.
23357 (FLT_MAX): Use macro-constant.
23358 (DBL_MAX): Likewise.
23359 (LDBL_MAX): Likewise.
23360 (FLT_EPSILON): Use macro-constant. Give upper bound.
23361 (DBL_EPSILON): Likewise.
23362 (LDBL_EPSILON): Likewise.
23363 (FLT_MIN): Likewise.
23364 (DBL_MIN): Likewise.
23365 (LDBL_MIN): Likewise.
23366 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23367 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23368 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23369 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23370 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23371 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23372 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23373 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23374 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23375 [ISO11] (FLT_TRUE_MIN): Likewise.
23376 [ISO11] (LDBL_TRUE_MIN): Likewise.
23377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23378 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23379 (SCHAR_MIN): Use macro-int-constant. Specify type.
23380 (SCHAR_MAX): Likewise.
23381 (UCHAR_MAX): Likewise.
23382 (CHAR_MIN): Likewise.
23383 (CHAR_MAX): Likewise.
23384 (MB_LEN_MAX): Use macro-int-constant.
23385 (SHRT_MIN): Use macro-int-constant. Specify type.
23386 (SHRT_MAX): Likewise.
23387 (USHRT_MAX): Likewise.
23388 (INT_MAX): Likewise.
23389 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23390 bound negative.
23391 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23392 bound with "U".
23393 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23394 bound with "L".
23395 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23396 bound negative. Suffix upper bound with "L".
23397 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23398 bound with "UL".
23399 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23400 Specify type.
23401 [C99-based standards] (LLONG_MAX): Likewise.
23402 [C99-based standards] (ULLONG_MAX): Likewise.
23403 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23404 == 0.
23405 [ISO11] (max_align_t): Require type.
23406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23407
c9140a62
JM
23408 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23409 from $CFLAGS, without defining away __attribute__ calls.
23410 (checknamespace): Use $CFLAGS_namespace.
23411
9af0bf29
JM
23412 * conform/conformtest.pl (@keywords): Only include C99 keywords
23413 for standards based on C99 or C11.
23414
343222a2
JM
23415 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23416 Disable tests.
23417 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23418 UNIX98]: Likewise.
23419
661f8cf0
JM
23420 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23421 usability of symbols in #if.
23422
ee74b9cb
JM
23423 * conform/conformtest.pl: If macro or constant types start
23424 "promoted:", expect the symbol to be of the following type
23425 promoted by the integer promotions.
62fde54f 23426
aafc49b3
JM
23427 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23428 in one place. Also handle "macro-constant".
23429
fefdf574
JM
23430 * conform/conformtest.pl: Only accept expected macro values with
23431 "==". Parse all "macro" lines in one place.
23432 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23433
f2d922fe
JM
23434 * conform/conformtest.pl: Handle braced types on "constant" lines
23435 instead of handling "typed-constant".
23436 * conform/data/signal.h-data: Use "constant" instead of
23437 "typed-constant".
23438
d22956c9
JM
23439 * conform/conformtest.pl: Handle "optional-" at start of lines in
23440 one place rather than duplicating several cases. Handle each
23441 format of "macro" line with initial "optional-".
23442
028e2e38
JM
23443 * conform/conformtest.pl: Only accept expected constant or
23444 optional-constant values with "==". Parse all "constant" lines in
23445 one place. Parse all "optional-constant" lines in one place.
23446 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23447 * conform/data/fmtmsg.h-data: Likewise.
23448 * conform/data/netinet/in.h-data: Likewise.
23449 * conform/data/tar.h-data: Likewise.
23450 * conform/data/limits.h-data: Use "==" form on "constant" and
23451 "optional-constant" lines.
23452
1b8f2850
JM
23453 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23454 Use -std=c99 for XOPEN2K.
23455 (@knownproblems): Remove.
23456 (newtoken): Don't check %isknown.
23457
a05a144b
JM
23458 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23459 Do not expect macro.
23460 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23461 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23462 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23463 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23464 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23465 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23466 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23467 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23468 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23469 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23470 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23471 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23472 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23473 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23474 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23475 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23476 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23477 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23478 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23479 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23480 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23481 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23482 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23483 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23484 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23485 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23486 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23487 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23488 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23489 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23490 [XPG3] (acosh): Likewise.
23491 [XPG3] (asinh): Likewise.
23492 [XPG3] (atanh): Likewise.
23493 [XPG3] (cbrt): Likewise.
23494 [XPG3] (expm1): Likewise.
23495 [XPG3] (ilogb): Likewise.
23496 [XPG3] (log1p): Likewise.
23497 [XPG3] (logb): Likewise.
23498 [XPG3] (nextafter): Likewise.
23499 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23500 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23501 [XPG3] (remainder): Likewise.
23502 [XPG3] (rint): Likewise.
23503 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23504 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23505 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23506 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23507 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23508 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23509 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23510 [UNIX98 || XOPEN2K] (scalb): Expect.
23511 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23512 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23513 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23514 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23515 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23516 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23517 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23518 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23519 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23520 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23521 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23522 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23523 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23524 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23525 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23526 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23527 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23528 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23529 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23530 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23531 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23532 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23533 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23534 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23535 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23536 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23537 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23538 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23539 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23540 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23541 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23542 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23543 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23544 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23545 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23546 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23547 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23548 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23549 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23550 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23551 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23552 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23553 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23554 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23555 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23556 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23557 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23558 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23559 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23560 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23561 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23562 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23563 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23564 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23565 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23566 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23567 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23568 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23569 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23570 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23571 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23572 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23573 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23574 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23586 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23587 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23604 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23605 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23606 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23607 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23608 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23609 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23610 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23611 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23612 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23615 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23616 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23624 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23625 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23626 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23648
73c5ebe3
JM
23649 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23650 _XOPEN_SOURCE_EXTENDED for XPG4.
23651
39c33b6c
JM
23652 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23653
62fde54f
JM
23654 * Makeconfig (localtime): Remove variable.
23655 (inst_localtime-file): Likewise.
23656
0741d64c
AS
236572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23658
23659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23660 Update.
23661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23662 Update.
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23664 Update.
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23666 Update.
23667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23668 Update.
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23670 Update.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23672 Update.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23674 Update.
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23676 Update.
23677
7cb029ee
JM
236782012-05-01 Joseph Myers <joseph@codesourcery.com>
23679
23680 [BZ #2550]
23681 [BZ #2570]
23682 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23683 comparisons to determine direction to adjust input.
23684 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23685 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23687 Likewise.
23688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23689 Likewise.
23690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23691 Likewise.
23692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23694 Likewise.
23695 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23696 Likewise.
23697 * math/libm-test.inc (nexttoward_test): Add more tests.
23698
412bd966
AS
236992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23700
23701 [BZ #14040]
23702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23703 in version GLIBC_2.1, not GLIBC_2.0.
23704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23705 Likewise.
23706
9568c0c2
JM
237072012-04-30 Joseph Myers <joseph@codesourcery.com>
23708
adfbc8ac
JM
23709 [BZ #13942]
23710 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23711 (1 - x) * (1 + x).
23712 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23713 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23714 * math/libm-test.inc (acos_test): Add more tests.
23715 (asin_test): Likewise.
23716 * sysdeps/i386/fpu/libm-test-ulps: Update.
23717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718
5ba3cc69
JM
23719 [BZ #14034]
23720 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23721 of square root.
23722 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23723 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23724 * math/libm-test.inc (acos_test_tonearest): New function.
23725 (acos_test_towardzero): Likewise.
23726 (acos_test_downward): Likewise.
23727 (acos_test_upward): Likewise.
23728 (asin_test_tonearest): Likewise.
23729 (asin_test_towardzero): Likewise.
23730 (asin_test_downward): Likewise.
23731 (asin_test_upward): Likewise.
23732 (main): Call the new functions.
23733 * sysdeps/i386/fpu/libm-test-ulps: Update.
23734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23735
9568c0c2
JM
23736 [BZ #13884]
23737 [BZ #13924]
23738 * math/e_exp10.c: Include <float.h>.
23739 (__ieee754_exp10): Handle underflow here rather than multiplying
23740 large negative argument by M_LN10.
23741 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23742 of __ieee754_expf.
23743 * math/e_exp10l.c: Include <float.h>.
23744 (__ieee754_exp10l): Handle underflow here rather than multiplying
23745 large negative argument by M_LN10l.
23746 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23747 spurious overflow exception on underflow.
23748
5ac3ea17
MP
237492012-04-29 Marek Polacek <polacek@redhat.com>
23750
23751 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23752 (__fortify_function): New macro.
23753 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23754 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23755 __extern_always_inline.
23756 * libio/bits/stdio2.h: Likewise.
23757 * libio/bits/stdio.h: Likewise.
23758 * string/string.h: Likewise.
23759 * string/bits/string3.h: Likewise.
23760 * include/stdio.h: Likewise.
23761 * stdlib/bits/stdlib.h: Likewise.
23762 * stdlib/stdlib.h: Likewise.
23763 * rt/bits/mqueue2.h: Likewise.
23764 * rt/mqueue.h: Likewise.
23765 * posix/bits/unistd.h: Likewise.
23766 * posix/unistd.h: Likewise.
23767 * io/bits/poll2.h: Likewise.
23768 * io/bits/fcntl2.h: Likewise.
23769 * io/fcntl.h: Likewise.
23770 * io/sys/poll.h: Likewise.
23771 * misc/bits/syslog.h: Likewise.
23772 * misc/bits/syslog-ldbl.h: Likewise.
23773 * misc/sys/syslog.h: Likewise.
23774 * socket/bits/socket2.h: Likewise.
23775 * socket/sys/socket.h: Likewise.
23776 * debug/tst-chk1.c: Likewise.
23777 * wcsmbs/bits/wchar2.h: Likewise.
23778 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23779 * wcsmbs/wchar.h: Likewise.
23780
ecf0ebfb
AJ
237812012-04-29 Andreas Jaeger <aj@suse.de>
23782
23783 * Makerules (tests): Remove enable-check-abi protection.
23784 (check-abi-warn): Remove.
23785 (check-abi-%): Remove check-abi-warn usage.
23786
23787 * configure.in: Remove check-abi configure option.
23788 * configure: Regenerated.
23789 * config.make.in (enable-check-abi): Remove.
23790
6d5c57fa
AS
237912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23792
24c5d07e 23793 [BZ #14033]
ded5180a
AS
23794 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23795 double functions to double *_finite functions.
23796
7e0d315d
AS
23797 [BZ #13941]
23798 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23799 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23800 LDBL_MIN_EXP.
23801 * stdio-common/Makefile (tests): Add tst-sprintf3.
23802 * stdio-common/tst-sprintf3.c: New file.
23803
6d5c57fa
AS
23804 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23805 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23806
0749ff8b
JM
238072012-04-28 Joseph Myers <joseph@codesourcery.com>
23808
23809 * conform/conformtest.pl: Remove duplicate typed-constant
23810 handling.
23811
8dbd5d7b
DM
238122012-04-28 David S. Miller <davem@davemloft.net>
23813
23814 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23815 (check-abi-%): Remove AWK script prerequisite and explicit
23816 abilist directory.
23817 (check-abi): Rewrite to just diff the symlist with the abilist.
23818 (config-tls, config-abi-config): Delete, no longer used.
23819 (update-abi-%): Remove AWK script and explicit abilist directory.
23820 (update-abi): Rewrite to simply compare and conditionally copy the
23821 symlist and the sysdep abilist file. Remove update-abi-config
23822 checks.
23823 * abilist/ld.abilist: Remove.
23824 * abilist/libBrokenLocale.abilist: Remove.
23825 * abilist/libanl.abilist: Remove.
23826 * abilist/libcrypt.abilist: Remove.
23827 * abilist/libdl.abilist: Remove.
23828 * abilist/librt.abilist: Remove.
23829 * abilist/libthread_db.abilist: Remove.
23830 * abilist/libutil.abilist: Remove.
23831 * scripts/extract-abilist.awk: Remove.
23832 * scripts/merge-abilist.awk: Remove.
23833 * sysdeps/generic/libcidn.abilist: New file.
23834 * sysdeps/generic/libnss_compat.abilist: New file.
23835 * sysdeps/generic/libnss_db.abilist: New file.
23836 * sysdeps/generic/libnss_dns.abilist: New file.
23837 * sysdeps/generic/libnss_files.abilist: New file.
23838 * sysdeps/generic/libnss_hesiod.abilist: New file.
23839 * sysdeps/generic/libnss_nis.abilist: New file.
23840 * sysdeps/generic/libnss_nisplus.abilist: New file.
23841 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23842 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23843 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23844 file.
23845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23846 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23847 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23848 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23849 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23850 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23851 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23852 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23853 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23854 file.
23855 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23856 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23857 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23858 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23859 file.
23860 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23862 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23863 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23864 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23865 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23866 file.
23867 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23868 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23869 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23870 file.
23871 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23873 New file.
23874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23875 New file.
23876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23877 New file.
23878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23879 New file.
23880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23881 New file.
23882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23883 New file.
23884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23885 New file.
23886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23887 New file.
23888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23889 New file.
23890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23891 New file.
23892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23893 New file.
23894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23895 New file.
23896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23897 New file.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23899 file.
23900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23901 New file.
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23903 New file.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23905 file.
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23907 New file.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23909 New file.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23911 file.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23913 New file.
23914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23915 New file.
23916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23917 New file.
23918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23919 New file.
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23921 New file.
23922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23923 New file.
23924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23926 file.
23927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23928 New file.
23929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23930 file.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23932 file.
23933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23934 file.
23935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23936 file.
23937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23938 file.
23939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23940 New file.
23941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23942 file.
23943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23944 file.
23945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23946 New file.
23947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23948 file.
23949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23951 file.
23952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23953 New file.
23954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23955 file.
23956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23957 file.
23958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23959 file.
23960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23961 file.
23962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23963 file.
23964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23965 New file.
23966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23967 file.
23968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23969 file.
23970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23971 New file.
23972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23973 file.
23974 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23975 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23976 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23977 file.
23978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23979 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23980 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23982 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23983 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23984 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23985 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23986 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23987 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23990 file.
23991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23992 New file.
23993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23994 file.
23995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23996 file.
23997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23998 file.
23999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24000 file.
24001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24002 file.
24003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24004 New file.
24005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24006 New file.
24007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24008 file.
24009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24010 New file.
24011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24012 file.
24013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24015 file.
24016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24017 New file.
24018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24019 file.
24020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24021 file.
24022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24023 file.
24024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24025 file.
24026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24027 file.
24028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24029 New file.
24030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24031 New file.
24032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24033 file.
24034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24035 New file.
24036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24037 file.
24038
41d73a1b
JM
240392012-04-28 Joseph Myers <joseph@codesourcery.com>
24040
24041 * conform/conformtest.pl: Fix typo in handling typed-constant from
24042 allow-header.
24043
28aeeda4
JM
240442012-04-27 Joseph Myers <joseph@codesourcery.com>
24045
adae8f5e
JM
24046 * README: Cut down references to pre-2.6 Linux kernels and
24047 Linuxthreads. Update lists of configurations in libc and ports
24048 and sort alphabetically. Say "or newer" with Linux kernel version
24049 requirements.
24050
28aeeda4
JM
24051 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24052
a462cb63
RA
240532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24054
24055 [BZ #887]
24056 * math/libm-test.inc (logb_test_downward): New test to expose
24057 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24058 rounding mode.
24059
6ad3493e
JM
240602012-04-27 Joseph Myers <joseph@codesourcery.com>
24061
24062 [BZ #14027]
24063 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24064 to be done.
24065 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24066 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24067
2ce4f015
JM
240682012-04-26 Joseph Myers <joseph@codesourcery.com>
24069
5aeb141a
JM
24070 * sysdeps/unix/i386/brk.S: Remove file.
24071 * sysdeps/unix/i386/dl-brk.S: Likewise.
24072 * sysdeps/unix/i386/pipe.S: Likewise.
24073 * sysdeps/unix/i386/sigreturn.S: Likewise.
24074 * sysdeps/unix/i386/syscall.S: Likewise.
24075 * sysdeps/unix/i386/vfork.S: Likewise.
24076 * sysdeps/unix/i386/wait.S: Likewise.
24077
7143acae
JM
24078 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24079 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24080
2ce4f015
JM
24081 * configure.in (arm*-none*): Do not allow without
24082 --enable-hacker-mode.
24083 (netbsd*): Remove case setting base_os.
24084 (386bsd*): Likewise.
24085 (freebsd*): Likewise.
24086 (bsdi*): Likewise.
24087 (osf*): Likewise.
24088 (sunos*): Likewise.
24089 (ultrix*): Likewise.
24090 (newsos*): Likewise.
24091 (dynix*): Likewise.
24092 (*bsd*): Likewise.
24093 (sysv*): Likewise.
24094 (isc*): Likewise.
24095 (esix*): Likewise.
24096 (sco*): Likewise.
24097 (minix*): Likewise.
24098 (irix4*): Likewise.
24099 (irix6*): Likewise.
24100 (solaris[2-9]*): Likewise.
24101 (none): Likewise.
24102 * configure: Regenerated.
24103
0ac229c8
AZ
241042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24105
24106 [BZ #11521]
24107 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24108 overflow or cancellation in calculating denominator.
24109 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24111 down expression to avoid unexpected rounding in newer GCCs.
24112 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24113
33f244f4
DM
241142012-04-26 David S. Miller <davem@davemloft.net>
24115
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24117 long-double compat symbols.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24131
cfa1f3e8
DM
241322012-04-25 David S. Miller <davem@davemloft.net>
24133
24134 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24135 HWCAP_* values only after the memory barriers have been defined.
24136 (atomic_full_barrier): Define.
24137 (atomic_read_barrier): Define.
24138 (atomic_write_barrier): Define.
24139
6e236b92
SP
241402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24141
24142 * shlib-versions: Add libgcc_s version information.
24143 * sysdeps/generic/libgcc_s.h: Remove.
24144 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24145 libgcc_s.h.
24146 * sysdeps/gnu/unwind-resume.c: Likewise.
24147 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24148
aab39a09
DM
241492012-04-25 David S. Miller <davem@davemloft.net>
24150
24151 * sysdeps/unix/sparc/brk.S: Delete.
24152 * sysdeps/unix/sparc/dl-brk.S: Delete.
24153 * sysdeps/unix/sparc/pipe.S: Delete.
24154 * sysdeps/unix/sparc/sysdep.S: Delete.
24155 * sysdeps/unix/sparc/sysdep.h: Delete.
24156 * sysdeps/unix/sparc/vfork.S: Delete.
24157 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24158 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24160 ret_ERRVAL, r0, r1, MOVE): Define.
24161 (JUMPTARGET): Remove.
24162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24163 sysdeps/unix/sparc/sysdep.h
24164 (ENTRY, END): Remove.
24165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24166
a3cc4f48
JM
241672012-04-25 Joseph Myers <joseph@codesourcery.com>
24168
2ed8cda2
JM
24169 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24170 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24171 -DIS_IN_build.
24172
35d76d59
JM
24173 * timezone/README: Update upstream location and email address for
24174 tzcode and tzdata.
24175 * timezone/zdump.c: Update from tzcode 2012b.
24176 * timezone/zic.c: Likewise.
24177
a3cc4f48
JM
24178 * configure.in (libc_cv_as_needed): Remove test.
24179 * configure: Regenerated.
24180 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24181 conditional definition.
24182 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24183 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24184 * config.make.in (have-as-needed): Remove variable.
24185
ceab42c3
SP
241862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24187 Paul Pluzhnikov <ppluzhnikov@google.com>
24188
24189 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24190 strings correctly.
24191
3ce2865f
CLT
241922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24193
24194 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24195 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24196 * sysdeps/sh/strlen.S: Likewise.
24197
f37e0d68
JM
241982012-04-24 Joseph Myers <joseph@codesourcery.com>
24199
ae186e9a
JM
24200 * sysdeps/unix/fork.S: Remove file.
24201 * sysdeps/unix/i386/fork.S: Likewise.
24202 * sysdeps/unix/sparc/fork.S: Likewise.
24203
b96914af
JM
24204 * sysdeps/unix/system.c: Remove file.
24205 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24206
f37e0d68
JM
24207 * sysdeps/unix/getegid.S: Remove file.
24208 * sysdeps/unix/geteuid.S: Likewise.
24209
87ef29ca
RM
242102012-04-24 Roland McGrath <roland@hack.frob.com>
24211
83bcd236
RM
24212 * scripts/check-localplt.awk: New file.
24213 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24214 of diff.
24215 * scripts/data/localplt-generic.data: Add a comment.
24216
87ef29ca
RM
24217 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24218 NODE when __dir_mkfile failed.
24219 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24220 Reported by Ludovic Courtès <ludo@gnu.org>.
24221
e5a6e567
AJ
242222012-04-24 Andreas Jaeger <aj@suse.de>
24223
24224 * Makerules (common-clean): Also remove gen-as-const-headers
24225 files.
24226
c1820385
JM
242272012-04-24 Joseph Myers <joseph@codesourcery.com>
24228
24229 * Makerules (native-compile): Do not change working directory for
24230 build. Use $(OUTPUT_OPTION) in command.
24231 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24232
94e02fc4
AZ
242332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24234
24235 [BZ #13886]
24236 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24237 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24238 * math/libm-test.inc (floor_test): Add more tests.
24239 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24240
3a533ca3
JM
242412012-04-24 Joseph Myers <joseph@codesourcery.com>
24242
940ab4b3
JM
24243 * sysdeps/unix/getdents.c: Remove file.
24244 * sysdeps/unix/sysv/getdents.c: Likewise.
24245 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24246
90e037bd
JM
24247 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24248 sysdeps/unix/mman/syscalls.list.
24249 (mmap): Likewise.
24250 (mprotect): Likewise.
24251 (msync): Likewise.
24252 (munmap): Likewise.
24253 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24254 * sysdeps/unix/mman/syscalls.list: Remove.
24255 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24256
3a533ca3
JM
24257 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24258 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24259 * configure: Regenerated.
24260 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24261 $(libgcc_s_suffix).
24262 * config.make.in (libgcc_s_suffix): Remove variable.
24263
1ad743de
JM
242642012-04-23 Joseph Myers <joseph@codesourcery.com>
24265
4ad451e2
JM
24266 * sysdeps/unix/sysv/gethostname.c: Move to ...
24267 * sysdeps/posix/gethostname.c: ... here.
24268
5e37ce39
JM
24269 * sysdeps/unix/execve.S: Remove file.
24270
1ad743de
JM
24271 * sysdeps/unix/_exit.S: Remove file.
24272
4e681b5b
AJ
242732012-04-23 Andreas Jaeger <aj@suse.de>
24274
24275 [BZ #13739]
24276 * manual/Makefile: Remove make dist support, there's no
24277 need for a stand-alone documentation tar ball.
24278 (TEXI2DVI): Define always, it's not in Makeconfig.
24279 (dist): Removed.
24280 (tar-it): Removed.
24281 (edition): Removed.
24282 (glibc-doc-$(edition).tar): Removed
24283 (%.Z): Removed.
24284 (%.gz): Removed.
24285 (%.uu): Removed.
24286 (ETAGS): Remove, it's in Makeconfig.
24287 (move-if-change): Remove, it's in Makeconfig.
24288
38686a03 242892012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24290
24291 [BZ #13970]
24292 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24293 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24294 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24295 (strtod_l, strtof_l, strtold_l): Remove __wur.
24296 It is not necessarily an error to ignore strtol's return value.
24297 One can reliably look at the stored endptr to decide whether
24298 the number had valid syntax.
24299
7c0616fa
AJ
243002012-04-21 Andreas Jaeger <aj@suse.de>
24301
803cb6b7 24302 [BZ #13739]
7c0616fa
AJ
24303 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24304
b0fe253f
JM
243052012-04-21 Joseph Myers <joseph@codesourcery.com>
24306
24307 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24308 * sysdeps/unix/sysv/Versions: Remove file.
24309
8280f22d
MT
243102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24311
24312 [BZ #13927]
24313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24314
75ce411f 243152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24316
24317 [BZ #7064]
24318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24319 version from __vm86.
24320
097d59fa
JM
243212012-04-20 Joseph Myers <joseph@codesourcery.com>
24322
a90f3bcb
JM
24323 * sysdeps/unix/common/lxstat.c: Remove file.
24324 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24325
edc7ea78
JM
24326 * sysdeps/unix/sysv/Makefile: Remove file.
24327
cb78c221
JM
24328 * sysdeps/unix/sysv/direct.h: Remove file.
24329
efa6a45f
JM
24330 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24331 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24332 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24333 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24334 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24335 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24336 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24337
9c9f2d0c
JM
24338 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24339
4541c83b
JM
24340 * sysdeps/unix/xmknod.c: Remove file.
24341 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24342
f5d153a0
JM
24343 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24344
aa746595
JM
24345 * sysdeps/unix/sysv/i386/time.S: Remove file.
24346
cce5905e
JM
24347 * sysdeps/unix/fxstat.c: Remove file.
24348 * sysdeps/unix/xstat.c: Likewise.
24349 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24350
37fa3841
JM
24351 * sysdeps/unix/sysv/sigaction.c: Remove file.
24352
ff1962a3
JM
24353 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24354 (sysdep_headers): Remove variable.
24355 [termio.h not in sysdep_headers] (generated): Likewise.
24356 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24357 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24358 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24359 * sysdeps/unix/sysv/tcflow.c: Likewise.
24360 * sysdeps/unix/sysv/tcflush.c: Likewise.
24361 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24362 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24363 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24364 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24365 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24366
e7740d31
JM
24367 * sysdeps/unix/siglist.c: Remove file.
24368
ee06f18b
JM
24369 * sysdeps/unix/getppid.S: Remove file.
24370
097d59fa
JM
24371 * sysdeps/unix/mkdir.c: Remove file.
24372 * sysdeps/unix/rmdir.c: Likewise.
24373
ff3d51ec
AS
243742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24375
24376 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24377 ERR_MAX value.
24378 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24379 errlist-compat value.
24380
50f81fd7
DM
243812012-04-18 David S. Miller <davem@davemloft.net>
24382
24383 * sysdeps/generic/memcopy.h (reg_char): Delete.
24384 * debug/strcat_chk.c: Use char, not reg_char.
24385 * debug/strcpy_chk.c: Likewise.
24386 * debug/strncat_chk.c: Likewise.
24387 * debug/strncpy_chk.c: Likewise.
24388 * string/memchr.c: Likewise.
24389 * string/memrchr.c: Likewise.
24390 * string/rawmemchr.c: Likewise.
24391 * string/strcat.c: Likewise.
24392 * string/strchr.c: Likewise.
24393 * string/strchrnul.c: Likewise.
24394 * string/strcmp.c: Likewise.
24395 * string/strcpy.c: Likewise.
24396 * string/strncat.c: Likewise.
24397 * string/strncmp.c: Likewise.
24398 * string/strncpy.c: Likewise.
24399
8ff41c46
WS
244002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24401
24402 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24403 __builtin_memcopy is called when src and dest ranges are known to not
24404 overlap.
24405
6b652f46
WS
244062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24407
24408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24409 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24410 fwd_align_merge macro call.
24411 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24412 bwd_align_merge macro call.
24413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24414
b282631e
WS
244152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24416
24417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24418 bwd_align_merge macros.
24419 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24420 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24421 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24422
95aa737c
DM
244232012-04-18 David S. Miller <davem@davemloft.net>
24424
24425 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24426
7a99a614
AJ
244272012-04-18 Andreas Jaeger <aj@suse.de>
24428
24429 [BZ# 6794]
24430 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24431 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24432 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24433
24434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24435 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24436 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24437
24438 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24439 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24440 Adjust for changed ldbl-128 files.
24441
24442 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24443 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24445
e5270c23
DM
244462012-04-17 David S. Miller <davem@davemloft.net>
24447
24448 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24449
fb5e92c9
AS
244502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24451
24452 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24453 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24454 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24455 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24456 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24457 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24458
76da7265
AZ
244592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24460
24461 [BZ #6794]
24462 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24463 * math/libm-test.inc: Add ilogb errno and exception tests.
24464 * math/w_ilogb.c: New file: ilogb wrapper.
24465 * math/w_ilogbf.c: New file: ilogbf wrapper.
24466 * math/w_ilogbl.c: New file: ilogbl wrapper.
24467 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24468 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24469 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24470 exception being thrown with 0.0 as argument.
24471 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24472 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24473 exception being thrown with 0.0 as argument.
24474 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24475 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24476 exception being thrown with 0.0 as argument.
24477 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24478 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24479 exception being thrown with 0.0 as argument.
24480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24481 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24482 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24483 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24485 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24486 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24487 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24488 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24489
0396e69d
PB
244902012-04-17 Petr Baudis <pasky@ucw.cz>
24491
24492 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24493 with altivec.
24494
750b5926
MP
244952012-04-16 Marek Polacek <polacek@redhat.com>
24496
24497 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24498
751728a1
MP
244992012-04-16 Marek Polacek <polacek@redhat.com>
24500
24501 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24502 operands of fdivp instruction.
24503
34a27407
L
245042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24505
24506 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24507 * elf/tst-auditmod3b.c: Likewise.
24508 * elf/tst-auditmod4b.c: Likewise.
24509 * elf/tst-auditmod5b.c: Likewise.
24510 * elf/tst-auditmod6b.c: Likewise.
24511 * elf/tst-auditmod6c.c: Likewise.
24512 * elf/tst-auditmod7b.c: Likewise.
24513 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24514 * sysdeps/x86_64/preconfigure.in: Likewise.
24515 * sysdeps/x86_64/preconfigure: Regenerated.
24516
7e73e17d
L
245172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24520 __ILP32__.
24521
c7a6ab72
AB
245222012-04-13 Antoine Balestrat <merkil33@gmail.com>
24523
24524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24525 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24526
a9e8e0e0
CL
245272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24528
24529 [BZ #13973]
24530 * locale/iso-639.def: Fix gl language name. Spotted by
24531 Yaron Shahrabani.
24532
ec98af7d
RM
245332012-04-12 Roland McGrath <roland@hack.frob.com>
24534
24535 [BZ #2074]
24536 * libio/libio.h (__io_write_fn): Update comment.
24537
247c3ede
PB
245382012-04-12 Petr Baudis <pasky@ucw.cz>
24539
24540 [BZ #2074]
24541 * stdio.texi (Hook Functions): The user provided writer function
24542 is not allowed to return -1.
24543
55939d6d
DM
245442012-04-11 David S. Miller <davem@davemloft.net>
24545
24546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24547
90020f5a
MF
245482012-04-11 Mike Frysinger <vapier@gentoo.org>
24549
24550 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24551 Add a leading slash to rtkaio.
24552
288f9098
JM
245532012-04-11 Jim Meyering <meyering@redhat.com>
24554
90020f5a
MF
24555 [BZ #11959]
24556 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24557 It is not necessarily an error to ignore fwrite's return
24558 value. One can reliably use ferror to test for errors after
24559 the fact.
288f9098 24560
4be2b570
L
245612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24562
24563 * bits/types.h (__snseconds_t): New type.
24564 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24565
24566 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24568 (__SNSECONDS_T_TYPE): Likewise.
24569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24570 (__SNSECONDS_T_TYPE): Likewise.
24571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24572 (__SNSECONDS_T_TYPE): Likewise.
24573
288f9098 245742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24575
24576 [BZ #2636]
24577 * manual/time.texi (Processor Time): Return type of times is
24578 elapsed real time since an arbitrary point in the past.
24579 (CPU Time): Move CLK_TCK from here...
24580 (Processor Time): ...to here. Correct description.
24581 * manual/conf.texi (Constants for Sysconf): Correct description of
24582 _SC_CLK_TCK.
24583
d7dd4413
DM
245842012-04-10 David S. Miller <davem@davemloft.net>
24585
24586 [BZ #13967]
24587 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24588 where the is a gap between DT_REL(A) and DT_JMPREL.
24589
b46068fc
L
245902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24591
24592 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24593 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24594 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24595
73d65cc3
SP
245962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24597
24598 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24599 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24600 (dl_main): Handle --inhibit-cache.
24601 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24602 _dl_inhibit_cache.
24603 * elf/dl-load.c (_dl_map_object): Use it.
24604 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24605
bcc8d661
JM
246062012-04-09 Joseph Myers <joseph@codesourcery.com>
24607
8f9a2fae
JM
24608 [BZ #13872]
24609 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24610 (__ieee754_powl): Saturate large exponents rather than testing for
24611 overflow of y*log2(x).
24612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24613 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24614 exceptions.
24615
bcc8d661
JM
24616 [BZ #11521]
24617 * math/s_ctan.c: Include <float.h>.
24618 (__ctan): Avoid internal overflow or cancellation in calculating
24619 denominator.
24620 * math/s_ctanf.c: Likewise.
24621 * math/s_ctanl.c: Likewise.
24622 * math/s_ctanh.c: Likewise.
24623 * math/s_ctanhf.c: Likewise.
24624 * math/s_ctanhl.c: Likewise.
24625 * math/libm-test.inc (ctan_test): Add more tests.
24626 (ctanh_test): Likewise.
24627 * sysdeps/i386/fpu/libm-test-ulps: Update.
24628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24629
823fbbb4
AJ
246302012-04-09 Andreas Jaeger <aj@suse.de>
24631
03879793
AJ
24632 [BZ #6894]
24633 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24634 is an optional BSD extension.
24635
823fbbb4
AJ
24636 [BZ #10254]
24637 * manual/stdio.texi (Opening Streams): Document additional fopen
24638 parameters.
24639
8de131cb
RM
246402012-04-09 Roland McGrath <roland@hack.frob.com>
24641
24642 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24643 %eax without telling the compiler.
24644
c0ed9d7d
CD
246452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24646
24647 [BZ # 13963]
24648 * manual/install.texi: Use sourceware.org.
24649
c483f6b4
JM
246502012-04-09 Joseph Myers <joseph@codesourcery.com>
24651
d7dd9453
JM
24652 [BZ #13873]
24653 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24654 (__ieee754_pow): Generate overflow and underflow using huge*huge
24655 and tiny*tiny rather than just returning constant infinity or zero
24656 for large exponents.
24657 * math/libm-test.inc (pow_test): Require overflow exceptions for
24658 applicable cases of large exponents.
24659
c483f6b4
JM
24660 [BZ #706]
24661 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24662 (__ieee754_pow): Use iterative multiplication algorithm only for
24663 integer exponents with absolute value below 1024. Check for odd
24664 integer exponents when using algorithm for real exponents.
24665 * math/libm-test.inc (pow_test): Add more tests.
24666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24667
d2de7579
JM
246682012-04-08 Joseph Myers <joseph@codesourcery.com>
24669
24670 [BZ #13705]
24671 * math/libm-test.inc (exp_test): Do not allow overflow exception
24672 on underflow test.
24673
f77f1232
AJ
246742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24675
24676 [BZ #13705]
24677 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24678 instead of __kernel_standard_f.
24679
3884932b
MF
246802012-04-08 Mike Frysinger <vapier@gentoo.org>
24681
24682 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24683 * sysdeps/x86_64/memset_chk.S: Likewise.
24684
54472e9c
AJ
246852012-04-08 Andreas Jaeger <aj@suse.de>
24686
6ab0fbfc
AJ
24687 [BZ #10153]
24688 * manual/startup.texi (Environment Access): Describe return value
24689 for putenv and setenv.
24690
61efba8c
AJ
24691 [BZ #6895]
24692 * manual/filesys.texi (Directory Entries): Add description for
24693 DT_LNK.
24694
95c3f29a
AJ
24695 [BZ #6890]
24696 * manual/filesys.texi (Directory Entries): Clarify that it's file
24697 system not operating system in the description of DT_UNKNOWN.
24698
54472e9c
AJ
24699 [BZ #6578]
24700 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24701
624254b1
SC
247022012-04-08 Stephen Compall <s11@member.fsf.org>
24703
24704 [BZ #6649]
24705 * manual/llio.texi (Opening and Closing Files): Add cross
24706 reference to explain mode argument.
24707
1e4920e0
MF
247082012-04-07 Mike Frysinger <vapier@gentoo.org>
24709
24710 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24711 * sysdeps/x86_64/memset_chk.S: Likewise.
24712
5ed848f3
DM
247132012-04-07 David S. Miller <davem@davemloft.net>
24714
24715 * elf/elf.h (R_SPARC_WDISP10): Define.
24716 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24717 R_SPARC_SIZE32.
24718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24719 R_SPARC_SIZE64 and R_SPARC_H34.
24720
96154cd8
CD
247212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24722
24723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24724 conditions and remove no longer applicable assertion.
24725
9904dc47
L
247262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24727
24728 * bits/byteswap.h: Include <features.h>.
24729 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24730 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24731
f8887d0a
L
247322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24733
24734 * bits/byteswap.h (__bswap_16): Removed.
24735 Include <bits/byteswap-16.h> to get __bswap_16.
24736 * sysdeps/i386/bits/byteswap.h: Likewise.
24737 * sysdeps/s390/bits/byteswap.h: Likewise.
24738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24739 * bits/byteswap-16.h: New file.
24740 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24741 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24742 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24743 * string/Makefile (headers): Add bits/byteswap-16.h.
24744
62470f60
PP
247452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24746
24747 [BZ #13895]
24748 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24749 extra indirection.
24750 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24751 * nss/tst-nss-static.c: New.
24752
4dad7bab
RM
247532012-04-06 Robert Millan <rmh@gnu.org>
24754
24755 [BZ #6486]
24756 * manual/llio.texi (File Position Primitive): lseek
24757 refers to WHENCE when it really means OFFSET.
24758
e9142a17
AJ
247592012-04-06 Andreas Jaeger <aj@suse.de>
24760
2c040eff
AJ
24761 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24762 strncmp declarations.
24763
e9142a17
AJ
24764 * abilist/libc.abilist: Add __poll and __ppoll.
24765
ff9f1c5f
DM
247662012-04-05 David S. Miller <davem@davemloft.net>
24767
dcd2ae90
DM
24768 * scripts/check-local-headers.sh: Accept a host triplet in the
24769 path matched by the exclude regexp.
24770
993eb054
DM
24771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24772 definition.
24773 * sysdeps/powerpc/powerpc32/dl-machine.h
24774 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24775 * sysdeps/s390/s390-32/dl-machine.h
24776 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24777 * sysdeps/sparc/sparc32/dl-machine.h
24778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24779 * sysdeps/sparc/sparc64/dl-machine.h
24780 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24781
ff9f1c5f
DM
24782 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24783 lazy binding.
48e2e132 24784 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24785 undefined symbol errors.
24786
48e2e132 24787 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24788 DT_NEEDED entries.
24789
e80d6f94
MM
247902012-04-05 Michael Matz <matz@suse.de>
24791
24792 [BZ #13592]
24793 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24794
349fa79f
AJ
247952012-04-05 Andreas Jaeger <aj@suse.de>
24796
24797 [BZ #13908]
24798 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24799 comment.
24800
f402708f
KK
248012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24802
24803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24804 which ROUND is no valid rounding mode.
24805
2ecccfc9
KK
248062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24807
24808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24809 read again.
24810 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24811
8a53f50f
KK
248122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24813
24814 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24815 an exception using FPU order intentionally.
24816
248172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24818
24819 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24820 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24821 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24822 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24823
d653abb7
SJ
248242012-04-05 Simon Josefsson <simon@josefsson.org>
24825
24826 [BZ #12340]
24827 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24828 EINVAL when BUFLEN is too smal.
24829
c3b1bf7d
TS
248302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24831
24832 [BZ #13553]
24833 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24834 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24835
b1aa60f3
AJ
248362012-04-03 Andreas Jaeger <aj@suse.de>
24837
c3b1bf7d 24838 [BZ #13938]
67f60a26
AJ
24839 * manual/setjmp.texi (System V contexts): Fix sentence.
24840
b1aa60f3
AJ
24841 [BZ #13926]
24842 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24843 New macro for this case.
24844 [!__GNUC__] (__bswap_64): New inline function for this case.
24845 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24846 * bits/byteswap.h: Likewise.
24847 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24848 ull, guard with __GLIBC_HAVE_LONG_LONG.
24849
24850 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24851 __GLIBC_HAVE_LONG_LONG.
24852
24853 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24854 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24855
39c59c35
TMQMF
248562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24857
24858 [BZ #13691]
24859 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24860 inptr and inend, rather than using last_ch.
24861
135ffda8
DM
248622012-04-02 David S. Miller <davem@davemloft.net>
24863
24864 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24865 * stdio-common/printf-parse.h (read_int): Change return type to
24866 'int', return -1 on INT_MAX overflow.
24867 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24868 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24869 overflows INT_MAX. Check for overflow of in-format-string precision
24870 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24871 SIZE_MAX not INT_MAX for integer overflow test.
24872 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24873 skip the construct in the format string but do not record anything.
24874 * stdio-common/bug22.c: Adjust to test both width/prevision
24875 INT_MAX overflow as well as total length INT_MAX overflow. Check
24876 explicitly for proper errno values.
24877
228c019e
TS
248782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24879
302cadd3
TS
24880 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24881 CHAR_MAX.
24882 * string/test-strcmp.c [! WIDE]: Likewise.
24883 * time/tst-mktime2.c: Likewise for INT_MAX.
24884 * string/test-string.h: #include <sys/param.h> for MIN.
24885
228c019e
TS
24886 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24887 * sysdeps/i386/init-first.c (init): Likewise.
24888 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24889 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24890 * sysdeps/sh/init-first.c (init): Likewise.
24891
cfa633f5
UD
248922012-04-01 Ulrich Drepper <drepper@gmail.com>
24893
24894 * po/ru.po: Update from translation team.
d1635ef8 24895 * po/vi.po: Likewise.
cfa633f5 24896
6cd0a5ea
SP
248972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24898
24899 * resolv/nss_dns/dns-host.c: Merge copyright years.
24900
4b43400f
LD
249012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24902
24903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24904 Optimize memcpy with prefetch if
24905 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24906 src, dst pointers have unequal 16 byte alignments.
24907
48c41d04
SP
249082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
24910 [BZ #13928]
24911 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24912 from a CNAME entry and return the minimum ttl for the query.
24913 (gaih_getanswer_slice): Likewise.
24914
b8dc394d
JL
249152012-03-30 Jeff Law <law@redhat.com>
24916
24917 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24918 due to long keys.
24919 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24920 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24921
2f5a5ed0
JL
24922 * resolv/nss_dns/dns-host.c: Update copyright year.
24923
1d39e359
UD
249242012-03-30 Ulrich Drepper <drepper@gmail.com>
24925
c030f70c 24926 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24927 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24928
1d39e359
UD
24929 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24930 comments for sendmmsg.
24931
249322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24933
24934 [BZ #13691]
24935 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24936 with only 1 character between 0x0041 and 0x01b0.
24937 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24938 * wcsmbs/tst-mbsnrtowcs.c: New file.
24939
20fde227
DM
249402012-03-29 David S. Miller <davem@davemloft.net>
24941
24942 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24943 small copies by hand.
24944
984a4237
JL
249452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24946
24947 [BZ #13761]
24948 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24949 _nss_compat_initgroups_dyn): Fall back to malloc/free
24950 for large group memberships.
24951
18c9d62b
DM
249522012-03-28 David S. Miller <davem@davemloft.net>
24953
88d85d4f
DM
24954 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24955 that branches into memcpy.
24956 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24959 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24961 bits.
24962 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24963 implementation too.
24964 * sysdeps/sparc/mempcpy.S: New file.
24965
e5aa83e1
DM
24966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24967 the IFUNC routine in the libc case.
24968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24969
88570753
DM
24970 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24972 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24973 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24974 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24975 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24976 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24977 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24978
249d7567
DM
24979 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24980 loop to 256 bytes instead of 64 bytes and fix test signedness.
24981
18c9d62b
DM
24982 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24983 * sysdeps/sparc/sparc32/Makefile: rather than here...
24984 * sysdeps/sparc/sparc64/Makefile: and here.
24985
05f3d1f6
UD
249862012-03-28 Ulrich Drepper <drepper@gmail.com>
24987
24988 * malloc/mallocbug.c: Avoid warnings about unused variables.
24989
86ae07a8
JL
249902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24991
24992 [BZ #13760]
24993 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24994 in the right place. Discard and retry query if response is
24995 larger than input buffer size.
24996
41bf21a1
JM
249972012-03-28 Joseph Myers <joseph@codesourcery.com>
24998
d6270972
JM
24999 [BZ #369]
25000 [BZ #2678]
25001 [BZ #3866]
25002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25003 x for large integer exponent.
25004 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25005 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25006 sign of result as needed afterwards.
25007 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25009 result for underflowing pow the same as for overflow.
25010 (__kernel_standard_l): Handle powl overflow and underflow here
25011 rather than calling __kernel_standard.
25012 * math/libm-test.inc (pow_test): Add more tests.
25013
414fca03 25014 [BZ #3868]
41bf21a1
JM
25015 [BZ #13879]
25016 [BZ #13910]
25017 [BZ #13911]
25018 [BZ #13912]
25019 [BZ #13913]
25020 [BZ #13915]
25021 [BZ #13916]
25022 [BZ #13917]
25023 [BZ #13918]
25024 [BZ #13919]
25025 [BZ #13920]
25026 [BZ #13921]
25027 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25028 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25029 (__kernel_standard_l): New function.
25030 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25031 __kernel_standard.
25032 * math/w_acosl.c (__acosl): Likewise.
25033 * math/w_asinl.c (__asinl): Likewise.
25034 * math/w_atan2l.c (__atan2l): Likewise.
25035 * math/w_atanhl.c (__atanhl): Likewise.
25036 * math/w_coshl.c (__coshl): Likewise.
25037 * math/w_exp10l.c (__exp10l): Likewise.
25038 * math/w_exp2l.c (__exp2l): Likewise.
25039 * math/w_fmodl.c (__fmodl): Likewise.
25040 * math/w_hypotl.c (__hypotl): Likewise.
25041 * math/w_j0l.c (__j0l, __y0l): Likewise.
25042 * math/w_j1l.c (__j1l, __y1l): Likewise.
25043 * math/w_jnl.c (__jnl, __ynl): Likewise.
25044 * math/w_lgammal.c (__lgammal): Likewise.
25045 * math/w_log10l.c (__log10l): Likewise.
25046 * math/w_log2l.c (__log2l): Likewise.
25047 * math/w_logl.c (__logl): Likewise.
25048 * math/w_powl.c (__powl): Likewise.
25049 * math/w_remainderl.c (__remainderl): Likewise.
25050 * math/w_scalbl.c (sysv_scalbl): Likewise.
25051 * math/w_sinhl.c (__sinhl): Likewise.
25052 * math/w_sqrtl.c (__sqrtl): Likewise.
25053 * math/w_tgammal.c (__tgammal): Likewise.
25054 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25055 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25056 * math/libm-test.inc (acos_test): Add more tests.
25057 (acosh_test): Likewise.
25058 (asin_test): Likewise.
25059 (atanh_test): Likewise.
25060 (exp_test): Likewise.
25061 (exp10_test): Likewise.
25062 (exp2_test): Likewise.
25063 (expm1_test): Likewise.
25064 (lgamma_test): Likewise.
25065 (log_test): Likewise.
25066 (log10_test): Likewise.
25067 (log1p_test): Likewise.
25068 (log2_test): Likewise.
25069 (pow_test): Do not allow some spurious overflow exceptions.
25070 (sqrt_test): Add more tests.
25071 (tgamma_test): Likewise.
25072 (y0_test): Likewise.
25073 (y1_test): Likewise.
25074 (yn_test): Likewise.
25075
dd62fda6
AB
250762012-03-27 Anton Blanchard <anton@samba.org>
25077
25078 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25079 MAP_HUGETLB.
25080 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25083
1e3cdfda
AJ
250842012-03-27 David S. Miller <davem@davemloft.net>
25085
b855ab85
DM
25086 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25087
1e3cdfda
AJ
25088 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25089 have-as-vis3 check.
25090
250912012-03-27 Andreas Jaeger <aj@suse.de>
25092
25093 * sysdeps/x86_64/elf/configure.in: Moved to ...
25094 * sysdeps/x86_64/configure.in: ... here.
25095 * sysdeps/x86_64/elf/start.S: Moved to ...
25096 * sysdeps/x86_64/start.S: ... here.
25097 * sysdeps/x86_64/elf/configure: Delete.
25098
25099 * sysdeps/x86_64/configure.in: Merge contents from
25100 sysdeps/i386/configure.in (without i686 check).
25101
25102 * sysdeps/i386/elf/Versions: Merge into ...
25103 * sysdeps/i386/Versions: ... this.
25104 * sysdeps/i386/elf/Versions: Delete file.
25105 * sysdeps/i386/elf/start.S: Moved to ...
25106 * sysdeps/i386/start.S: ...here.
25107 * sysdeps/i386/elf/configure.in: Merge into...
25108 * sysdeps/i386/configure.in: ...here.
25109 * sysdeps/i386/elf/configure.in: Delete file.
25110 * sysdeps/i386/elf/configure: Delete file.
25111
25112 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25113 * debug/backtracesyms.c: ... here.
25114 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25115 * debug/backtracesymsfd.c: ... here.
25116 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25117 * sysdeps/generic/ifunc-sel.h: ... here.
25118
25119 * sysdeps/unix/i386/start.c: Delete file.
25120 * sysdeps/unix/sparc/start.c: Delete file.
25121 * sysdeps/unix/start.c: Delete file.
25122
25123 * sysdeps/sh/elf/configure.in: Moved to ...
25124 * sysdeps/sh/configure.in: ... here.
25125 * sysdeps/sh/elf/start.S: Moved to ...
25126 * sysdeps/sh/start.S: ... here.
25127 * sysdeps/sh/elf/configure: Delete file.
25128
25129 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25130 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25131 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25132 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25133 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25134 * sysdeps/powerpc/powerpc64/start.S: here.
25135 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25136 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25137 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25138 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25139 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25140
25141 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25142 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25143 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25144 * sysdeps/powerpc/powerpc32/start.S: ... here.
25145 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25146 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25147 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25148
25149 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25150 * sysdeps/powerpc/ifunc-sel.h: ... here.
25151 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25152 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25153
25154 * sysdeps/sparc/elf/configure.in: Moved to ...
25155 * sysdeps/sparc/configure.in: ... here.
25156 * sysdeps/sparc/elf/configure: Delete file.
25157 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25158 * sysdeps/sparc/sparc32/start.S: ... here.
25159 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25160 * sysdeps/sparc/sparc64/start.S: ... here.
25161 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25162 * sysdeps/sparc/sparc32/Makefile: ... this.
25163 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25164 * sysdeps/sparc/sparc64/Makefile: ... this.
25165
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/bsd-setjmp.S: Moved to ...
25169 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25170 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25171 * sysdeps/s390/s390-32/setjmp.S: ... here.
25172 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25173 * sysdeps/s390/s390-32/configure.in: ... here.
25174 * sysdeps/s390/s390-32/elf/configure: Delete file.
25175 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25176 * sysdeps/s390/s390-32/start.S: ... here.
25177
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/bsd-setjmp.S: Moved to ...
25181 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25182 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25183 * sysdeps/s390/s390-64/setjmp.S: ... here.
25184 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25185 * sysdeps/s390/s390-64/configure.in: ... here
25186 * sysdeps/s390/s390-64/elf/configure: Delete file.
25187 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25188 * sysdeps/s390/s390-64/start.S: ... here.
25189 * sysdeps/s390/s390-64/elf/configure: Delete.
25190
25191 * configure.in: Remove support for elf directories in sysdeps.
25192
25193 * configure: Regenerated.
25194 * sysdeps/i386/configure: Regenerated.
25195 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25196 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25197 * sysdeps/s390/s390-32/configure: Regenerated.
25198 * sysdeps/s390/s390-64/configure: Regenerated.
25199 * sysdeps/sh/configure: Regenerated.
25200 * sysdeps/sparc/configure: Regenerated.
25201 * sysdeps/x86_64/configure: Regenerated.
25202
a3f61311
AS
252032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25204
c876e002
AS
25205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25206
a3f61311
AS
25207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25208 denormal result into account.
25209
ac4c54f0
RM
252102012-03-25 Roland McGrath <roland@hack.frob.com>
25211
25212 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25213 Reported by Allan McRae <allan@archlinux.org>.
25214
6a9b9c02
JL
252152012-03-23 Jeff Law <law@redhat.com>
25216
25217 * nss/getnssent.c (__nss_getent): Fix typo.
25218
4c42a0c1
DM
252192012-03-23 David S. Miller <davem@davemloft.net>
25220
25221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25222
1532c7ac
L
252232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25224
25225 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25226 to pad to uint64_t for each field.
25227 (dl_tls_index): Replace unsigned long with uint64_t.
25228
3ff42526
PP
252292012-03-23 Daniel Jacobowitz <dmj@google.com>
25230 Paul Pluzhnikov <ppluzhnikov@google.com>
25231
25232 [BZ #6528]
25233 * grp/Makefile (otherlibs): Don't set it.
25234 * inet/Makefile (otherlibs): Likewise.
25235 * login/Makefile (otherlibs): Likewise.
25236 * nscd/Makefile (otherlibs): Likewise.
25237 * posix/Makefile (otherlibs): Likewise.
25238 * pwd/Makefile (otherlibs): Likewise.
25239 * rt/Makefile (otherlibs): Likewise.
25240 * sunrpc/Makefile (otherlibs): Likewise.
25241 * nss/Makefile (otherlibs): Likewise.
25242 Add libnss_files to routines and static-only-routines.
25243 ($(objpfx)getent): Remove rule.
25244 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25245 static-only-routines.
25246
7c69cd14
JM
252472012-03-22 Joseph Myers <joseph@codesourcery.com>
25248
25249 [BZ #13892]
25250 * math/s_cexp.c: Include <float.h>.
25251 (__cexp): Handle exp result overflowing not necessarily
25252 overflowing both real and imaginary parts of result.
25253 * math/s_cexpf.c: Likewise.
25254 * math/s_cexpl.c: Likewise.
25255 * math/libm-test.inc (cexp_test): Add more tests.
25256 * sysdeps/i386/fpu/libm-test-ulps: Update.
25257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25258
81b035fe
L
252592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25260
25261 * include/link.h (ELFW): New macro.
25262 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25263 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25264
1da7940c
L
252652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25268 with uint64_t.
25269
b749dbb9
L
252702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25271
25272 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25273 declaration.
25274 (struct La_x32_retval): Likewise.
25275
2ff87f3f
L
252762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 * sysdeps/x86_64/preconfigure.in: New file.
25279 * sysdeps/x86_64/preconfigure: New generated file.
25280
c0df8e69
JM
252812012-03-22 Joseph Myers <joseph@codesourcery.com>
25282
48e44791
JM
25283 [BZ #13824]
25284 * math/e_exp2l.c: Include <float.h>.
25285 (__ieee754_exp2l): Handle overflow and underflow cases
25286 separately. Only pass fractional part of argument to
25287 __ieee754_expl.
25288 * math/libm-test.inc (exp2_test): Add more tests.
25289
c0df8e69
JM
25290 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25291 negating x to take absolute value.
25292 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25293 Likewise.
25294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25296 Likewise.
25297 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25298 computing low part if x was negated.
25299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25300
c8e43ba7
L
253012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25302
25303 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25304 la_x32_gnu_pltexit.
25305 (pltexit): Cast int_retval to ptrdiff_t.
25306 * elf/tst-auditmod3b.c: Likewise.
25307 * elf/tst-auditmod4b.c: Likewise.
25308 * elf/tst-auditmod5b.c: Likewise.
25309 * elf/tst-auditmod6b.c: Likewise.
25310 * elf/tst-auditmod6c.c: Likewise.
25311 * elf/tst-auditmod7b.c: Likewise.
25312
25313 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25314 and x32_gnu_pltexit.
25315
25316 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25317 __ELF_NATIVE_CLASS.
25318 (La_x32_regs): New macro.
25319 (La_x32_retval): Likewise.
25320 (la_x32_gnu_pltenter): New function prototype.
25321 (la_x32_gnu_pltexit): Likewise.
25322
7998fa78
AS
253232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25324
dcb33988
AS
25325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25326 exponent.
25327
233fc563
AS
25328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25329
7998fa78
AS
25330 * configure.in (libc_cv_cc_nofma): Check for option to disable
25331 generation of FMA instructions.
25332 * configure: Regenerate.
25333 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25334 * sysdeps/ieee754/dbl-64/Makefile: New file.
25335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25336 Remove brandred-fma4.
25337 (CFLAGS-brandred-fma4.c): Remove.
25338 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25340 define.
25341 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25342 define.
25343
8e95c99a
L
253442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25345
25346 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25347 LLONG_MAX != LONG_MAX.
25348 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25349 (_fitoa_word): Likewise.
25350 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25351 LLONG_MAX != LONG_MAX.
25352 * stdio-common/_itowa.h: Include <_itoa.h>.
25353 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25354 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25355 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25356 only if not defined.
25357 (_ITOA_WORD_TYPE): Likewise.
25358 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25359 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25360
6f4db457
DM
253612012-03-21 David S. Miller <davem@davemloft.net>
25362
25363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25364
7785fe5a
L
253652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25366
25367 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25368 of x86_64 when setting libc_cv_slibdir, libdir and
25369 libc_cv_localedir.
25370 * sysdeps/unix/sysv/linux/configure: Regenerated.
25371
4535cd55
JM
253722012-03-21 Joseph Myers <joseph@codesourcery.com>
25373
25374 * manual/lang.texi (Old Varargs): Remove section.
25375 (How Variadic): Update menu.
25376 (va_start): Do not mention varargs.h.
25377
17228132
TS
253782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25379 Joseph Myers <joseph@codesourcery.com>
25380
25381 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25382 link test.
25383 * configure: Regenerated.
25384
8149f976
TS
253852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25386
05f3d1f6
UD
25387 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25388 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25389 conformtest.pl
8149f976 25390
1a4ac776
JM
253912012-03-21 Joseph Myers <joseph@codesourcery.com>
25392
be22ce65
JM
25393 * NOTES: Remove.
25394 * Makefile (files-for-dist): Remove NOTES.
25395 (NOTES): Remove rule.
25396 * README: Don't refer to NOTES.
25397 * manual/creature.texi: Don't include macros.texi.
25398 * manual/intro.texi (creature.texi): Remove comment referring to
25399 NOTES.
25400
40b601fb
JM
25401 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25402 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25403 * configure: Regenerated.
25404 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25405 LIBC_TRY_CC_OPTION.
25406 (libc_cv_as_i686): Likewise.
25407 (libc_cv_cc_avx): Likewise.
25408 (libc_cv_cc_sse2avx): Likewise.
25409 (libc_cv_cc_fma4): Likewise.
25410 (libc_cv_cc_novzeroupper): Likewise.
25411 * sysdeps/i386/configure: Regenerated.
25412
1a4ac776
JM
25413 [BZ #13883]
25414 * sysdeps/i386/fpu/s_cexp.S: Remove.
25415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25416 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25417 * math/libm-test.inc (cexp_test): Add more tests.
25418 * sysdeps/i386/fpu/libm-test-ulps: Update.
25419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420
a458e7fe
AM
254212012-03-21 Allan McRae <allan@archlinux.org>
25422
25423 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25424
0cb7efc5
JM
254252012-03-21 Joseph Myers <joseph@codesourcery.com>
25426
25427 [BZ #13871]
25428 * math/w_exp2.c: Do not include <float.h>.
25429 (o_threshold, u_threshold): Remove.
25430 (__exp2): Calculate result before checking finiteness and calling
25431 __kernel_standard.
25432 * math/w_exp2f.c: Likewise.
25433 * math/w_exp2l.c: Likewise.
25434 * math/libm-test.inc (exp2_test): Require overflow exception for
25435 1e6 input.
2460d3aa
JM
25436
25437 [BZ #3866]
25438 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25439 range of signed 64-bit integers before using fistpll. Remove
25440 checks for whether integers fit in mantissa bits.
25441 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25442 the range of signed 32-bit integers before using fistpl. Remove
25443 checks for whether integers fit in mantissa bits.
25444 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25445 (__ieee754_powl): Test for y outside the range of signed 64-bit
25446 integers before using fistpll. Reduce 64-bit values to 63-bit
25447 ones as needed.
25448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25449 divide-by-zero is raised for zero to large negative powers.
25450 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25451 (__ieee754_powl): Test for y outside the range of signed 64-bit
25452 integers before using fistpll. Reduce 64-bit values to 63-bit
25453 ones as needed.
25454 * math/libm-test.inc (pow_test): Add more tests.
25455
eb96ffb0
L
254562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25459 <stdio-common/_itoa.h>.
25460 * debug/segfault.c: Likewise.
25461 * elf/dl-cache.c: Likewise.
25462 * elf/dl-minimal.c: Likewise.
25463 * elf/dl-misc.c: Likewise.
25464 * elf/dl-sysdep.c: Likewise.
25465 * elf/dl-version.c: Likewise.
25466 * elf/rtld.c: Likewise.
25467 * hurd/hurdsock.c: Likewise.
25468 * hurd/lookup-retry.c: Likewise.
25469 * malloc/malloc.c: Likewise.
25470 * malloc/mtrace.c: Likewise.
25471 * nscd/nscd_getgr_r.c: Likewise.
25472 * nscd/nscd_getpw_r.c: Likewise.
25473 * nscd/nscd_getserv_r.c: Likewise.
25474 * posix/getopt_init.c: Likewise.
25475 * posix/wordexp.c: Likewise.
25476 * stdio-common/_itoa.c: Likewise.
25477 * stdio-common/printf_fphex.c: Likewise.
25478 * stdio-common/vfprintf.c: Likewise.
25479 * string/_strerror.c: Likewise.
25480 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25481 * sysdeps/i386/i686/hp-timing.h: Likewise.
25482 * sysdeps/mach/_strerror.c: Likewise.
25483 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25484 * sysdeps/mach/hurd/sethostid.c: Likewise.
25485 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25486 * sysdeps/mach/xpg-strerror.c: Likewise.
25487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25488 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25489 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25490 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25491 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25492 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25493 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25494 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25495 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25496 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25497 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25498 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25499 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25500 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25501 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25502 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25503 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25504 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25505 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25506 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25507 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25508
25509 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25510
25511 * stdio-common/_itoa.h: Moved to ...
25512 * sysdeps/generic/_itoa.h: Here.
25513
25514 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25515
25516 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25517 instead of "_itoa.h" and "_itowa.h".
25518 * stdio-common/vfprintf.: Likewise.
25519
d1af992d
L
255202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25521
25522 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25523 <bits/wordsize.h>.
25524 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25525 (__signbit): Likwise.
25526 (llrintf): Likwise.
25527 (llrint): Likwise.
25528
114883e0
L
255292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25532 __WORDSIZE != 64.
25533
c135cc1b
JM
255342012-03-20 Joseph Myers <joseph@codesourcery.com>
25535
25536 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25537 OVERFLOW_EXCEPTION_OK.
25538 * math/libm-test.inc ("Philosophy"): Update comment about
25539 exception testing.
25540 (OVERFLOW_EXCEPTION): Define.
25541 (OVERFLOW_EXCEPTION_OK): Likewise.
25542 (INVALID_EXCEPTION_OK): Renumber.
25543 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25544 (IGNORE_ZERO_INF_SIGN): Likewise.
25545 (test_exceptions): Handle FE_OVERFLOW.
25546 (exp10_test): Expect overflow exceptions.
25547 (exp2_test): Likewise.
25548 (expm1_test): Likewise.
25549 (nextafter_test): Likewise.
25550 (pow_test): Likewise.
25551 (scalbn_test): Likewise.
25552 (scalbln_test): Likewise.
25553
95443d88
L
255542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25555
25556 * sysdeps/x86_64/bits/atomic.h
25557 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25558 64bit integer.
25559 (atomic_exchange_acq): Likewise.
25560 (__arch_exchange_and_add_body): Likewise.
25561 (__arch_add_body): Likewise.
25562 (atomic_add_negative): Likewise.
25563 (atomic_add_zero): Likewise.
25564
490df6c4
L
255652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25566
c2722551 25567 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25568 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25569
5e52b189
L
255702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25571
25572 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25573 Check __x86_64__ instead of __WORDSIZE.
25574
a9879d4c
L
255752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25576
25577 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25578
5df98260
DM
255792012-03-19 David S. Miller <davem@davemloft.net>
25580
e1497744
DM
25581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25582
5df98260
DM
25583 * sysdeps/sparc/fpu/fenv_private.h: New file.
25584 * sysdeps/sparc/fpu/math_private.h: Use it.
25585 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25586 Remove.
25587 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25588 (libc_feholdexcept_setroundl): Remove.
25589 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25590 Remove.
25591 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25592 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25593
b4c35121
L
255942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25597 int64_t instead of long int.
25598 (INSERT_WORDS64): Likwise.
25599
56965fd7
L
256002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25601
25602 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25603 _Unwind_GetCFA return to _Unwind_Ptr first.
25604
83d1aec8
JM
256052012-03-19 Joseph Myers <joseph@codesourcery.com>
25606
1897ad44
JM
25607 [BZ #13629]
25608 * math/s_clog.c: Include <float.h>.
25609 (__clog): Scale large or subnormal inputs.
25610 * math/s_clogf.c: Likewise.
25611 * math/s_clogl.c: Likewise.
25612 * math/s_clog10.c: Include <float.h>.
25613 (M_LOG10_2): Define.
25614 (__clog10): Scale large or subnormal inputs.
25615 * math/s_clog10f.c: Likewise.
25616 * math/s_clog10l.c: Likewise.
25617 * math/libm-test.inc (clog_test): Add more tests.
25618 (clog10_test): Likewise.
25619 * sysdeps/i386/fpu/libm-test-ulps: Update.
25620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25621
7726d6a9
JM
25622 [BZ #11451]
25623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25624 x and y.
25625 * math/libm-test.inc (atan2_test): Add another test.
25626
83d1aec8
JM
25627 * Makerules (common-objdir-compile): Remove.
25628 * sysdeps/unix/Makefile (config-generated): Do not add
25629 $(unix-generated) to variable.
25630 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25631 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25632 Remove rule.
25633 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25634 Likewise.
25635 [generic bits/local_lim.h] (before-compile): Do not append to
25636 variable.
25637 [generic bits/local_lim.h] (common-generated): Likewise.
25638 [generic sys/param.h] (before-compile): Do not append to variable.
25639 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25640 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25641 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25642 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25643 include.
25644 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25645 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25646 [generic sys/param.h] ($(addprefix
25647 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25648 [generic sys/param.h] (common-generated): Do not append to
25649 variable.
25650 [generic sys/param.h] (sysdep_headers): Likewise.
25651 [generic bits/errno.h] (before-compile): Do not append to
25652 variable.
25653 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25654 rule.
25655 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25656 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25657 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25658 [generic bits/errno.h] (common-generated): Do not append to
25659 variable.
25660 [generic bits/ioctls.h] (before-compile): Do not append to
25661 variable.
25662 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25663 rule.
25664 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25665 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25666 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25667 rule.
25668 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25669 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25670 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25671 [generic bits/ioctls.h] (common-generated): Do not append to
25672 variable.
25673 [generic sys/syscall.h] (syscall.h): Remove variable.
25674 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25675 rule.
25676 [generic sys/syscall.h] (before-compile): Do not append to
25677 variable.
25678 [generic sys/syscall.h] (common-generated): Likewise.
25679 * sysdeps/unix/errnos-tmpl.c: Remove file.
25680 * sysdeps/unix/errnos.awk: Likewise.
25681 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25682 * sysdeps/unix/ioctls.awk: Likewise.
25683 * sysdeps/unix/mk-local_lim.c: Likewise.
25684 * sysdeps/unix/snarf-ioctls: Likewise.
25685
4851a949
RH
256862012-03-19 Richard Henderson <rth@twiddle.net>
25687
bd37f2ee
RH
25688 * sysdeps/i386/fpu/fenv_private.h: New file.
25689 * sysdeps/i386/fpu/math_private.h: Use it.
25690 (math_opt_barrier, math_force_eval): Remove.
25691 (libc_feholdexcept_setround_53bit): Remove.
25692 (libc_feupdateenv_53bit): Remove.
25693 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25694 (math_opt_barrier, math_force_eval): Remove.
25695 (libc_feholdexcept): Remove.
25696 (libc_feholdexcept_setround): Remove.
25697 (libc_fetestexcept, libc_fesetenv): Remove.
25698 (libc_feupdateenv_test): Remove.
25699 (libc_feupdateenv, libc_feholdsetround): Remove.
25700 (libc_feresetround): Remove.
25701
d0adc922
RH
25702 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25703 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25704
0fe0f1f8
RH
25705 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25706 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25707 (libc_feupdateenv_testl): New.
25708 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25709 (libc_feupdateenv_testf): New.
25710 (libc_feupdateenv): Use libc_feupdateenv_test.
25711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25713
eb92c487
RH
25714 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25715 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25716 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25717 (libc_feresetround_noex): New.
25718 (libc_feresetround_noexf): New.
25719 (libc_feresetround_noexl): New.
25720 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25721 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25722 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25723 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25724 SET_RESTORE_ROUND.
25725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25727 (__cos): Likewise.
25728 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25730 SET_RESTORE_ROUND_NOEX.
25731 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25732 SET_RESTORE_ROUND_NOEXF.
25733 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25734 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25735 (libc_feholdsetroundf): New.
25736 (libc_feresetround, libc_feresetroundf): New.
25737
7d2e8012
RH
25738 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25739 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25740 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25741
b4dabbb4
RH
25742 * sysdeps/generic/math_private.h: Include <fenv.h>.
25743 (default_libc_feholdexcept): New.
25744 (default_libc_feholdexcept_setround): New.
25745 (default_libc_fesetenv, default_libc_feupdateenv): New.
25746 (libc_feholdexcept): Only define if undefined.
25747 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25749 (libc_feholdexcept_setroundl): Likewise.
25750 (libc_feholdexcept_setround_53bit): Likewise.
25751 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25754 (libc_feupdateenv_53bit): Likewise.
25755 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25756 (libc_feholdexcept): Convert from macro to inline function.
25757 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25758 (libc_fesetenv, libc_feupdateenv): Likewise.
25759
4851a949
RH
25760 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25761 not previously defined.
25762 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25763 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25764 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25765 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25766 * sysdeps/ieee754/flt-32/math_private.h: New file.
25767 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25768 math_private.h below SET_FLOAT_WORD.
25769 (__isnan, __isinf_ns, __finite): Remove.
25770 (__isnanf, __isinf_nsf, __finitef): Remove.
25771
e79d442e
AS
257722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25773
25774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25775
90b80344
DM
257762012-03-17 David S. Miller <davem@davemloft.net>
25777
25778 [BZ #6471]
25779 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25780 for 2.16.
25781
edc21804
DM
257822012-03-16 David S. Miller <davem@davemloft.net>
25783
77e927af
DM
25784 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25785 warnings.
25786
374976dd
DM
25787 [BZ #6471]
25788 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25789 properly.
25790 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25791 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25792 sysdep_routines when subdir is sysvipc.
25793 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25794 __getshmlba helper.
25795
edc21804
DM
25796 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25797
473c3ef3
L
257982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25799
25800 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25801 [__LP64__].
25802
eb0f39b6
L
258032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25804
25805 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25806 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25807 (__lround): Renamed to ...
25808 (__llround): This. Replace long int with long long int.
25809 Define lround functions as aliases of llround functions.
25810 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25811
6b6cd74b
L
258122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25813
25814 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25815 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25816 adresses to uintptr_t. Replace "long int" and "unsigned long
25817 int" with "greg_t" on va_arg.
25818
f1a77b01
L
258192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25820
25821 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25822 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25823
25824 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25825 Move e_machine check before EI_CLASS check. Handle x32
25826 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25827 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25828 SKIP_EM_IA_64 and include
25829 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25830
25831 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25832 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25833 (add_system_dir): New macro.
25834
25835 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25836 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25837
11b90b9f
JM
258382012-03-16 Joseph Myers <joseph@codesourcery.com>
25839
c36e1d23
JM
25840 [BZ #2551]
25841 [BZ #2552]
25842 [BZ #2553]
25843 [BZ #2554]
25844 [BZ #2562]
25845 [BZ #2563]
25846 [BZ #2565]
25847 [BZ #2566]
25848 [BZ #2576]
25849 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25850 (y0): Likewise.
25851 * math/w_j0f.c (j0f): Likewise.
25852 (y0f): Likewise.
25853 * math/w_j0l.c (__j0l): Likewise.
25854 (__y0l): Likewise.
25855 * math/w_j1.c (j1): Likewise.
25856 (y1): Likewise.
25857 * math/w_j1f.c (j1f): Likewise.
25858 (y1f): Likewise.
25859 * math/w_j1l.c (__j1l): Likewise.
25860 (__y1l): Likewise.
25861 * math/w_jn.c (jn): Likewise.
25862 (yn): Likewise.
25863 * math/w_jnf.c (jnf): Likewise.
25864 (ynf): Likewise.
25865 * math/w_jnl.c (__jnl): Likewise.
25866 (__ynl): Likewise.
25867 * math/libm-test.inc (j0_test): Add more tests.
25868 (j1_test): Likewise.
25869 (jn_test): Likewise. Add trailing semicolon to existing test.
25870 (y0_test): Likewise.
25871 (y1_test): Likewise.
25872 * sysdeps/i386/fpu/libm-test-ulps: Update.
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25874
11b90b9f
JM
25875 [BZ #13851]
25876 [BZ #13854]
25877 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25878 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25879 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25881 (__tanl): Set errno for infinite argument.
25882 * sysdeps/i386/fpu/mptan.c: Remove.
25883 * sysdeps/i386/fpu/s_tan.S: Likewise.
25884 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25885 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25886 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25887 * math/libm-test.inc (tan_test): Add more tests and enable more
25888 tests for double and long double.
25889 * sysdeps/i386/fpu/libm-test-ulps: Update.
25890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25891
6a1bd2a1
JK
258922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25893
25894 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25895 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25896
10a803e0
RM
258972012-03-16 Roland McGrath <roland@hack.frob.com>
25898
25899 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25900 * configure.in: Use it for both main tree and add-ons.
25901 * configure: Regenerated.
25902
f196c7f7
L
259032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25904
25905 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25906
8848d99d
JM
259072012-03-16 Joseph Myers <joseph@codesourcery.com>
25908
96cbe7f4
JM
25909 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25910 in comment.
25911
8848d99d
JM
25912 [BZ #13851]
25913 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25914 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25918 infinite argument.
25919 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25921 != 0 for prec == 2.
25922 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25923 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25924 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25925 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25926 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25927 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25928 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25929 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25930 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25931 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25932 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25933 * math/libm-test.inc (cos_test): Add more tests and enable more
25934 tests for long double.
25935 (sin_test): Likewise.
25936 (sincos_test): Likewise.
25937 * sysdeps/i386/fpu/libm-test-ulps: Update.
25938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939
dd7f4703
DM
259402012-03-16 David S. Miller <davem@davemloft.net>
25941
25942 * sysdeps/sparc/fpu/math_private.h: New file.
25943
006f1daa
DM
259442012-03-15 David S. Miller <davem@davemloft.net>
25945
c0c83bc8
DM
25946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25947 file.
e6a62e18 25948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25950 file.
e6a62e18
DM
25951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25957 sysdep routines.
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25959
88cb87d9
DM
25960 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25961 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25962
006f1daa 25963 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25965 sparc-ifunc.h
006f1daa 25966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25968 Likewise.
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25970 Likewise.
006f1daa
DM
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25975 Likewise.
006f1daa
DM
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25981 Likewise.
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25983 Likewise.
006f1daa
DM
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26008
11e0098e
AS
260092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26010
26011 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26012 scaling.
26013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26014
e85b09d0
AJ
260152012-03-15 Andreas Jaeger <aj@suse.de>
26016
26017 [BZ #13852]
26018 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26019 ieee754/flt-32 implementation for sin, cos and sincos.
26020 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26021 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26022 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26023 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26024 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26025 ieee754/flt-32 implementation for tan.
26026
26027 * math/libm-test.inc (cos_test): Enable some large input tests for
26028 float as well
26029 (sin_test): Likewise.
26030 (sincos_test): Likewise.
26031 (tan_test): Add tests for large input.
26032
26033 * sysdeps/i386/fpu/libm-test-ulps: Update.
26034
81c64153
AJ
260352012-03-15 Andreas Jaeger <aj@suse.de>
26036
26037 [BZ #13658]
26038 * math/libm-test.inc (cos_test): Add more test cases.
26039 (sin_test): Likewise.
26040 (sincos_test): Likewise.
26041
7bbfa5c6
AJ
260422012-03-15 Andreas Jaeger <aj@suse.de>
26043
26044 [BZ #13837]
26045 * math/libm-test.inc (cos_test): Add a test case for large input
26046 value.
26047 (sin_test): Likewise.
26048 (sincos_test): Likewise.
26049
260502012-03-15 Andreas Jaeger <aj@suse.de>,
26051 Joseph Myers <joseph@codesourcery.com>
26052
26053 [BZ #13658]
0671f479 26054 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26055 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26056 * sysdeps/i386/fpu/branred.c: Likewise.
26057 * sysdeps/i386/fpu/dosincos.c: Likewise.
26058 * sysdeps/i386/fpu/mpa.c: Likewise.
26059 * sysdeps/i386/fpu/s_cos.S: Likewise.
26060 * sysdeps/i386/fpu/s_sin.S: Likewise.
26061 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26062 * sysdeps/i386/fpu/sincos32.c: Likewise.
26063
26064 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26065 Define.
26066 (libc_feupdateenv_53bit): Define.
26067 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26068 Define.
26069 (libc_feupdateenv_53bit): Define.
26070
26071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26072 53 bit (without extend i386 double precision).
26073
26074 * math/libm-test.inc (sincos_test): Add tests for large input.
26075 (sin): Likewise.
26076 (cos): Likewise.
26077
26078 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26079
9cad04ea
AS
260802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26081
26082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26083
f7062b9a
DM
260842012-03-15 David S. Miller <davem@davemloft.net>
26085
26086 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26087 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26088 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26089 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26102 file.
f7062b9a 26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26105 file.
f7062b9a 26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26108 file.
f7062b9a 26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26111 file.
f7062b9a
DM
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26114 fmin/fmax sysdep routines.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26116
7bd951ff
DM
261172012-03-14 David S. Miller <davem@davemloft.net>
26118
559398ab
DM
26119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26148 routines.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26150 file.
559398ab 26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26153 file.
559398ab 26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26156 file.
559398ab 26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26159 file.
559398ab 26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26162 file.
559398ab 26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26165 file.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26167 file.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26169 file.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26171 file.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26173 New file.
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26175 file.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26177 file.
559398ab 26178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26180 file.
559398ab 26181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26183 file.
559398ab 26184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26186 file.
559398ab 26187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26189 VIS3 routines.
559398ab
DM
26190
26191 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26192 New file.
26193
5a1c1e32
DM
26194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26195
eae47a36
DM
26196 * sysdeps/sparc/configure.in: New file.
26197 * sysdeps/sparc/configure: Generate.
26198 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26199 * configure: Regenerate.
26200 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26201 * config.make.in (have-as-vis3): New.
26202 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26203 available use -Av9d instead of -Av9a.
26204 * sysdeps/sparc/sparc64/Makefile: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26207 New file.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26209 file.
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26211 New file.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26213 file.
eae47a36
DM
26214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26219
c0c83bc8
DM
26220 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26221 fzeros/fnegs to load 0x80000000 into a float register instead of
26222 using the stack.
7bd951ff
DM
26223 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26224
bd951ccb
JM
262252012-03-14 Joseph Myers <joseph@codesourcery.com>
26226
26227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26228 bits/syscall.h.
26229 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26230 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26231 ($(inst_includedir)/bits/syscall.h): Remove rule.
26232 ($(objpfx)bits/syscall.d): Include instead of
26233 $(objpfx)syscall-list.d.
26234 (generated): Change syscall-list.h and syscall-list.d to
26235 bits/syscall.h and bits/syscall.d.
26236
bb4e6db2
RM
262372012-03-14 Roland McGrath <roland@hack.frob.com>
26238
26239 [BZ #13846]
26240 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26241
aa4a2ae1
JM
262422012-03-14 Joseph Myers <joseph@codesourcery.com>
26243
e456826d
JM
26244 [BZ #13841]
26245 * math/s_csqrt.c: Include <float.h>.
26246 (__csqrt): Scale large or subnormal inputs.
26247 * math/s_csqrtf.c: Likewise.
26248 * math/s_csqrtl.c: Likewise.
26249 * math/libm-test.inc (csqrt_test): Add more tests.
26250 * sysdeps/i386/fpu/libm-test-ulps: Update.
26251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
aa4a2ae1
JM
26253 [BZ #13840]
26254 * math/libm-test.inc (hypot_test): Add more tests.
26255
7c10fd35
DM
262562012-03-13 David S. Miller <davem@davemloft.net>
26257
26258 [BZ #13840]
26259 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26260 double-precision for the calculation instead of scaling.
26261
f453b98b
JM
262622012-03-13 Joseph Myers <joseph@codesourcery.com>
26263
26264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26265 manipulate bits before adding and subtracting TWO52[sx].
26266 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26268 Likewise.
26269 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26270
09a3453f
DM
262712012-03-13 David S. Miller <davem@davemloft.net>
26272
8e59da90
DM
26273 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26274 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26276 rtld-global-offsets.h
26277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26278
2a8ab7f2
DM
26279 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26280 large parameters.
26281
10f62770
DM
26282 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26283
5f0bdb18
DM
26284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26285 'err' in the ifdef scope in which it is actually used.
26286
09a3453f
DM
26287 * nss/nss_db/db-init.c: Include string.h
26288
b4b2eb5e
DM
262892012-03-12 David S. Miller <davem@davemloft.net>
26290
98bb2f1c
DM
26291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26292 masking out of the most significant byte of random value used.
26293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26294 Fix coding style in previous change.
26295
b4b2eb5e
DM
26296 * sysdeps/unix/sysv/linux/kernel-features.h
26297 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26298 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26299 expression.
26300 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26301 later.
26302
6e226b09
DM
263032012-03-11 David S. Miller <davem@davemloft.net>
26304
a1bcbd40
DM
26305 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26306 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26308 for 'resultvar' otherwise things get truncated on 64-bit.
26309
cb9d6174
DM
26310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26311 Fix masking out of the most significant byte of random value used.
26312
6e226b09
DM
26313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26314
058c132d
AS
263152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26316
26317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26318
2d2cd515
DM
263192012-03-09 David S. Miller <davem@davemloft.net>
26320
26321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26322 variables with appropriate CPP guards.
26323 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26324 frame pointer, not the stack pointer. Correct layout comments. Fix test
26325 on resulting framesize and the management of the outregs buffer for pltexit.
26326 Preserve floating point return values across _dl_call_pltexit call.
26327 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26328 framesize and the management of the outregs buffer for pltexit.
26329 Preserve floating point return values across _dl_call_pltexit
26330 call.
26331 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26332 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26333 (print_exit): Fix format string for return register value.
26334
9a07f9d0
JM
263352012-03-10 Joseph Myers <joseph@codesourcery.com>
26336
26337 * sunrpc/Makefile (others): Add rpcgen.
26338 ($(objpfx)rpcgen): Remove special build rule and dependency on
26339 libc.
26340 * sunrpc/rpcgen.c: New file.
26341
547b5e30
PE
263422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26343
c524201a
PE
26344 [BZ #13673]
26345 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26346 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26347 * sysdeps/i386/crti.S: Likewise.
26348 * sysdeps/i386/crtn.S: Likewise.
26349 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26350 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26351 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26352 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26353 * sysdeps/sh/crti.S: Likewise.
26354 * sysdeps/sh/crtn.S: Likewise.
26355 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26356
7b6235f2
PE
26357 [BZ #13673]
26358 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26359 with URL.
26360 * locale/programs/locfile-kw.gperf: Likewise.
26361 * locale/programs/charmap-kw.h: Regenerated.
26362 * locale/programs/locfile-kw.h: Likewise.
26363
547b5e30
PE
26364 [BZ #13673]
26365 * intl/plural.y: Replace FSF snail mail address with URL.
26366 * intl/plural.c: Regenerated.
26367
5f0a5dae
RH
263682012-03-09 Richard Henderson <rth@twiddle.net>
26369
26370 * include/math_private.h: Remove file.
26371 * math/math_private.h: Move file ...
26372 * sysdeps/generic/math_private.h: ... here.
26373
b8c03620
RH
26374 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26375 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26376 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26377
4e234f5d 26378 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26379 and <math_private.h>.
26380 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26381 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26382 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26383 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26384 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26467 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26468 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26469 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26470 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26471 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26472 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26473 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26474 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26475 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26476 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26477 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26480 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26481 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26482 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26483 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26485 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26486 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26487 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26491 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26493 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26495 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26496 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26497 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26498 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26500 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26501 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26502 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26509 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26510 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26511 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26512 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26514 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26516 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26518 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26519 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26521 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26523 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26525 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26526 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26528 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26529 * sysdeps/ieee754/k_standard.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26657 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26690 * sysdeps/ieee754/s_lib_version.c: Likewise.
26691 * sysdeps/ieee754/s_matherr.c: Likewise.
26692 * sysdeps/ieee754/s_signgam.c: Likewise.
26693 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26694 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26695 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26696 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26697 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26698 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26699 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26700 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26701 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26702 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26703 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26704 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26705 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26706 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26707 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26708 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26709 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26710 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26711 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26714
1991fa03
JM
267152012-03-09 Joseph Myers <joseph@codesourcery.com>
26716
26717 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26718 * sunrpc/rpc_main.c: Likewise.
26719 * sunrpc/rpc_svcout.c: Likewise.
26720
60d6f5a6
DM
267212012-03-09 David S. Miller <davem@davemloft.net>
26722
26723 * include/math_private.h: New file.
26724
4962050e
JM
267252012-03-09 Joseph Myers <joseph@codesourcery.com>
26726
02a6f887
JM
26727 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26728 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26729 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26730 from <bits/socket_type.h>.
26731 (enum __socket_type): Don't define here.
26732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26734 bits/socket_type.h.
26735
c6e013c1
JM
26736 [BZ #13566]
26737 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26738 checking __USE_GNU.
26739
4962050e
JM
26740 * Makerules ($(inst_includedir)/%.h): New rule.
26741 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26742 (install-others): Remove variable setting.
26743 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26744
38842f45
RH
267452012-03-08 Richard Henderson <rth@twiddle.net>
26746
67bb6da6
RH
26747 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26748 from macro to inline function; merge with the
26749 !__LIBC_INTERNAL_MATH_INLINES version.
26750 (__ieee754_sqrtf): Likewise.
26751
15194b4b
RH
26752 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26753 to inline function.
26754 (__rintf, __floor, __floorf): Likewise.
26755
64e21ede
RH
26756 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26757 macro to inline function.
26758 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26759
38842f45
RH
26760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26761 not <math/math_private.h>.
26762
c64bf5fe
DM
267632012-03-08 David S. Miller <davem@davemloft.net>
26764
26765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26766 copyright year.
26767 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26768
82d86f28
TS
267692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26770
26771 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26772 normalization.
26773 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26774 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26775
aea5d727
UD
267762012-03-08 Ulrich Drepper <drepper@gmail.com>
26777
26778 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26779 be defined individually, they must be defined as a block. Define
26780 S for printing a string instead of hidint the different by using a
26781 macro for adding the 'l'.
26782 * stdio-common/tst-fphex-wide.c: Adjust.
26783
70bca0a3
MP
267842012-03-07 Marek Polacek <polacek@redhat.com>
26785
26786 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26787
65b81130
MP
267882012-03-08 Marek Polacek <polacek@redhat.com>
26789
26790 [BZ #13806]
26791 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26792 * stdio-common/tst-fphex.c: Define a few macros to make the
26793 test reusable. Use them.
26794 * stdio-common/tst-fphex-wide.c: New file.
26795
07037eeb
JM
267962012-03-08 Joseph Myers <joseph@codesourcery.com>
26797
a7a93d50
JM
26798 [BZ #6911]
26799 * manual/macros.texi (gnusystems): New macro.
26800 (nongnusystems): Likewise.
26801 (gnulinuxhurdsystems): Likewise.
26802 (gnuhurdsystems): Likewise..
26803 (gnulinuxsystems): Likewise.
26804 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26805 variants of the GNU system, not "GNU system".
26806 * manual/conf.texi: Likewise.
26807 * manual/errno.texi: Likewise. Update example of errno macro
26808 expansion.
26809 * manual/filesys.texi: Likewise.
26810 (getumask): Document as specific to GNU/Hurd.
26811 * manual/install.texi: Likewise. Reword some references to
26812 GNU/Linux.
26813 * manual/intro.texi: Likewise.
26814 * manual/io.texi: Likewise.
26815 (File Name Portability): Detail which constraints are inapplicable
26816 to all GNU systems and which are only inapplicable to GNU/Hurd.
26817 * manual/job.texi: Likewise.
26818 * manual/llio.texi: Likewise.
26819 (O_NOCTTY): Document as present on GNU/Linux.
26820 * manual/maint.texi: Likewise.
26821 * manual/memory.texi: Likewise.
26822 * manual/pattern.texi: Likewise.
26823 * manual/pipe.texi: Likewise.
26824 * manual/process.texi: Likewise.
26825 * manual/resource.texi: Likewise.
26826 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26827 child on GNU/Hurd.
26828 * manual/setjmp.texi: Likewise.
26829 * manual/signal.texi: Likewise.
26830 * manual/startup.texi: Likewise.
26831 * manual/stdio.texi: Likewise.
26832 * manual/terminal.texi: Likewise.
26833 (ONLCR): Document as POSIX.
26834 (OXTABS): Document availability on GNU/Linux as XTABS.
26835 (ONOEOT): Document availability separately from other bits.
26836 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26837 * manual/time.texi: Likewise.
26838 * manual/users.texi: Likewise.
26839 * INSTALL: Regenerated.
26840 * sysdeps/gnu/errlist.c: Regenerated.
26841
07037eeb
JM
26842 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26843 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26844 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26845 puts.
26846 * configure: Regenerated.
26847
d1d3431a
JM
268482012-03-07 Joseph Myers <joseph@codesourcery.com>
26849
af6a1e37
JM
26850 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26851 default includes instead of AC_HEADER_CHECK.
26852 * sysdeps/i386/configure: Regenerated.
26853
d1d3431a
JM
26854 [BZ #10716]
26855 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26856 * math/s_cacoshf.c (__cacoshf): Likewise.
26857 * math/s_cacoshl.c (__cacoshl): Likewise.
26858 * math/s_casinh.c (__casinh): Set signs of result from argument.
26859 * math/s_casinhf.c (__casinhf): Likewise.
26860 * math/s_casinhl.c (__casinhl): Likewise.
26861 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26862 (casinh_test): Add more tests.
26863 * sysdeps/i386/fpu/libm-test-ulps: Update.
26864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26865
482ff4da
UD
268662012-03-07 Ulrich Drepper <drepper@gmail.com>
26867
872fda05
UD
26868 * po/zh_TW.po: Update from translation team.
26869
a4300c7a
UD
26870 * login/Makefile (distribute): Remove variable.
26871 * catgets/Makefile: Likewise.
26872 * mach/Makefile: Likewise.
26873 * malloc/Makefile: Likewise.
26874 * misc/Makefile: Likewise.
26875 * iconv/Makefile: Likewise.
26876 * nscd/Makefile: Likewise.
26877 * hurd/Makefile: Likewise.
26878 * manual/Makefile: Likewise.
26879 * locale/Makefile: Likewise.
26880 * intl/Makefile: Likewise.
26881 * conform/Makefile: Likewise.
26882 * nss/Makefile: Likewise.
26883 * time/Makefile: Likewise.
26884 * soft-fp/Makefile: Likewise.
26885 * dirent/Makefile: Likewise.
26886 * gmon/Makefile: Likewise.
26887 * po/Makefile: Likewise.
26888 * rt/Makefile: Likewise.
26889 * socket/Makefile: Likewise.
26890 * math/Makefile: Likewise.
26891 * signal/Makefile: Likewise.
26892 * debug/Makefile: Likewise.
26893 * elf/Makefile: Likewise.
26894 * timezone/Makefile: Likewise.
26895 * stdlib/Makefile: Likewise.
26896 * iconvdata/Makefile: Likewise.
26897 * sunrpc/Makefile: Likewise.
26898 * io/Makefile: Likewise.
26899 * argp/Makefile: Likewise.
26900 * inet/Makefile: Likewise.
26901 * hesiod/Makefile: Likewise.
26902 * grp/Makefile: Likewise.
26903 * csu/Makefile: Likewise.
26904 * wctype/Makefile: Likewise.
26905 * crypt/Makefile: Likewise.
26906 * libio/Makefile: Likewise.
26907 * string/Makefile: Likewise.
26908 * nis/Makefile: Likewise.
26909 * resolv/Makefile: Likewise.
26910 * stdio-common/Makefile: Likewise.
26911 * wcsmbs/Makefile: Likewise.
26912 * dlfcn/Makefile: Likewise.
26913 * posix/Makefile: Likewise.
26914
3b7c4e74 26915 [BZ #6959]
482ff4da
UD
26916 * timezone/Makefile: Don't install timezone files, just the programs
26917 and scripts.
26918
f72ed77d
UD
269192012-03-06 Ulrich Drepper <drepper@gmail.com>
26920
a000466f
UD
26921 * nss/databases.def: Add missing gshadow entry.
26922
f72ed77d
UD
26923 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26924
a53b7a4e
MP
269252012-03-06 Marek Polacek <polacek@redhat.com>
26926
26927 [BZ #13726]
26928 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26929 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26930 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26931 * stdio-common/tst-long-dbl-fphex.c: New file.
26932
e9258400
DM
269332012-03-06 David S. Miller <davem@davemloft.net>
26934
26935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26936 (set_obp_int): New function.
26937 (get_obp_int): New function.
26938 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26940 Avoid unused variable warnings on 'val' and use builtin_expect.
26941 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26942 __builtin_expect.
e9258400
DM
26943 (INLINE_CLONE_SYSCALL): Likewise.
26944
3bd2c723
DM
269452012-03-05 David S. Miller <davem@davemloft.net>
26946
26947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26948
bbb78d03
AS
269492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26950
884c5db4
AS
26951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26952
bbb78d03
AS
26953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26954 only for |x| >= 40.
26955 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26956
1c9f702a 269572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26958
26959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26960 Replace gettimeofday with __vdso_gettimeofday.
26961
7be16f82
RM
26962 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26963 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26964 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26965
26966 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26967 time with __vdso_time.
26968
ed58a00f
JM
269692012-03-05 Joseph Myers <joseph@codesourcery.com>
26970
26971 * manual/lang.texi (size_t): Note types to which size_t may be
26972 equivalent with the GNU C Library, but do not describe when
26973 differences between them are significant.
26974
30ee4ced
AJ
269752012-03-05 Andreas Jaeger <aj@suse.de>
26976
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978
b7cd39e8
JM
269792012-03-05 Joseph Myers <joseph@codesourcery.com>
26980
26981 [BZ #3976]
26982 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26983 (__ieee754_pow): Save and restore rounding mode and use
26984 round-to-nearest for main computations.
26985 * math/libm-test.inc (pow_test_tonearest): New function.
26986 (pow_test_towardzero): Likewise.
26987 (pow_test_downward): Likewise.
26988 (pow_test_upward): Likewise.
26989 (main): Call the new functions.
26990 * sysdeps/i386/fpu/libm-test-ulps: Update.
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26992
26993 [BZ #3976]
26994 * math/libm-test.inc (cosh_test_tonearest): New function.
26995 (cosh_test_towardzero): Likewise.
26996 (cosh_test_downward): Likewise.
26997 (cosh_test_upward): Likewise.
26998 (sinh_test_tonearest): Likewise.
26999 (sinh_test_towardzero): Likewise.
27000 (sinh_test_downward): Likewise.
27001 (sinh_test_upward): Likewise.
27002 (main): Call the new functions.
27003 * sysdeps/i386/fpu/libm-test-ulps: Update.
27004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27005
6c6a98c9
TV
270062012-03-05 Tom de Vries <tom@codesourcery.com>
27007
27008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27009 default stack guard is set in last bytes.
27010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27011
21bb2d2e 270122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27013
21bb2d2e 27014 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27015
21bb2d2e
AJ
27016 [BZ #13656]
27017 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27018 possibly allocate from heap instead of stack.
27019 * stdio-common/bug-vfprintf-nargs.c: New file.
27020 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27021
c6922934
AS
270222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27023
27024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27025
bc957d53
MP
270262012-03-03 Marek Polacek <polacek@redhat.com>
27027
27028 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27029 * math/math_private.h: Likewise.
27030 * stdlib/tst-strtod.c: Likewise.
27031 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27032 * sysdeps/x86_64/bits/atomic.h: Likewise.
27033
6358490d
DM
270342012-03-02 David S. Miller <davem@davemloft.net>
27035
27036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27040 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27041 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27042 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27043 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27044
01ae168d
RM
270452012-03-02 Roland McGrath <roland@hack.frob.com>
27046
d9a17c07
RM
27047 [BZ #13792]
27048 * manual/examples/README: New file, says the example source files
27049 can be used under GPL>=2.
27050 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27051 line containing just "*/".
27052 * manual/examples/add.c: Add copyright header (GPL>=2).
27053 * manual/examples/argp-ex1.c: Likewise.
27054 * manual/examples/argp-ex2.c: Likewise.
27055 * manual/examples/argp-ex3.c: Likewise.
27056 * manual/examples/argp-ex4.c: Likewise.
27057 * manual/examples/atexit.c: Likewise.
27058 * manual/examples/db.c: Likewise.
27059 * manual/examples/dir.c: Likewise.
27060 * manual/examples/dir2.c: Likewise.
27061 * manual/examples/execinfo.c: Likewise.
27062 * manual/examples/filecli.c: Likewise.
27063 * manual/examples/filesrv.c: Likewise.
27064 * manual/examples/fmtmsgexpl.c: Likewise.
27065 * manual/examples/genpass.c: Likewise.
27066 * manual/examples/inetcli.c: Likewise.
27067 * manual/examples/inetsrv.c: Likewise.
27068 * manual/examples/isockad.c: Likewise.
27069 * manual/examples/longopt.c: Likewise.
27070 * manual/examples/memopen.c: Likewise.
27071 * manual/examples/memstrm.c: Likewise.
27072 * manual/examples/mkfsock.c: Likewise.
27073 * manual/examples/mkisock.c: Likewise.
27074 * manual/examples/mygetpass.c: Likewise.
27075 * manual/examples/pipe.c: Likewise.
27076 * manual/examples/popen.c: Likewise.
27077 * manual/examples/rprintf.c: Likewise.
27078 * manual/examples/search.c: Likewise.
27079 * manual/examples/select.c: Likewise.
27080 * manual/examples/setjmp.c: Likewise.
27081 * manual/examples/sigh1.c: Likewise.
27082 * manual/examples/sigusr.c: Likewise.
27083 * manual/examples/stpcpy.c: Likewise.
27084 * manual/examples/strdupa.c: Likewise.
27085 * manual/examples/strftim.c: Likewise.
27086 * manual/examples/strncat.c: Likewise.
27087 * manual/examples/subopt.c: Likewise.
27088 * manual/examples/swapcontext.c: Likewise.
27089 * manual/examples/termios.c: Likewise.
27090 * manual/examples/testopt.c: Likewise.
27091 * manual/examples/testpass.c: Likewise.
27092 * manual/examples/timeval_subtract.c: Likewise.
27093
01ae168d
RM
27094 [BZ #13792]
27095 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27096 function to ...
27097 * manual/timeval_subtract.c.texi: ... here, new file.
27098
49efa33d
DM
270992012-03-02 David S. Miller <davem@davemloft.net>
27100
27101 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27102
28afd92d
JM
271032012-03-02 Joseph Myers <joseph@codesourcery.com>
27104
804360ed
JM
27105 [BZ #3976]
27106 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27107 (__sin): Save and restore rounding mode and use round-to-nearest
27108 for all computations.
27109 (__cos): Save and restore rounding mode and use round-to-nearest
27110 for all computations.
27111 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27112 <fenv.h>.
27113 (tan): Save and restore rounding mode and use round-to-nearest for
27114 all computations.
27115 * math/libm-test.inc (cos_test_tonearest): New function.
27116 (cos_test_towardzero): Likewise.
27117 (cos_test_downward): Likewise.
27118 (cos_test_upward): Likewise.
27119 (sin_test_tonearest): Likewise.
27120 (sin_test_towardzero): Likewise.
27121 (sin_test_downward): Likewise.
27122 (sin_test_upward): Likewise.
27123 (tan_test_tonearest): Likewise.
27124 (tan_test_towardzero): Likewise.
27125 (tan_test_downward): Likewise.
27126 (tan_test_upward): Likewise.
27127 (main): Call the new functions.
27128 * sysdeps/i386/fpu/libm-test-ulps: Update.
27129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27130
a6d06d7b
JM
27131 [BZ #10135]
27132 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27133 small n, then large n, before computing and testing k+n.
27134 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27136 Likewise.
27137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27138 Likewise.
27139 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27140 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27141 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27142 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27145 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27147 * math/libm-test.inc (scalbn_test): Add more tests.
27148 (scalbln_test): Likewise.
27149
07e12bb3
JM
27150 * manual/filesys.texi (mode_t): Describe constraints on size and
27151 signedness, not exact equivalence to a particular type.
27152 (ino_t): Likewise.
27153 (ino64_t): Likewise.
27154 (dev_t): Likewise.
27155 (nlink_t): Likewise.
27156 (blkcnt_t): Likewise.
27157 (blkcnt64_t): Likewise.
27158 * manual/llio.texi (off_t): Likewise.
27159
28afd92d
JM
27160 [BZ #3976]
27161 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27162 (__ieee754_exp): Save and restore rounding mode and use
27163 round-to-nearest for all computations.
27164 * math/libm-test.inc (exp_test_tonearest): New function.
27165 (exp_test_towardzero): Likewise.
27166 (exp_test_downward): Likewise.
27167 (exp_test_upward): Likewise.
27168 (main): Call the new functions.
27169 * sysdeps/i386/fpu/libm-test-ulps: Update.
27170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27171
b1eeb65d
CD
271722012-03-01 Chris Demetriou <cgd@google.com>
27173
27174 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27175 have predictable order.
27176
53362a4b
DM
271772012-03-01 David S. Miller <davem@davemloft.net>
27178
3c969083
DM
27179 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27180
759707de
DM
27181 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27182 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27183 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27184 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27185
dfdb8ff2
DM
27186 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27187 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27188 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27191 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27193 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27194 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27195
ead89f96
DM
27196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27197
7f66bd07
DM
27198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27199 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27201
53362a4b
DM
27202 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27203 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27204 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27205 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27206 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27209 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27210 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27211 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27212 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27213 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27215 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27216 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27218 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27219 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27220 * sysdeps/sparc/elf/configure: Regenerated.
27221
7b1902cb
JM
272222012-03-01 Joseph Myers <joseph@codesourcery.com>
27223
bec039bc
JM
27224 * configure.in (AS, LD): Require binutils 2.20 or later.
27225 * configure: Regenerated.
27226 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27227 as required minimum version.
27228 * INSTALL: Regenerated.
27229
7b1902cb
JM
27230 [BZ #2541]
27231 [BZ #4108]
27232 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27233 before squaring exponent.
27234 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27235 bottom long double and 27 bits of top long double before squaring
27236 exponent.
27237 * math/libm-test.inc (erfc_test): Add more tests.
27238 * sysdeps/i386/fpu/libm-test-ulps: Update.
27239 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27241
f775c276
KT
272422012-03-01 Kai Tietz <ktietz@redhat.com>
27243
27244 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27245 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27246 containing bit-fields.
27247 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27248 * soft-fp/single.h (_FP_UNION_S): Likewise.
27249 * soft-fp/double.h (_FP_UNION_D): Likewise.
27250
5b8a4d4a
JM
272512012-02-29 Joseph Myers <joseph@codesourcery.com>
27252
0bab47b6
JM
27253 [BZ #13786]
27254 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27255 not include ../strcmp.S.
27256 [USE_AS_STRNCASECMP_L]: Likewise.
27257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27258 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27259 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27260 (__strncasecmp_l_ia32): Define as alias to
27261 __strncasecmp_l_nonascii.
27262
0fcad3e2
JM
27263 [BZ #5794]
27264 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27265 * sysdeps/i386/fpu/libm-test-ulps: Update.
27266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27267
5b8a4d4a
JM
27268 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27270
8fdceb2e
JL
272712012-02-29 Jeff Law <law@redhat.com>
27272
27273 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27274 out of bounds read.
27275
1f393a11
MP
272762012-02-29 Marek Polacek <polacek@redhat.com>
27277
27278 [BZ #13706]
27279 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27280 * elf/Makefile: Add rules to run tst-unused-dep.out.
27281
8847f037
DM
272822012-02-28 David S. Miller <davem@davemloft.net>
27283
27284 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27285 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27288 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27289 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27290
169d7f11
JM
272912012-02-29 Joseph Myers <joseph@codesourcery.com>
27292
27293 * math/libm-test.inc (llround_test): Move one test from
27294 lround_test. Use TEST_f_L in moved test.
27295 (lround_test): Move misplaced test to llround_test. Add testcase
27296 from bug 2561.
27297
39adf059
UD
272982012-02-28 Ulrich Drepper <drepper@gmail.com>
27299
27300 * sysdeps/x86_64/fpu/e_expf.S: New file.
27301 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27302
71b5d1c5
SB
273032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27304
27305 [BZ #13637]
27306 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27307 of remain_len that may cause incomplete multi-byte character and
27308 false match.
27309 * posix/bug-regex33.c: New file.
27310 * posix/Makefile (tests): Add bug-regex33.
27311
1f77f049
JM
273122012-02-28 Joseph Myers <joseph@codesourcery.com>
27313
27314 * manual/macros.texi: New file.
27315 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27316 * manual/libc.texinfo: Include macros.texi.
27317 * manual/creatute.texi: Likewise.
27318 * manual/install.texi: Likewise.
27319 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27320 @glibcadj{} in references to the GNU C Library.
27321 * manual/charset.texi: Likewise.
27322 * manual/conf.texi: Likewise.
27323 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27324 when not using those macros.
27325 * manual/creature.texi: Likewise.
27326 * manual/crypt.texi: Likewise.
27327 * manual/errno.texi: Likewise.
27328 * manual/filesys.texi: Likewise.
27329 * manual/header.texi: Likewise.
27330 * manual/install.texi: Likewise.
27331 * manual/intro.texi: Likewise.
27332 * manual/io.texi: Likewise.
27333 * manual/job.texi: Likewise.
27334 * manual/lang.texi: Likewise.
27335 * manual/libc.texiinfo: Likewise.
27336 * manual/llio.texi: Likewise.
27337 * manual/locale.texi: Likewise.
27338 * manual/maint.texi: Likewise.
27339 * manual/math.texi: Likewise.
27340 * manual/memory.texi: Likewise.
27341 * manual/message.texi: Likewise.
27342 * manual/nss.texi: Likewise.
27343 * manual/pattern.texi: Likewise.
27344 * manual/process.texi: Likewise.
27345 * manual/resource.texi: Likewise.
27346 * manual/search.texi: Likewise.
27347 * manual/setjmp.texi: Likewise.
27348 * manual/signal.texi: Likewise.
27349 * manual/socket.texi: Likewise.
27350 * manual/startup.texi: Likewise.
27351 * manual/stdio.texi: Likewise.
27352 * manual/string.texi: Likewise.
27353 * manual/sysinfo.texi: Likewise.
27354 * manual/syslog.texi: Likewise.
27355 * manual/terminal.texi: Likewise.
27356 * manual/time.texi: Likewise.
27357 * manual/users.texi: Likewise.
27358 * INSTALL: Regenerated.
27359 * NOTES: Regenerated.
d40c5d54 27360 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27361
450bf206
AS
273622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27363
27364 * include/dirent.h: Include <dirstream.h> before
27365 <dirent/dirent.h>.
27366
741a235b
DM
273672012-02-28 David S. Miller <davem@davemloft.net>
27368
27369 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27370 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27371 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27372 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27373
d6b5aa58
DM
273742012-02-27 David S. Miller <davem@davemloft.net>
27375
1aff59a3
DM
27376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27378 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27379 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27380
d6b5aa58
DM
27381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27382 frame pointer instead of stack pointer relative arg slot.
27383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27384 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27385 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27386
433f48bf
CD
273872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27388
27389 [BZ #3992]
27390 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27391
d674b76d
DM
273922012-02-27 David S. Miller <davem@davemloft.net>
27393
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27400 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27401 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27402
0e7727f7
JM
274032012-02-27 Joseph Myers <joseph@codesourcery.com>
27404
27405 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27406 later. Allow versions 5-9.
43be4ca2 27407 * configure: Regenerated.
0e7727f7
JM
27408 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27409 required minimum version and 4.6 as recommended version. Do not
27410 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27411 * INSTALL: Regenerated.
0e7727f7 27412
a78bc654
DM
274132012-02-27 David S. Miller <davem@davemloft.net>
27414
428d5830
DM
27415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27420 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27421 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27422 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27423
a78bc654
DM
27424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27425 manipulate bits before adding and subtracting TWO112[sx].
27426 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27427
4579f81c
RM
274282012-02-27 Roland McGrath <roland@hack.frob.com>
27429
36c8acb4
RM
27430 [BZ #13775]
27431 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27432 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27433 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27434 being in POSIX, because they are in 1003.1-2008.
27435
84ad622b
RM
27436 * rt/tst-aio.c: Include <fcntl.h>.
27437 * rt/tst-aio7.c: Likewise.
27438 * rt/tst-aio64.c: Likewise.
27439
4579f81c
RM
27440 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27441
abd923db
JM
274422012-02-27 Joseph Myers <joseph@codesourcery.com>
27443
27444 * manual/install.texi (--with-headers): Describe headers as
27445 interface headers, not private headers.
27446 (Specific advice for GNU/Linux systems): Describe use of headers
27447 from "make headers_install", not private headers from older
27448 kernels.
43be4ca2 27449 * INSTALL: Regenerated.
abd923db
JM
27450 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27451 Change to 2.6.19.
27452 * sysdeps/unix/sysv/linux/configure: Regenerated.
27453
6664049b
JM
27454 * manual/llio.texi (fclean): Remove documentation.
27455
bb8b6697
JM
27456 * manual/Makefile (libc-texi-generated): New variable. Include
27457 version.texi.
27458 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27459 $(libc-texi-generated), not duplicated list of files.
27460 (version.texi, stamp-version): New rules.
27461 (realclean): Remove $(libc-texi-generated), not individual files
27462 from that list. Do not remove dir-add.texinfo.
27463 * manual/libc.texinfo: Comment out uses of edition numbers and
27464 references to printed manual. Remove last-updated dates.
27465 (EDITION): Comment out.
27466 (ISBN): Likewise.
27467 (VERSION, UPDATED): Remove.
27468 (version.texi): Include.
27469
12e5c3b9
AS
274702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27471
27472 * sysdeps/posix/spawni.c: Include <signal.h>.
27473 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27474 * sysdeps/pthread/aio_fsync.c: Likewise.
27475
4efeffc1 274762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27477
ba63ba08
UD
27478 * conform/Makefile (tests): Run only when not cross-compiling and
27479 when fast-check is not defined.
27480
d94a4670
UD
27481 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27482 * conform/data/limits.h-data: Fixes for POSIX2008.
27483 * conform/run-conformtest.sh: Run all tests.
27484 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27485 headers.
27486 * include/bits/dlfcn.h: Likewise.
27487 * include/langinfo.h: Likewise.
27488 * include/monetary.h: Likewise.
27489 * include/sys/poll.h: Likewise.
27490
27491 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27492 for __USE_GNU.
27493 * posix/spawn.h: Define __need_sigset_t.
27494 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27495 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27496 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27497 to get sigevent_t only.
27498 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27499 only for __USE_GNU.
27500 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27501 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27502 process_vm_writev only for __USE_GNU.
27503 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27504
27505 * conform/Makefile: For now ignore errors from run-conformtest.
27506 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27507 POSIX to avoid namespace pollution. Don't prepend headers.
27508 * conform/data/aio.h-data: Fixes for POSIX testing.
27509 * conform/data/fcntl.h-data: Likewise.
27510 * conform/data/glob.h-data: Likewise.
27511 * conform/data/grp.h-data: Likewise.
27512 * conform/data/pthread.h-data: Likewise.
27513 * conform/data/pwd.h-data: Likewise.
27514 * conform/data/signal.h-data: Likewise.
27515 * conform/data/spawn.h-data: Likewise.
27516 * conform/data/stdio.h-data: Likewise.
27517 * conform/data/stdlib.h-data: Likewise.
27518 * conform/data/stropts.h-data: Likewise.
27519 * conform/data/sys/mman.h-data: Likewise.
27520 * conform/data/sys/stat.h-data: Likewise.
27521 * conform/data/sys/types.h-data: Likewise.
27522 * conform/data/sys/wait.h-data: Likewise.
27523 * conform/data/time.h-data: Likewise.
27524 * conform/data/unistd.h-data: Likewise.
27525 * conform/data/utime.h-data: Likewise.
27526
27527 * io/sys/stat.h: fchmod was always in POSIX.
27528 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27529 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27530 * rt/aio.h: Define __need_timespec before including <time.h>.
27531 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27532 struct. Add forward declaration of pthread_attr_t and use it in
27533 sigevent.
27534 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27536 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27537 always remove CLK_TCK definition.
27538
c20105c3
AS
275392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27540
27541 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27542
7a270350
UD
275432012-02-25 Ulrich Drepper <drepper@gmail.com>
27544
31341567
UD
27545 * conform/run-conformtest.sh: New file.
27546 * conform/Makefile: Run run-conformtest for tests.
27547 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27548 support.
27549
27550 * conform/data/uchar.h-data: New file.
27551 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27552 * conform/data/arpa/inet.h-data: Likewise.
27553 * conform/data/assert.h-data: Likewise.
27554 * conform/data/complex.h-data: Likewise.
27555 * conform/data/cpio.h-data: Likewise.
27556 * conform/data/ctype.h-data: Likewise.
27557 * conform/data/dirent.h-data: Likewise.
27558 * conform/data/dlfcn.h-data: Likewise.
27559 * conform/data/errno.h-data: Likewise.
27560 * conform/data/fcntl.h-data: Likewise.
27561 * conform/data/float.h-data: Likewise.
27562 * conform/data/fmtmsg.h-data: Likewise.
27563 * conform/data/fnmatch.h-data: Likewise.
27564 * conform/data/ftw.h-data: Likewise.
27565 * conform/data/glob.h-data: Likewise.
27566 * conform/data/grp.h-data: Likewise.
27567 * conform/data/iconv.h-data: Likewise.
27568 * conform/data/inttypes.h-data: Likewise.
27569 * conform/data/langinfo.h-data: Likewise.
27570 * conform/data/libgen.h-data: Likewise.
27571 * conform/data/limits.h-data: Likewise.
27572 * conform/data/locale.h-data: Likewise.
27573 * conform/data/math.h-data: Likewise.
27574 * conform/data/monetary.h-data: Likewise.
27575 * conform/data/mqueue.h-data: Likewise.
27576 * conform/data/ndbm.h-data: Likewise.
27577 * conform/data/net/if.h-data: Likewise.
27578 * conform/data/netdb.h-data: Likewise.
27579 * conform/data/netinet/in.h-data: Likewise.
27580 * conform/data/nl_types.h-data: Likewise.
27581 * conform/data/poll.h-data: Likewise.
27582 * conform/data/pthread.h-data: Likewise.
27583 * conform/data/pwd.h-data: Likewise.
27584 * conform/data/regex.h-data: Likewise.
27585 * conform/data/sched.h-data: Likewise.
27586 * conform/data/search.h-data: Likewise.
27587 * conform/data/semaphore.h-data: Likewise.
27588 * conform/data/setjmp.h-data: Likewise.
27589 * conform/data/signal.h-data: Likewise.
27590 * conform/data/spawn.h-data: Likewise.
27591 * conform/data/stdarg.h-data: Likewise.
27592 * conform/data/stdio.h-data: Likewise.
27593 * conform/data/stdlib.h-data: Likewise.
27594 * conform/data/string.h-data: Likewise.
27595 * conform/data/strings.h-data: Likewise.
27596 * conform/data/stropts.h-data: Likewise.
27597 * conform/data/sys/ipc.h-data: Likewise.
27598 * conform/data/sys/mman.h-data: Likewise.
27599 * conform/data/sys/msg.h-data: Likewise.
27600 * conform/data/sys/resource.h-data: Likewise.
27601 * conform/data/sys/select.h-data: Likewise.
27602 * conform/data/sys/sem.h-data: Likewise.
27603 * conform/data/sys/shm.h-data: Likewise.
27604 * conform/data/sys/socket.h-data: Likewise.
27605 * conform/data/sys/stat.h-data: Likewise.
27606 * conform/data/sys/statvfs.h-data: Likewise.
27607 * conform/data/sys/time.h-data: Likewise.
27608 * conform/data/sys/timeb.h-data: Likewise.
27609 * conform/data/sys/times.h-data: Likewise.
27610 * conform/data/sys/types.h-data: Likewise.
27611 * conform/data/sys/uio.h-data: Likewise.
27612 * conform/data/sys/un.h-data: Likewise.
27613 * conform/data/sys/utsname.h-data: Likewise.
27614 * conform/data/sys/wait.h-data: Likewise.
27615 * conform/data/syslog.h-data: Likewise.
27616 * conform/data/tar.h-data: Likewise.
27617 * conform/data/termios.h-data: Likewise.
27618 * conform/data/utime.h-data: Likewise.
27619 * conform/data/utmpx.h-data: Likewise.
27620 * conform/data/varargs.h-data: Likewise.
27621 * conform/data/wchar.h-data: Likewise.
27622 * conform/data/wctype.h-data: Likewise.
27623 * conform/data/wordexp.h-data: Likewise.
27624
27625 * include/stropts.h: New file.
27626 * include/uchar.h: New file.
27627 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27628 * include/assert.h: Likewise.
27629 * include/ctype.h: Likewise.
27630 * include/dirent.h: Likewise.
27631 * include/dlfcn.h: Likewise.
27632 * include/fcntl.h: Likewise.
27633 * include/fnmatch.h: Likewise.
27634 * include/glob.h: Likewise.
27635 * include/grp.h: Likewise.
27636 * include/libio.h: Likewise.
27637 * include/locale.h: Likewise.
27638 * include/math.h: Likewise.
27639 * include/net/if.h: Likewise.
27640 * include/netdb.h: Likewise.
27641 * include/netinet/in.h: Likewise.
27642 * include/pthread.h: Likewise.
27643 * include/pwd.h: Likewise.
27644 * include/regex.h: Likewise.
27645 * include/sched.h: Likewise.
27646 * include/search.h: Likewise.
27647 * include/setjmp.h: Likewise.
27648 * include/signal.h: Likewise.
27649 * include/stdio.h: Likewise.
27650 * include/stdlib.h: Likewise.
27651 * include/string.h: Likewise.
27652 * include/sys/cdefs.h: Likewise.
27653 * include/sys/mman.h: Likewise.
27654 * include/sys/msg.h: Likewise.
27655 * include/sys/resource.h: Likewise.
27656 * include/sys/select.h: Likewise.
27657 * include/sys/socket.h: Likewise.
27658 * include/sys/stat.h: Likewise.
27659 * include/sys/statvfs.h: Likewise.
27660 * include/sys/time.h: Likewise.
27661 * include/sys/times.h: Likewise.
27662 * include/sys/uio.h: Likewise.
27663 * include/sys/utsname.h: Likewise.
27664 * include/sys/wait.h: Likewise.
27665 * include/termios.h: Likewise.
27666 * include/time.h: Likewise.
27667 * include/ulimit.h: Likewise.
27668 * include/unistd.h: Likewise.
27669 * include/utime.h: Likewise.
27670 * include/wchar.h: Likewise.
27671 * include/wctype.h: Likewise.
27672 * include/wordexp.h: Likewise.
27673
27674 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27675
7a270350
UD
27676 * time/time.h: TIME_UTC must be a macro.
27677 Make timespec_get available for ISO C11 only as well.
27678
7724defc
UD
276792012-02-24 Ulrich Drepper <drepper@gmail.com>
27680
27681 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27682 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27683
6b1d1d46
JM
276842012-02-24 Joseph Myers <joseph@codesourcery.com>
27685
27686 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27687
0f8bbd69
JM
276882012-02-24 Joseph Myers <joseph@codesourcery.com>
27689
27690 * manual/texinfo.tex: Update to version 2012-01-19.16.
27691
66ab80bc
JM
276922012-02-24 Joseph Myers <joseph@codesourcery.com>
27693
27694 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27695
74981cc5
RM
276962012-02-24 Roland McGrath <roland@hack.frob.com>
27697
ee968201
RM
27698 [BZ #13738]
27699 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27700 * manual/fdl-1.3.texi: New file.
27701 * manual/fdl-1.1.texi: File removed.
27702
74981cc5
RM
27703 [BZ #13738]
27704 * manual/libc.texinfo (FDL_VERSION): New @set.
27705 Use it for mention of FDL in cover text.
27706 (Documentation License): Use it in @include file name.
27707
7bb764bc
JM
277082012-02-22 Joseph Myers <joseph@codesourcery.com>
27709 Roland McGrath <roland@hack.frob.com>
27710
27711 [BZ #5461]
27712 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27713 not LONG_LONG_MAX and LONG_LONG_MIN.
27714 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27715 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27716 name.
27717 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27718
6cbeae47
JM
277192012-02-22 Joseph Myers <joseph@codesourcery.com>
27720
27721 [BZ #2547]
27722 [BZ #11365]
27723 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27724 manipulate bits before adding and subtracting TWO23[sx].
27725 * math/libm-test.inc (nearbyint_test): Add more tests.
27726
fe45ce09
JM
277272012-02-22 Joseph Myers <joseph@codesourcery.com>
27728
27729 [BZ #2548]
27730 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27731 bits before adding and subtracting TWO23[sx].
27732 * math/libm-test.inc (rint_test): Add more tests.
27733 (rint_test_tonearest): Likewise.
27734 (rint_test_towardzero): Likewise.
27735 (rint_test_downward): Likewise.
27736 (rint_test_upward: Likewise.
27737
ff3b3d82
JM
277382012-02-22 Joseph Myers <joseph@codesourcery.com>
27739
27740 [BZ #10110]
27741 * include/stdc-predef.h: New file. Extracted from features.h.
27742 * include/features.h: Include stdc-predef.h.
27743 * Makefile (headers): Add stdc-predef.h.
27744 * CONFORMANCE (Compiler limitations): Update.
27745
ef0aab35
JM
277462012-02-22 Joseph Myers <joseph@codesourcery.com>
27747
27748 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27749
58639409
DM
277502012-02-21 David S. Miller <davem@davemloft.net>
27751
27752 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27753 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27754
c0e70b25
DM
277552012-02-20 David S. Miller <davem@davemloft.net>
27756
27757 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27758 using a normal save/restore sequence, rather than allocating a
27759 dummy stack frame just to store a frame pointer and restore.
27760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27761
fb06851d
JM
277622012-02-21 Joseph Myers <joseph@codesourcery.com>
27763
27764 * manual/install.texi: Fix stray word in line-wrapped comment.
27765
7a8b71c3
DM
277662012-02-20 David S. Miller <davem@davemloft.net>
27767
d510c123
DM
27768 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27769 both binutils and gcc support GOTDATA.
27770
0722d7c2
DM
27771 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27772 "rd %pc" in the PIC register setup sequences.
27773
3d2b3019
DM
27774 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27775 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27777 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27778 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27783 (SYSCALL_ERROR_HANDLER): Likewise.
27784 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27785 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27787 (SYSCALL_ERROR_HANDLER): Likewise.
27788
c80098a9
DM
27789 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27790 (HAVE_GCC_GOTDATA): New.
27791 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27792 relocation support in both binutils and gcc.
27793 * sysdeps/sparc/elf/configure: Regenerate.
27794
3a2545a0
DM
27795 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27796 * sysdeps/sparc/sparc32/elf/configure: Delete.
27797 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27798 * sysdeps/sparc/sparc64/elf/configure: Delete.
27799 * sysdeps/sparc/elf/configure.in: New file.
27800 * sysdeps/sparc/elf/configure: Generate.
27801
7a8b71c3
DM
27802 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27803 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27804 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27805 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27806 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27807
f1e86fca
JM
278082012-02-21 Joseph Myers <joseph@codesourcery.com>
27809
27810 * manual/install.texi: Do not mention specific glibc version
27811 numbers.
27812 * manual/libc.texinfo (VERSION, UPDATED): Update.
27813 (@copying): Use @copyright{} and range of years.
27814
0e7dfaef
JM
278152012-02-21 Joseph Myers <joseph@codesourcery.com>
27816
27817 [BZ #13695]
27818 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27819 [crti.S not in sysdirs] (generated): Do not append.
27820 [crti.S not in sysdirs] (omit-deps): Likewise.
27821 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27822 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27823 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27824 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27825 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27826 Likewise.
27827 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27828 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27829 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27830 * csu/defs.awk: Remove file.
27831 * sysdeps/generic/initfini.c: Likewise.
27832 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27833 variable.
27834 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27835 Likewise.
27836
599af3ca
JM
278372012-02-20 Joseph Myers <joseph@codesourcery.com>
27838
27839 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27840 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27841 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27844 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27845 <bits/epoll.h>.
27846 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27847 (__EPOLL_PACKED): Define to empty if not defined by
27848 <bits/epoll.h>.
27849 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27851 bits/epoll.h.
27852
0e499750
JM
278532012-02-20 Joseph Myers <joseph@codesourcery.com>
27854
27855 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27856 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27857 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27858 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27859 <bits/timerfd.h>.
27860 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27862 bits/timerfd.h.
27863
5ad91f6e
JM
278642012-02-20 Joseph Myers <joseph@codesourcery.com>
27865
27866 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27867 in C locale.
27868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27869 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27870 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27872
06b99b02
AJ
278732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27874
27875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27877
7638c0fd
AS
278782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27879
27880 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27881 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27882 defined.
27883 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27884 Likewise.
27885 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27886 entry for 2.16.
27887
92221550
AJ
278882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27889
27890 * math/w_acos.c: Use non-signaling floating-point comparisons.
27891 * math/w_acosf.c: Likewise.
27892 * math/w_acosh.c: Likewise.
27893 * math/w_acoshf.c: Likewise.
27894 * math/w_acoshl.c: Likewise.
27895 * math/w_acosl.c: Likewise.
27896 * math/w_asin.c: Likewise.
27897 * math/w_asinf.c: Likewise.
27898 * math/w_asinl.c: Likewise.
27899 * math/w_atanh.c: Likewise.
27900 * math/w_atanhf.c: Likewise.
27901 * math/w_atanhl.c: Likewise.
27902 * math/w_exp2.c: Likewise.
27903 * math/w_exp2f.c: Likewise.
27904 * math/w_exp2l.c: Likewise.
27905 * math/w_j0.c: Likewise.
27906 * math/w_j0f.c: Likewise.
27907 * math/w_j0l.c: Likewise.
27908 * math/w_j1.c: Likewise.
27909 * math/w_j1f.c: Likewise.
27910 * math/w_j1l.c: Likewise.
27911 * math/w_jn.c: Likewise.
27912 * math/w_jnf.c: Likewise.
27913 * math/w_log.c: Likewise.
27914 * math/w_log10.c: Likewise.
27915 * math/w_log10f.c: Likewise.
27916 * math/w_log10l.c: Likewise.
27917 * math/w_log2.c: Likewise.
27918 * math/w_log2f.c: Likewise.
27919 * math/w_log2l.c: Likewise.
27920 * math/w_logf.c: Likewise.
27921 * math/w_logl.c: Likewise.
27922 * math/w_sqrt.c: Likewise.
27923 * math/w_sqrtf.c: Likewise.
27924 * math/w_sqrtl.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27929 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27930
ebaf36eb
JM
279312012-02-19 Joseph Myers <joseph@codesourcery.com>
27932
27933 [BZ #9739]
27934 * manual/string.texi (strnlen): Use correct parameter name in
27935 equivalent expression.
27936
71c254a6
JM
279372012-02-19 Joseph Myers <joseph@codesourcery.com>
27938
27939 [BZ #11174]
27940 * manual/users.texi (seteuid): Consistently use neweuid for
27941 argument name.
27942
16d2c631
JM
279432012-02-19 Joseph Myers <joseph@codesourcery.com>
27944
27945 [BZ #13704]
27946 * manual/nss.texi (Services in the NSS configuration): Correct
27947 list of services in example configuration file.
27948
cd837b09
NB
279492012-02-19 Nick Bowler <nbowler@draconx.ca>
27950
27951 [BZ #11322]
27952 * manual/arith.texi: Remove statements about negative zero
27953 behaving identically to zero.
27954
02c4bbad
JM
279552012-02-18 Joseph Myers <joseph@codesourcery.com>
27956
27957 [BZ #5993]
27958 * manual/install.texi: Do not document upgrading from libc5.
27959
366842e7
JM
279602012-02-18 Joseph Myers <joseph@codesourcery.com>
27961
27962 [BZ #4596]
27963 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27964
dd54084d
DM
279652012-02-18 David S. Miller <davem@davemloft.net>
27966
27967 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27968 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27969 %o7 across the call.
27970 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27971 instead.
27972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27973 SETUP_PIC_REG_LEAF.
27974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27975 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27976 * sysdeps/sparc/crtn.S: Likewise.
27977
2bcc53a3
UD
279782012-02-17 Ulrich Drepper <drepper@gmail.com>
27979
27980 * aout/Makefile: Remove.
27981
09c093b5
RK
279822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27983
27984 [BZ #13058]
27985 * manual/examples/argp-ex1.c (main): Format definition in GNU
27986 style.
27987 * manual/examples/argp-ex2.c (main): Likewise.
27988 * manual/examples/argp-ex3.c (main): Likewise.
27989 * manual/examples/argp-ex4.c (main): Likewise.
27990 * manual/examples/longopt.c (main): Use new-style prototype
27991 definition.
27992 * manual/examples/strncat.c (main): Specify return type and use
27993 (void) for arguments.
27994 * manual/examples/subopt.c (main): Use char **argv argument.
27995
2ee633a2
JM
279962012-02-17 Joseph Myers <joseph@codesourcery.com>
27997
27998 [BZ #5077]
27999 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28000 rounding modes.
28001
0520adde
FB
280022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28003
28004 [BZ #6907]
28005 * manual/string.texi (strchr): Change when strchrnul is
28006 recommended.
28007
3f4081cd
DGM
280082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28009
28010 [BZ #174]
28011 * manual/locale.texi (setlocale): Document LOCPATH.
28012
d1b10e78
JM
280132012-02-17 Joseph Myers <joseph@codesourcery.com>
28014
28015 [BZ #10210]
28016 * manual/process.texi (execle): Move @dots{} before last argument.
28017
79c6869c
PB
280182012-02-17 Paul Bolle <pebolle@tiscali.nl>
28019
28020 [BZ #12047]
28021 * manual/charset.texi (Generic Charset Conversion): Fix typo
28022 (LC_TYPE -> LC_CTYPE).
28023
cc6e48bc
NB
280242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28025
28026 [BZ #5805]
28027 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28028 (scalbnf): Likewise.
28029 (scalbnl): Likewise.
28030 (scalbln): Likewise.
28031 (scalblnf): Likewise.
28032 (scalblnl): Likewise.
28033 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28034 (vwarnx): Likewise.
28035 (verr): Likewise.
28036 (verrx): Likewise.
28037 * manual/filesys.texi (telldir): Use braces around return type.
28038 * manual/llio.texi (mmap): Add space after comma.
28039 (mmap64): Likewise.
28040 * manual/math.texi (jn): Use @var{} on parameter names.
28041 (jnf): Likewise.
28042 (jnl): Likewise.
28043 (yn): Likewise.
28044 (ynf): Likewise.
28045 (ynl): Likewise.
28046 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28047 line.
28048 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28049 "...".
28050 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28051 (sched_get_priority_max): Likewise.
28052 * manual/signal.texi (sigvec): Add space after comma.
28053 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28054 names.
28055 (if_indextoname): Likewise.
28056 (if_freenameindex): Likewise.
28057 (sendto): Use ',' instead of '.' in prototype.
28058 * manual/startup.texi (syscall): Use @dots{} instead of literal
28059 "...".
28060 * manual/stdio.texi (__fpending): Separate initial words of
28061 paragraph from @deftypefun line.
28062 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28063 "...".
28064 (vsyslog): Use @var{} on parameter names.
28065 * manual/terminal.texi (stty): Use @var{} on parameter names.
28066 * manual/users.texi (getutmp): Use @var{} on parameter names.
28067 (getutmpx): Likewise.
28068
5b23062f
JM
280692012-02-17 Joseph Myers <joseph@codesourcery.com>
28070
28071 [BZ #6884]
28072 * manual/stdio.texi (fopen): Fix typos in description of
28073 ",ccs=STRING".
28074
8dee4833
AJ
280752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28076
28077 [BZ #4026]
28078 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28079 get clock_id definition.
28080
9078ce93
TS
280812012-02-17 Thomas Schwinge <thomas@schwinge.name>
28082
28083 [BZ #4822]
28084 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28085 (madvise): Cast every argument to void on its own.
28086
3835c55f
JM
280872012-02-17 Joseph Myers <joseph@codesourcery.com>
28088
28089 [BZ #9902]
28090 * manual/startup.texi (Exit Status): Fix typo.
28091
35c47e37
JM
280922012-02-17 Joseph Myers <joseph@codesourcery.com>
28093
28094 [BZ #10140]
28095 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28096 * manual/examples/argp-ex2.c: Likewise.
28097 * manual/examples/argp-ex3.c: Likewise.
28098
e3b69ca7
RH
280992012-02-16 Richard Henderson <rth@redhat.com>
28100
28101 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28102 * sysdeps/s390/s390-32/initfini.c: Remove.
28103 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28104 * sysdeps/s390/s390-64/initfini.c: Remove.
28105
df83af67
KK
281062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28107
28108 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28109 compiler output for sysdeps/generic/initfini.c.
28110 * sysdeps/sh/elf/initfini.c: Remove file.
28111
f63f3380
DM
281122012-02-16 David S. Miller <davem@davemloft.net>
28113
fb59b3a4
DM
28114 [BZ #11494]
28115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28116
f63f3380
DM
28117 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28118 * sysdeps/sparc/crti.S: New file.
28119 * sysdeps/sparc/crtn.S: New file.
28120 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28121 * sysdeps/sparc/sparc64/Makefile: Likewise.
28122
df6a4a4a
MF
281232012-02-15 Mike Frysinger <vapier@gentoo.org>
28124
6dd8f3dc 28125 [BZ #3335]
df6a4a4a
MF
28126 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28127
1cac7236
RM
281282012-02-15 Roland McGrath <roland@hack.frob.com>
28129
d2c736f8
RM
28130 [BZ #4822]
28131 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28132
1cac7236
RM
28133 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28134 (write, read, close): Likewise.
28135 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28136
8e475601
JM
281372012-02-15 Joseph Myers <joseph@codesourcery.com>
28138
28139 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28140 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28141 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28142 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28143 <bits/signalfd.h>.
28144 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28146 bits/signalfd.h.
28147
ed656b40
MP
281482012-02-14 Marek Polacek <polacek@redhat.com>
28149
28150 * sysdeps/x86_64/crti.S: New file.
28151 * sysdeps/x86_64/crtn.S: New file.
28152 * sysdeps/x86_64/elf/initfini.c: Remove file.
28153
2a979d3a
JM
281542012-02-13 Joseph Myers <joseph@codesourcery.com>
28155
28156 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28157 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28158 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28159 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28160 <bits/inotify.h>.
28161 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28163 bits/inotify.h.
28164
2a418ac3
JM
281652012-02-13 Joseph Myers <joseph@codesourcery.com>
28166
28167 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28168 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28170 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28171 <bits/eventfd.h>.
28172 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28174 bits/eventfd.h.
28175
fb779be7
TS
281762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28177
e19e83c5
RM
28178 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28179 __feraiseexcept instead of feraiseexcept.
7c35ffed 28180
fb779be7
TS
28181 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28182 nanosleep invocations.
28183 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28184 strings, and add error checking for a nanosleep invocations.
28185
59ba27a6
PE
281862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28187
28188 Replace FSF snail mail address with URLs, as per GNU coding standards.
28189 Most of the snail mail addresses were wrong anyway, and omitting
28190 them makes the source code easier to maintain. Almost all of the
28191 changes are to license notices and to locale LC_IDENTIFICATION
28192 addresses, except for this one:
28193 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28194 not its snail mail address.
28195
57b957eb
RH
281962012-02-09 Richard Henderson <rth@twiddle.net>
28197
af850b1c
RH
28198 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28199 of kernel-features.h.
28200
57b957eb
RH
28201 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28202
6b73181a
MP
282032012-02-08 Marek Polacek <polacek@redhat.com>
28204
28205 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28206 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28207 * sysdeps/gnu/_G_config.h: Likewise.
28208 * sysdeps/generic/_G_config.h: Likewise.
28209
26ecc33a
AS
282102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28211
6c6dbc63
AS
28212 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28213 tests.
28214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28215
e216c012
AS
28216 * sysdeps/powerpc/powerpc32/crti.S: New file.
28217 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28218 * sysdeps/powerpc/powerpc64/crti.S: New file.
28219 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28220
26ecc33a
AS
28221 * Makeconfig (have-initfini): Don't set.
28222 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28223 * configure.in (nopic_initfini): Don't substitute.
28224 * config.h.in (HAVE_INITFINI): Don't #undef.
28225 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28226 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28227
3add8e13
JM
282282012-02-08 Joseph Myers <joseph@codesourcery.com>
28229
28230 Support crti.S and crtn.S provided directly by architectures.
28231 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28232 [crti.S in sysdirs] (omit-deps): Likewise.
28233 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28234 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28235 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28236 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28237 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28238 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28239 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28240 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28241 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28242 compiler output for sysdeps/generic/initfini.c.
28243 * sysdeps/i386/elf/Makefile: Remove file.
28244 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28245
a22f12b4
MP
282462012-02-07 Marek Polacek <polacek@redhat.com>
28247
28248 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28249 * sysdeps/gnu/_G_config.h: Likewise.
28250 * sysdeps/mach/hurd/_G_config.h: Likewise.
28251
148cf100
MP
282522012-02-07 Marek Polacek <polacek@redhat.com>
28253
28254 * math/Makefile (tests): Add tst-CMPLX2.
28255 * math/tst-CMPLX2.c: New file.
28256
cfdc0dd7
AS
282572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28258
84ba42c4
AS
28259 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28260
cfdc0dd7
AS
28261 * math/libm-test.inc (jn_test): Add missing L suffix.
28262
622c86f4
MP
282632012-02-06 Marek Polacek <polacek@redhat.com>
28264
28265 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28266 * sysdeps/i386/fpu/e_powf.S: Likewise.
28267 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28268 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28269 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28270 * sysdeps/i386/fpu/e_pow.S: Likewise.
28271 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28272 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28273 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28274 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28275 * sysdeps/i386/fpu/e_log2.S: Likewise.
28276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28277 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28278 * sysdeps/i386/fpu/e_powl.S: Likewise.
28279 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28280 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28281 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28282 * sysdeps/i386/fpu/e_logl.S: Likewise.
28283 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28284 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28285 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28286 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28287 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28288 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28289 * sysdeps/i386/fpu/e_log.S: Likewise.
28290 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28292 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28293 * sysdeps/i386/fpu/e_logf.S: Likewise.
28294 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28295 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28296 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28297 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28298 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28299 * sysdeps/i386/fpu/e_log10.S: Likewise.
28300 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28301 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28302 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28303 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28305 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28306 * sysdeps/i386/asm-syntax.h: Likewise.
28307 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28308 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28309 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28310 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28311 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28313 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28314 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28316 * sysdeps/powerpc/sysdep.h: Likewise.
28317 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28318 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28319
d4a54ac6
JM
283202012-02-06 Joseph Myers <joseph@codesourcery.com>
28321
28322 [BZ #411]
28323 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28324
314054ea
JM
283252012-02-06 Joseph Myers <joseph@codesourcery.com>
28326
28327 * sysdeps/i386/sysdep.h: Include <features.h>.
28328 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28329 version.
28330
d8e0ca50
JM
283312012-02-05 Joseph Myers <joseph@codesourcery.com>
28332
28333 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28334 Define.
28335 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28336 LOAD_PIC_REG_STR.
28337
b1da7dd9
JM
283382012-02-03 Joseph Myers <joseph@codesourcery.com>
28339
28340 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28341 (SETUP_PIC_REG): Use GET_PC_THUNK.
28342 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28343 macro.
28344
9a1d9254
JM
283452012-02-03 Joseph Myers <joseph@codesourcery.com>
28346
28347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28348 for non-PIC compilation.
28349 (SETUP_PIC_REG): Add .p2align directive.
28350 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28351 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28352 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28354 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28391
65dc3b75
JM
283922012-02-03 Joseph Myers <joseph@codesourcery.com>
28393
28394 * math/tst-CMPLX.c: Include <stdio.h>.
28395
d55bf177
JM
283962012-01-31 Joseph Myers <joseph@codesourcery.com>
28397
28398 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28399 float.
28400 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28401 * sysdeps/sparc/bits/mathdef.h: Likewise.
28402
69db4f8f
MP
284032012-01-31 Marek Polacek <polacek@redhat.com>
28404
28405 * libio/libio.h: Don't define _PARAMS.
28406 * locale/programs/config.h: Don't define PARAMS.
28407 * stdlib/strtol_l.c: Likewise.
28408 (__strtol_l): Remove PARAMS from the prototype.
28409
41b81892
UD
284102012-01-31 Ulrich Drepper <drepper@gmail.com>
28411
3b49edc0
UD
28412 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28413 names. Just use the correct names. Remove unnecessary wrapper
28414 functions.
28415 * malloc/arena.c: Likewise.
28416 * malloc/hooks.c: Likewise.
28417
41b81892
UD
28418 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28419 ARENA_TEST says not to. Simplify test for creation of a new arena.
28420 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28421
27a25b6e
UD
284222012-01-30 Ulrich Drepper <drepper@gmail.com>
28423
28424 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28425 into tail calls.
28426 (update_get_addr): New function.
28427 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28428 GET_ADDR_MODULE parameter.
28429
c8a89e7d
JM
284302012-01-30 Joseph Myers <joseph@codesourcery.com>
28431
28432 * crypt/cert.c: Remove __STDC__ conditionals.
28433 * crypt/crypt-entry.c: Likewise.
28434 * crypt/crypt_util.c: Likewise.
28435 * libio/filedoalloc.c: Likewise.
28436 * libio/fileops.c: Likewise.
28437 * libio/genops.c: Likewise.
28438 * libio/iofclose.c: Likewise.
28439 * libio/iofdopen.c: Likewise.
28440 * libio/iofopen.c: Likewise.
28441 * libio/iofopen64.c: Likewise.
28442 * libio/iogetdelim.c: Likewise.
28443 * libio/iopopen.c: Likewise.
28444 * libio/obprintf.c: Likewise.
28445 * libio/oldfileops.c: Likewise.
28446 * libio/oldiofclose.c: Likewise.
28447 * libio/oldiofdopen.c: Likewise.
28448 * libio/oldiofopen.c: Likewise.
28449 * libio/oldiopopen.c: Likewise.
28450 * libio/wfiledoalloc.c: Likewise.
28451 * libio/wgenops.c: Likewise.
28452 * locale/programs/xmalloc.c: Likewise.
28453 * misc/syslog.c: Likewise.
28454 * stdio-common/xbug.c: Likewise.
28455 * string/memchr.c: Likewise.
28456 * string/memcmp.c: Likewise.
28457 * string/memrchr.c: Likewise.
28458 * string/rawmemchr.c: Likewise.
28459 * sysdeps/posix/getcwd.c: Likewise.
28460 * time/strftime_l.c: Likewise.
28461
3b100462
JM
284622012-01-30 Joseph Myers <joseph@codesourcery.com>
28463
28464 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28465 * config.make.in (config-cflags-sse2avx): Define.
28466 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28467 Fix typo.
28468
607998af
CM
284692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28470
28471 * scripts/config.guess: Update from upstream config git repository.
28472 * scripts/config.sub: Likewise.
28473
3601428f
CM
284742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28475
3ac8b282
CM
28476 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28477 (EM_NUM): Update.
28478 (R_TILEPRO_*, R_TILEGX_*): New macros.
28479
e034841e
CM
28480 * scripts/firstversions.awk: Fix bug in version range handling.
28481
540d7568
CM
28482 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28483
3601428f
CM
28484 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28485
463de862
CM
28486 * include/sys/epoll.h: New file.
28487 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28488 libc_hidden_def.
28489
73139a76
UD
284902012-01-28 Ulrich Drepper <drepper@gmail.com>
28491
96bc5b45
UD
28492 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28493 Avoid unnecessary __WORDSIZE == 64 test.
28494 (fmaxf): Use VEX format if possible.
28495 (fmax): Likewise.
28496 (fminf): Likewise.
28497 (fmin): Likewise.
28498
56f6f6a2
UD
28499 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28500 * math/math_private.h: Remove libc_fegetround* and
28501 libc_fesetround*.
28502 * sysdeps/i386/configure.in: Check for -msse2avx.
28503 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28504 also if SSE2AVX is defined.
28505 Remove libc_fegetround* and libc_fesetround*.
28506 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28507 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28508 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28509 of HAS_YMM_USABLE.
28510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28515
73139a76
UD
28516 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28517
d73f93a4
AZ
285182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28519
28520 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28521 size is not set.
28522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28523
6ee65ed6
UD
285242012-01-27 Ulrich Drepper <drepper@gmail.com>
28525
28526 [BZ #13618]
28527 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28528 relocation.
28529 * Makeconfig (libm): Define.
28530 * elf/Makefile: Add rules to build and run tst-relsort1.
28531 * elf/tst-relsort1.c: New file.
28532 * elf/tst-relsort1mod1.c: New file.
28533 * elf/tst-relsort1mod2.c: New file.
28534
8db21882
JM
285352012-01-27 Joseph Myers <joseph@codesourcery.com>
28536
28537 * math/s_ldexp.c: Remove __STDC__ conditionals.
28538 * math/s_ldexpf.c: Likewise.
28539 * math/s_ldexpl.c: Likewise.
28540 * math/s_nextafter.c: Likewise.
28541 * math/s_nexttowardf.c: Likewise.
28542 * math/s_significand.c: Likewise.
28543 * math/s_significandf.c: Likewise.
28544 * math/s_significandl.c: Likewise.
28545 * math/w_jnl.c: Likewise.
28546 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28547 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28548 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28549 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28550 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28566 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28568 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28570 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28576 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28577 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28586 * sysdeps/ieee754/k_standard.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28648 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28653 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28666 * sysdeps/ieee754/s_matherr.c: Likewise.
28667 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28668 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28671
965a54a4
JM
286722012-01-26 Joseph Myers <joseph@codesourcery.com>
28673
28674 * crypt/md5.h: Remove __STDC__ conditionals.
28675 * libio/libioP.h: Likewise.
28676 * locale/programs/config.h: Likewise.
28677 * sysdeps/generic/sysdep.h: Likewise.
28678 * sysdeps/i386/asm-syntax.h: Likewise.
28679 * sysdeps/s390/asm-syntax.h: Likewise.
28680 * sysdeps/unix/sysdep.h: Likewise.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28683
7071ad79
JM
286842012-01-26 Joseph Myers <joseph@codesourcery.com>
28685
28686 * libio/libio.h: Remove __STDC__ conditionals.
28687 * malloc/obstack.h: Likewise.
28688 * math/complex.h: Likewise.
28689 * math/math.h: Likewise.
28690 * sysdeps/generic/_G_config.h: Likewise.
28691 * sysdeps/gnu/_G_config.h: Likewise.
28692 * sysdeps/mach/hurd/_G_config.h: Likewise.
28693 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28694 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28695 * sysdeps/sparc/bits/mathdef.h: Likewise.
28696
afc5ed09
UD
286972012-01-26 Ulrich Drepper <drepper@gmail.com>
28698
28699 [BZ #13583]
28700 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28701 Clean up HAS_* macros.
afc5ed09 28702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28703 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28704 possible.
28705 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28706 HAS_AVX.
28707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28712
bdb6de1d
JM
287132012-01-25 Joseph Myers <joseph@codesourcery.com>
28714
28715 * elf/tst-unique3.cc (gets): Remove declaration.
28716 * elf/tst-unique3lib.cc (gets): Likewise.
28717 * elf/tst-unique3lib2.cc (gets): Likewise.
28718 * elf/tst-unique4.cc (gets): Likewise.
28719
b15549e6
UD
287202012-01-24 Ulrich Drepper <drepper@gmail.com>
28721
28722 * include/stdio.h: Add C++ protection. Add gets declarations and
28723 definitions.
28724 * debug/tst-chk1.c: Don't declare gets here.
28725 * stdio-common/tst-gets.c: Likewise.
28726
a037381f
JM
287272012-01-24 Joseph Myers <joseph@codesourcery.com>
28728
28729 * posix/glob: Remove directory.
28730
f1d4aa75
JM
287312012-01-24 Joseph Myers <joseph@codesourcery.com>
28732
28733 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28734
81c0c964
PT
287352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28736
28737 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28738 of the non-standard EPFNOSUPPORT.
28739
0ea698ae
ST
287402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28741
28742 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28743 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28744 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28745
d220b117
UD
287462012-01-21 Ulrich Drepper <drepper@gmail.com>
28747
28748 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28749
3e1aa84e
UD
287502012-01-20 Ulrich Drepper <drepper@gmail.com>
28751
28752 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28753 transient errors.
28754 * nscd/grpcache.c (cache_addgr): Likewise.
28755 * nscd/hstcache.c (cache_addhst): Likewise.
28756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28757 * nscd/pwdcache.c (cache_addpw): Likewise.
28758 * nscd/servicescache.c (cache_addserv): Likewise.
28759
400aa020
UD
287602012-01-16 Ulrich Drepper <drepper@gmail.com>
28761
d77e7869
UD
28762 * malloc/malloc.c: Various cleanups.
28763 * malloc/hooks.c: Likewise.
28764
400aa020
UD
28765 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28766 * stdlib/bug-fmtmsg1.c: New file.
28767
28768 * stdlib/fmtmsg.c (init): Add missing unlock.
28769 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28770
e0a309cf
MP
287712012-01-12 Marek Polacek <polacek@redhat.com>
28772
28773 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28774 and _GNU_SOURCE.
28775
929d11c7
WS
287762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28777
28778 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28779 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28780 macro to ensure uniqueness of label name.
28781 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28782 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28783
41d0e869
UD
287842012-01-11 Ulrich Drepper <drepper@gmail.com>
28785
0cc5ed3b
UD
28786 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28787
41d0e869
UD
28788 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28789 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28792
a47a831a
UD
287932012-01-10 Ulrich Drepper <drepper@gmail.com>
28794
daa891c0
UD
28795 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28796
28797 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28799 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28800
e58ef0f2
UD
28801 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28802
a47a831a 28803 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28804 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28807
28808 * math/bits/math-finite.h: Add ldexp support.
28809
a0bfc9c7
MP
288102012-01-10 Marek Polacek <polacek@redhat.com>
28811
28812 * locale/programs/localedef.h (show_archive_content): Add noreturn
28813 attribute.
28814
d6e97a1d
UD
288152012-01-09 Ulrich Drepper <drepper@gmail.com>
28816
28817 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28818
d5835c26
UD
288192012-01-08 Ulrich Drepper <drepper@gmail.com>
28820
e5f484c6
UD
28821 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28822
d5835c26
UD
28823 * io/Makefile (headers): Add bits/poll2.h.
28824
d1f741e9
WS
288252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28826
28827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28828 typo #include statement.
28829
ec09c1c4
UD
288302012-01-08 Ulrich Drepper <drepper@gmail.com>
28831
28832 * include/sys/cdefs.h: Define __attribute_alloc_size.
28833 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28834 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28835 * elf/pldd.c: Likewise.
28836 * iconv/iconv_charmap.c: Likewise.
28837 * iconv/iconvconfig.c: Likewise.
28838 * iconv/strtab.c: Likewise.
28839 * locale/programs/locale.c: Likewise.
28840 * locale/programs/localedef.h: Likewise.
28841 * locale/programs/simple-hash.c: Likewise.
28842 * nscd/nscd.h: Likewise.
28843 * nss/makedb.c: Likewise.
28844 * sysdeps/generic/ldconfig.h: Likewise.
28845 * locale/programs/localedef.c: Remove xmalloc prototype.
28846 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28847
20b38e03
PP
288482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28849
28850 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28851 appropriate.
28852
a0da5fe1
UD
288532012-01-08 Ulrich Drepper <drepper@gmail.com>
28854
1d5a644a 28855 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28856 * math/tst-CMPLX.c: New file.
1d5a644a 28857
8784a6db
UD
28858 * math/complex.h (CMPLXL): Fix typo.
28859
d9a216c0
UD
28860 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28861 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28862 GLIBC_2.16.
28863 * debug/tst-chk1.c: Add poll and ppoll tests.
28864 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28865 * include/sys/poll.h: Add hidden proto for ppoll.
28866 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28867 * sysdeps/mach/hurd/ppoll.c: Likewise.
28868 * io/ppoll.c: Likewise.
28869 * debug/poll_chk.c: New file.
28870 * debug/ppoll_chk.c: New file.
28871 * include/bits/poll2.h: New file.
28872 * io/bits/poll2.h: New file.
28873
ac097f5c
UD
28874 [BZ #1350]
28875 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28876
2119dcfa
UD
28877 * configure.in: static is always set to yes. Remove.
28878 * config.make.in: Don't set build-static.
28879 * Makeconfig: Remove use of build-static.
28880 * dlfcn/Makefile: Likewise.
28881 * elf/Makefile: Likewise.
28882 * math/Makefile: Likewise.
28883 * misc/Makefile: Likewise.
28884 * nptl/Makefile: Likewise.
28885 * sysdeps/mach/hurd/Makefile: Likewise.
28886
121766a9
UD
28887 * configure.in: PWD_P is not used anymore.
28888 * config.make.in: Remove PWD_P entry.
28889
51a1d39c 28890 * configure.in: Remove last remnants of RANLIB.
8720d066 28891 No need to check for signed size_t anymore.
215f4bdc
UD
28892 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28893 and IA-64.
3857022a 28894 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28895 * aclocal.m4: Likewise.
28896
d3ed7225
UD
28897 * wcsmbs/mbrtoc16.c: Implement using towc function.
28898 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28899 * wcsmbs/wcsmbsload.c: Likewise.
28900 * iconv/gconv_simple.c: Likewise.
28901 * iconv/gconv_int.h: Likewise.
28902 * iconv/gconv_builtin.h: Likewise.
28903 * iconv/iconv_prog.c: Remove CHAR16 handling.
28904
28905 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28906
28907 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28908
a0da5fe1
UD
28909 * configure.in: Remove --with-elf and --enable-bounded options.
28910 Dont set base_machine for ia64. More non-ELF conditions removed.
28911 Remove testing and setting of leading underscore information.
28912 * config.make.in (build-bounded): Set to no.
28913 * config.h.in: Remove NO_UNDERSCORES entry.
28914 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28915 them.
28916 * csu/start.c: Remove !NO_UNDERSCORE code.
28917 * locale/localeinfo.h: Likewise.
28918 * sysdeps/generic/machine-gmon.h: Likewise.
28919 * sysdeps/generic/sysdep.h: Likewise.
28920 * sysdeps/i386/sysdep.h: Likewise.
28921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28922 * sysdeps/mach/sysdep.h: Likewise.
28923 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28924 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28925 * sysdeps/sh/sysdep.h: Likewise.
28926 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28927 * sysdeps/unix/i386/sysdep.S: Likewise.
28928 * sysdeps/unix/sparc/start.c: Likewise.
28929 * sysdeps/unix/sparc/sysdep.S: Likewise.
28930 * sysdeps/unix/sparc/sysdep.h: Likewise.
28931 * sysdeps/unix/start.c: Likewise.
28932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28933 * sysdeps/x86_64/sysdep.h: Likewise.
28934
df78418a
UD
289352012-01-07 Ulrich Drepper <drepper@gmail.com>
28936
a784e502
UD
28937 [BZ #13553]
28938 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28939 for non-gcc.
28940 * argp/argp-fmtstream.h: Use const instead __const.
28941 * argp/argp.h: Likewise.
28942 * assert/assert.h: Likewise.
28943 * bits/fenv.h: Likewise.
28944 * bits/sched.h: Likewise.
28945 * bits/sigset.h: Likewise.
28946 * bits/sigthread.h: Likewise.
28947 * catgets/nl_types.h: Likewise.
28948 * conform/data/pthread.h-data: Likewise.
28949 * crypt/crypt-private.h: Likewise.
28950 * crypt/crypt.h: Likewise.
28951 * crypt/crypt_util.c: Likewise.
28952 * ctype/ctype.h: Likewise.
28953 * debug/execinfo.h: Likewise.
28954 * debug/mbsnrtowcs_chk.c: Likewise.
28955 * debug/mbsrtowcs_chk.c: Likewise.
28956 * debug/wcsnrtombs_chk.c: Likewise.
28957 * debug/wcsrtombs_chk.c: Likewise.
28958 * debug/wcstombs_chk.c: Likewise.
28959 * dirent/dirent.h: Likewise.
28960 * dlfcn/dlfcn.h: Likewise.
28961 * elf/neededtest4.c: Likewise.
28962 * grp/grp.h: Likewise.
28963 * gshadow/gshadow.h: Likewise.
28964 * iconv/gconv.h: Likewise.
28965 * iconv/gconv_int.h: Likewise.
28966 * iconv/gconv_simple.c: Likewise.
28967 * iconv/iconv.h: Likewise.
28968 * iconv/loop.c: Likewise.
28969 * iconv/skeleton.c: Likewise.
28970 * include/aio.h: Likewise.
28971 * include/aliases.h: Likewise.
28972 * include/argz.h: Likewise.
28973 * include/arpa/inet.h: Likewise.
28974 * include/assert.h: Likewise.
28975 * include/dirent.h: Likewise.
28976 * include/dlfcn.h: Likewise.
28977 * include/execinfo.h: Likewise.
28978 * include/fcntl.h: Likewise.
28979 * include/fenv.h: Likewise.
28980 * include/glob.h: Likewise.
28981 * include/grp.h: Likewise.
28982 * include/libintl.h: Likewise.
28983 * include/mntent.h: Likewise.
28984 * include/netdb.h: Likewise.
28985 * include/pwd.h: Likewise.
28986 * include/rpc/netdb.h: Likewise.
28987 * include/sched.h: Likewise.
28988 * include/search.h: Likewise.
28989 * include/shadow.h: Likewise.
28990 * include/signal.h: Likewise.
28991 * include/stdio.h: Likewise.
28992 * include/stdlib.h: Likewise.
28993 * include/string.h: Likewise.
28994 * include/sys/socket.h: Likewise.
28995 * include/sys/stat.h: Likewise.
28996 * include/sys/statfs.h: Likewise.
28997 * include/sys/statvfs.h: Likewise.
28998 * include/sys/syslog.h: Likewise.
28999 * include/sys/time.h: Likewise.
29000 * include/sys/uio.h: Likewise.
29001 * include/time.h: Likewise.
29002 * include/unistd.h: Likewise.
29003 * include/utmp.h: Likewise.
29004 * include/wchar.h: Likewise.
29005 * include/wctype.h: Likewise.
29006 * inet/aliases.h: Likewise.
29007 * inet/arpa/inet.h: Likewise.
29008 * inet/netinet/ether.h: Likewise.
29009 * inet/netinet/in.h: Likewise.
29010 * intl/libintl.h: Likewise.
29011 * io/bits/fcntl2.h: Likewise.
29012 * io/fcntl.h: Likewise.
29013 * io/ftw.h: Likewise.
29014 * io/sys/poll.h: Likewise.
29015 * io/sys/stat.h: Likewise.
29016 * io/sys/statfs.h: Likewise.
29017 * io/sys/statvfs.h: Likewise.
29018 * io/utime.h: Likewise.
29019 * libio/bits/stdio.h: Likewise.
29020 * libio/bits/stdio2.h: Likewise.
29021 * libio/libio.h: Likewise.
29022 * libio/libioP.h: Likewise.
29023 * libio/stdio.h: Likewise.
29024 * locale/lc-ctype.c: Likewise.
29025 * locale/locale.h: Likewise.
29026 * login/utmp.h: Likewise.
29027 * malloc/arena.c: Likewise.
29028 * malloc/malloc.c: Likewise.
29029 * malloc/malloc.h: Likewise.
29030 * malloc/mcheck.c: Likewise.
29031 * malloc/mtrace.c: Likewise.
29032 * math/bits/mathcalls.h: Likewise.
29033 * math/fenv.h: Likewise.
29034 * math/math_private.h: Likewise.
29035 * misc/bits/error.h: Likewise.
29036 * misc/bits/syslog.h: Likewise.
29037 * misc/err.h: Likewise.
29038 * misc/error.h: Likewise.
29039 * misc/fstab.h: Likewise.
29040 * misc/mntent.h: Likewise.
29041 * misc/regexp.h: Likewise.
29042 * misc/search.h: Likewise.
29043 * misc/sgtty.h: Likewise.
29044 * misc/sys/mman.h: Likewise.
29045 * misc/sys/syslog.h: Likewise.
29046 * misc/sys/uio.h: Likewise.
29047 * misc/sys/xattr.h: Likewise.
29048 * misc/ttyent.h: Likewise.
29049 * nis/rpcsvc/ypclnt.h: Likewise.
29050 * nss/nss.h: Likewise.
29051 * posix/bits/unistd.h: Likewise.
29052 * posix/fnmatch.h: Likewise.
29053 * posix/glob.h: Likewise.
29054 * posix/sched.h: Likewise.
29055 * posix/spawn.h: Likewise.
29056 * posix/sys/wait.h: Likewise.
29057 * posix/unistd.h: Likewise.
29058 * posix/wordexp.h: Likewise.
29059 * pwd/pwd.h: Likewise.
29060 * resolv/netdb.h: Likewise.
29061 * resource/sys/resource.h: Likewise.
29062 * rt/aio.h: Likewise.
29063 * rt/bits/mqueue2.h: Likewise.
29064 * rt/mqueue.h: Likewise.
29065 * shadow/shadow.h: Likewise.
29066 * signal/signal.h: Likewise.
29067 * socket/send.c: Likewise.
29068 * socket/sendto.c: Likewise.
29069 * socket/sys/socket.h: Likewise.
29070 * stdio-common/printf.h: Likewise.
29071 * stdlib/bits/stdlib.h: Likewise.
29072 * stdlib/fmtmsg.h: Likewise.
29073 * stdlib/monetary.h: Likewise.
29074 * stdlib/stdlib.h: Likewise.
29075 * stdlib/ucontext.h: Likewise.
29076 * streams/stropts.h: Likewise.
29077 * string/argz.h: Likewise.
29078 * string/bits/string2.h: Likewise.
29079 * string/string.h: Likewise.
29080 * string/strings.h: Likewise.
29081 * sunrpc/rpc/auth.h: Likewise.
29082 * sunrpc/rpc/auth_des.h: Likewise.
29083 * sunrpc/rpc/clnt.h: Likewise.
29084 * sunrpc/rpc/netdb.h: Likewise.
29085 * sunrpc/rpc/pmap_clnt.h: Likewise.
29086 * sunrpc/rpc/xdr.h: Likewise.
29087 * sysdeps/generic/inttypes.h: Likewise.
29088 * sysdeps/generic/net/if.h: Likewise.
29089 * sysdeps/generic/sys/swap.h: Likewise.
29090 * sysdeps/gnu/net/if.h: Likewise.
29091 * sysdeps/gnu/utmpx.h: Likewise.
29092 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29093 * sysdeps/i386/i486/bits/string.h: Likewise.
29094 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29095 * sysdeps/s390/bits/string.h: Likewise.
29096 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29097 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29098 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29099 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29100 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29101 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29102 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29103 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29104 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29105 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29106 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29107 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29108 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29109 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29110 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29111 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29112 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29116 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29117 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29118 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29119 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29120 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29121 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29123 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29124 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29125 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29126 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29127 * sysvipc/sys/ipc.h: Likewise.
29128 * sysvipc/sys/msg.h: Likewise.
29129 * sysvipc/sys/sem.h: Likewise.
29130 * sysvipc/sys/shm.h: Likewise.
29131 * termios/termios.h: Likewise.
29132 * time/sys/time.h: Likewise.
29133 * time/time.h: Likewise.
29134 * wcsmbs/bits/wchar2.h: Likewise.
29135 * wcsmbs/uchar.h: Likewise.
29136 * wcsmbs/wchar.h: Likewise.
29137 * wctype/wctype.h: Likewise.
29138
0269750c
UD
29139 [BZ #13551]
29140 * Makeconfig: Remove all but ELF support including AIX support.
29141 * Makerules: Likewise.
29142 * config.h.in: Likewise.
29143 * config.make.in: Likewise.
29144 * configure: Likewise.
29145 * configure.in: Likewise.
29146 * csu/Makefile: Likewise.
29147 * csu/version.c: Likewise.
29148 * debug/Makefile: Likewise.
29149 * dlfcn/Makefile: Likewise.
29150 * elf/Makefile: Likewise.
29151 * extra-lib.mk: Likewise.
29152 * iconv/Makefile: Likewise.
29153 * include/libc-symbols.h: Likewise.
29154 * include/shlib-compat.h: Likewise.
29155 * resolv/Makefile: Likewise.
29156 * resolv/res_libc.c: Likewise.
29157 * rt/Makefile: Likewise.
29158 * sysdeps/i386/asm-syntax.h: Likewise.
29159 * sysdeps/i386/sysdep.h: Likewise.
29160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29161 * sysdeps/mach/sysdep.h: Likewise.
29162 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29163 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29164 * sysdeps/s390/asm-syntax.h: Likewise.
29165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29167 * sysdeps/sh/sysdep.h: Likewise.
29168 * sysdeps/unix/sparc/sysdep.h: Likewise.
29169 * sysdeps/wordsize-32/divdi3.c: Likewise.
29170 * sysdeps/x86_64/sysdep.h: Likewise.
29171
00bbd29b
UD
29172 * argp/Versions: Remove _argp_unlock_xxx.
29173
29174 [BZ #13559]
29175 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29176 * abilist/libBrokenLocale.abilist: Likewise.
29177 * abilist/libanl.abilist: Likewise.
29178 * abilist/libc.abilist: Likewise.
29179 * abilist/libcrypt.abilist: Likewise.
29180 * abilist/libdl.abilist: Likewise.
29181 * abilist/libm.abilist: Likewise.
29182 * abilist/libnsl.abilist: Likewise.
29183 * abilist/libpthread.abilist: Likewise.
29184 * abilist/libresolv.abilist: Likewise.
29185 * abilist/librt.abilist: Likewise.
29186 * abilist/libthread_db.abilist: Likewise.
29187 * abilist/libutil.abilist: Likewise.
29188 * abilist/libnss_db.abilist: New file.
29189
29190 * scripts/abilist.awk: Add support for indirect functions.
29191
a2693a0e
UD
29192 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29193
3f05895f
UD
29194 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29195
ecb6fb48
UD
29196 * shlib-versions: Remove entries for ports architectures.
29197
664f8cb9
UD
29198 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29199 files in ports.
29200 * elf/stackguard-macros.h: Remove support for IA-64.
29201 * elf/tst-auditmod1.c: Likewise.
29202 * sysdeps/generic/ldsodefs.h: Likewise.
29203
7ae81d88
UD
29204 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29205 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29206 configure files.
29207
bdeba135
UD
29208 [BZ #13552]
29209 * configure.in: Remove --enable-omitfp support.
29210 * FAQ.in: Adjust.
29211 * config.make.in: Likewise.
29212 * Makeconfig: Likewise.
29213 * manual/install.texi: Likewise.
29214
d75a0a62
UD
29215 In case anyone cares, the IA-64 architecture could move to ports.
29216 * sysdeps/ia64/*: Removed.
29217 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29218 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29219
dcc9756b
UD
29220 [BZ #13555]
29221 * configure.in: Remove entries for unsupported architectures.
29222
d3761ebc 29223 [BZ #13533]
9954432e
UD
29224 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29225 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29226 routines.
29227 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29228 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29229 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29230 fall back to using wcrtomb.
29231 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29232 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29233 renaming.
29234 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29235 * wcsmbs/tst-c16c32-1.c: New file.
29236
29237 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29238 local variable.
29239
c3a87236
UD
29240 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29241
28926a1b
UD
29242 * elf/tst-unique3.cc: Add explicit declaration of gets.
29243 * elf/tst-unique3lib.cc: Likewise.
29244 * elf/tst-unique3lib2.cc: Likewise.
29245 * elf/tst-unique4.cc: Likewise.
29246
df78418a
UD
29247 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29248
8ecd6b2a
JM
292492012-01-06 Joseph Myers <joseph@codesourcery.com>
29250
29251 [BZ #13566]
29252 * assert/assert.h (static_assert): Don't define for C++.
29253 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29254 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29255
9f115170
UD
292562012-01-03 Ulrich Drepper <drepper@gmail.com>
29257
5e0d0300
UD
29258 * iconv/loop.c (single loop): Fix assertion in storing of
29259 remaining bytes.
29260
9f115170
UD
29261 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29262
81fb02b0
UD
292632012-01-01 Ulrich Drepper <drepper@gmail.com>
29264
29265 * posix/getconf.c: Update copyright year.
29266 * nss/getent.c: Likewise.
a316c1f6 29267 * nss/makedb.c: Likewise.
81fb02b0
UD
29268 * iconv/iconvconfig.c: Likewise.
29269 * iconv/iconv_prog.c: Likewise.
29270 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29271 * elf/pldd.c: Likewise.
29272 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29273 * catgets/gencat.c: Likewise.
29274 * csu/version.c: Likewise.
29275 * elf/ldd.bash.in: Likewise.
29276 * elf/sprof.c (print_version): Likewise.
29277 * locale/programs/locale.c: Likewise.
29278 * locale/programs/localedef.c: Likewise.
a316c1f6 29279 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29280 * nscd/nscd.c (print_version): Likewise.
29281 * debug/xtrace.sh: Likewise.
29282 * malloc/memusage.sh: Likewise.
29283 * malloc/mtrace.pl: Likewise.
29284 * debug/catchsegv.sh: Likewise.
29285
2ba92745
JJ
292862011-12-30 Jakub Jelinek <jakub@redhat.com>
29287
29288 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29289 pure attribute.
29290
dadebdae
UD
292912011-12-24 Ulrich Drepper <drepper@gmail.com>
29292
d3761ebc 29293 [BZ #13533]
db6af3eb
UD
29294 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29295 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29296 transformations.
29297 * iconv/gconv_int.h: Likewise.
29298 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29299 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29300 from libc for GLIBC_2.16.
29301 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29302 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29303 * wcsmbs/uchar.h: Really define mbstate_t.
29304 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29305 * wcsmbs/c16rtomb.c: New file.
29306 * wcsmbs/mbrtoc16.c: New file.
29307 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29308 for C/POSIX locale.
29309 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29310 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29311
dadebdae
UD
29312 * wcsmbs/wchar.h: Add missing __restrict.
29313
67371b56
UD
293142011-12-23 Ulrich Drepper <drepper@gmail.com>
29315
74033a25
UD
29316 [BZ #13532]
29317 * time/Makefile (routines): Add timespec_get.
29318 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29319 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29320 timespec for ISO C11.
29321 * time/timespec_get.c: New file.
29322 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29323 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29324
380d7e87
UD
29325 [BZ #13531]
29326 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29327 * stdlib/stdlib.h: Declare aligned_alloc.
29328 * Versions.def: Add GLIBC_2.16 for libc.
29329 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29330
4e9e7a35
UD
29331 [BZ 13527]
29332 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29333 ISO C11.
29334
380d7e87 29335 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29336 code.
29337
03a71829
UD
29338 [BZ #13528]
29339 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29340
839e283e
UD
29341 [BZ #13529]
29342 * assert/assert.h (static_assert): Define.
29343
ce5294e2 29344 * version.h: Update for 2.16 development version.
90fa7312 29345
8d44e150 29346 [BZ #13526]
d7809905
UD
29347 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29348 _ISOC11_SOURCE.
29349
c0da14cd
UD
29350 * version.h (RELEASE): Bump for 2.15 release.
29351 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29352
530a3249
MP
29353 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29354 Patch by Marek Polacek <mpolacek@redhat.com>.
29355
67371b56
UD
29356 * bits/byteswap.h: Protect long long constants with __extension__.
29357 * sysdeps/i386/bits/byteswap.h: Likewise.
29358 * sysdeps/ia64/bits/byteswap.h: Likewise.
29359 * sysdeps/s390/bits/byteswap.h: Likewise.
29360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29361
15db4de1
LD
293622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29363
29364 [BZ #13540]
bbe315ea
LD
29365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29366 destination buffer.
15db4de1
LD
29367 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29368
2b2596b1
MP
293692011-12-23 Marek Polacek <polacek@redhat.com>
29370
29371 * elf/dl-addr.c (determine_info): Add inline keyword.
29372 * elf/tst-auditmod4b.c (check_avx): Likewise.
29373 * elf/tst-auditmod6b.c (check_avx): Likewise.
29374 * elf/tst-auditmod6c.c (check_avx): Likewise.
29375 * elf/tst-auditmod7b.c (check_avx): Likewise.
29376
70c6c246
UD
293772011-12-23 Ulrich Drepper <drepper@gmail.com>
29378
29379 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29380 !__SSE_MATH__.
29381
c044cf14
LD
293822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29383
15db4de1 29384 [BZ #13540]
c044cf14
LD
29385 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29386 processing for last bytes.
29387
6b13d9d9
BH
293882011-08-06 Bruno Haible <bruno@clisp.org>
29389
d455f537
BH
29390 [BZ #13061]
29391 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29392 U+0385, not to U+1FEE.
29393
6b13d9d9
BH
29394 [BZ #13062]
29395 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29396 entry for U+00A5 U+0301.
29397
db910efd
UD
293982011-12-22 Ulrich Drepper <drepper@gmail.com>
29399
27deeafc
UD
29400 [BZ #13166]
29401 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29402 buffer for the output is too small.
29403
aed9d171
UD
29404 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29405 optimization.
29406
db910efd
UD
29407 [BZ #13185]
29408 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29409 SSE flags if possible.
29410
2bd779ae
LD
294112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29412
e7f9dac3 29413 [BZ #13540]
2bd779ae
LD
29414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29415 processing for last bytes.
29416
154bfc16
JM
294172011-12-22 Joseph Myers <joseph@codesourcery.com>
29418
29419 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29420 (syscall-list-default-options, syscall-list-default-condition)
29421 (syscall-list-includes): Define.
29422 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29423 list of ABIs and options and #if conditions for each ABI. Do not
29424 handle common syscalls between ABIs specially.
29425 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29426 Remove.
29427 (syscall-list-variants, syscall-list-32bit-options)
29428 (syscall-list-32bit-condition, syscall-list-64bit-options)
29429 (syscall-list-64bit-condition): Define.
29430 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29431 (syscall-list-variants, syscall-list-32bit-options)
29432 (syscall-list-32bit-condition, syscall-list-64bit-options)
29433 (syscall-list-64bit-condition): Define.
29434 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29435 Remove.
29436 (syscall-list-variants, syscall-list-32bit-options)
29437 (syscall-list-32bit-condition, syscall-list-64bit-options)
29438 (syscall-list-64bit-condition): Define.
29439 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29440 Remove.
29441 (syscall-list-variants, syscall-list-32bit-options)
29442 (syscall-list-32bit-condition, syscall-list-64bit-options)
29443 (syscall-list-64bit-condition): Define.
29444
21eaf3a5
UD
294452011-12-22 Ulrich Drepper <drepper@gmail.com>
29446
16c6f992
UD
29447 * locale/iso-639.def: Add brx entry.
29448
41043168
UD
29449 [BZ #13328]
29450 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29451 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29452
21eaf3a5
UD
29453 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29454 __feraiseexcept_renamed.
29455
e3a851a2
UD
294562011-12-21 Ulrich Drepper <drepper@gmail.com>
29457
4920765e
UD
29458 [BZ #13538]
29459 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29460 EPOLLET with unsigned values.
29461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29463
e3a851a2
UD
29464 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29465 to large cancellation.
29466 * math/s_cacoshf.c: Likewise.
29467 * math/s_cacoshl.c: Likewise.
29468
b27e24b8
RK
294692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29470
29471 [BZ #13305]
aebefeee 29472 [BZ #12786]
b27e24b8
RK
29473 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29474 * math/s_cacoshf.c: Likewise.
29475 * math/s_cacoshl.c: Likewise.
29476
ee190f67
UD
294772011-12-21 Ulrich Drepper <drepper@gmail.com>
29478
29479 [BZ #13439]
29480 * iconv/gconv.h: Define __GCONV_SWAP.
29481 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29482 * iconvdata/utf-16.c: Likewise.
29483 * iconvdata/utf-32.c: Likewise.
29484
707f25df
AS
294852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29486
29487 [BZ #13524]
29488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29489 numerator after shifting it by one limb.
29490
d2daaa1e
RÁE
294912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29492
29493 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29494 under [__USE_EXTERN_INLINES].
29495
a4647e72
UD
294962011-12-17 Ulrich Drepper <drepper@gmail.com>
29497
29498 [BZ #13446]
29499 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29500
f0b264f1
AZ
295012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29502
29503 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29504 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29505 optimized code.
29506 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29507 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29508 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29509 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29510 for strncasecmp/strncasecmp_l compilation.
29511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29512 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29513
8ef4f244
MP
295142011-12-08 Marek Polacek <mpolacek@redhat.com>
29515
29516 [BZ #13484]
29517 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29518 of __asm__.
29519
97ac2654
UD
295202011-12-17 Ulrich Drepper <drepper@gmail.com>
29521
29522 [BZ #13506]
29523 * time/tzfile.c (__tzfile_read): Check values from file header.
29524
91d2a845
WS
295252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29526
29527 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29528 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29529 * powerpc/powerpc32/dl-start.S: Likewise.
29530 * powerpc/powerpc32/elf/start.S: Likewise.
29531 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29532 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29533 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29534 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29535 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29536 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29537 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29538 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29539 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29540 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29541 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29542 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29543 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29544 * powerpc/powerpc32/memset.S: Likewise.
29545 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29546 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29547 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29548 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29549 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29550 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29551 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29552 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29553 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29554 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29556 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29557 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29558
a1267ba1
AZ
295592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29560
29561 * math/libm-test.inc: Added more nearbyint tests.
29562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29566
ad8ac1bd
RL
295672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29568
29569 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29570 FD_CLOEXEC.
29571
1d3e4b61
UD
295722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29573
29574 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29575 Add wcscpy-ssse3 wcscpy-c.
29576 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29577 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29578 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29579 * sysdeps/x86_64/wcschr.S: New file.
29580 * sysdeps/x86_64/wcsrchr.S: New file.
29581 * string/test-strcmp.c: Remove checking of wcscmp function for
29582 wrong alignments.
29583 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29584 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29585 wcsrchr-sse2 wcsrchr-c.
29586 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29587 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29588 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29589 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29590 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29591 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29592 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29593 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29594 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29595 * wcsmbc/wcschr.c (WCSCHR): New macro.
29596
5b330a2d
UD
295972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29598
29599 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29600 * wcsmbs/test-wcsrchr.c: New file.
29601 * string/test-strrchr.c: Add wcsrchr support.
29602 (WIDE): New macro.
29603 * wcsmbs/test-wcscpy.c: New file.
29604 * string/test-strcpy.c: Add wcscpy support.
29605 (WIDE): New macro.
26428b7c 29606
f039c043
UD
296072011-12-10 Ulrich Drepper <drepper@gmail.com>
29608
29609 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29610 the inner loop.
29611
850fb039
AS
296122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29613
29614 [BZ #13472]
29615 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29616
4efbd5cb
UD
296172011-12-04 Ulrich Drepper <drepper@gmail.com>
29618
52ff5dd0 29619 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29620 Minor optimizations.
52ff5dd0 29621
4efbd5cb
UD
29622 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29623 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29624 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29625
8a426e12
UD
296262011-12-03 Ulrich Drepper <drepper@gmail.com>
29627
aff2453d
UD
29628 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29629 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29630 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29631 for gcc to avoid warnings.
29632 * inet/Makefile (tests): Add tst-checks.
29633 * inet/tst-checks.c: New file.
29634
29635 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29636 warning.
29637
29638 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29639 __wmemcmp_sse2.
29640
29641 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29642 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29643
8a426e12
UD
29644 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29645
9bea3473
UD
296462011-12-02 Ulrich Drepper <drepper@gmail.com>
29647
3a965496
UD
29648 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29649 problem.
29650
9bea3473
UD
29651 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29652
f101631b
UD
296532011-11-29 Joseph Myers <joseph@codesourcery.com>
29654
29655 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29656 conditional on GCC version.
29657 (__arch_compare_and_exchange_val_8_acq)
29658 (__arch_compare_and_exchange_val_16_acq)
29659 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29660 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29661 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29662
a98275aa
UD
296632011-12-02 Joseph Myers <joseph@codesourcery.com>
29664
29665 * sysdeps/sh/backtrace.c: New file.
29666
d4cc29a2
AS
296672011-12-02 Andreas Schwab <schwab@redhat.com>
29668
29669 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29670 parenthesis.
29671
6257af2d
AS
296722011-12-01 Andreas Schwab <schwab@redhat.com>
29673
29674 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29675 falling back to utime.
29676
b5f44c1a
AS
296772011-11-30 Andreas Schwab <schwab@redhat.com>
29678
29679 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29680 expectations for float.
29681
f3a6cc0a
AS
296822011-11-29 Andreas Schwab <schwab@redhat.com>
29683
29684 * locale/weight.h (findidx): Add parameter len.
29685 * locale/weightwc.h (findidx): Likewise.
29686 * posix/fnmatch_loop.c (FCT): Adjust caller.
29687 * posix/regcomp.c (build_equiv_class): Likewise.
29688 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29689 * posix/regexec.c (check_node_accept_bytes): Likewise.
29690 * string/strcoll_l.c (STRCOLL): Likewise.
29691 * string/strxfrm_l.c (STRXFRM): Likewise.
29692
9d65ea3a
UD
296932011-11-17 Ulrich Drepper <drepper@gmail.com>
29694
29695 * Makefile.in: Remove CVSOPT handling.
29696 * configure.in: Remove use of AC_REVISION.
29697 * iconvdata/Makefile (distribute): No need to filter out CVS.
29698 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29699 handling.
29700
5583a086
AS
297012011-11-16 Andreas Schwab <schwab@redhat.com>
29702
29703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29704 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29705 [USE_AS_STRNCASECMP_L]: Likewise.
29706 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29707 NO_TLS_DIRECT_SEG_REFS.
29708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29709 Fix argument offsets for non-PIC.
29710 [USE_AS_STRNCASECMP_L]: Likewise.
29711 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29712 NO_TLS_DIRECT_SEG_REFS.
29713
d62a8200
UD
297142011-11-15 Ulrich Drepper <drepper@gmail.com>
29715
9d65ea3a 29716 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29717 O_CLOEXEC.
29718 * locale/loadlocale.c (_nl_load_locale): Likewise.
29719
09f93bd3
AS
297202011-11-15 Andreas Schwab <schwab@redhat.com>
29721
446514f9
AS
29722 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29723 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29724 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29725 (SYSCALL_GETTIME): Set errno on error.
29726
09f93bd3
AS
29727 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29728 count references to noai6ai_cached.
29729
312be3f9
UD
297302011-11-15 Ulrich Drepper <drepper@gmail.com>
29731
29732 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29733
29734 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29735 FD_CLOEXEC for /proc/self/maps.
29736
29737 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29738 FD_CLOEXEC for /proc/meminfo.
29739
29740 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29741 gai.conf.
29742
29743 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29744 FD_CLOEXEC for given file.
29745
29746 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29747
29748 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29749 FD_CLOEXEC for /etc/hosts.
29750 (_gethtent): Likewise.
29751
29752 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29753
29754 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29755 cancellation and set FD_CLOEXEC for /etc/netgroup.
29756
29757 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29758 reading /etc/publickey.
29759
29760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29761 allow cancellation when reading /etc/group.
29762
29763 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29764 cancellation.
29765 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29766
29767 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29768 when using data file.
29769
29770 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29771
29772 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29773 (write_nis_obj): Use "c" and "e" in fopen.
29774
29775 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29776
29777 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29778
29779 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29780
29781 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29782
29783 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29784 locale.alias.
29785
29786 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29787
29788 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29789
29790 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29791
29792 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29793 file parsing and set FD_CLOEXEC.
29794
82af0fa8
UD
297952011-11-14 Ulrich Drepper <drepper@gmail.com>
29796
29797 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29798
a5fb313c
AS
297992011-11-14 Andreas Schwab <schwab@redhat.com>
29800
29801 * malloc/arena.c (arena_get2): Don't call reused_arena when
29802 _int_new_arena failed.
29803
6abf3465
UD
298042011-11-14 Ulrich Drepper <drepper@gmail.com>
29805
29806 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29807 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29808 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29809 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29811 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29812 to compile strcasecmp and strncasecmp.
29813 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29814 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29815
29816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29817
76e3966e
UD
298182011-11-13 Ulrich Drepper <drepper@gmail.com>
29819
29820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29821 locale-defines.sym to gen-as-const-headers.
29822 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29823 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29825 to compile strcasecmp and strncasecmp.
29826 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29827 strcasecmp_l and strncasecmp_l.
29828 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29829 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29830 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29831 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29832 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29834 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29835 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29836 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29837 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29838 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29839
ab26144e
UD
298402011-11-12 Ulrich Drepper <drepper@gmail.com>
29841
7edb22ef
UD
29842 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29843 result of SYSDEP_GETTIME_CPU to retval.
29844 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29845 parameter list to macro. Remove trailing semicolon. Adjust users.
29846
9694fc44
UD
29847 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29848 variable.
29849
8ad89ef8
UD
29850 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29851 mantissa words.
29852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29853
0c822ef9
UD
29854 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29855 from unused variable.
29856
874e0564
UD
29857 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29858 DWARF definitions.
29859 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29860 for assembling.
29861
3a2edc79
UD
29862 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29863 over namespaces.
29864
f3c2577f
UD
29865 * sunrpc/rpc_prot.c (rejected): Fix case value.
29866
294ce126
UD
29867 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29868 unsigned long long int to avoid warnings in shift.
29869
5e2b63c6
UD
29870 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29871 of use of trans.
29872 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29873 variable tmp.
29874
e7f4b08e
UD
29875 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29876 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29877 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29878
ab26144e
UD
29879 * nis/nis_table.c (nis_list): Use variable of correct type for
29880 result of __follow_path call.
29881
8a6d5255
AZ
298822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883
29884 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29885 of math functions ceil, trunc, floor, round, and sqrt, when
29886 avaliable on the platform.
29887 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29888 name clash.
29889 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29890 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29891 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29892
aaddc98c
MP
298932011-10-30 Marek Polacek <mpolacek@redhat.com>
29894
29895 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29896 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29897
95b7042b
RM
298982011-11-11 Roland McGrath <roland@hack.frob.com>
29899
29900 * include/unistd.h: Fix __readlink return type.
29901 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29902
57769839
UD
299032011-11-11 Ulrich Drepper <drepper@gmail.com>
29904
29905 * stdlib/ucontext.h: Undo last change for makecontext.
29906
edc5984d
AS
299072011-11-11 Andreas Schwab <schwab@redhat.com>
29908
98591e58
AS
29909 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29910
edc5984d
AS
29911 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29912 * setjmp/setjmp.h: Mark functions as non-leaf.
29913 * setjmp/bits/setjmp2.h: Likewise.
29914 * stdlib/ucontext.h: Likewise.
29915
77cdc054
AS
299162011-11-10 Andreas Schwab <schwab@redhat.com>
29917
29918 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29919 (reused_arena): Don't check arena limit.
29920 (arena_get2): Atomically check arena limit.
29921
fe72eebd
UD
299222011-11-08 Ulrich Drepper <drepper@gmail.com>
29923
5f078c32
UD
29924 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29925 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29926
fe72eebd
UD
29927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29928 instructions.
29929
ae1bc2fa
AS
299302011-11-07 Andreas Schwab <schwab@redhat.com>
29931
7583a88d
AS
29932 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29933 handler when locking.
29934
ae1bc2fa
AS
29935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29936 Fix size of allocated buffer.
29937
10fb0bfa
AS
299382011-11-04 Andreas Schwab <schwab@redhat.com>
29939
998832a4
AS
29940 [BZ #10103]
29941 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29942 declarations for long double functions.
29943 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29944
10fb0bfa
AS
29945 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29946
3d7ba52b
AS
299472011-11-03 Andreas Schwab <schwab@redhat.com>
29948
a9ae54a1
AS
29949 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29950 installed.
29951
3d7ba52b
AS
29952 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29953 is disabled.
29954
bc8db248
ST
299552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29956
29957 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29958
45b96dd6
AS
299592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29960
647776f6
AS
29961 * include/alloca.h (stackinfo_alloca_round): Define.
29962 (extend_alloca): Use it.
29963 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29964 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29965 here.
29966
d91a8b93
AS
29967 * scripts/check-local-headers.sh: Ignore libaudit.h.
29968
45b96dd6
AS
29969 * nscd/Makefile (extra-objs): Make recursively expanded.
29970
432d41ce
UD
299712011-11-01 Ulrich Drepper <drepper@gmail.com>
29972
34372fc6
UD
29973 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29975
fadb59f8
UD
29976 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29977 * posix/tst-rfc3484-2.c: Likewise.
29978 * posix/tst-rfc3484-3.c: Likewise.
29979
78239589
UD
29980 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29981 process_vm_writev.
29982 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29983 process_vm_writev.
29984 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29985 process_vm_writev from libc using GLIBC_2.15 version.
29986
432d41ce
UD
29987 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29988
02f9c6cf
PP
299892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29990
29991 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29992 stack usage.
29993
3a2c0242
UD
299942011-10-31 Ulrich Drepper <drepper@gmail.com>
29995
f4ec4833
UD
29996 [BZ #13367]
29997 * nss/getent.c (initgroups_keys): Show error message in case no group
29998 names are given.
29999
3a2c0242
UD
30000 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30001 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30002 __bump_nl_timestamp.
30003 * nscd/connections (nscd_init): When host database is served open
30004 netlink socket and request notification about configuration changes.
30005 (main_loop_poll): Track netlink file descriptor and bump timestamp
30006 in case data becomes available.
30007 (main_loop_epoll): Likewise.
30008 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30009 (database_pers_head): Add extra_data fileds.
30010 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30011 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30012 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30013 Adjust caller.
30014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30015 in6ai data, call __free_in6ai.
30016 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30017 Add -DHAVE_NETLINK.
30018 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30019 interface information. Reuse previous data if netlink timestamp
30020 is not changed.
30021 (__bump_nl_timestamp): New function.
30022 (__free_in6ai): New function.
30023
636064eb
UD
300242011-10-30 Ulrich Drepper <drepper@gmail.com>
30025
30026 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30027 close_not_cancel_no_status here.
30028 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30029
9beb2334
UD
300302011-10-29 Ulrich Drepper <drepper@gmail.com>
30031
6ef76f3b
UD
30032 [BZ #13276]
30033 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30034 return value.
30035
0ffc4f3e 30036 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30037 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30038 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30039
cb95113e
UD
300402011-07-03 Andreas Jaeger <aj@suse.de>
30041
30042 [BZ #10709]
30043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30044 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30045 * math/libm-test.inc (sin_test): Add test case.
30046
a1b560ff
UD
300472011-10-29 Ulrich Drepper <drepper@gmail.com>
30048
c9aaface
UD
30049 [BZ #13337]
30050 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30051 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30052
d272e7f1
UD
30053 * elf/chroot_canon.c (chroot_canon): Cleanups.
30054
1bc33071
UD
30055 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30056
1760874d
TJ
30057 [BZ #13335]
30058 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30059 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30060
51d91b18
UD
30061 * string/test-strchr.c: Make usable for strchrnul testing.
30062 * string/test-strchrnul.c: New file.
30063 * string/Makefile (strop-tests): Add strchrnul.
30064
a1b560ff 30065 * po/it.po: Update from translation team.
b611fb81 30066 * po/es.po: Likewise.
a1b560ff 30067
a5b81e1f
UD
300682011-10-28 Ulrich Drepper <drepper@gmail.com>
30069
fd52bc6d
UD
30070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30071 the three constants needed as parameters. Drop the others.
30072 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30073 __m128i_strloadu_tolower.
52e4b9eb
UD
30074 Create and initialize variable zero and use it in all the places
30075 where _mm_setzero_si128 was used.
fd52bc6d 30076
a5b81e1f
UD
30077 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30078 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30079 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30080 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30081 anymore.
30082 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30083 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30084 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30085 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30086 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30087 __mpranred, __mptan.
30088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30092 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30093 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30096 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30097
b4343346
AS
300982011-10-28 Andreas Schwab <schwab@redhat.com>
30099
0c92d8a8
AS
30100 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30101 redefine if SHARED.
30102 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30103
b4343346
AS
30104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30105 wide char related routines to wcsmbs subdir.
30106
3871f58f
AS
301072011-10-27 Andreas Schwab <schwab@redhat.com>
30108
30109 [BZ #13344]
30110 * misc/sys/cdefs.h (__THROWNL): Define.
30111 * posix/unistd.h: Use __THREADNL instead of __THREAD
30112 for memory synchronization functions.
30113
94d44d9f
RM
301142011-10-26 Roland McGrath <roland@hack.frob.com>
30115
21b64b15 30116 [BZ #13349]
94d44d9f
RM
30117 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30118 doesn't exist.
30119 * manual/stdio.texi (Obstack Streams): Node removed.
30120
f6ce9294
AS
301212011-10-26 Andreas Schwab <schwab@redhat.com>
30122
80479147
AS
30123 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30126
f6ce9294
AS
30127 * math/math_private.h (math_force_eval): Allow non-addressable
30128 arguments.
30129 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30130
618280a1
UD
301312011-10-25 Ulrich Drepper <drepper@gmail.com>
30132
e0016b11
UD
30133 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30134 file is not needed.
30135
30136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30143 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30144 Add AVX variants.
30145 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30146 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30147 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30148 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30149 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30150 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30151 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30152 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30153 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30154 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30155 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30156 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30157 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30158 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30159 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30160 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30161 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30162 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30163 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30164
30165 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30166 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30167
618280a1
UD
30168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30169 place. Use VEX encoding when compiling for AVX.
30170
37822576
AS
301712011-10-25 Andreas Schwab <schwab@redhat.com>
30172
1f1e1947
AS
30173 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30174 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30175
37822576
AS
30176 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30177
31ea014d
UD
301782011-10-25 Ulrich Drepper <drepper@gmail.com>
30179
d7826aa1 30180 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30181 useless if() expression.
d7826aa1
UD
30182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30193 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30194 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30196 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30198 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30199 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30200 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30201
31ea014d
UD
30202 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30203
16437fec
AS
302042011-10-25 Andreas Schwab <schwab@redhat.com>
30205
30206 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30207 condition.
30208 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30209
31d3cc00
UD
302102011-10-25 Ulrich Drepper <drepper@gmail.com>
30211
30212 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30213 .text section. Avoid duplicate constants.
30214 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30224 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30226 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30231 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30237 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30238 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30239 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30240 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30243 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30244 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30247 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30248 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30249 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30256 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30258 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30259
58985aa9
UD
302602011-10-24 Ulrich Drepper <drepper@gmail.com>
30261
202c9deb
UD
30262 * sysdeps/x86_64/dla.h: Move to ...
30263 * sysdeps/x86_64/fpu/dla.h: ...here.
30264 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30265 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30266
af968f62
UD
30267 * config.make.in: Add have-mfma4 entry.
30268 * configure.in: Substitute libc_cv_cc_fma4.
30269 * math/Makefile (dbl-only-routines): Add sincostab.
30270 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30271 Use __sincostab not sincos.
30272 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30273 name is a macro.
30274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30278 using __copysign.
30279 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30280 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30281 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30282 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30283 and __inv.
30284 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30285 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30286 __copysign.
30287 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30288 define aliases when function name is a macro.
30289 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30290 sysdeps/ieee754/dbl-64/sincos.tbl.
30291 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30292 fma4-enabled routines.
30293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30294 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30295 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30296 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30298 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30302 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30304 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30305 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30306 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30307 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30308 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30309 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30310 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30311 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30313 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30314 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30316 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30318 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30319 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30320 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30321 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30322 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30323
58985aa9
UD
30324 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30325 rename.
30326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30334
a201fbcf
AS
303352011-10-24 Andreas Schwab <schwab@redhat.com>
30336
30337 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30338
fc2ee42a
LD
303392011-10-23 Ulrich Drepper <drepper@gmail.com>
30340
bb3129bd
UD
30341 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30342
0275fff8
UD
30343 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30344 prediction.
30345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30346
2fa2ae85
UD
30347 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30348 Remove unused variable magic_bits.
30349 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30350
fc2ee42a
LD
30351 * string/strnlen.c: Define and use STRNLEN macro.
30352 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30353 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30355 * wcsmbs/wcslen.c: Define and use WCSLEN.
30356 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30357 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30358 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30359 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30360 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30361 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30362 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30363
ce7dd29f
LD
303642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30365
30366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30367 strnlen-sse2-no-bsf.
30368 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30370 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30371 Add strnlen support.
30372 (USE_AS_STRNLEN): New macro.
30373 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30374 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30375 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30376 * sysdeps/x86_64/wcslen.S: New file.
30377
979c70a3
MZ
303782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30379
30380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30381 XMM-moves are used for copying on small sizes.
30382
2d09f82f
LD
303832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30384
30385 * wcsmbs/Makefile (strop-tests): Add wcschr.
30386 * wcsmbs/test-wcschr.c: New file.
30387 * string/test-strchr.c: Update.
30388 Add wcschr support.
30389 (WIDE): New macro.
30390
619fccca
LD
303912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30392
2d09f82f 30393 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30394 * wcsmbs/test-wcslen.c: New file.
30395 * string/test-strlen.c: Update.
30396 Add wcslen support.
30397 (WIDE): New macro.
30398
09f699ea
UD
303992011-10-23 Ulrich Drepper <drepper@gmail.com>
30400
30401 * po/it.po: Update from translation team.
30402
95584d3b
LD
304032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30404
30405 * sysdeps/x86_64/wcscmp.S: Update.
30406 Fix wrong comparison semantics.
30407 wcscmp shall use signed comparison not unsigned.
30408 Don't use substraction to avoid overflow bug.
30409 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30410 * wcsmbc/wcscmp.c: Likewise.
30411 * string/test-strcmp.c: Likewise.
30412 Add new tests to check cases with negative values.
30413
c8b3296b
UD
304142011-10-23 Ulrich Drepper <drepper@gmail.com>
30415
30416 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30417 * sysdeps/x86_64/dla.h: ...here. New file.
30418 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30427
246ad57a
AS
304282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30429
30430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30431 __ynl_finite aliases.
30432
a1a87169
UD
304332011-10-22 Ulrich Drepper <drepper@gmail.com>
30434
0d355eb7
UD
30435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30436
a1a87169
UD
30437 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30438 define DLA_FMA.
30439 [DLA_FMA] (EMULV): Use DLA_FMA.
30440 [DLA_FMA] (MUL12): Use EMULV.
30441 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30442 that are not needed.
30443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30450
ee2aafe0
AS
304512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30452
30453 * math/s_nan.c: Undef __nan.
30454 * math/s_nanf.c: Undef __nanf.
30455 * math/s_nanl.c: Undef __nanl.
30456 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30457 "math_private.h".
30458
bc62c2fb
UD
304592011-10-22 Ulrich Drepper <drepper@gmail.com>
30460
77425c63
UD
30461 * math/s_catan.c: Add branch predictions.
30462 * math/s_catanf.c: Likewise.
30463 * math/s_catanh.c: Likewise.
30464 * math/s_catanhf.c: Likewise.
30465 * math/s_catanhl.c: Likewise.
30466 * math/s_catanl.c: Likewise.
30467 * math/s_cexp.c: Likewise.
30468 * math/s_cexpf.c: Likewise.
30469 * math/s_cexpl.c: Likewise.
30470 * math/s_clog.c: Likewise.
30471 * math/s_clog10.c: Likewise.
30472 * math/s_clog10f.c: Likewise.
30473 * math/s_clog10l.c: Likewise.
30474 * math/s_clogf.c: Likewise.
30475 * math/s_clogl.c: Likewise.
30476 * math/s_csqrt.c: Likewise.
30477 * math/s_csqrtf.c: Likewise.
30478 * math/s_csqrtl.c: Likewise.
30479 * math/s_ctanf.c: Likewise.
30480 * math/s_ctanh.c: Likewise.
30481 * math/s_ctanhf.c: Likewise.
30482 * math/s_ctanhl.c: Likewise.
30483 * math/s_ctanl.c: Likewise.
30484
bc62c2fb
UD
30485 * math/math_private.h: Define __nan, __nanf, __nanl.
30486 * math/s_cacosh.c: Include <math_private.h>.
30487 * math/s_cacoshl.c: Likewise.
30488 * math/s_casinh.c: Likewise.
30489 * math/s_casinhf.c: Likewise.
30490 * math/s_casinhl.c: Likewise.
30491 * math/s_ccos.c: Rely entire on ccosh.
30492 * math/s_ccosf.c: Rely entire on ccoshf.
30493 * math/s_ccosl.c: Rely entirely on ccoshl.
30494 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30495 Remove tests for FE_INVALID.
30496 * math/s_ccoshf.c: Likewise.
30497 * math/s_ccoshl.c: Likewise.
30498 * math/s_csin.c: Likewise.
30499 * math/s_csinf.c: Likewise.
30500 * math/s_csinh.c Likewise.
30501 * math/s_csinhf.c: Likewise.
30502 * math/s_csinhl.c: Likewise.
30503 * math/s_csinl.c: Likewise.
30504 * math/s_ctan.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30506 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30507 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30508
8ec250a4
UD
305092011-10-21 Ulrich Drepper <drepper@gmail.com>
30510
c196fed8
UD
30511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30512 compilation problems.
30513
8ec250a4
UD
30514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30515 __builtin_expect.
30516
8d4f46c6
UD
305172011-10-20 Ulrich Drepper <drepper@gmail.com>
30518
ed72b654
UD
30519 * sysdeps/i386/configure.in: Test for -mfma4 option.
30520 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30521 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30522 COMMON_CPUID_INDEX_80000001.
30523 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30524 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30525 use it if FMA3 is not supported.
30526 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30527
8d4f46c6
UD
30528 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30529 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30530
d45c60c2
AS
305312011-10-20 Andreas Schwab <schwab@redhat.com>
30532
30533 [BZ #12892]
30534 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30535 it would create a cycle with a link time dependency.
30536
d9a4d2ab
UD
305372011-10-19 Ulrich Drepper <drepper@gmail.com>
30538
855d1560
UD
30539 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30540 instruction.
30541 * string/Makefile (strop-tests): Add rawmemchr.
30542 * string/test-rawmemchr.c: New file.
30543
d9a4d2ab
UD
30544 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30546 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30547 when compiling str{,n}casecmp and when AVX is available. Hook up
30548 new optimized code in initializers.
30549
8f3b1ffe
AS
305502011-10-19 Andreas Schwab <schwab@redhat.com>
30551
30552 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30553 __feraiseexcept instead of feraiseexcept.
30554
d38f1dba
UD
305552011-10-18 Ulrich Drepper <drepper@gmail.com>
30556
d9a8d0ab
UD
30557 * math/math_private.h: Define defaults for libc_fetestexcept and
30558 libc_feupdateenv.
30559 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30560 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30561 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30562 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30563 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30564 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30565 libc_fetestexcept and libc_feupdateenv.
30566
4855e3dd
UD
30567 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30568 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30569 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30570 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30571 libc_feholdexcept_setround.
30572
581d30e3
UD
30573 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30574 Add s_nearbyint-c and s_nearbyintf-c.
30575 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30576 nearbyintf inlines.
30577 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30578 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30579 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30581
d38f1dba
UD
30582 * math/math_private.h: Define defaults for libc_fegetround,
30583 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30584 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30585 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30587 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30588 standard functions.
30589 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30590 Remove comments and hacks for old compiler versions.
30591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30592 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30593 libc_feholdexceptl.
30594
caa6c9d8
AS
305952011-10-18 Andreas Schwab <schwab@redhat.com>
30596
30597 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30598 (__feraiseexcept_renamed): Add __NTH.
30599 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30600 namespace violations.
30601
97c066e6
UD
306022011-10-17 Ulrich Drepper <drepper@gmail.com>
30603
99ce7b04
UD
30604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30605
1004d182
UD
30606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30607
228a984d
UD
30608 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30609 recently added interfaces.
30610 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30611
c8553a6a
UD
30612 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30613 about macro parameter expansion.
30614
ed22dcf6
UD
30615 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30616 __NO_MATH_INLINES is defined. Cleanups.
30617
30618 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30619 and __floorf is target has SSE4.1.
30620 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30621 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30622 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30623 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30624
b171c137
UD
30625 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30626 name.
30627 (floorf): Likewise.
30628
97c066e6
UD
30629 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30630
629f62ef
AS
306312011-10-17 Andreas Schwab <schwab@redhat.com>
30632
49a43d80
AS
30633 * misc/sys/cdefs.h: Fix last change.
30634
629f62ef
AS
30635 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30636 database lookup.
30637
e453f6cd
UD
306382011-10-16 Ulrich Drepper <drepper@gmail.com>
30639
aa78043a
UD
30640 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30641
ad0f5cad
UD
30642 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30643 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30651 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30652 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30653 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30654 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30655 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30657 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30658 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30659 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30660 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30661 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30662 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30663 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30664
30665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30666 ceil, ceilf, floor, floorf.
30667
30668 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30669 Perform IRELATIVE relocations last.
30670
e453f6cd
UD
30671 * elf/do-rel.h: Add another parameter nrelative, replacing the
30672 local variable with the same name. Change name of the function
30673 to end in Rel or Rela (uppercase).
30674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30675 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30676 elf_dynamic_do_##reloc function.
30677
fd5bdc09
UD
306782011-10-15 Ulrich Drepper <drepper@gmail.com>
30679
79b195b5
UD
30680 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30681 is sufficient, at least on modern CPUs.
30682
d4a28569
UD
30683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30684
b61099b5
UD
30685 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30687
bcf01e6d
UD
30688 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30689 __expl_finite.
30690 * math/bits/math-finite.h: Add entries for exp.
30691 * math/e_expl.c: Add __*_finite alias.
30692 * sysdeps/i386/fpu/e_exp.S: Likewise.
30693 * sysdeps/i386/fpu/e_expf.S: Likewise.
30694 * sysdeps/i386/fpu/e_expl.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30696 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30700 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30701 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30702
ba1a0d59
UD
30703 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30704 is sufficient, at least on modern CPUs.
30705
fd5bdc09
UD
30706 * ctype/ctype-info.c (__ctype_init): Define.
30707 * include/ctype.h (__ctype_init): Declare.
30708 (__ctype_b_loc): The variable is always initialized.
30709 (__ctype_toupper_loc): Likewise.
30710 (__ctype_tolower_loc): Likewise.
30711 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30712 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30713
7872cfb0
AS
307142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30715
b468825a
AS
30716 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30717
7872cfb0
AS
30718 * configure.in: Also look in $cxxmachine/include for C++ system
30719 headers.
30720
be13f7bf
LD
307212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30722
30723 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30724 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30725 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30726 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30727 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30728 (USE_AS_WMEMCMP): New macro.
30729 Fixing indents.
30730 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30731 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30732 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30733 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30735 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30736 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30737 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30738 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30739 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30741 (USE_AS_WMEMCMP): New macro.
30742 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30743 * sysdeps/string/test-memcmp.c: Update.
30744 Fix simple_wmemcmp.
30745 Add new tests.
30746 * wcsmbs/wmemcmp.c: Update.
30747 (WMEMCMP): New macro.
30748 Fix overflow bug.
30749
556a2007
AJ
307502011-10-12 Andreas Jaeger <aj@suse.de>
30751
30752 [BZ #13268]
30753 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30754
538faaa7
UD
307552011-10-15 Ulrich Drepper <drepper@gmail.com>
30756
ab6737ff
UD
30757 * libio/iofwide.c (do_length): Avoid warning.
30758
538faaa7
UD
30759 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30760
396a21b1
UD
307612011-10-14 Ulrich Drepper <drepper@gmail.com>
30762
cdf2901f
UD
30763 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30764
38ad40ce
UD
30765 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30766 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30767 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30768 * sysdeps/i386/i686/fpu/e_log.S: New file.
30769 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30770 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30771
396a21b1
UD
30772 * ctype/ctype.h: Add support for inlined isXXX functions when
30773 compiling C++ code.
30774
6b1f68c9
AS
307752011-10-14 Andreas Schwab <schwab@redhat.com>
30776
349290c0
AS
30777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30778
6b1f68c9
AS
30779 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30780
f2282d42
RM
307812011-10-13 Roland McGrath <roland@hack.frob.com>
30782
30783 [BZ #13291]
30784 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30785
5298ffa8
AS
307862011-10-13 Andreas Schwab <schwab@redhat.com>
30787
714fad23
AS
30788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30789 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30790 feraiseexcept.
30791
81dcc7fb
AS
30792 * sysdeps/x86_64/memrchr.S: Check for zero size.
30793
5298ffa8
AS
30794 * string/stratcliff.c: Add memrchr tests.
30795
951fbcec
LD
307962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30797
30798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30799 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30800 rawmemchr-sse2 rawmemchr-sse2-bsf.
30801 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30802 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30803 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30804 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30805 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30806 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30807 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30808 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30809 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30810 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30811 * string/memrchr.c (MEMRCHR): New macro.
30812
0ac5ae23
UD
308132011-10-12 Ulrich Drepper <drepper@gmail.com>
30814
30815 Add integration with gcc's -ffinite-math-only and optimize wrapper
30816 functions in libm.
30817 * Versions.def: Define GLIBC_2.15 version for libm.
30818 * math/Makefile (headers): Add bits/math-finite.h.
30819 * math/bits/math-finite.h: New file.
30820 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30821 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30822 * math/e_acoshl.c: Add __*_finite alias.
30823 * math/e_acosl.c: Likewise.
30824 * math/e_asinl.c: Likewise.
30825 * math/e_atan2l.c: Likewise.
30826 * math/e_atanhl.c: Likewise.
30827 * math/e_coshl.c: Likewise.
30828 * math/e_exp10.c: Likewise.
30829 * math/e_exp10f.c: Likewise.
30830 * math/e_exp10l.c: Likewise.
30831 * math/e_exp2l.c: Likewise.
30832 * math/e_fmodl.c: Likewise.
30833 * math/e_gammal_r.c: Likewise.
30834 * math/e_hypotl.c: Likewise.
30835 * math/e_j0l.c: Likewise.
30836 * math/e_j1l.c: Likewise.
30837 * math/e_jnl.c: Likewise.
30838 * math/e_lgammal_r.c: Likewise.
30839 * math/e_log10l.c: Likewise.
30840 * math/e_log2l.c: Likewise.
30841 * math/e_logl.c: Likewise.
30842 * math/e_powl.c: Likewise.
30843 * math/e_sinhl.c: Likewise.
30844 * math/e_sqrtl.c: Likewise.
30845 * math/e_scalb.c: Completely rewritten and optimized.
30846 * math/e_scalbf.c: Likewise.
30847 * math/e_scalbl.c: Likewise.
30848 * math/w_acos.c: Likewise.
30849 * math/w_acosf.c: Likewise.
30850 * math/w_acosl.c: Likewise.
30851 * math/w_acosh.c: Likewise.
30852 * math/w_acoshf.c: Likewise.
30853 * math/w_acoshl.c: Likewise.
30854 * math/w_asin.c: Likewise.
30855 * math/w_asinf.c: Likewise.
30856 * math/w_asinl.c: Likewise.
30857 * math/w_atan2.c: Likewise.
30858 * math/w_atan2f.c: Likewise.
30859 * math/w_atan2l.c: Likewise.
30860 * math/w_atanh.c: Likewise.
30861 * math/w_atanhf.c: Likewise.
30862 * math/w_atanhl.c: Likewise.
30863 * math/w_exp10.c: Likewise.
30864 * math/w_exp10f.c: Likewise.
30865 * math/w_exp10l.c: Likewise.
30866 * math/w_fmod.c: Likewise.
30867 * math/w_fmodf.c: Likewise.
30868 * math/w_fmodl.c: Likewise.
30869 * math/w_j0.c: Likewise.
30870 * math/w_j0f.c: Likewise.
30871 * math/w_j0l.c: Likewise.
30872 * math/w_j1.c: Likewise.
30873 * math/w_j1f.c: Likewise.
30874 * math/w_j1l.c: Likewise.
30875 * math/w_jn.c: Likewise.
30876 * math/w_jnf.c: Likewise.
30877 * math/w_log.c: Likewise.
30878 * math/w_logf.c: Likewise.
30879 * math/w_logl.c: Likewise.
30880 * math/w_log10.c: Likewise.
30881 * math/w_log10f.c: Likewise.
30882 * math/w_log10l.c: Likewise.
30883 * math/w_log2.c: Likewise.
30884 * math/w_log2f.c: Likewise.
30885 * math/w_log2l.c: Likewise.
30886 * math/w_pow.c: Likewise.
30887 * math/w_powf.c: Likewise.
30888 * math/w_powl.c: Likewise.
30889 * math/w_remainder.c: Likewise.
30890 * math/w_remainderf.c: Likewise.
30891 * math/w_remainderl.c: Likewise.
30892 * math/w_scalb.c: Likewise.
30893 * math/w_scalbf.c: Likewise.
30894 * math/w_scalbl.c: Likewise.
30895 * math/w_sqrt.c: Likewise.
30896 * math/w_sqrtf.c: Likewise.
30897 * math/w_sqrtl.c: Likewise.
30898 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30899 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30900 used.
30901 * math/math_private.h: Declare __kernel_standard_f.
30902 * math/w_cosh.c: Remove cruft and optimize a bit.
30903 * math/w_coshf.c: Likewise.
30904 * math/w_coshl.c: Likewise.
30905 * math/w_exp2.c: Likewise.
30906 * math/w_exp2f.c: Likewise.
30907 * math/w_exp2l.c: Likewise.
30908 * math/w_hypot.c: Likewise.
30909 * math/w_hypotf.c: Likewise.
30910 * math/w_hypotl.c: Likewise.
30911 * math/w_lgamma.c: Likewise.
30912 * math/w_lgamma_r.c: Likewise.
30913 * math/w_lgammaf.c: Likewise.
30914 * math/w_lgammaf_r.c: Likewise.
30915 * math/w_lgammal.c: Likewise.
30916 * math/w_lgammal_r.c: Likewise.
30917 * math/w_sinh.c: Likewise.
30918 * math/w_sinhf.c: Likewise.
30919 * math/w_sinhl.c: Likewise.
30920 * math/w_tgamma.c: Likewise.
30921 * math/w_tgammaf.c: Likewise.
30922 * math/w_tgammal.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30924 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30925 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30926 Minor optimizations. Pretty printing. Remove cruft.
30927 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30931 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30932 * sysdeps/i386/fpu/e_asin.S: Likewise.
30933 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30934 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30935 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30936 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30937 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30938 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30939 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30940 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30941 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30942 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30943 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30944 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30945 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30946 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30947 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30948 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30949 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30950 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30951 * sysdeps/i386/fpu/e_log.S: Likewise.
30952 * sysdeps/i386/fpu/e_log10.S: Likewise.
30953 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30954 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30955 * sysdeps/i386/fpu/e_log2.S: Likewise.
30956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30958 * sysdeps/i386/fpu/e_logf.S: Likewise.
30959 * sysdeps/i386/fpu/e_logl.S: Likewise.
30960 * sysdeps/i386/fpu/e_pow.S: Likewise.
30961 * sysdeps/i386/fpu/e_powf.S: Likewise.
30962 * sysdeps/i386/fpu/e_powl.S: Likewise.
30963 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30964 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30965 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30967 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30968 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30969 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30970 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30971 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30997 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30998 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31000 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31001 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31002 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31003 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31004 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31007 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31008 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31009 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31013 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31052 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31065 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31067 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31068 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31069 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31070 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31071 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31072 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31073 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31074 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31075 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31076 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31077 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31078 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31080 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31081 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31082 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31083 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31084 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31085 (__isnanf): Likewise.
31086 (__isinf_ns): Likewise.
31087 (__isinf_nsf): Likewise.
31088 (__finite): Likewise.
31089 (__finitef): Likewise.
31090 (__ieee754_sqrt): Define as macro.
31091 (__ieee754_sqrtf): Define as macro.
31092 (__ieee754_sqrtl): Define as macro.
31093 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31094 inlined copy.
31095 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31096 __FINITE_MATH_ONLY__ consistent.
31097 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31098
12cc2fcd
AS
310992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31100
a843a204
AS
31101 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31102 of rawmemchr.
31103
12cc2fcd
AS
31104 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31105
c853acd5
UD
311062011-10-09 Ulrich Drepper <drepper@gmail.com>
31107
31108 * po/ja.po: Update from translation team.
31109
c658d255
RM
311102011-10-08 Roland McGrath <roland@hack.frob.com>
31111
110946e4
RM
31112 * locale/programs/locarchive.c (prepare_address_space): New function.
31113 (create_archive, enlarge_archive, open_archive): Use it.
31114
50604220
RM
31115 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31116 inside [SHARED], where it is used.
31117
c658d255
RM
31118 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31119
31120 * nss/getent.c (netgroup_keys): Remove unused variable.
31121 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31122
6a621eb7
UD
311232011-10-08 Ulrich Drepper <drepper@gmail.com>
31124
7edb55ce
UD
31125 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31126 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31128 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31129 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31130 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31131 * math/Makefile (libm-calls): Add s_isinf_ns.
31132 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31133 * math/multc3.c: Likewise.
31134 * math/s_casin.c: Likewise.
31135 * math/s_casinf.c: Likewise.
31136 * math/s_casinl.c: Likewise.
31137 * math/s_ccos.c: Likewise.
31138 * math/s_ccosf.c: Likewise.
31139 * math/s_ccosl.c: Likewise.
31140 * math/s_ctan.c: Likewise.
31141 * math/s_ctanf.c: Likewise.
31142 * math/s_ctanh.c: Likewise.
31143 * math/s_ctanhf.c: Likewise.
31144 * math/s_ctanhl.c: Likewise.
31145 * math/s_ctanl.c: Likewise.
31146 * math/w_fmod.c: Likewise.
31147 * math/w_fmodf.c: Likewise.
31148 * math/w_fmodl.c: Likewise.
31149 * math/w_remainder.c: Likewise.
31150 * math/w_remainderf.c: Likewise.
31151 * math/w_remainderl.c: Likewise.
31152 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31153 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31156 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31157 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31158 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31159 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31160
187da0ae
UD
31161 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31162 of the number.
31163 * stdio-common/printf_fphex.c: Likewise.
31164 * stdio-common/printf_size.c: Likewise.
31165
9277c064
UD
31166 * math/e_exp10.c: Include math_private.h using <...> not "...".
31167 * math/e_exp10f.c: Likewise.
31168 * math/e_exp10l.c: Likewise.
31169 * math/e_exp2l.c: Likewise.
31170 * math/e_j0l.c: Likewise.
31171 * math/e_j1l.c: Likewise.
31172 * math/e_jnl.c: Likewise.
31173 * math/e_lgammal_r.c: Likewise.
31174 * math/e_rem_pio2l.c: Likewise.
31175 * math/e_scalb.c: Likewise.
31176 * math/e_scalbf.c: Likewise.
31177 * math/e_scalbl.c: Likewise.
31178 * math/k_cosl.c: Likewise.
31179 * math/k_sinl.c: Likewise.
31180 * math/k_tanl.c: Likewise.
31181 * math/s_cacoshf.c: Likewise.
31182 * math/s_catan.c: Likewise.
31183 * math/s_catanf.c: Likewise.
31184 * math/s_catanh.c: Likewise.
31185 * math/s_catanhf.c: Likewise.
31186 * math/s_catanhl.c: Likewise.
31187 * math/s_catanl.c: Likewise.
31188 * math/s_ccosh.c: Likewise.
31189 * math/s_ccoshf.c: Likewise.
31190 * math/s_ccoshl.c: Likewise.
31191 * math/s_cexp.c: Likewise.
31192 * math/s_cexpf.c: Likewise.
31193 * math/s_cexpl.c: Likewise.
31194 * math/s_clog.c: Likewise.
31195 * math/s_clog10.c: Likewise.
31196 * math/s_clog10f.c: Likewise.
31197 * math/s_clog10l.c: Likewise.
31198 * math/s_clogf.c: Likewise.
31199 * math/s_clogl.c: Likewise.
31200 * math/s_csin.c: Likewise.
31201 * math/s_csinf.c: Likewise.
31202 * math/s_csinh.c: Likewise.
31203 * math/s_csinhf.c: Likewise.
31204 * math/s_csinhl.c: Likewise.
31205 * math/s_csinl.c: Likewise.
31206 * math/s_csqrt.c: Likewise.
31207 * math/s_csqrtf.c: Likewise.
31208 * math/s_csqrtl.c: Likewise.
31209 * math/s_ctan.c: Likewise.
31210 * math/s_ctanf.c: Likewise.
31211 * math/s_ctanh.c: Likewise.
31212 * math/s_ctanhf.c: Likewise.
31213 * math/s_ctanhl.c: Likewise.
31214 * math/s_ctanl.c: Likewise.
31215 * math/s_ldexp.c: Likewise.
31216 * math/s_ldexpf.c: Likewise.
31217 * math/s_ldexpl.c: Likewise.
31218 * math/s_significand.c: Likewise.
31219 * math/s_significandf.c: Likewise.
31220 * math/s_significandl.c: Likewise.
31221 * math/w_acos.c: Likewise.
31222 * math/w_acosf.c: Likewise.
31223 * math/w_acosh.c: Likewise.
31224 * math/w_acoshf.c: Likewise.
31225 * math/w_acoshl.c: Likewise.
31226 * math/w_acosl.c: Likewise.
31227 * math/w_asin.c: Likewise.
31228 * math/w_asinf.c: Likewise.
31229 * math/w_asinl.c: Likewise.
31230 * math/w_atan2.c: Likewise.
31231 * math/w_atan2f.c: Likewise.
31232 * math/w_atan2l.c: Likewise.
31233 * math/w_atanh.c: Likewise.
31234 * math/w_atanhf.c: Likewise.
31235 * math/w_atanhl.c: Likewise.
31236 * math/w_cosh.c: Likewise.
31237 * math/w_coshf.c: Likewise.
31238 * math/w_coshl.c: Likewise.
31239 * math/w_dremf.c: Likewise.
31240 * math/w_exp10.c: Likewise.
31241 * math/w_exp10f.c: Likewise.
31242 * math/w_exp10l.c: Likewise.
31243 * math/w_exp2.c: Likewise.
31244 * math/w_exp2f.c: Likewise.
31245 * math/w_fmod.c: Likewise.
31246 * math/w_fmodf.c: Likewise.
31247 * math/w_fmodl.c: Likewise.
31248 * math/w_hypot.c: Likewise.
31249 * math/w_hypotf.c: Likewise.
31250 * math/w_hypotl.c: Likewise.
31251 * math/w_j0.c: Likewise.
31252 * math/w_j0f.c: Likewise.
31253 * math/w_j0l.c: Likewise.
31254 * math/w_j1.c: Likewise.
31255 * math/w_j1f.c: Likewise.
31256 * math/w_j1l.c: Likewise.
31257 * math/w_jn.c: Likewise.
31258 * math/w_jnf.c: Likewise.
31259 * math/w_jnl.c: Likewise.
31260 * math/w_lgamma.c: Likewise.
31261 * math/w_lgamma_r.c: Likewise.
31262 * math/w_lgammaf.c: Likewise.
31263 * math/w_lgammaf_r.c: Likewise.
31264 * math/w_lgammal.c: Likewise.
31265 * math/w_lgammal_r.c: Likewise.
31266 * math/w_log.c: Likewise.
31267 * math/w_log10.c: Likewise.
31268 * math/w_log10f.c: Likewise.
31269 * math/w_log10l.c: Likewise.
31270 * math/w_log2.c: Likewise.
31271 * math/w_log2f.c: Likewise.
31272 * math/w_log2l.c: Likewise.
31273 * math/w_logf.c: Likewise.
31274 * math/w_logl.c: Likewise.
31275 * math/w_pow.c: Likewise.
31276 * math/w_powf.c: Likewise.
31277 * math/w_powl.c: Likewise.
31278 * math/w_remainder.c: Likewise.
31279 * math/w_remainderf.c: Likewise.
31280 * math/w_remainderl.c: Likewise.
31281 * math/w_scalb.c: Likewise.
31282 * math/w_scalbf.c: Likewise.
31283 * math/w_scalbl.c: Likewise.
31284 * math/w_sinh.c: Likewise.
31285 * math/w_sinhf.c: Likewise.
31286 * math/w_sinhl.c: Likewise.
31287 * math/w_sqrt.c: Likewise.
31288 * math/w_sqrtf.c: Likewise.
31289 * math/w_sqrtl.c: Likewise.
31290 * math/w_tgamma.c: Likewise.
31291 * math/w_tgammaf.c: Likewise.
31292 * math/w_tgammal.c: Likewise.
31293
6a621eb7
UD
31294 * po/ja.po: Update from translation team.
31295
bf582445
AJ
312962011-09-29 Andreas Jaeger <aj@suse.de>
31297
f9efbf3a
AJ
31298 [BZ #13179]
31299 * sunrpc/netname.c (netname2host): Fix logic.
31300
bf582445
AJ
31301 [BZ #6779]
31302 [BZ #6783]
31303 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31304 correctly.
31305 * math/w_remainder.c (__remainder): Likewise.
31306 * math/w_remainderf.c (__remainderf): Likewise.
31307 * math/libm-test.inc (remainder_test): Add test cases.
31308
48693bea
AK
313092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31310
31311 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31312 sdiv_qrnnd.
31313
42622229
LD
313142011-10-07 Ulrich Drepper <drepper@gmail.com>
31315
31316 * string/test-memcmp.c: Avoid unncessary #defines.
31317 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31318
093ecf92
LD
313192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31320
31321 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31322 Use new sse2 version for core i3 - i7 as it's faster
31323 than sse42 version.
31324 (bit_Prefer_PMINUB_for_stringop): New.
31325 * sysdeps/x86_64/rawmemchr.S: Update.
31326 Replace with faster SSE2 version.
31327 * sysdeps/x86_64/memrchr.S: New file.
31328 * sysdeps/x86_64/memchr.S: Update.
31329 Replace with faster SSE2 version.
31330
fde56e5c
MP
313312011-09-12 Marek Polacek <mpolacek@redhat.com>
31332
31333 * elf/dl-load.c (lose): Add cast to avoid warning.
31334
21fd49a9
UD
313352011-10-07 Ulrich Drepper <drepper@gmail.com>
31336
5a06e643
UD
31337 * po/ca.po: Update from translation team.
31338
684ae515
UD
31339 * inet/getnetgrent_r.c: Hook up nscd.
31340 * nscd/Makefile (routines): Add nscd_netgroup.
31341 (nscd-modules): Add netgroupcache.
31342 (CFLAGS-netgroupcache.c): Define.
31343 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31344 (cache_search): Add const to second parameter.
31345 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31346 INNETGR.
31347 (dbs): Add netgrdb entry.
31348 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31349 (verify_persistent_db): Handle netgrdb.
31350 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31351 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31352 GETFDNETGR.
31353 (netgroup_response_header): Define.
31354 (innetgroup_response_header): Define.
31355 (datahead): Add netgroup_response_header and innetgroup_response_header
31356 elements.
31357 * nscd/nscd.conf: Add entries for netgroup cache.
31358 * nscd/nscd.h (dbtype): Add netgrdb.
31359 (_PATH_NSCD_NETGROUP_DB): Define.
31360 (netgroup_iov_disabled): Declare.
31361 (xmalloc, xcalloc, xrealloc): Move declarations here.
31362 (cache_search): Adjust prototype.
31363 Add netgroup-related prototypes.
31364 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31365 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31366 (__nscd_innetgr): Declare.
31367 * nscd/selinux.c (perms): Use access_vector_t as element type and
31368 add netgroup-related initializers.
31369 * nscd/netgroupcache.c: New file.
31370 * nscd/nscd_netgroup.c: New file.
31371 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31372 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31373 For four parameters use innetgr.
31374 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31375 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31376 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31377 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31378
21fd49a9
UD
31379 * nscd/connections.c (register_traced_file): Don't register file
31380 for disabled databases.
31381
054c0457
UD
313822011-10-06 Ulrich Drepper <drepper@gmail.com>
31383
32b63198
UD
31384 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31385
054c0457
UD
31386 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31387 from tree and freeing node.
31388
64031225
JO
313892011-09-25 Jiri Olsa <jolsa@redhat.com>
31390
31391 * nss/nsswitch.c (__nss_database_lookup): Handle
31392 nss_parse_service_list out of memory case.
31393
0490345c
JO
313942011-09-15 Jiri Olsa <jolsa@redhat.com>
31395
31396 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31397 out of memory case.
31398
3a62d00d
AS
313992011-10-04 Andreas Schwab <schwab@redhat.com>
31400
31401 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31402 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31403 pass it down.
31404 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31405 elf_machine_rela, elf_machine_lazy_rel.
31406 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31407 (ELF_DYNAMIC_DO_REL): Likewise.
31408 (ELF_DYNAMIC_DO_RELA): Likewise.
31409 (ELF_DYNAMIC_RELOCATE): Likewise.
31410 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31411 to ELF_DYNAMIC_DO_REL.
31412 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31413 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31414 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31415 elf_machine_rela.
31416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31417 skip_ifunc, don't call ifunc function if non-zero.
31418 (elf_machine_rela): Likewise.
31419 (elf_machine_lazy_rel): Likewise.
31420 (elf_machine_lazy_rela): Likewise.
31421 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31422 (elf_machine_lazy_rel): Likewise.
31423 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31424 Likewise.
31425 (elf_machine_lazy_rel): Likewise.
31426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31427 Likewise.
31428 (elf_machine_lazy_rel): Likewise.
31429 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31430 (elf_machine_lazy_rel): Likewise.
31431 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31432 (elf_machine_lazy_rel): Likewise.
31433 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31434 (elf_machine_lazy_rel): Likewise.
31435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31436 (elf_machine_lazy_rel): Likewise.
31437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31438 (elf_machine_lazy_rel): Likewise.
31439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31440 (elf_machine_lazy_rel): Likewise.
31441
68577918
UD
314422011-09-28 Ulrich Drepper <drepper@gmail.com>
31443
31444 * nss/nss_files/files-init.c (_nss_files_init): Use static
31445 initialization for all the *_traced_file variables.
31446
68822d74
AS
314472011-09-28 Andreas Schwab <schwab@redhat.com>
31448
31449 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31450
2056100b
RM
314512011-09-27 Roland McGrath <roland@hack.frob.com>
31452
31453 [BZ #13226]
31454 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31455
32c76b63
AS
314562011-09-27 Andreas Schwab <schwab@redhat.com>
31457
31458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31459 Reread the line before reparsing it.
31460
bf972c9d
AS
314612011-09-26 Andreas Schwab <schwab@redhat.com>
31462
31463 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31464
e057a1b5
JM
314652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31466 Maxim Kuvyrkov <maxim@codesourcery.com>
31467 Joseph Myers <joseph@codesourcery.com>
31468
31469 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31470 if needed for __stack_chk_guard.
31471
bc7e1c36
RM
314722011-09-19 Roland McGrath <roland@hack.frob.com>
31473
ecb1482f
RM
31474 * sysdeps/posix/spawni.c (script_execute): Always define it.
31475 It will be optimized away if unused.
31476 (maybe_script_execute): New function.
31477 (__spawni): Call it.
31478
bc7e1c36
RM
31479 * Makerules: Don't include tls.make.
31480 (config-tls): Always set to thread.
31481 * tls.make.c: File removed.
31482
1c3b002b
MF
314832011-09-19 Mike Frysinger <vapier@gentoo.org>
31484
31485 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31486 * config.make.in (CPPFLAGS-config): New substituted variable.
31487
2840865d
UD
314882011-09-15 Ulrich Drepper <drepper@gmail.com>
31489
88738eb6
UD
31490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31491
cbf645a6 31492 [BZ #13192]
2840865d
UD
31493 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31494 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31495
b402e91a
RM
314962011-09-15 Roland McGrath <roland@hack.frob.com>
31497
31498 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31499 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31501 (CALL_FAIL): Likewise.
31502 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31503 (CALL_FAIL): Macro removed.
31504 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31505
4c1a1f71
UD
315062011-09-15 Ulrich Drepper <drepper@gmail.com>
31507
31508 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31509 for __FINITE_MATH_ONLY__ == 1.
31510
edc121be
AS
315112011-09-15 Andreas Schwab <schwab@redhat.com>
31512
31513 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31514 __ieee754_sqrt instead of sqrt.
31515 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31516 __ieee754_sqrtf instead of sqrtf.
31517 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31518 __floorf instead of floorf.
31519 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31520 __floorf, __truncf instead of floorf, truncf.
31521
cd205654
UD
315222011-09-14 Ulrich Drepper <drepper@gmail.com>
31523
ee4d0315
UD
31524 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31525
cd205654
UD
31526 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31527 __extern_always_inline.
31528 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31529 32-bit.
31530
48b67d71
AS
315312011-09-14 Andreas Schwab <schwab@redhat.com>
31532
31533 * elf/rtld.c (dl_main): Also relocate in dependency order when
31534 doing symbol dependency testing.
31535
1ae12c75
AS
315362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31537
31538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31539 Always define `refsym'.
31540
995a80df
AS
315412011-09-13 Andreas Schwab <schwab@redhat.com>
31542
e529793b
AS
31543 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31544 (__FD_ELT): Renamed from __FDELT.
31545 * misc/bits/select2.h (__FD_ELT): Likewise.
31546 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31547 __FD_MASK instead of __FDELT, __FDMASK.
31548 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31549 Likewise.
31550 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31551 Likewise.
31552
52d4fef8
AS
31553 * elf/Makefile (gen-ldd): Fix pattern.
31554
995a80df
AS
31555 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31556 (init_tls): Likewise.
31557
8682f8b0
UD
315582011-09-12 Ulrich Drepper <drepper@gmail.com>
31559
31560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31561
de82006d
AS
315622011-09-12 Andreas Schwab <schwab@redhat.com>
31563
a7c8e6a1
AS
31564 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31565 `struct cmsghdr *' instead of `void *'.
31566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31567 Likewise.
31568
0f31fe77
AS
315692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31570
31571 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31572 if non-absolute.
31573 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31574 ldd_rewrite_script.
0f31fe77 31575
32b4c839
UD
315762011-09-11 Ulrich Drepper <drepper@gmail.com>
31577
83cd1420
UD
31578 * configure.in: Remove --with-tls option.
31579 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31580 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31581 out in case it is missing.
31582 * sysdeps/ia64/elf/configure.in: Likewise.
31583 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31584 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31585 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31586 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31587 * sysdeps/sh/elf/configure.in: Likewise.
31588 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31589 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31590 * sysdeps/x86_64/elf/configure.in: Likewise.
31591 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31592 * sysdeps/mach/hurd/tls.h: Likewise.
31593
633f745d
UD
31594 [BZ #13067]
31595 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31596
f318beb8
UD
31597 [BZ #13090]
31598 * configure.in: Fix use of AC_INIT.
31599
32b4c839
UD
31600 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31601
3ce1f295
UD
316022011-09-10 Ulrich Drepper <drepper@gmail.com>
31603
bb016596
UD
31604 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31605 __set_errno.
8e58439c
UD
31606 * malloc/hooks.c: Likewise.
31607
aebae053 31608 [BZ #11929]
02d46fc4
UD
31609 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31610 variables statically.
31611 (narenas): Initialize.
31612 (list_lock): Initialize.
bb016596
UD
31613 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31614 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31615 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31616 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31617 Add initializers to main_arena and mp_.
31618 (malloc_state): Remove pagesize member. Change all users to use
31619 GLRO(dl_pagesize).
31620
31621 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31622 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31623 is always initialized.
31624
22a89187
UD
31625 * malloc/malloc.c: Removed unused configurations and dead code.
31626 * malloc/arena.c: Likewise.
31627 * malloc/hooks.c: Likewise.
02d46fc4 31628 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31629
d063d164
UD
31630 * include/tls.h: Removed. USE___THREAD must always be defined.
31631 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31632 * elf/dl-libc.c: Likewise.
31633 * elf/dl-tsd.c: Likewise.
31634 * include/errno.h: Likewise.
31635 * include/netdb.h: Likewise.
31636 * include/resolv.h: Likewise.
31637 * inet/herrno-loc.c: Likewise.
31638 * inet/herrno.c: Likewise.
31639 * malloc/arena.c: Likewise.
31640 * malloc/hooks.c: Likewise.
31641 * malloc/malloc.c: Likewise.
31642 * resolv/res-state.c: Likewise.
31643 * resolv/res_libc.c: Likewise.
31644 * sysdeps/i386/dl-machine.h: Likewise.
31645 * sysdeps/ia64/dl-machine.h: Likewise.
31646 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31647 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31648 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31649 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31650 * sysdeps/sh/dl-machine.h: Likewise.
31651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31653 * sysdeps/unix/i386/sysdep.S: Likewise.
31654 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31655 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31660 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31664 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31665 * sysdeps/x86_64/dl-machine.h: Likewise.
31666 * tls.make.c: Likewise.
31667
3ce1f295
UD
31668 * configure.in: Remove --with-__thread option. Make tests for
31669 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31670 tls_model attribute fail if no support is available. Remove
31671 USE_IN_LIBIO.
31672 * Makeconfig: Adjust for dropped configure option. All features are
31673 now mandatory.
31674 * Makerules: Likewise.
31675 * Versions.def: Likewise.
31676 * argp/argp-fmtstream.c: Likewise.
31677 * argp/argp-fmtstream.h: Likewise.
31678 * argp/argp-help.c: Likewise.
31679 * assert/assert.c: Likewise.
31680 * config.h.in: Likewise.
31681 * config.make.in: Likewise.
31682 * configure: Likewise.
31683 * configure.in: Likewise.
31684 * csu/Versions: Likewise.
31685 * csu/init.c: Likewise.
31686 * elf/tst-audit2.c: Likewise.
31687 * elf/tst-tls10.c: Likewise.
31688 * elf/tst-tls10.h: Likewise.
31689 * elf/tst-tls11.c: Likewise.
31690 * elf/tst-tls12.c: Likewise.
31691 * elf/tst-tls14.c: Likewise.
31692 * elf/tst-tlsmod11.c: Likewise.
31693 * elf/tst-tlsmod12.c: Likewise.
31694 * elf/tst-tlsmod13.c: Likewise.
31695 * elf/tst-tlsmod13a.c: Likewise.
31696 * elf/tst-tlsmod14a.c: Likewise.
31697 * elf/tst-tlsmod15b.c: Likewise.
31698 * elf/tst-tlsmod16a.c: Likewise.
31699 * elf/tst-tlsmod16b.c: Likewise.
31700 * elf/tst-tlsmod7.c: Likewise.
31701 * elf/tst-tlsmod8.c: Likewise.
31702 * elf/tst-tlsmod9.c: Likewise.
31703 * gmon/gmon.c: Likewise.
31704 * grp/fgetgrent_r.c: Likewise.
31705 * grp/putgrent.c: Likewise.
31706 * hurd/fopenport.c: Likewise.
31707 * include/libc-symbols.h: Likewise.
31708 * include/tls.h: Likewise.
31709 * intl/gettextP.h: Likewise.
31710 * intl/loadinfo.h: Likewise.
31711 * locale/global-locale.c: Likewise.
31712 * locale/localeinfo.h: Likewise.
31713 * mach/devstream.c: Likewise.
31714 * malloc/arena.c: Likewise.
31715 * malloc/set-freeres.c: Likewise.
31716 * misc/err.c: Likewise.
31717 * misc/getttyent.c: Likewise.
31718 * misc/mntent_r.c: Likewise.
31719 * posix/getopt.c: Likewise.
31720 * posix/wordexp.c: Likewise.
31721 * pwd/fgetpwent_r.c: Likewise.
31722 * resolv/Versions: Likewise.
31723 * resolv/res_hconf.c: Likewise.
31724 * shadow/fgetspent_r.c: Likewise.
31725 * shadow/putspent.c: Likewise.
31726 * stdio-common/printf_fphex.c: Likewise.
31727 * stdio-common/tmpfile.c: Likewise.
31728 * stdlib/abort.c: Likewise.
31729 * stdlib/fmtmsg.c: Likewise.
31730 * sunrpc/auth_unix.c: Likewise.
31731 * sunrpc/clnt_perr.c: Likewise.
31732 * sunrpc/clnt_tcp.c: Likewise.
31733 * sunrpc/clnt_udp.c: Likewise.
31734 * sunrpc/clnt_unix.c: Likewise.
31735 * sunrpc/openchild.c: Likewise.
31736 * sunrpc/svc_simple.c: Likewise.
31737 * sunrpc/svc_tcp.c: Likewise.
31738 * sunrpc/svc_udp.c: Likewise.
31739 * sunrpc/svc_unix.c: Likewise.
31740 * sunrpc/xdr.c: Likewise.
31741 * sunrpc/xdr_array.c: Likewise.
31742 * sunrpc/xdr_rec.c: Likewise.
31743 * sunrpc/xdr_ref.c: Likewise.
31744 * sunrpc/xdr_stdio.c: Likewise.
31745
1248c1c4
PB
317462011-09-09 Ulrich Drepper <drepper@gmail.com>
31747
31748 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31749
317502011-07-03 Andreas Jaeger <aj@suse.de>
31751
31752 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31753 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31754 regenerate with gen-libm-tests.pl.
31755
317562010-05-12 Petr Baudis <pasky@suse.cz>
31757
31758 [BZ #11589]
31759 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31760 around j0() zero points by switching to j1().
31761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31762 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31765
f22e1074
UD
317662011-09-09 Ulrich Drepper <drepper@gmail.com>
31767
f19009c1
UD
31768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31769 instead of 0.
31770 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31771 instead of 0.
f19009c1
UD
31772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31773 Patch in part by Pavel Roskin <proski@gnu.org>.
31774
3f8cc204
UD
31775 [BZ #13138]
31776 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31777 realloc.
31778 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31779 Free memory block if necessary.
31780
f22e1074
UD
31781 [BZ #12847]
31782 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31783 be NULL. Don't lock in this case.
31784
0a2349f9
RM
317852011-09-09 Roland McGrath <roland@hack.frob.com>
31786
31787 * elf/elf.h (ELFOSABI_GNU): New macro.
31788 (ELFOSABI_LINUX): Define to that.
31789
f3cdd467
DZ
317902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31791
31792 * string/strncat.c (strncat): Undef the symbol in case it has been
31793 defined in bits/string.h.
31794
74718d13
UD
317952011-09-09 Ulrich Drepper <drepper@gmail.com>
31796
633e9e0f
UD
31797 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31798
0a2349f9 31799 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31800 link map.
31801
f9924780
AJ
318022011-08-17 Andreas Jaeger <aj@suse.de>
31803
31804 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31805
7f5517aa
PP
318062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31807 Ian Lance Taylor <iant@google.com>
31808
31809 * math/libm-test.inc (lround_test): New testcase.
31810 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31811
762011fe
UD
318122011-09-08 Ulrich Drepper <drepper@gmail.com>
31813
92963737
UD
31814 * Makefile: Remove support for automatic cvs check-ins.
31815 * Makerules: Likewise.
31816 * config.make.in: Likewise.
31817 * configure.in: Likewise.
31818 * intl/Makefile: Likewise.
31819 * locale/Makefile: Likewise.
31820 * po/Makefile: Likewise.
31821 * posix/Makefile: Likewise.
31822 * sysdeps/gnu/Makefile: Likewise.
31823 * sysdeps/mach/hurd/Makefile: Likewise.
31824 * sysdeps/sparc/sparc32/Makefile: Likewise.
31825
b0727fd8
JS
31826 [BZ #13118]
31827 * posix/Makefile (bug-regex32-ENV): Define.
31828 Patch by John Stanley <jpsinthemix@verizon.net>.
31829
a0f33f99
UD
31830 * misc/Makefile (headers): Add bits/select2.h.
31831 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31832 * misc/bits/select2.h: New file.
31833 * include/bits/select2.h: New file.
31834 * debug/Makefile (routines): Add fdelt_chk.
31835 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31836 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31837 FD_ISSET.
31838 * debug/fdelt_chk.c: New file.
31839
762011fe
UD
31840 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31841 * wcsmbs/test-wmemcmp.c: Likewise.
31842 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31843 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31844
318452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31846
31847 * string/Makefile (strop-tests): Add memcmp.
31848 * string/test-wmemcmp.c: New file.
31849 * string/test-memcmp.c: Add wmemcmp support.
31850
7f513ec8
RM
318512011-09-08 Roland McGrath <roland@hack.frob.com>
31852
0442afb4
RM
31853 [BZ #13153]
31854 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31855 2011-07-19 change.
31856
7f513ec8
RM
31857 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31858 garbage value in a __mach_port_mod_refs call in the cases of the
31859 task-self and thread-self ports.
31860
a12b2239
ST
318612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31862
31863 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31864
610f9ab4
AS
318652011-09-08 Andreas Schwab <schwab@redhat.com>
31866
7f513ec8 31867 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31868
48882a1a
LD
318692011-09-07 Ulrich Drepper <drepper@gmail.com>
31870
b49865be
UD
31871 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31872
fdc86bc9
UD
31873 * elf/dl-libc.c (dlerror_run): Pass back error code from
31874 dl_catch_error.
31875
c966526a
UD
31876 [BZ #13123]
31877 * elf/dl-load.c (lose): Free l_origin if it is valid.
31878
48882a1a
LD
31879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31880 names.
31881 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31882 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31883 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31884 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31885 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31886 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31887
77a2a8b4
AZ
318882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31889
31890 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31891 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31892 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31893 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31894 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31895 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31896 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31897 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31898 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31899 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31900
24f579d8
AM
319012011-08-15 Alan Modra <amodra@gmail.com>
31902
31903 [BZ #13092]
31904 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31905 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31906 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31907 ppc_mcount to static-only-routines.
31908 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31909 __mcount_internal.
31910 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31911 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31912
3d4837df
UD
319132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31914
31915 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31916 for finite and infinity parameters.
31917
22700377
WS
319182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31919
31920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31921 and add nop instructions for throughput optimization.
31922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31923
5025581e
WS
319242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31925
31926 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31927 aligned copy for power7 with vector-scalar instructions.
31928 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31929
08a300c9
L
319302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31931
31932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31933 AVX check.
31934
59178ef9
AS
319352011-09-07 Andreas Schwab <schwab@redhat.com>
31936
31937 [BZ #13144]
31938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31939 last change.
31940
e38ba7ab
UD
319412011-09-07 Ulrich Drepper <drepper@gmail.com>
31942
31943 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31944 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31945 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31946 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31947 clock_gettime.
31948
d53a73ac
UD
319492011-09-06 Ulrich Drepper <drepper@gmail.com>
31950
fc8bffcc
UD
31951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31952 Forgot to demangle the pointer.
31953
ceaa0c5d
UD
31954 * sysdeps/i386/sysdep.h: Define atom_text_section.
31955 * sysdeps/x86_64/sysdep.h: Likewise.
31956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31957 section with atom_text_section.
31958 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31959 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31960 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31963
a77d3c17
UD
31964 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31966 already be defined. Change to take two parameters and don't assign
31967 result to variable. Adjust all users.
31968 Define INTERNAL_GETTIME if not already defined.
31969 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31970 call.
31971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31972 HAVE_CLOCK_GETTIME_VSYSCALL.
31973 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31974
d53a73ac
UD
31975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31976 gettimeofday vsyscall, just use time.
31977
a8f84144
AS
319782011-09-06 Andreas Schwab <schwab@redhat.com>
31979
31980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31981 <errno.h>.
31982
ef606249
UD
319832011-09-06 Ulrich Drepper <drepper@gmail.com>
31984
31985 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31986 syscall on x86-64.
31987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31988 syscall.
31989 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31991 syscall if possible.
31992
6585cb60
UD
319932011-09-05 Ulrich Drepper <drepper@gmail.com>
31994
31995 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31996 e_ident. Don't pass to find_mapsXX.
31997 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31998
a5f524e4
LD
319992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32000
32001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32002 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32003 * sysdeps/x86_64/multiarch/strchr.S: Update.
32004 Check bit_slow_BSF bit.
32005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32006 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32007 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32008
554881ef
UD
320092011-09-05 Ulrich Drepper <drepper@gmail.com>
32010
d96de963
UD
32011 [BZ #13134]
32012 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32013 before glibc 2.15.
32014 (tryshell): Define.
32015 (__spawni): Change last parameter to be flag. Test
32016 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32017 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32018 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32019 * posix/spawni.c: Likewise.
32020 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32021 * posix/spawnp.c: Likewise. Change normal version to use
32022 SPAWN_XFLAGS_USE_PATH.
32023 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32024 SPAWN_XFLAGS_TRY_SHELL.
32025
d48e5868
UD
32026 [BZ #13150]
32027 * posix/glob.h: Remove gcc 1.x support.
32028
554881ef
UD
32029 [BZ #13068]
32030 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32031
693fb948
LD
320322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32033
32034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32035 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32036 strrchr-sse2-bsf
32037 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32038 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32039 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32041 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32043
1b48c537
UD
320442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32045
49d42c37
UD
32046 * sysdeps/x86_64/wcscmp.S: New file.
32047
1b48c537
UD
32048 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32049 wcscmp-c wcscmp-sse2
32050 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32051 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32052 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32053 * wcsmbs/wcscmp.c: Allow renaming.
32054
15c95c5d
DM
320552011-09-05 David S. Miller <davem@davemloft.net>
32056
32057 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32058 stack slot, rather than the struct return pointer slot.
32059 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32060 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32062 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32063
2f0ad8f3
UD
320642011-09-05 Ulrich Drepper <drepper@gmail.com>
32065
d88ae418
UD
32066 * po/ja.po: Update from translation team.
32067
2f0ad8f3
UD
32068 [BZ #13144]
32069 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32070 kernel in 64-bit binaries.
32071
5f4318d1
DM
320722011-09-01 David S. Miller <davem@davemloft.net>
32073
32074 * elf/elf.h (HWCAP_SPARC_*): Move to..
32075 * sysdeps/sparc/sysdep.h: this new file and add new values.
32076 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32077 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32078 _DL_HWCAP_COUNT to 24.
32079 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32080 entries.
32081 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32082 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32083 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32085 instead of magic constants.
32086 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32087
3ba57516
DM
320882011-08-31 David S. Miller <davem@davemloft.net>
32089
32090 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32092 Reimplement to do errno handling inline.
32093 (SYSCALL_ERROR_HANDLER): New macro.
32094 (__SYSCALL_STRING): Do not do errno handling in asm.
32095 (__CLONE_SYSCALL_STRING): Delete.
32096 (__INTERNAL_SYSCALL_STRING): Delete.
32097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32098 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32099 (PSEUDO): Reimplement to do errno handling inline.
32100 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32101 (SYSCALL_ERROR_HANDLER): New macro.
32102 (__SYSCALL_STRING): Do not do errno handling in asm.
32103 (__CLONE_SYSCALL_STRING): Delete.
32104 (__INTERNAL_SYSCALL_STRING): Delete.
32105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32106 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32107 i386.
32108 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32109 (inline_syscall*): Add 'err' argument.
32110 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32111 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32112 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32113 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32114
32115 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32116 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32117
2bc17433
AS
321182011-08-30 Andreas Schwab <schwab@redhat.com>
32119
32120 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32121
fbeb5f4d
JO
321222011-08-29 Jiri Olsa <jolsa@redhat.com>
32123
32124 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32125 directive.
32126
ad69cc26
DM
321272011-08-24 David S. Miller <davem@davemloft.net>
32128
32129 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32130
39dd69df
AS
321312011-08-24 Andreas Schwab <schwab@redhat.com>
32132
32133 * elf/Makefile: Add rules to build and run unload8 test.
32134 * elf/unload8.c: New file.
32135 * elf/unload8mod1.c: New file.
32136 * elf/unload8mod1x.c: New file.
32137 * elf/unload8mod2.c: New file.
32138 * elf/unload8mod3.c: New file.
32139
32140 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32141 it wasn't used.
32142
2c0b250a
DM
321432011-08-23 David S. Miller <davem@davemloft.net>
32144
32145 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32146 subtract stack bias.
32147 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32148 %sp not %fp in calculations.
32149 (_JMPBUF_UNWINDS_ADJ): Likewise.
32150
22044b48
DM
32151 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32152 (aio_suspend): Call it to force an exception region around the
32153 AIO_MISC_WAIT() invocation.
32154
2cae4995
AS
321552011-08-23 Andreas Schwab <schwab@redhat.com>
32156
32157 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32158 backslash.
32159
873a772e
AJ
321602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32161
32162 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32163 protection macro.
32164 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32165 and <dl-machine.h>.
32166 (Elf64_FuncDesc): Remove.
32167
25ad0df1
DM
321682011-08-22 David S. Miller <davem@davemloft.net>
32169
32170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32171 sigaltstack check, add missing cfi directives.
32172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32173 missing cfi directives, and sigaltstack handling.
32174
e888bcbe
AS
321752011-08-16 Andreas Schwab <schwab@redhat.com>
32176
32177 [BZ #11724]
32178 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32179 object is seen twice.
32180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32181
32182 * elf/Makefile (distribute): Add tst-initorder2.c.
32183 (tests): Add tst-initorder2.
32184 (modules-names): Add tst-initorder2a tst-initorder2b
32185 tst-initorder2c tst-initorder2d. Add rules to build them.
32186 ($(objpfx)tst-initorder2.out): New rule.
32187 * elf/tst-initorder2.c: New file.
32188 * elf/tst-initorder2.exp: New file.
32189
87162f46
AS
321902011-08-22 Andreas Schwab <schwab@redhat.com>
32191
70538b7f
AS
32192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32193
f55ffe58
AS
32194 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32195 dependencies back to end of function.
32196
87162f46
AS
32197 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32198 $(elfobjdir)/ld.so.
32199
91b392a4
UD
322002011-08-21 Ulrich Drepper <drepper@gmail.com>
32201
32202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32203 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32205 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32206 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32207 of __vdso_gettimeofday.
32208 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32209 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32210 attribute_hidden.
32211 (_libc_vdso_platform_setup): Remove initialization of
32212 __vdso_gettimeofday and __vdso_time.
32213
5c43483f
UD
322142011-08-20 Ulrich Drepper <drepper@gmail.com>
32215
775a77e7
UD
32216 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32217 and fgetc_unlocked.
32218 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32219 getc_unlocked.
89f447ed 32220
49c74ba9
UD
32221 * elf/dl-open.c (add_to_global): Report additions to the global scope
32222 for LD_DEBUG=scopes.
32223 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32224 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32225
5c43483f
UD
32226 [BZ #13114]
32227 * stdio-common/Makefile (tests): Add bug24.
32228 * stdio-common/bug24.c: New file.
32229
a101b025
AJ
322302011-08-19 Andreas Jaeger <aj@suse.de>
32231
32232 [BZ #13114]
32233 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32234 non-existant file when using close-on-exec mode.
32235
c88f1766
UD
322362011-08-20 Ulrich Drepper <drepper@gmail.com>
32237
0276a718
UD
32238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32239 the very first instruction.
32240
c88f1766
UD
32241 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32242 the CFI state in the end.
32243 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32244 inclusion of dl-trampoline.h.
32245 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32246
51ccffa0
AS
322472011-08-19 Andreas Schwab <schwab@redhat.com>
32248
94d7165f
AS
32249 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32250 expectations for long double.
32251
51ccffa0
AS
32252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32253 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32254
fd708658 322552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32256
32257 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32258 artificual limit depends upon the system page size.
32259
44f0a71e
UD
322602011-08-17 Ulrich Drepper <drepper@gmail.com>
32261
32262 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32263 * resolv/Makefile: Define CFLAGS-libresolv.
32264
8de79a24
AS
322652011-08-17 Andreas Schwab <schwab@redhat.com>
32266
32267 * nss/makedb.c (compute_tables): Make variables used in nested
32268 function static.
32269
27724598
UD
322702011-08-17 Ulrich Drepper <drepper@gmail.com>
32271
c5305d88
UD
32272 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32273 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32274 if buffer was too small.
32275
27724598
UD
32276 * elf/pldd.c (main): Attach to all threads in the process.
32277 Rewrite /proc handling to use *at functions.
32278
076fe015
UD
322792011-08-16 Ulrich Drepper <drepper@gmail.com>
32280
174baab3
UD
32281 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32282 specifies first scope to show.
32283 (dl_open_worker): Update callers. Move printing scope of new
32284 object to before the relocation.
44f0a71e 32285 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32286 * sysdeps/generic/ldsodefs.h: Update declaration.
32287
076fe015
UD
32288 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32289 string for the scope number.
32290
a60df2c3
UD
322912011-08-14 Ulrich Drepper <drepper@gmail.com>
32292
32293 * nscd/servicescache.c (cache_addserv): Make sure written is always
32294 initialized.
32295
5e4287d1
RM
322962011-08-14 Roland McGrath <roland@hack.frob.com>
32297
85ae0589
RM
32298 * sysdeps/i386/i486/bits/atomic.h
32299 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32300 statement expression, so as to suppress "set but not used" warning.
32301 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32302
69f63097
RM
32303 * string/strncat.c (STRNCAT): Use prototype definition.
32304
675456ef
RM
32305 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32306 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32307 -Iprograms here.
32308 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32309 (localedef-modules): Add localedef.
32310 (locale-modules): Add locale.
32311
5e4287d1
RM
32312 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32313 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32314 to avoid a warning.
32315
9c96ff23
DM
323162011-08-14 David S. Miller <davem@davemloft.net>
32317
32318 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32319 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32320
f9ddf089
UD
323212011-08-13 Ulrich Drepper <drepper@gmail.com>
32322
44f0a71e 32323 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32324 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32325 * elf/rtld.c (dl_main): Set l_name of vDSO.
32326 Call _dl_show_scope when DL_DEBUG_SCOPES.
32327 (process_dl_debug): Recognize scopes flag and also set it for all.
32328 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32329 Declare _dl_show_scope.
32330
1dc27704
UD
32331 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32332 (do_dlopen): Pass caller_dlopen to dl_open.
32333 (__libc_dlopen_mode): Initialize caller_dlopen.
32334
f9ddf089
UD
32335 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32336 of libc. Make tolower call locale-independent. Optimize a bit by
32337 using isdigit instead of isalnum.
32338 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32339
9ac533d3
UD
323402011-08-12 Ulrich Drepper <drepper@gmail.com>
32341
32342 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32343 was a dependency or dynamically loaded.
32344
89edf2e9
UD
323452011-08-11 Ulrich Drepper <drepper@gmail.com>
32346
8e999d29
UD
32347 * intl/l10nflist.c: Allow architecture-specific pop function.
32348 * sysdeps/x86_64/l10nflist.c: New file.
32349
89edf2e9
UD
32350 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32351 classification.
32352
14d96785
AS
323532011-08-10 Andreas Schwab <schwab@redhat.com>
32354
32355 * include/dirent.h: Add libc_hidden_proto for scandirat and
32356 scandirat64. Don't declare __scandirat64.
32357 * dirent/scandirat.c: Add libc_hidden_def.
32358 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32359 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32360
6761ac04
DM
323612011-08-10 David S. Miller <davem@davemloft.net>
32362
32363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32364 enum.
32365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32367 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32368
c55fbd1e
UD
323692011-08-09 Ulrich Drepper <drepper@gmail.com>
32370
32371 * Versions.def [libc]: Add GLIBC_2.15.
32372 * dirent/Makefile (routines): Add scandirat and scandirat64.
32373 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32374 GLIBC_2.15.
32375 * dirent/dirent.h: Declare scandirat and scandirat64.
32376 * dirent/scandirat.c: New file.
32377 * dirent/scandirat64.c: New file.
32378 * sysdeps/wordsize-64/scandirat.c: New file.
32379 * sysdeps/wordsize-64/scandirat64.c: New file.
32380 * dirent/opendir.c: Define opendirat.
32381 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32382 using scandirat.
32383 * dirent/scandir64.c: Adjust for scandir.c change.
32384 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32385 __scandirat64, and __scandir_cancel_handler.
32386 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32387 additional parameter and use openat instead of open (outside of ld.so).
32388 Add new __opendir as wrapper around __opendirat.
32389 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32390 here without requiring old scandirat implementation.
32391
879165f2
UD
323922011-08-08 Ulrich Drepper <drepper@gmail.com>
32393
32394 * dirent/scandir.c (cancel_handler): Renamed to
32395 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32396 defined. Adjust users.
32397 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32398 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32399
cb7e923b
UD
324002011-08-04 Ulrich Drepper <drepper@gmail.com>
32401
16292edd
UD
32402 * string/test-string.h (IMPL): Use __STRING to expand name and then
32403 stringify it.
32404
cb7e923b
UD
32405 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32406 of cleanups.
32407
cff82933
LD
324082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32409
32410 * string/Makefile: Update.
32411 (strop-tests): Append strncat.
32412 * string/test-wcscmp.c: New file.
32413 New comprehensive test for wcscmp.
32414 * string/test-strcmp.c: Update.
32415 (WIDE): New define.
32416
9be9bfcc
AS
324172011-07-22 Andreas Schwab <schwab@redhat.com>
32418
32419 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32420 line.
32421
2e96f1c7
AS
324222011-07-26 Andreas Schwab <schwab@redhat.com>
32423
32424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32425 encoding to ACE if AI_IDN.
32426
85188888
JJ
324272011-08-01 Jakub Jelinek <jakub@redhat.com>
32428
32429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32430 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32431
5fa16e9b
LD
324322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32433
32434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32435 Fix overflow bug in strncat.
32436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32437
32438 * string/test-strncat.c: Update.
32439 Add new tests for checking overflow bugs.
32440
324412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32442
32443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32444 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32445 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32446 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32447 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32448 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32449 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32450 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32451 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32452
32453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32454 (USE_AS_STRCAT): Define.
32455 Add strcat and strncat support.
32456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32457
8c1a459f
AS
324582011-07-25 Andreas Schwab <schwab@redhat.com>
32459
32460 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32461 __n bigger than INT_MAX+1.
32462 (__strncmp_g): Likewise.
32463
bba33c28
UD
324642011-07-23 Ulrich Drepper <drepper@gmail.com>
32465
798be72d
UD
32466 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32467 * libio/stido.h: Likewise.
32468
8accd4dc
UD
32469 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32470 (AF_NFC): Define.
32471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32472 (AF_NFC): Define.
32473
cbff0d96
UD
32474 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32476 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32479
9191c04a
UD
32480 [BZ #13021]
32481 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32482 installed.
32483
bba33c28
UD
32484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32485 typo.
32486 (_dl_x86_64_save_sse): Likewise.
32487
90f139dd
UD
324882011-07-22 Ulrich Drepper <drepper@gmail.com>
32489
1aae088a
UD
32490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32491 OSXSAVE.
32492 (_dl_x86_64_save_sse): Likewise.
32493
8e2045f5
UD
32494 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32495
90f139dd
UD
32496 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32497
1d002f25
AS
324982011-07-21 Andreas Schwab <schwab@redhat.com>
32499
32500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32501 change.
32502 (_dl_x86_64_save_sse): Use correct AVX check.
32503
21137f89
UD
325042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32505
32506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32507 bug in strncpy/strncat.
32508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32509
a65c0b7a
UD
325102011-07-21 Ulrich Drepper <drepper@gmail.com>
32511
32512 * string/tester.c (test_strcat): Add tests for different alignments
32513 of source and destination.
32514 (test_strncat): Likewise.
32515
6986b98a
UD
325162011-07-20 Ulrich Drepper <drepper@gmail.com>
32517
90bb2039
UD
32518 [BZ #12852]
32519 * posix/glob.c (glob): Check passed in values before using them in
32520 expressions to avoid some overflows.
32521 (glob_in_dir): Likewise.
32522
5644ef54
UD
32523 [BZ #13007]
32524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32525 check for AVX enablement so that we don't crash with old kernels and
32526 new hardware.
32527 * elf/tst-audit4.c: Add same checks here.
32528 * elf/tst-audit6.c: Likewise.
32529
32530 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32531
bfc9dc9b
AS
325322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32533
32534 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32535
702e64bb
UD
325362011-07-20 Ulrich Drepper <drepper@gmail.com>
32537
32538 * po/cs.po: Update from translation team.
32539 * po/bg.po: Likewise.
32540
295e904f
MP
325412011-07-12 Marek Polacek <mpolacek@redhat.com>
32542
32543 * misc/sys/cdefs.h: Add support for const attribute.
32544 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32545 to gnu_dev_{major,minor,makedev} functions.
32546
3ff94596
MP
325472011-07-20 Marek Polacek <mpolacek@redhat.com>
32548
32549 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32550
28b59fca
AS
325512011-07-20 Andreas Schwab <schwab@redhat.com>
32552
32553 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32554 strlen results.
32555
19df733e
AK
325562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32557
32558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32559 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32560 register in order to avoid conflicts with the soft frame pointer
32561 being held in r11 when necessary.
32562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32563 (INTERNAL_VSYSCALL_NCS): Likewise.
32564
c8835729
MP
325652011-07-14 Marek Polacek <mpolacek@redhat.com>
32566
32567 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32568 * elf/dl-fini.c (_dl_fini): Adjust caller.
32569 * elf/dl-close.c (_dl_close_worker): Likewise.
32570 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32571
b902330c
MP
325722011-07-15 Marek Polacek <mpolacek@redhat.com>
32573
8991e135
MP
32574 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32575 "aux_cache->nlibs < 0".
32576
b902330c
MP
32577 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32578 in the reload-count case.
32579
99710781
LD
325802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32581
32582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32583 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32584 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32585 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32586 * sysdeps/x86_64/multiarch/strcat.S: New file.
32587 * sysdeps/x86_64/multiarch/strncat.S: New file.
32588 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32590 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32591 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32593 (USE_AS_STRCAT): Define.
32594 Add strcat and strncat support.
32595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32597 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32598 * string/strncat.c: Update.
32599 (USE_AS_STRNCAT): Define.
32600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32601 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32602 and i7.
32603 * sysdeps/x86_64/multiarch/init-arch.h
32604 (bit_Prefer_PMINUB_for_stringop): New.
32605 (index_Prefer_PMINUB_for_stringop): Likewise.
32606 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32607 bit_Prefer_PMINUB_for_stringop.
32608
7dc6bd90
UD
326092011-07-19 Ulrich Drepper <drepper@gmail.com>
32610
32611 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32612 buffer64.
32613 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32614 of casting of buffer.
32615 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32616 buffer32 and buffer64.
32617 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32618 writes instead of casting of buffer.
32619 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32620 buffer32.
32621 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32622 casting of buffer.
32623
e0e72284
AS
326242011-07-19 Andreas Schwab <schwab@redhat.com>
32625
32626 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32627
feb1eb0b
UD
326282011-07-19 Ulrich Drepper <drepper@gmail.com>
32629
32630 * nscd/nscd.c (termination_handler): Don't do anything for a database
32631 if it has not yet been initialized.
32632
298711ff
UD
326332011-07-18 Ulrich Drepper <drepper@gmail.com>
32634
32635 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32636
326372011-07-15 Marek Polacek <mpolacek@redhat.com>
32638
32639 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32640
f9d68389
UD
326412011-07-18 Ulrich Drepper <drepper@gmail.com>
32642
32643 * po/nl.po: Update from translation team.
32644 * po/sv.po: Likewise.
32645
db290cf5
RM
326462011-07-16 Roland McGrath <roland@hack.frob.com>
32647
32648 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32649 now disallowed by GCC.
5c550700 32650
fd5e21c7
RM
32651 * configure.in (use-default-link): Default to yes if a test -shared
32652 link meets our qualifications.
32653 * configure: Regenerated.
32654
5c550700
RM
32655 * config.make.in (output-format): New variable.
32656 * configure.in: Check for ld --print-output-format support.
32657 * configure: Regenerated.
32658 * Makerules ($(common-objpfx)format.lds)
32659 [$(output-format) != unknown]: Just use $(output-format),
32660 instead of the linker-script munging.
32661
9fa2c032
RM
326622011-07-14 Roland McGrath <roland@hack.frob.com>
32663
a6928d51
RM
32664 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32665 of $(common-objpfx)shlib.lds.
32666 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32667
661607b3
RM
32668 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32669 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32670
9fa2c032
RM
32671 * configure.in (-z relro check): Adjust test code to add a large
32672 writable data section after it.
32673 * configure: Regenerated.
32674
defe9061
RM
326752011-07-11 Roland McGrath <roland@hack.frob.com>
32676
32677 * configure.in (-z relro check): Fix test code to make the variable
32678 truly const.
32679 * configure: Regenerated.
32680
319b9ad4
UD
326812011-07-11 Ulrich Drepper <drepper@gmail.com>
32682
32683 * nscd/nscd.h (struct traced_file): Define.
32684 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32685 elements. Add traced_files.
32686 (inotify_fd): Declare.
32687 (register_traced_file): Declare.
32688 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32689 (inotify_fd): Export.
32690 (resolv_conf_descr): Remove.
32691 (nscd_init): Move inotify descriptor creation to main.
32692 Don't register files for notification here.
32693 (register_traced_file): New function.
32694 (invalidate_cache): Don't use reset_res to determine whether to call
32695 res_init, go through the list of registered files.
32696 (main_loop_poll): The inotify descriptors are now stored in the
32697 structures for the traced files.
32698 (main_loop_epoll): Likewise
32699 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32700 to __nss_disable_nscd.
32701 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32702 for a database anymore. Check the records for all the registered
32703 files instead.
32704 * nss/Makefile (libnss_files-routines): Add files-init.
32705 (libnss_db-routines): Add db-init.
32706 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32707 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32708 * nss/nss_db/db-init.c: New file.
32709 * nss/nss_files/files-init.c: New file.
32710 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32711 __nss_lookup_function.
32712 (__nss_lookup_function): Call nss_load_library.
32713 (nss_load_all_libraries): New function.
32714 (__nss_disable_nscd): Take parameter with callback function for files
32715 to register. Set is_nscd. Load all the DSOs for the NSS modules
32716 used for the cached services.
32717 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32718 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32719 options for features to all the files in nscd.
32720
32721 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32722
23bee3e8
RM
327232011-07-10 Roland McGrath <roland@hack.frob.com>
32724
32725 * csu/elf-init.c (__libc_csu_init): Comment typo.
32726
46a5b7f0
UD
327272011-07-09 Ulrich Drepper <drepper@gmail.com>
32728
32729 * po/pl.po: Update from translation team.
32730 * po/ja.po: Likewise.
32731 * po/ru.po: Likewise.
32732 * po/ko.po: Likewise.
32733 * po/fr.po: Likewise.
32734
d30cf5bb
RM
327352011-07-09 Roland McGrath <roland@hack.frob.com>
32736
113ddea4
RM
32737 * configure.in (.ctors/.dtors header and trailer check):
32738 Use an empirical test on a built program.
32739 * configure: Regenerated.
32740
574920b4
RM
32741 * configure.in (-z relro check): Use an empirical test on a built DSO.
32742 Detect, but do not require, on ia64.
32743 * configure: Regenerated.
32744
d30cf5bb
RM
32745 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32746 Update tests that use readelf to use $READELF instead.
32747 * configure: Regenerated.
32748
8538fdb3
UD
327492011-07-08 Ulrich Drepper <drepper@gmail.com>
32750
32751 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32752 if the result is not used.
32753
04d08991
AJ
327542011-07-05 Andreas Jaeger <aj@suse.de>
32755
32756 [BZ#9696]
32757 * stdlib/tst-strtod.c: Add testcase.
32758
de283087
AD
327592011-07-07 Ulrich Drepper <drepper@gmail.com>
32760
4e5f31c8 32761 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32762 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32763 The latter has a higher limit. Take additional parameter to pass to
32764 the new function.
32765 (__pathconf): Pass file to __statfs_link_max.
32766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32767 __statfs_link_max.
32768 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32769 __statfs_link_max.
32770
de283087
AD
32771 [BZ #12868]
32772 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32774 Handle Lustre.
32775 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32776 (__statfs_filesize_max): Likewise.
32777 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32778
c75fa153
AJ
327792011-07-05 Andreas Jaeger <aj@suse.de>
32780
32781 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32782
1a544854
UD
327832011-07-06 Marek Polacek <mpolacek@redhat.com>
32784
32785 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32786 `status' variable.
32787 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32788 Likewise.
32789
6f0eec67
UD
327902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 * Makefile (strop-tests): Add strncat.
32793 * string/test-strncat.c: New file.
32794
aae30307
UD
327952011-06-30 Marek Polacek <mpolacek@redhat.com>
32796
32797 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32798
c0cfb5eb
UD
327992011-06-21 Andreas Jaeger <aj@suse.de>
32800
32801 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32802 Copy rule from iconvdata/Makefile.
32803
01636b21
UD
328042011-07-06 Ulrich Drepper <drepper@gmail.com>
32805
32806 [BZ #12922]
32807 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32808 but no long options are defined, just return 'W'.
32809
9895c8bc
UD
328102011-06-22 Marek Polacek <mpolacek@redhat.com>
32811
32812 [BZ #9696]
32813 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32814
5d4cf042
UD
328152011-07-06 Ulrich Drepper <drepper@gmail.com>
32816
32817 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32818 netgroups to read.
960e5535 32819 (innetgr): Likewise.
5d4cf042 32820
751eb97e
RM
328212011-07-05 Roland McGrath <roland@hack.frob.com>
32822
32823 * config.make.in (install_root): Default to $(DESTDIR).
32824
f15f1e45
UD
328252011-07-05 Ulrich Drepper <drepper@gmail.com>
32826
32827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32828
4e34ac6a
RM
328292011-07-02 Roland McGrath <roland@hack.frob.com>
32830
5e9b6af4
RM
32831 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32832
84f9ea0f
RM
32833 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32834 containing directory rather than embedding absolute directory names.
32835
ea5ee9f7
RM
32836 * scripts/check-local-headers.sh: Rewritten using awk.
32837 Match by word, not by line. Print error messages for matches.
32838 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32839
1b74661a
RM
32840 * Makerules [shlib-lds-flags empty]:
32841 ($(common-objpfx)libc_pic.opts): New target.
32842 ($(common-objpfx)libc_pic.os.clean): New target.
32843 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32844
32845 * config.make.in (OBJCOPY): New variable.
32846 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32847 * configure: Regenerated.
32848
f781ef40
RM
32849 * config.make.in (use-default-link): New variable.
32850 * configure.in (use_default_link): Grok --with-default-link to set it.
32851 * configure: Regenerated.
32852 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32853 (shlib-lds, shlib-lds-flags): Define to empty.
32854
2d4fa81e
RM
32855 * Makerules (shlib-lds): New variable.
32856 (shlib-lds-flags): New variable.
32857 (build-shlib, build-moduile, build-module-asneeded): Use it.
32858 ($(common-objpfx)libc.so): Use $(shlib-lds).
32859 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32860 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32861
31fffa6b
RM
32862 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32863 DT_FLAGS/DT_FLAGS_1 with zero flags.
32864
4e34ac6a
RM
32865 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32866 linker script munging.
32867
fcfc776b
UD
328682011-07-02 Ulrich Drepper <drepper@gmail.com>
32869
32870 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32871 as 128-bit value.
32872 * crypt/sha512.c (sha512_process_block): Perform total addition using
32873 128-bit if possible.
32874 (__sha512_finish_ctx): Likewise.
32875 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32876 as 64-bit value.
32877 * crypt/sha256.c (SWAP64): Define.
32878 (sha256_process_block): Perform total addition using 64-bit if
32879 possible.
32880 (__sha256_finish_ctx): Likewise.
32881
99231d9a
UD
328822011-07-01 Ulrich Drepper <drepper@gmail.com>
32883
32884 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32885 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32886 * nscd/hstcache.c (cache_addhst): Likewise.
32887 * nscd/grpcache.c (cache_addgr): Likewise.
32888 * nscd/aicache.c (addhstaiX): Likewise
32889 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32890
445b4a53
TK
328912011-07-01 Thorsten Kukuk <kukuk@suse.de>
32892
32893 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32895 * nscd/hstcache.c (cache_addhst): Likewise.
32896 * nscd/grpcache.c (cache_addgr): Likewise.
32897 * nscd/aicache.c (addhstaiX): Likewise
32898
6d4d8e8e
AS
328992011-07-01 Andreas Schwab <schwab@redhat.com>
32900
32901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32902 domain only when needed.
32903
89f654c5
AS
329042011-06-30 Andreas Schwab <schwab@redhat.com>
32905
32906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32907 is always restored.
32908
cf3b23ff
UD
329092011-06-29 Ulrich Drepper <drepper@gmail.com>
32910
32911 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32912 are re-adding the entry.
32913 * nscd/servicescache.c (cache_addserv): Likewise.
32914
751626f9
AJ
329152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32916
32917 * sysdeps/generic/dl-irel.h: fix protection against multiple
32918 inclusions.
32919 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32920
9113ea1f
UD
329212011-06-28 Ulrich Drepper <drepper@gmail.com>
32922
5c0b8d90
UD
32923 [BZ #12935]
32924 * malloc/memusage.sh: Fix quoting in message.
32925 * debug/xtrace.sh: Likewise.
32926
9113ea1f
UD
32927 * configure.in: Remove support for --experimental-malloc option, make
32928 it the default.
32929 * config.make.in: Likewise.
32930 * malloc/Makefile: Likewise.
32931
a4172181
AS
329322011-06-27 Andreas Schwab <schwab@redhat.com>
32933
32934 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32935 two-byte characters.
32936
78a7eee7
RM
329372011-06-27 Roland McGrath <roland@hack.frob.com>
32938
62bede13
RM
32939 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32940 AC_CACHE_CHECK invocation.
32941 * configure: Regenerated.
32942
78a7eee7
RM
32943 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32944
5ce33a62
UD
329452011-06-27 Ulrich Drepper <drepper@gmail.com>
32946
034807a9
UD
32947 [BZ #12350]
32948 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32949 bit from old_res_options.
32950
4902da17
UD
32951 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32952
5ce33a62
UD
32953 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32954 value type for setfct.
32955
c2344f56
L
329562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32957
32958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32959 __gettimeofday instead of gettimeofday.
32960
68468076
UD
329612011-06-26 Ulrich Drepper <drepper@gmail.com>
32962
32963 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32964
acb0d739
L
329652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32966
32967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32968
32969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32970 info.
32971
8912479f
L
329722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32973
32974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32975 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32976 strcpy-sse2-unaligned strncpy-sse2-unaligned
32977 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32978 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32979 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32980 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32981 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32983 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32984 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32985 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32986 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32987 (STRCPY): Support SSE2 and SSSE3 versions.
32988
d5495a11
UD
329892011-06-24 Ulrich Drepper <drepper@gmail.com>
32990
32991 [BZ #12874]
32992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32993 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32994 kernels which artificially limit size of requests.
32995
0b1cbaae
L
329962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32997
32998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32999 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33000 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33001 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33002 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33003 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33004 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33005 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33008 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33009 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33010 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33011 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33012 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33014 Enable unaligned load optimization for Intel Core i3, i5 and i7
33015 processors.
33016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33017 Define.
33018 (index_Fast_Unaligned_Load): Define.
33019 (HAS_FAST_UNALIGNED_LOAD): Define.
33020
07f494a0
MP
330212011-06-23 Marek Polacek <mpolacek@redhat.com>
33022
33023 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33024
fa3fc0fe
UD
330252011-06-22 Ulrich Drepper <drepper@gmail.com>
33026
33027 [BZ #12907]
33028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33029 until it is clear that the information is realy needed.
33030 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33031
e12df166
AS
330322011-06-22 Andreas Schwab <schwab@redhat.com>
33033
33034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33035
852eb34d
UD
330362011-06-22 Ulrich Drepper <drepper@gmail.com>
33037
84e2a551
UD
33038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33039 /sys/devices/system/cpu/online if it is usable.
33040
852eb34d
UD
33041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33042 reading the information from the /proc filesystem to once a second.
33043
6e502e19
UD
330442011-06-21 Andreas Jaeger <aj@suse.de>
33045
33046 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33047 NULL after inclusion of kernel headers.
33048
75d39ff2
UD
330492011-06-21 Ulrich Drepper <drepper@gmail.com>
33050
51f9aa6a
UD
33051 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33052 calls to internal_setent.
33053
c0244a9d
UD
33054 [BZ #12885]
33055 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33056 addresses using gethostbyname4_r ignore IPv4 addresses.
33057
c5e3c2ae
UD
33058 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33059 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33060
75d39ff2
UD
33061 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33062
42675c6f
DM
330632011-06-20 David S. Miller <davem@davemloft.net>
33064
33065 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33066 inclusions.
33067 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33068
33069 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33070 (elf_irel): Use it.
33071 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33072 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33073 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33074 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33075 * sysdeps/x86_64/dl-irel.h: Likewise.
33076
33077 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33078 * elf/dl-sym.c: Likewise.
33079
57912a71
UD
330802011-06-15 Ulrich Drepper <drepper@gmail.com>
33081
33082 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33083 need to dereference resplen2.
33084
ee22793d
AS
330852011-06-14 Andreas Schwab <schwab@redhat.com>
33086
33087 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33088
a9e836b0
UD
330892011-06-15 Ulrich Drepper <drepper@gmail.com>
33090
77fb9117
UD
33091 * Makeconfig: Define vardbdir and inst_vardbdir.
33092 * nss/Makefile: Add rules to install db-Makefile.
33093
40c1b22c
UD
33094 * nss/nss_db/db-XXX.c: Cleanup.
33095
9f2da732
UD
33096 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33097 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33098 GLIBC_PRIVATE.
33099 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33100 * nss/makedb.c: Implement -g option to specify that value strings
33101 are generated and should not be added to table iterated over for
33102 get*ent calls.
33103 * nss/nss_db/db-initgroups.c: New file.
33104
82e9a1f7
UD
33105 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33106 interface.
33107
c41af17e
UD
33108 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33109 (internal_getgrouplist): Adjust to name change.
33110 Update use_initgroups_entry if this is not the first call.
33111 * nss/databases.def: Add initgroups entry.
33112
a9e836b0
UD
33113 * nss/makedb.c (compute_tables): Check result of multiple hash table
33114 sizes to minimize maximum chain length.
33115
2666d441
UD
331162011-06-14 Ulrich Drepper <drepper@gmail.com>
33117
33118 * Versions.def: Add entry for libnss_db.
33119 * shlib-versions: Likewise.
33120 * nss/Makefile: Add rules to build libnss_db.
33121 * nss/Versions: Add libnss_db information. Organize libnss_files
33122 entries better.
33123 * nss/db-Makefile: Add gshadow support. Change rules for the new
33124 makedb progra. Some minor improvements to generate smaller files.
33125 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33126 here from...
33127 * nss/makedb.c: ...here.
33128 Improve database format to be smaller and require less memory at
33129 runtime.
33130 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33131 db anymore.
33132 * nss/nss_db/db-netgrp.c: Likewise.
33133 * nss/nss_db/db-open.c: Likewise.
33134 * nss/nss_files/flies-XXX.x: Adjust comments.
33135 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33136 * nss/nss_files/files-grp.c: Likewise.
33137 * nss/nss_files/files-hosts.c: Likewise.
33138 * nss/nss_files/files-network.c: Likewise.
33139 * nss/nss_files/files-proto.c: Likewise.
33140 * nss/nss_files/files-pwd.c: Likewise.
33141 * nss/nss_files/files-rpc.c: Likewise.
33142 * nss/nss_files/files-service.c: Likewise.
33143 * nss/nss_files/files-sgrp.c: Likewise.
33144 * nss/nss_files/files-spwd.c: Likewise.
33145 * nss/nss_db/db-alias.c: Removed.
33146 * nss/nss_db/dummy-db.h: Removed.
33147
9ee76b5a
UD
331482011-06-02 Ulrich Drepper <drepper@gmail.com>
33149
33150 * nss/makedb.c: Rewritten to not use database library.
33151 * nss/Makefile: Update to build new makedb program.
33152
c71ca1f8
AJ
331532011-06-14 Andreas Jaeger <aj@suse.de>
33154
33155 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33156 memset declaration.
33157
3154bfb8
UD
331582011-06-10 Andreas Schwab <schwab@redhat.com>
33159
33160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33161 tmpbuf.
33162
b350afab
RM
331632011-06-10 Roland McGrath <roland@hack.frob.com>
33164
decd4e50
RM
33165 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33166 * elf/Makefile ($(objpfx)ld.so): Likewise.
33167
5615eaf2
RM
33168 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33169 Don't list ld.so twice in dependencies.
33170
33171 * posix/bug-regex31.c: Include <stdlib.h>.
33172
33173 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33174
33175 * nis/nss_compat/compat-spwd.c
33176 (getspent_next_nss_netgr): Remove unused variable.
33177 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33178
33179 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33180 nonmembers" output to use the right array.
33181
33182 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33183
33184 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33185
33186 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33187 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33188 * catgets/gencat.c (read_input_file): Likewise.
33189 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33190
33191 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33192 variable definition inside #if's controlling its use.
33193
33194 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33195
33196 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33197
33198 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33199
33200 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33201 unreachable code.
33202
33203 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33204
b68e08db
RM
33205 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33206 * configure: Regenerated.
33207
b350afab
RM
33208 * Makerules: Revert last change.
33209 * elf/Makefile: Likewise.
33210
28368601
RM
332112011-06-09 Roland McGrath <roland@hack.frob.com>
33212
33213 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33214 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33215 (reloc-link): Likewise.
33216
11988f8f
UD
332172011-06-09 Ulrich Drepper <drepper@gmail.com>
33218
33219 * elf/Makefile: Add rules to build pldd.
33220 * elf/pldd.c: New file.
33221 * elf/pldd-xx.c: New file.
33222
e80fab37
UD
332232011-06-07 Ulrich Drepper <drepper@gmail.com>
33224
33225 * version.h: Update for 2.15 development version.
33226
9b849836
DM
332272011-06-07 David S. Miller <davem@davemloft.net>
33228
33229 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33230 ifuncs.
33231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33232 elf_machine_lazy_rel): Likewise.
33233 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33235 elf_machine_lazy_rel): Likewise.
33236 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33237 dl_hwcap via passed in argument.
33238 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33239 Likewise.
33240
5a31b283
AK
332412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33242
33243 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33244
069e52f8
RM
332452011-06-06 Roland McGrath <roland@hack.frob.com>
33246
33247 [BZ #12849]
33248 * manual/fdl-1.1.texi: New file, verbatim from:
33249 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33250 * manual/lgpl-2.1.texi: New file, verbatim from:
33251 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33252 * manual/Makefile (licenses): New variable, list those new file names.
33253 (texis): Use it.
33254 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33255
33256 * manual/fdl.texi: File removed.
33257 * manual/lesser.texi: File removed.
33258 * manual/libc.texinfo (Copying, Documentation License):
33259 Use new @include file names, put @appendix directive before @include.
33260
f16846a5
JJ
332612011-06-04 Jakub Jelinek <jakub@redhat.com>
33262
33263 [BZ #12841]
33264 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33265 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33266 (mq_open): Add __NTH.
33267
3d29045b
L
332682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33269
33270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33271 Assume Intel Core i3/i5/i7 processor if AVX is available.
33272
8c297311
UD
332732011-05-31 Ulrich Drepper <drepper@gmail.com>
33274
33275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33276 typo.
33277
c8fc0c91
UD
332782011-05-31 Andreas Schwab <schwab@redhat.com>
33279
33280 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33281 memory. Use alloca_account. Fix memory leak when retrying.
33282
5b27a807
UD
332832011-05-31 Ulrich Drepper <drepper@gmail.com>
33284
356f8bc6
UD
33285 * version.h (RELEASE): Bump for 2.14 release.
33286 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33287
5b27a807
UD
33288 * config.make.in (RANLIB): Remove entry.
33289
01f16ab0
UD
332902011-05-30 Ulrich Drepper <drepper@gmail.com>
33291
41fce8bd
UD
33292 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33293 (libc.pot): Work around missing support for .ksh extension in xgettext.
33294
4769ae77
UD
33295 [BZ #12684]
33296 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33297 if both request failed.
33298 (send_dg): In case of server errors clear resplen or *resplen2.
33299
6b1e7d19
UD
33300 [BZ #12454]
33301 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33302 when there are multiple maps.
33303 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33304 (_dl_fini): Remove test here.
33305
01f16ab0
UD
33306 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33307
b1ebd700
UD
333082011-05-29 Ulrich Drepper <drepper@gmail.com>
33309
7ae22829
UD
33310 [BZ #12350]
33311 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33312 bit from old_res_options.
33313 (gaih_inet): Likewise.
33314
553149f6 33315 [BZ #11099]
18a84741 33316 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33317 as signed.
33318
652ffab1
UD
33319 * resolv/res_init.c (res_setoptions): Make the code more compact.
33320
16985fd0
UD
33321 [BZ #11558]
33322 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33323 set RES_USEVC.
33324
0464f746
UD
33325 [BZ #11634]
33326 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33327
7d17596c
UD
33328 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33329
cf6bbbd7
UD
33330 [BZ #11781]
33331 * malloc/malloc.h: Declare malloc hook variables as volatile.
33332
13f1ab36
UD
33333 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33334 in last patch.
33335
b1ebd700
UD
33336 [BZ #11799]
33337 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33338 raise in the comment.
80e2212d
UD
33339 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33341 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33342
ce67228d
UD
333432011-05-28 Ulrich Drepper <drepper@gmail.com>
33344
8887a920
UD
33345 [BZ #12811]
33346 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33347 grow the buffers more if it already has to be sufficient.
33348 (build_wcs_upper_buffer): Likewise.
33349 * posix/regexec.c (check_matching): Likewise.
33350 (clean_state_log_if_needed): Likewise.
33351 (extend_buffers): Don't enlarge buffers beyond size of the input
33352 buffer.
33353 Patches mostly by Emil Wojak <emil@wojak.eu>.
33354 * posix/bug-regex32.c: New file.
33355 * posix/Makefile (tests): Add bug-regex32.
33356
4f031072
UD
33357 * locale/findlocale.c (_nl_find_locale): Return right away if
33358 _nl_explode_name failed.
33359 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33360
d0478f0c
UD
33361 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33362
de81b246
UD
33363 * debug/xtrace.sh: Unify messages.
33364 * malloc/memusage.sh: Likewise.
33365
c738465a
UD
33366 [BZ #12813]
33367 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33368 time symbol from vDSO. Substitute with vsyscall if not available.
33369 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33370 __vdso_time.
33371
f1f929d7
UD
33372 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33373 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33374 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33375 Add sendmmsg and internal_sendmmsg.
33376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33377 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33378 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33379
ce67228d
UD
33380 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33381 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33383
e57420c6
UD
333842011-05-27 Ulrich Drepper <drepper@gmail.com>
33385
a8509ca5
UD
33386 [BZ #12813]
33387 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33388 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33389 available.
33390 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33391 __vdso_getcpu.
33392
e57420c6
UD
33393 [BZ #12814]
33394 * iconvdata/Makefile (tests): Add bug-iconv9.
33395 * iconvdata/bug-iconv9.c: New file.
33396
4d07db15
AS
333972011-05-27 Andreas Schwab <schwab@redhat.com>
33398
33399 [BZ #12814]
33400 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33401
ea486f69
JJ
334022011-05-25 Jakub Jelinek <jakub@redhat.com>
33403
33404 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33405 (struct user_regs_struct): Change intcs field back to cs.
33406
6f038433
UD
334072011-05-25 Ulrich Drepper <drepper@gmail.com>
33408
33409 * po/ja.po: Update from translation team.
33410
67f86a25
UD
334112011-05-23 Ulrich Drepper <drepper@gmail.com>
33412
33413 [BZ #12795]
33414 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33415 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33416
def7fbd6
AS
334172011-05-20 Andreas Schwab <schwab@redhat.com>
33418
33419 * stdlib/longlong.h: Update from GCC.
33420
f50ef8f1
AS
334212011-05-23 Andreas Schwab <schwab@redhat.com>
33422
33423 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33424 parameter name.
33425 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33426 Add parameter name.
33427 (__sysconf): Pass it down.
33428
de7ce8f1
UD
334292011-05-22 Ulrich Drepper <drepper@gmail.com>
33430
f2962a71
UD
33431 [BZ #12671]
33432 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33433 some situations.
33434 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33435 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33436 add in in __libc_use_alloca calls. Adjust callers.
33437 (glob): Use malloc in some situations.
33438
de7ce8f1
UD
33439 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33440 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33441 pltexit.
33442
aec84f53
UD
334432011-05-21 Ulrich Drepper <drepper@gmail.com>
33444
05bb4a68
UD
33445 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33446 and CLOCK_BOOTTIME_ALARM.
33447
7ea72f99
UD
33448 [BZ #12782]
33449 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33450 is returned.
33451
7e4afad5
UD
33452 * string/_strerror.c (__strerror_r): Print negative errors as signed
33453 numbers.
33454
8e211fec
UD
33455 [BZ #12777]
33456 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33457 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33458 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33459
f7d82dc9
UD
33460 * configure.in: Fix typo in redirection and correct removal of test
33461 files in two cases.
33462
cc9e536d
UD
33463 [BZ #12788]
33464 * locale/setlocale.c (new_composite_name): Fix test to check for
33465 identical name of all categories.
33466
aec84f53
UD
33467 [BZ #12792]
33468 * libio/filedoalloc.c (local_isatty): New function.
33469 (_IO_file_doallocate): Use local_isatty.
33470 * stdio-common/perror.c (perror): In case a new stream is used
33471 forward the stream error.
33472 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33473 error flag.
33474
78e64fdc
RT
334752011-05-20 Ulrich Drepper <drepper@gmail.com>
33476
34a9094f
UD
33477 [BZ #11869]
33478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33479 alloca.
33480 * include/alloca.h (extend_alloca_account): Define.
33481
78e64fdc
RT
33482 [BZ #11857]
33483 * posix/regex.h: Fix comments with documentation of user-accessible
33484 fields after compilation and describe correct free'ing of pattern
33485 after re_compile_pattern.
33486 Patch by Reuben Thomas <rrt@sc3d.org>.
33487
457bddfc
RA
334882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33489
33490 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33491 and -mno-altivec to prevent the compiler from using Altivec and/or
33492 VSX instructions when the corresponding registers are not available.
33493
a4527b51
AS
334942011-05-19 Andreas Schwab <schwab@redhat.com>
33495
33496 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33497
ed690b2f
UD
334982011-05-19 Ulrich Drepper <drepper@gmail.com>
33499
33500 * libio/freopen.c (freopen): Use __dup2, not dup2.
33501 * libio/freopen64.c (freopen64): Likewise.
33502
8db73634
L
335032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33504
33505 [BZ #12775]
33506 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33507 * math/Makefile (tests): Add test-powl.
33508 (CFLAGS-test-powl.c): Define.
33509 * math/test-powl.c: New file.
33510
0a197a9d
L
335112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33512
33513 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33514
ee30c380
UD
335152011-05-17 Ulrich Drepper <drepper@gmail.com>
33516
33517 [BZ #11837]
33518 * iconvdata/gb18030.c: Update to GB18020-2005.
33519
6ce75379
UD
335202011-05-16 Ulrich Drepper <drepper@gmail.com>
33521
a4b89fd8
AR
33522 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33523 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33524 Patch by Aharon Robbins <arnold@skeeve.com>.
33525
ea389b12
UD
33526 [BZ #11892]
33527 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33528 on the stack.
33529
68a3f91f
UD
33530 [BZ #11895]
33531 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33532 through underflows.
33533
15cc7dd1
UD
33534 [BZ #12766]
33535 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33536 point to strings before performing equality test for error_one_per_line
33537 mode.
33538
f3799213
UD
33539 [BZ #11697]
33540 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33541
d79a9c94
UD
33542 [BZ #11820]
33543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33544 (struct user_fpregs_struct): Avoid __uint*_t types.
33545
56e5eb46
UD
33546 [BZ #6420]
33547 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33548 symbol info. Use it instead of calling _dl_addr locally.
33549 (lock_and_info): New function.
33550 (tr_freehook): Call lock_and_info and pass symbol info as additional
33551 parameter to tr_where.
33552 (tr_mallochook): Likewise.
33553 (tr_reallochook): Likewise.
33554 (tr_memalignhook): Likewise.
33555
6ce75379
UD
33556 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33557 used and couldn't be at all thread-safe.
33558
f8a3b5bf
UD
335592011-05-15 Ulrich Drepper <drepper@gmail.com>
33560
94b7cc37
UD
33561 * libio/freopen.c (freopen): Don't close old file descriptor
33562 before the new one is opened. Instead dup the new file descriptor
33563 to the old one after the new stream is created.
33564 * libio/freopen64.c (freopen64): Likewise.
33565 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33566 * libio/fileops.c (_IO_new_file_close_it): Handle new
33567 _IO_FLAGS2_NOCLOSE flag.
33568 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33569 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33570 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33571 _IO_FLAGS2_NOCLOSE flag.
33572 * include/unistd.h: Add hidden_proto for dup3.
33573 Define __have_dup3.
33574 * io/dup3.c: Define hidden symbol.
33575 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33576
bd25564e
UD
33577 [BZ #7101]
33578 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33579 when an incomplete long option is used.
33580 * posix/tst-getopt_long1.c: New file.
33581 * posix/Makefile (tests): Add tst-getopt_long1.
33582
c84cfef4
UD
33583 [BZ #10138]
33584 * scripts/config.guess: Update from autoconf-2.68.
33585 * scripts/config.sub: Likewise.
33586
3b85df27
UD
33587 [BZ #10157]
33588 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33589 tests into ...
33590 (has_cpuclock): ...this. New function.
33591 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33592 macro here based on has_cpuclock code.
33593
15a856b1
UD
33594 [BZ #10149]
33595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33596 First byte (not low byte) is now always NUL.
33597 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33598
05f399e6
UD
33599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33600 Use non-cancelable interfaces.
33601
10a52685 33602 [BZ #9809]
94ecc67d
UD
33603 * locale/iso-639.def: Add entry for Sorani.
33604
f8a3b5bf
UD
33605 [BZ #11901]
33606 * include/stdlib.h: Move include protection to the right place.
33607 Define abort_msg_s. Declare __abort_msg with it.
33608 * stdlib/abort.c (__abort_msg): Adjust type.
33609 * assert/assert.c (__assert_fail_base): New function. Majority
33610 of code from __assert_fail. Allocate memory for __abort_msg with
33611 mmap.
33612 (__assert_fail): Now call __assert_fail_base.
33613 * assert/assert-perr.c: Remove bulk of implementation. Use
33614 __assert_fail_base.
33615 * include/assert.hL Declare __assert_fail_base.
33616 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33617 mmap.
33618 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33619
1af4e298
UD
336202011-05-14 Ulrich Drepper <drepper@gmail.com>
33621
f8a3b5bf 33622 [BZ #11952]
d26dfc60
MG
33623 [BZ #12453]
33624 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33625 until all modules are registered in the DTV.
33626 * elf/Makefile: Add rules to build and run tst-tls19.
33627 * elf/tst-tls19.c: New file.
33628 * elf/tst-tls19mod1.c: New file.
33629 * elf/tst-tls19mod2.c: New file.
33630 * elf/tst-tls19mod3.c: New file.
33631 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33632
2fc54d6f
UD
33633 [BZ #12083]
33634 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33635 correctly.
33636
98d76b46
UD
33637 [BZ #12601]
33638 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33639 two-byte sequence errors.
33640 * iconvdata/Makefile (tests): Add bug-iconv8.
33641 * iconvdata/bug-iconv8.c: New file.
33642
da3c19ef
UD
33643 [BZ #12626]
33644 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33645 buf2 definition.
33646
ca408c15
UD
33647 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33648
d6f67f7d
UD
33649 [BZ #12432]
33650 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33651 (dummy_getcfa): New function.
33652 (init): Get _Unwind_GetCFA address, use dummy if not found.
33653 (backtrace_helper): In recursion check, also check whether CFA changes.
33654 (__backtrace): Completely initialize arg.
33655
1af4e298 33656 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33657 storing incomplete byte sequence in state object. Avoid testing for
33658 guaranteed too small input if we know there is enough data available.
1af4e298 33659
da62f81b
AS
336602011-05-11 Andreas Schwab <schwab@redhat.com>
33661
33662 * Makeconfig (+link-pie): Indent.
33663 * Rules (binaries-pie): Define if $(have-fpie) and
33664 $(build-shared).
33665 (binaries-shared): Also filter out $(binaries-pie).
33666 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33667 * nscd/Makefile (others-pie): Add nscd.
33668 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33669 ($(objpfx)nscd): Remove command override.
33670 * login/Makefile (others-pie): Add pt_chown.
33671 ($(objpfx)pt_chown): Remove command override.
33672 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33673 remove command overrides.
33674
fcabc0f8
UD
336752011-05-13 Ulrich Drepper <drepper@gmail.com>
33676
20030ae6
UD
33677 * libio/tst_putwc.c: Fix error messages.
33678
fcabc0f8
UD
33679 [BZ #12724]
33680 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33681 currently writing and seek to current position when not.
33682 * libio/Makefile (tests): Add bug-fclose1.
33683 * libio/bug-fclose1.c: New file.
33684
320a5dc0
PB
336852011-05-12 Ulrich Drepper <drepper@gmail.com>
33686
33687 [BZ #12511]
33688 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33689 don't set DF_1_NODELETE here.
33690 (do_lookup_x): When entering new entry test for copy relocation
33691 and if necessary set DF_1_NODELETE flag.
33692 * elf/tst-unique4.cc: New file.
33693 * elf/tst-unique4.h: New file.
33694 * elf/tst-unique4lib.cc: New file.
33695 * elf/Makefile: Add rules to build and run tst-unique4.
33696 Patch by Piotr Bury <pbury@goahead.com>.
33697
22836f52
UD
336982011-05-11 Ulrich Drepper <drepper@gmail.com>
33699
f574184a
UD
33700 [BZ #12052]
33701 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33702
e1fb097f
UD
33703 [BZ #12625]
33704 * misc/mntent_r.c (addmntent): Flush the stream after the output
33705
22836f52
UD
33706 [BZ #12393]
33707 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33708 (is_trusted_path_normalize): Skip initial colon. Append slash
33709 to empty buffer. Duplicate is_trusted_path code but allow
33710 constructed patch to be prefix.
33711 (is_dst): Allow $ORIGIN followed by /.
33712 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33713 Correct testing of result of is_trusted_path_normalize
33714 (decompose_rpath): Fix warning.
33715
7b3b0b2a
UD
337162011-05-10 Ulrich Drepper <drepper@gmail.com>
33717
33718 [BZ #11257]
33719 * grp/initgroups.c (internal_getgrouplist): When we found the service
33720 list through the initgroups entry in nsswitch.conf do not always
33721 continue on a successful lookup. Don't always use the
eac80ce2 33722 __nss_group_database value if it is set.
7b3b0b2a
UD
33723 * nss/nsswitch.conf (initgroups): Change action for successful db
33724 lookup to continue for compatibility.
33725
2a81eaa5
UD
337262011-05-09 Ulrich Drepper <drepper@gmail.com>
33727
be97a69e
UD
33728 [BZ #11532]
33729 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33730 and CP774 modules.
33731 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33732 and CP774 modules.
33733 * iconvdata/tst-tables.sh: Likewise.
33734 * iconvdata/cp770.c: New file.
33735 * iconvdata/cp771.c: New file.
33736 * iconvdata/cp772.c: New file.
33737 * iconvdata/cp773.c: New file.
33738 * iconvdata/cp774.c: New file.
33739 * iconvdata/testdata/CP770: New file.
33740 * iconvdata/testdata/CP770..UTF8: New file.
33741 * iconvdata/testdata/CP771: New file.
33742 * iconvdata/testdata/CP771..UTF8: New file.
33743 * iconvdata/testdata/CP772: New file.
33744 * iconvdata/testdata/CP772..UTF8: New file.
33745 * iconvdata/testdata/CP773: New file.
33746 * iconvdata/testdata/CP773..UTF8: New file.
33747 * iconvdata/testdata/CP774: New file.
33748 * iconvdata/testdata/CP774..UTF8: New file.
33749
33750 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33751 END CHARMAP line.
33752 * iconvdata/gen-8bit-gap.sh: Likewise.
33753 * iconvdata/gen-8bit.sh: Likewise.
33754
c1e9e399
UD
33755 * locale/iso-639.def: Add ary entry.
33756
24c55fb3 33757 [BZ #11258]
96b4b1b0
UD
33758 * locale/C-translit.h.in: Add U20A1 transliteration.
33759
bdc2f971
KB
33760 [BZ #12178]
33761 * locale/iso-639.def: Add wae entry.
33762 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33763
2952b117
UD
33764 [BZ #12545]
33765 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33766 for n.
33767
2a81eaa5
UD
33768 [BZ #12711]
33769 * locale/C-translit.h.in: Add entry for U20B9.
33770 Patch by pravin.d.s@gmail.com.
33771
28377d1b
UD
337722011-05-08 Ulrich Drepper <drepper@gmail.com>
33773
7fb90fb8
UD
33774 [BZ #12713]
33775 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33776 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33777 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33778 in rtld. Use *stat64.
7fb90fb8 33779 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33780 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33781 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33782 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33783 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33784 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33785 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33786 __fstatat64 macros.
7fb90fb8
UD
33787 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33788 * dirent/rewinddir.c: Add libc_hidden_def.
33789 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33790 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33791
28377d1b
UD
33792 * include/dirent.h (__alloc_dir): Add flags parameter.
33793 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33794 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33795 __alloc_dir.
33796 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33797 from fdopendir if O_CLOEXEC is already set.
33798
66bdbaa4
AM
337992011-03-15 Alan Modra <amodra@gmail.com>
33800
33801 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33802 l_tls_firstbyte_offset non-zero. Save padding offset in
33803 l_tls_firstbyte_offset for later use.
33804 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33805 freeing static tls block.
33806
95721191
JN
338072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33808
33809 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33810 where #ifdef was intended. The intent is to prevent ARG_MAX from
33811 being defined by the kernel headers.
33812
f87dfb1f
UD
338132011-05-07 Ulrich Drepper <drepper@gmail.com>
33814
33815 [BZ #12734]
33816 * resolv/resolv.h: Define RES_NOTLDQUERY.
33817 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33818 no-tld-query and set RES_NOTLDQUERY.
33819 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33820 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33821 modern BIND to search name as TLD unless forbidden.
33822
47c3cd7a
UD
338232011-05-07 Petr Baudis <pasky@suse.cz>
33824 Ulrich Drepper <drepper@gmail.com>
33825
33826 [BZ #12393]
33827 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33828 (is_trusted_path): ...to here.
c1e9ea35 33829 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33830 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33831 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33832
8a35c912
PP
338332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33834
33835 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33836 __BEGIN/__END_DECLS.
33837
acd41f47
UD
338382011-05-06 Ulrich Drepper <drepper@gmail.com>
33839
33840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33841 NSS_STATUS_NOTFOUND if no record was found.
33842
597df647
AS
338432011-05-05 Andreas Schwab <schwab@redhat.com>
33844
33845 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33846 (headers-not-in-tirpc): Remove rpc/netdb.h
33847 * resolv/netdb.h: Revert last change.
33848
b9af1301
PP
338492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33850
33851 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33852 circular dependency between libgcc.a and libc.a.
33853
4e34d5f5
AS
338542011-05-05 Andreas Schwab <schwab@redhat.com>
33855
33856 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33857 * nis/Makefile: Don't install rpcsvc/*.
33858 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33859 instead of <rpc/types.h>.
33860 (MAXHOSTNAMELEN): Define.
33861
00ee369c
AS
338622011-05-03 Andreas Schwab <schwab@redhat.com>
33863
33864 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33865
0b592a30
MB
338662011-04-28 Maciej Babinski <mbabinski@google.com>
33867
33868 [BZ #12714]
33869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33870 gethostbyname4_r when IPv6 results are possible.
33871
6e04cbbe
UD
338722011-05-02 Ulrich Drepper <drepper@gmail.com>
33873
33874 [BZ #12723]
33875 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33876 _PC_PIPE_BUF handling.
33877
e4ecafe0
BH
338782011-04-30 Bruno Haible <bruno@clisp.org>
33879
33880 [BZ #12717]
33881 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33882 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33883 to 'int'.
33884 * inet/getnameinfo.c (getnameinfo): Likewise.
33885
125ee683
UD
338862011-04-29 Ulrich Drepper <drepper@gmail.com>
33887
33888 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33889 to groups setting in database lookup.
33890 * nss/nsswitch.conf: Add initgroups entry.
33891
b722481a
EB
338922011-04-22 Ulrich Drepper <drepper@gmail.com>
33893
33894 [BZ #12685]
33895 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33896 mode string.
33897 Patch by Eric Blake <eblake@redhat.com>.
33898
4df46dbd
L
338992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33900
33901 * sunrpc/Makefile (need-export-routines): Add svc_run.
33902 (routines): Remove svc_run.
33903 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33904 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33905 * sunrpc/svc_run.c (svc_run): Likewise.
33906 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33907
e84142d2
UD
339082011-04-21 Ulrich Drepper <drepper@gmail.com>
33909
33910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33911 problem in reallocation in last patch.
33912
877175d8
UD
339132011-04-20 Ulrich Drepper <drepper@gmail.com>
33914
33915 * sunrpc/Makefile: Move inclusion of Rules.
33916
ab8eed78
UD
339172011-04-19 Ulrich Drepper <drepper@gmail.com>
33918
33919 * nss/nss_files/files-initgroups.c: New file.
33920 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33921 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33922 _nss_files_initgroups_dyn.
33923
e3d8f584
RS
339242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33925
33926 * elf/elf.h (R_ARM_IRELATIVE): Define.
33927
af190f45
UD
339282011-04-19 Ulrich Drepper <drepper@gmail.com>
33929
33930 * po/ru.po: Update from translation team.
33931
53cf59ef
UD
339322011-04-17 Ulrich Drepper <drepper@gmail.com>
33933
33934 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33935 dependencies.
33936
4c559bcd
MF
339372011-02-06 Mike Frysinger <vapier@gentoo.org>
33938
33939 [BZ #12653]
33940 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33941 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33945
4420675c
AS
339462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33947
33948 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33949 differing bytes.
33950 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33953
75ea32ab
UD
339542011-04-17 Ulrich Drepper <drepper@gmail.com>
33955
33956 [BZ #12420]
33957 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33958 storing it.
33959 * stdlib/bug-getcontext.c: New file.
33960 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33961
27390476
AK
339622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33963
33964 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33965 instructions into .machine "z9-109".
33966 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33967 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33968
10442705
AK
339692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33970
33971 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33972 between environment variables and auxiliary vector.
33973
7b57bfe5
UD
339742011-04-16 Ulrich Drepper <drepper@gmail.com>
33975
33976 * Makefile: Add rules to build linkobj/libc.so.
33977 * include/libc-symbols.h: Define libc_hidden_nolink.
33978 * include/rpc/auth.h: Mark functions which are to be hidden.
33979 * include/rpc/auth_des.h: Likewise.
33980 * include/rpc/auth_unix.h: Likewise.
33981 * include/rpc/clnt.h: Likewise.
33982 * include/rpc/des_crypt.h: Likewise.
33983 * include/rpc/key_prot.h: Likewise.
33984 * include/rpc/pmap_clnt.h: Likewise.
33985 * include/rpc/pmap_prot.h: Likewise.
33986 * include/rpc/pmap_rmt.h: Likewise.
33987 * include/rpc/rpc_msg.h: Likewise.
33988 * include/rpc/svc.h: Likewise.
33989 * include/rpc/svc_auth.h: Likewise.
33990 * include/rpc/xdr.h: Likewise.
33991 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33992 * nss/Makefile: Likewise.
33993 * sunrpc/Makefile: Don't install headers. Build library with normal
33994 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33995 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33996 for the compat linking library. Remove use of INTDEF/INTUSE.
33997 * sunrpc/auth_none.c: Likewise.
33998 * sunrpc/auth_unix.c: Likewise.
33999 * sunrpc/authdes_prot.c: Likewise.
34000 * sunrpc/authuxprot.c: Likewise.
34001 * sunrpc/clnt_gen.c: Likewise.
34002 * sunrpc/clnt_perr.c: Likewise.
34003 * sunrpc/clnt_raw.c: Likewise.
34004 * sunrpc/clnt_simp.c: Likewise.
34005 * sunrpc/clnt_tcp.c: Likewise.
34006 * sunrpc/clnt_udp.c: Likewise.
34007 * sunrpc/clnt_unix.c: Likewise.
34008 * sunrpc/des_crypt.c: Likewise.
34009 * sunrpc/des_soft.c: Likewise.
34010 * sunrpc/get_myaddr.c: Likewise.
34011 * sunrpc/key_call.c: Likewise.
34012 * sunrpc/key_prot.c: Likewise.
34013 * sunrpc/netname.c: Likewise.
34014 * sunrpc/pm_getmaps.c: Likewise.
34015 * sunrpc/pm_getport.c: Likewise.
34016 * sunrpc/pmap_clnt.c: Likewise.
34017 * sunrpc/pmap_prot.c: Likewise.
34018 * sunrpc/pmap_prot2.c: Likewise.
34019 * sunrpc/pmap_rmt.c: Likewise.
34020 * sunrpc/publickey.c: Likewise.
34021 * sunrpc/rpc_cmsg.c: Likewise.
34022 * sunrpc/rpc_common.c: Likewise.
34023 * sunrpc/rpc_dtable.c: Likewise.
34024 * sunrpc/rpc_prot.c: Likewise.
34025 * sunrpc/rpc_thread.c: Likewise.
34026 * sunrpc/rtime.c: Likewise.
34027 * sunrpc/svc.c: Likewise.
34028 * sunrpc/svc_auth.c: Likewise.
34029 * sunrpc/svc_authux.c: Likewise.
34030 * sunrpc/svc_raw.c: Likewise.
34031 * sunrpc/svc_run.c: Likewise.
34032 * sunrpc/svc_simple.c: Likewise.
34033 * sunrpc/svc_tcp.c: Likewise.
34034 * sunrpc/svc_udp.c: Likewise.
34035 * sunrpc/svc_unix.c: Likewise.
34036 * sunrpc/svcauth_des.c: Likewise.
34037 * sunrpc/xcrypt.c: Likewise.
34038 * sunrpc/xdr.c: Likewise.
34039 * sunrpc/xdr_array.c: Likewise.
34040 * sunrpc/xdr_float.c: Likewise.
34041 * sunrpc/xdr_intXX_t.c: Likewise.
34042 * sunrpc/xdr_mem.c: Likewise.
34043 * sunrpc/xdr_rec.c: Likewise.
34044 * sunrpc/xdr_ref.c: Likewise.
34045 * sunrpc/xdr_sizeof.c: Likewise.
34046 * sunrpc/xdr_stdio.c: Likewise.
34047
e6c61494
UD
340482011-04-10 Ulrich Drepper <drepper@gmail.com>
34049
34050 [BZ #12650]
34051 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34052 * sysdeps/ia64/dl-tls.h: Likewise.
34053 * sysdeps/powerpc/dl-tls.h: Likewise.
34054 * sysdeps/s390/dl-tls.h: Likewise.
34055 * sysdeps/sh/dl-tls.h: Likewise.
34056 * sysdeps/sparc/dl-tls.h: Likewise.
34057 * sysdeps/x86_64/dl-tls.h: Likewise.
34058 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34059
34fe483e
AS
340602011-03-14 Andreas Schwab <schwab@redhat.com>
34061
34062 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34063 rpath element also skip the following colon.
34064 (expand_dynamic_string_token): Add is_path parameter and pass
34065 down to DL_DST_REQUIRED and _dl_dst_substitute.
34066 (decompose_rpath): Call expand_dynamic_string_token with
34067 non-zero is_path. Ignore empty rpaths.
34068 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34069 with zero is_path.
34070
f12a32e6
AS
340712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34072
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34074 Make cancelable.
34075
38a7d692
UD
340762011-04-09 Ulrich Drepper <drepper@gmail.com>
34077
34078 [BZ #12655]
34079 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34080 Patch by Filipe David Manana <fdmanana@apache.org>.
34081
e451d22b
AS
340822011-04-07 Andreas Schwab <schwab@redhat.com>
34083
34084 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34085 Maintain aligned stack.
34086 (CHECK_RSP): Remove unused macro.
34087
dedc7c7b
UD
340882011-04-03 Ulrich Drepper <drepper@gmail.com>
34089
34090 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34092
94521213
UD
340932011-04-02 Ulrich Drepper <drepper@gmail.com>
34094
34095 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34096
8cb700c0 34097 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34098
0354e355
L
340992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 [BZ #12518]
34102 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34103 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34104 * sysdeps/x86_64/memmove.c: New file.
34105 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34106 (memcpy): Renamed to ...
34107 (__new_memcpy): This.
34108 (memcpy): Provide GLIBC_2_14 memcpy.
34109 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34110 (memcpy): Provide GLIBC_2_2_5 memcpy.
34111
8593482f
UD
341122011-04-01 Ulrich Drepper <drepper@gmail.com>
34113
34114 [BZ #12631]
34115 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34116
81a5726b
AS
341172011-03-30 Andreas Schwab <schwab@redhat.com>
34118
34119 * misc/syncfs.c: New file.
34120 * misc/Makefile (routines): Add syncfs.
34121 * posix/unistd.h: Declare syncfs.
34122 * sysdeps/unix/syscalls.list: Add syncfs.
34123
00e5419f
AS
341242011-04-01 Andreas Schwab <schwab@redhat.com>
34125
34126 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34127 open_by_handle_at.
34128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34129 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34133 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34135
748876bf
UD
341362011-04-01 Ulrich Drepper <drepper@gmail.com>
34137
658e451d
UD
34138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34145
748876bf
UD
34146 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34147 sync_file_range.c with -fexceptions.
34148 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34149 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34150 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34151 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34152 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34153 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34155 sync_file_range as cancellation point
34156 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34157 now a wrapper around __call_sync_file_range with cancellation handling.
34158 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34160 function name to __call_sync_file_range.
34161 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34162 Add call_sync_file_range.
748876bf 34163
6e63d5e1
AS
341642011-04-01 Andreas Schwab <schwab@redhat.com>
34165
34166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34167 bits/timex.h.
6e63d5e1 34168
46998f74
UD
341692011-04-01 Ulrich Drepper <drepper@gmail.com>
34170
4c1423ed
UD
34171 * iconv/iconv.h: Fix typo in comment.
34172 * io/fcntl.h: Likewise.
34173 * libio/stdio.h: Likewise.
34174 * posix/spawn.h: Likewise.
34175 * posix/unistd.h: Likewise.
34176 * stdlib/stdlib.h: Likewise.
34177 * time/time.h: Likewise.
34178 * wcsmbs/wchar.h: Likewise.
34179
158648c0
UD
34180 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34181 open_by_handle): Add.
34182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34183 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34184 Augment a few comments.
34185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34190 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34191 open_by_handle.
34192
46998f74
UD
34193 * io/fcntl.h (AT_EMPTY_PATH): Define.
34194
83fe108b
UD
341952011-03-30 Ulrich Drepper <drepper@gmail.com>
34196
34197 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34198 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34199 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34200 to...
34201 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34202 * Versions.def: Add GLIBC_2.14.
34203 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34204 Export.
83fe108b 34205
bb242059
UD
342062011-03-22 Ulrich Drepper <drepper@gmail.com>
34207
34208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34209 round counter.
34210 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34211
c97a1282
L
342122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34213
34214 [BZ #12597]
34215 * string/test-strncmp.c (do_page_test): New function.
34216 (check2): Likewise.
34217 (test_main): Call check2.
34218 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34219
2a115601
UD
342202011-03-20 Ulrich Drepper <drepper@gmail.com>
34221
34222 [BZ #12587]
34223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34224 Handle cache information in CPU leaf 4.
34225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34226
8126d904
UD
342272011-03-18 Ulrich Drepper <drepper@gmail.com>
34228
042c49c6 34229 [BZ #12583]
8126d904
UD
34230 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34231 character representation.
34232 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34233
ccfe366e
RA
342342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34235
34236 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34237 END(__isnan) to END(__isnanf) to match function entry point/label
34238 EALIGN(__isnanf,...).
34239
c6e13027
JJ
342402011-03-10 Jakub Jelinek <jakub@redhat.com>
34241
34242 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34243
33f85a3f
UD
342442011-03-10 Ulrich Drepper <drepper@gmail.com>
34245
028478fa
UD
34246 [BZ #12510]
34247 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34248 copy from the symbol referenced in the relocation to initialize the
34249 used variable.
34250 Patch by Piotr Bury <pbury@goahead.com>.
34251 * elf/Makefile: Add rules to build and tst-unique3.
34252 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34253 * elf/tst-unique3.cc: New file.
34254 * elf/tst-unique3.h: New file.
34255 * elf/tst-unique3lib.cc: New file.
34256 * elf/tst-unique3lib2.cc: New file.
34257
33f85a3f
UD
34258 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34259
03592fc7
MF
342602011-03-10 Mike Frysinger <vapier@gentoo.org>
34261
34262 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34263 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34264 to _start.
03592fc7 34265
6a5ee102
UD
342662011-03-06 Ulrich Drepper <drepper@gmail.com>
34267
34268 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34269 to-be-loaded object along a path to loader is ld.so.
34270
7e4ba49c
HJ
342712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34272 Ulrich Drepper <drepper@gmail.com>
34273
34274 * sysdeps/x86_64/memset.S: After aligning destination, code
34275 branches to different locations depending on the value of
34276 misalignment, when multiarch is enabled. Fix this.
34277
342782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34279
34280 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34281 Set _x86_64_preferred_memory_instruction for AMD processsors.
34282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34283 Set bit_Prefer_SSE_for_memop for AMD processors.
34284
13a804de
UD
342852011-03-04 Ulrich Drepper <drepper@gmail.com>
34286
34287 * libio/fmemopen.c (fmemopen): Optimize a bit.
34288
9d25c392
AS
342892011-03-03 Andreas Schwab <schwab@redhat.com>
34290
34291 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34292
a5543c6a
RM
342932011-03-03 Roland McGrath <roland@redhat.com>
34294
34295 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34296
012d35f7
DM
342972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34298
7e4ba49c 34299 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34300 __bzero_ultra1 instead of __memset_ultra1.
34301
4bff6e01
AS
343022011-02-23 Andreas Schwab <schwab@redhat.com>
34303 Ulrich Drepper <drepper@gmail.com>
34304
34305 [BZ #12509]
34306 * include/link.h (struct link_map): Add l_orig_initfini.
34307 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34308 returning unsuccessfully.
34309 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34310 close of a file loaded at startup, restore the original l_initfini
34311 list.
34312 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34313 list, store the pointer.
34314 * elf/Makefile ($(objpfx)noload-mem): New rule.
34315 (noload-ENV): Define.
34316 (tests): Add $(objpfx)noload-mem.
34317 * elf/noload.c: Include <memcheck.h>.
34318 (main): Call mtrace. Close all opened handles.
34319
f2092faf
AS
343202011-02-17 Andreas Schwab <schwab@redhat.com>
34321
34322 [BZ #12454]
34323 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34324 dependencies are missing.
34325
6c8a2e88
ST
343262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34327
f2092faf 34328 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34329 Hurd needs munmap.
34330 * sysdeps/mach/hurd/ifreq.h: New file.
34331
84a42118
PB
343322011-01-27 Petr Baudis <pasky@suse.cz>
34333 Ulrich Drepper <drepper@gmail.com>
34334
071f805e 34335 [BZ 12445]#
84a42118
PB
34336 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34337 to extend_alloca().
34338 * stdio-common/bug23.c: New file.
34339 * stdio-common/Makefile (tests): Add bug23.
34340
e23fe25b
AS
343412010-09-28 Andreas Schwab <schwab@redhat.com>
34342 Ulrich Drepper <drepper@gmail.com>
34343
34344 [BZ #12489]
34345 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34346 before performing relro protection. At old place add assertion
34347 to make sure nothing changed.
34348
d3f02e10
NS
343492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34350 Glauber de Oliveira Costa <glommer@gmail.com>
34351
34352 * elf/elf.h: Add new ARM TLS relocs.
34353
d55fd7a5
RA
343542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34355
34356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34357 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34358 cast from r3.
34359 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34360 'tests' variable.
34361 * sysdeps/wordsize-64/tst-writev.c: New file.
34362
2206397e
RA
343632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34364
34365 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34366 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34367 insns in _dl_start to prevent a TOC reference before relocs are
34368 resolved.
34369
e9433893
UD
343702011-02-15 Ulrich Drepper <drepper@gmail.com>
34371
34372 [BZ #12469]
34373 * Makeconfig: Remove RANLIB definition.
34374 * Makerules: Don't use RANLIB.
34375 * aclocal.m4: Remove ranlib test.
34376 * configure.in: No need to check for ranlib.
34377 * elf/rtld-Rules: Don't use RANLIB.
34378
f75286c6
ST
343792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34380
8e31c82d
ST
34381 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34382 protection macro.
34383 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34384 inclusion protection macro.
34385
f75286c6
ST
34386 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34387 SIGRTMIN and SIGRTMAX and print information in that case only when
34388 SIGRTMIN is defined.
34389
c1d0e639
JJ
343902011-02-11 Jakub Jelinek <jakub@redhat.com>
34391
34392 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34393 arginfo fn returning -1.
34394
34395 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34396 and thousands string is zero terminated.
34397
edf9294e
AS
343982011-02-03 Andreas Schwab <schwab@redhat.com>
34399
34400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34401 sysdeps/unix/sysv/linux/bits/socket.h.
34402
2b7e92df
ST
344032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34404
edf9294e
AS
34405 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34406 (__CPU_COUNT): Remove old macros.
34407 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34408 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34409 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34410 (__sched_cpualloc, __sched_cpufree): Add declarations.
34411
a4c7ea7b
UD
344122011-02-05 Ulrich Drepper <drepper@gmail.com>
34413
34414 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34415 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34416 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34417 (readdhstai): Return value of addhstaiX call.
34418 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34419 (addgrbyX): Return value returned by cache_addgr.
34420 (readdgrbyname): Return value returned by addgrbyX.
34421 (readdgrbygid): Likewise.
34422 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34423 (addpwbyX): Return value returned by cache_addpw.
34424 (readdpwbyname): Return value returned by addhstbyX.
34425 (readdpwbyuid): Likewise.
34426 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34427 (addservbyX): Return value returned by cache_addserv.
34428 (readdservbyname): Return value returned by addservbyX:
34429 (readdservbyport): Likewise.
34430 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34431 (addhstbyX): Return value returned by cache_addhst.
34432 (readdhstbyname): Return value returned by addhstbyX.
34433 (readdhstbyaddr): Likewise.
34434 (readdhstbynamev6): Likewise.
34435 (readdhstbyaddrv6): Likewise.
34436 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34437 (readdinitgroups): Return value returned by addinitgroupsX.
34438 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34439 (prune_cache): Keep track of timeout value of re-added entries.
34440 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34441 * nscd/nscd.h: Adjust prototypes of readd* functions.
34442
a0bf67cc
RM
344432011-02-04 Roland McGrath <roland@redhat.com>
34444
34445 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34446 (nis_stats): Likewise.
34447 * nis/nis_modify.c (nis_modify): Likewise.
34448 * nis/nis_remove.c (nis_remove): Likewise.
34449 * nis/nis_add.c (nis_add): Likewise.
34450
34451 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34452
34453 * posix/fnmatch_loop.c: Add some consts.
34454
34455 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34456
435b95eb
L
344572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34458
34459 [BZ #12460]
34460 * config.make.in (config-cflags-novzeroupper): Define.
34461 * configure.in: Substitute libc_cv_cc_novzeroupper.
34462 * elf/Makefile (AVX-CFLAGS): Define.
34463 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34464 (CFLAGS-tst-auditmod4a.c): Likewise.
34465 (CFLAGS-tst-auditmod4b.c): Likewise.
34466 (CFLAGS-tst-auditmod6b.c): Likewise.
34467 (CFLAGS-tst-auditmod6c.c): Likewise.
34468 (CFLAGS-tst-auditmod7b.c): Likewise.
34469 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34470
8517b15e
UD
344712011-02-02 Ulrich Drepper <drepper@gmail.com>
34472
34473 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34474 function to the callback.
34475 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34476
10a656fe
AS
344772011-02-02 Andreas Schwab <schwab@redhat.com>
34478
34479 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34480 of errno.
34481
968dad0a
UD
344822011-01-19 Ulrich Drepper <drepper@gmail.com>
34483
9f94d2ea 34484 [BZ #11724]
968dad0a
UD
34485 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34486 of constructors.
34487 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34488 of destructors.
34489 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34490
34491 [BZ #11724]
34492 * elf/Makefile: Add rules to build and run new test.
34493 * elf/tst-initorder.c: New file.
34494 * elf/tst-initorder.exp: New file.
34495 * elf/tst-initordera1.c: New file.
34496 * elf/tst-initordera2.c: New file.
34497 * elf/tst-initordera3.c: New file.
34498 * elf/tst-initordera4.c: New file.
34499 * elf/tst-initorderb1.c: New file.
34500 * elf/tst-initorderb2.c: New file.
34501 * elf/tst-order-a1.c: New file.
34502 * elf/tst-order-a2.c: New file.
34503 * elf/tst-order-a3.c: New file.
34504 * elf/tst-order-a4.c: New file.
34505 * elf/tst-order-b1.c: New file.
34506 * elf/tst-order-b2.c: New file.
34507 * elf/tst-order-main.c: New file.
34508 New test case by George Gensure <werkt0@gmail.com>.
34509
86e92359
UD
345102010-10-01 Andreas Schwab <schwab@redhat.com>
34511
34512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34513 decoding ACE if AI_CANONIDN.
34514
5d5732b0
UD
345152011-01-18 Ulrich Drepper <drepper@gmail.com>
34516
34517 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34518
a77e8cbc
UD
345192011-01-17 Ulrich Drepper <drepper@gmail.com>
34520
6392473f
UD
34521 * version.h (RELEASE): Bump for 2.13 release.
34522 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34523
620a0529
UD
34524 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34525
18ba70a5
UD
34526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34527 MADV_NOHUGEPAGE.
32465c3e
UD
34528 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34530 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34531 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34534
c0dafcf1
UD
34535 * posix/getconf.c: Update copyright year.
34536 * catgets/gencat.c: Likewise.
34537 * csu/version.c: Likewise.
34538 * debug/catchsegv.sh: Likewise.
34539 * debug/xtrace.sh: Likewise.
34540 * elf/ldconfig.c: Likewise.
34541 * elf/ldd.bash.in: Likewise.
34542 * elf/sprof.c (print_version): Likewise.
34543 * iconv/iconv_prog.c: Likewise.
34544 * iconv/iconvconfig.c: Likewise.
34545 * locale/programs/locale.c: Likewise.
34546 * locale/programs/localedef.c: Likewise.
34547 * malloc/memusage.sh: Likewise.
34548 * malloc/mtrace.pl: Likewise.
34549 * nscd/nscd.c (print_version): Likewise.
34550 * nss/getent.c: Likewise.
34551
a77e8cbc
UD
34552 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34553 PF_CAIF, and PF_ALG.
34554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34555
77e8bddf
AS
345562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34557
1f20b93a
AS
34558 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34559 (modules-names): Use them.
34560 (ifunc-test-modules, ifunc-pie-tests): Define.
34561 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34562 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34563 (test-extras): Likewise.
34564 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34565 $(compile-command.c).
34566 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34567 (all-built-dso): Define.
34568 (check-textrel.out, check-execstack.out): Depend on it.
34569
77e8bddf
AS
34570 * configure.in: Don't override --enable-multi-arch.
34571
bc425b33
UD
345722011-01-15 Ulrich Drepper <drepper@gmail.com>
34573
34574 [BZ #6812]
34575 * nscd/hstcache.c (tryagain): Define.
34576 (cache_addhst): Return tryagain not notfound for temporary errors.
34577 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34578 failed.
34579
794c3ad3
UD
345802011-01-14 Ulrich Drepper <drepper@gmail.com>
34581
70181fdd
UD
34582 [BZ #10563]
34583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34584 to make the syscall.
34585 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34586
794c3ad3
UD
34587 [BZ #12378]
34588 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34589 and fall back to matching as normal character if the string ends before
34590 the matching ']' is found. This is what POSIX requires.
34591 * posix/testfnm.c: Adjust test result.
34592 * posix/globtest.sh: Adjust test result. Add new test.
34593 * posix/tst-fnmatch.input: Likewise.
34594 * posix/tst-fnmatch2.c: Add new test.
34595
68dc9497
AS
345962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34597
34598 * elf/Makefile (check-execstack): Revert last change. Depend on
34599 check-execstack.h.
34600 (check-execstack.h): New target.
34601 (generated): Add check-execstack.h.
34602 * elf/check-execstack.c: Include "check-execstack.h".
34603 (main): Revert last change.
34604 (handle_file): Return zero if GNU_STACK is absent and
34605 DEFAULT_STACK_PERMS doesn't include PF_X.
34606
451f001b
UD
346072011-01-13 Ulrich Drepper <drepper@gmail.com>
34608
cfa28e56
UD
34609 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34610 in child fails because the descriptor is already closed.
8cf8ce17
UD
34611 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34612 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34613 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34614
1086d70d
UD
34615 [BZ #12397]
34616 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34617 syscall.
34618
451f001b
UD
34619 [BZ #10484]
34620 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34621 temporary buffer used to handle multi lookups locally.
a85b5cb4 34622 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34623
08769175
UD
346242011-01-12 Ulrich Drepper <drepper@gmail.com>
34625
34626 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34627 loader is ld.so.
34628
5e49c52e
UD
346292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34630
34631 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34632 alignment for SSE2.
34633
60522a5f
UD
346342011-01-12 Ulrich Drepper <drepper@gmail.com>
34635
34636 [BZ #12394]
34637 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34638 characters. When rounding increased number of integer digits recompute
34639 number of groups.
34640 * stdio-common/tst-grouping.c: New file.
34641 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34642
f257bbd7
UD
346432011-01-09 Ulrich Drepper <drepper@gmail.com>
34644
34645 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34646 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34647
34648 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34649 void.
34650 * bits/select.h: Likewise.
34651
fa9c15cb
UD
346522011-01-08 Ulrich Drepper <drepper@gmail.com>
34653
34654 * po/ja.po: Update from translation team.
34655
16c2895f
DM
346562011-01-04 David S. Miller <davem@sunset.davemloft.net>
34657
34658 [BZ #11155]
34659 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34660 implementation just like for lxstat, fxstatat, et al.
34661
2543fef2
JM
346622010-12-27 Jim Meyering <meyering@redhat.com>
34663
34664 [BZ #12348]
34665 * posix/regexec.c (build_trtable): Return failure indication upon
34666 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34667
98727dbe
UD
346682010-12-25 Ulrich Drepper <drepper@gmail.com>
34669
5bd6dc5c
UD
34670 [BZ #12201]
34671 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34672 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34673 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34674 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34675
97983464
UD
34676 [BZ #12207]
34677 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34678
98727dbe
UD
34679 [BZ #12204]
34680 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34681 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34682
4a531bb0
L
346832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34686 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34687 script has SORT_BY_INIT_PRIORITY.
34688 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34689 NO_CTORS_DTORS_SECTIONS is defined.
34690 * elf/soinit.c: Likewise.
34691 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34692 NO_CTORS_DTORS_SECTIONS is defined.
34693 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34694 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34695 * sysdeps/sh/init-first.c: Likewise.
34696 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34697
07eb4b71
UD
346982010-12-24 Ulrich Drepper <drepper@gmail.com>
34699
34700 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34701 always use the slow path.
34702
30950a5f
RA
347032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34704
34705 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34706 similar rule which adds the sysdep directories to the header search in
34707 order to pick up the correct platform stackinfo.h.
34708 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34709 perform test if it is, otherwise return successfully without testing.
34710 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34711 DEFAULT_STACK_PERMS define in stackinfo.h.
34712 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34713 defined in stackinfo.h.
34714 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34715 DEFAULT_STACK_PERMS defined in stackinfo.h.
34716 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34717 * sysdeps/ia64/stackinfo.h: Likewise.
34718 * sysdeps/s390/stackinfo.h: Likewise.
34719 * sysdeps/sh/stackinfo.h: Likewise.
34720 * sysdeps/sparc/stackinfo.h: Likewise.
34721 * sysdeps/x86_64/stackinfo.h: Likewise.
34722 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34723 PF_X for powerpc64. Retain PF_X for powerpc32.
34724
db753e2c
UD
347252010-12-19 Ulrich Drepper <drepper@gmail.com>
34726
14b697f7
UD
34727 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34728 accurately.
db753e2c
UD
34729 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34730 GETDENTS_64BIT_ALIGNED.
34731
28300719
UD
347322010-12-14 Ulrich Drepper <dreper@gmail.com>
34733
14b697f7 34734 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34735
4f197237
AS
347362010-12-10 Andreas Schwab <schwab@redhat.com>
34737
dbb0472f
AS
34738 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34739 _GNU_SOURCE.
34740
4f197237
AS
34741 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34742 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34743 Remove __restrict.
34744 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34745 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34746
fb88ac72
UD
347472010-12-09 Ulrich Drepper <drepper@gmail.com>
34748
34749 [BZ #11655]
34750 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34751 are initialized.
34752
42acbb92
JJ
347532010-12-09 Jakub Jelinek <jakub@redhat.com>
34754
34755 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34756
c038d98d
UD
347572010-12-03 Ulrich Drepper <drepper@gmail.com>
34758
34759 * po/it.po: Update from translation team.
34760
3a4a2499
L
347612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34762
34763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34764 unused codes.
34765
1e24cf6e
UD
347662010-11-30 Ulrich Drepper <drepper@gmail.com>
34767
34768 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34769
a7690819
AS
347702010-11-24 Andreas Schwab <schwab@redhat.com>
34771
34772 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34773 specially.
34774 (gaih_getanswer_slice): Likewise.
34775
3bf8d1b1
JJ
347762010-10-20 Jakub Jelinek <jakub@redhat.com>
34777
34778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34779
6db52fbb
PB
347802010-05-31 Petr Baudis <pasky@suse.cz>
34781
34782 [BZ #11149]
34783 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34784 silently even in the chroot mode.
34785
eaca7569
UD
347862010-11-22 Ulrich Drepper <drepper@gmail.com>
34787
34788 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34789 last patch a bit. Pretty printing
34790
3056dcdb
UD
347912010-05-31 Petr Baudis <pasky@suse.cz>
34792
34793 [BZ #10085]
34794 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34795 initialization of skip_initgroups_dyn.
34796
cf7c9078
UD
347972010-11-19 Ulrich Drepper <drepper@gmail.com>
34798
34799 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34801
a1fb5e3e
UD
348022010-11-16 Ulrich Drepper <drepper@gmail.com>
34803
34804 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34805
3540d66b
AS
348062010-11-11 Andreas Schwab <schwab@redhat.com>
34807
34808 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34809 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34810 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34811 ($(objpfx)tst-fnmatch-mem): New rule.
34812 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34813 * posix/tst-fnmatch.c (main): Call mtrace.
34814
13b69574
L
348152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34816
34817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34818 Support Intel processor model 6 and model 0x2c.
34819
da93d214
LM
348202010-11-10 Luis Machado <luisgpm@br.ibm.com>
34821
34822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34823 signed comparison.
34824
8ca52c6e
L
348252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34826
34827 [BZ #12205]
34828 * string/test-strncasecmp.c (check_result): New function.
34829 (do_one_test): Use it.
34830 (check1): New function.
34831 (test_main): Use it.
34832 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34833 Support strcasecmp and strncasecmp.
34834
69da074d
UD
348352010-11-08 Ulrich Drepper <drepper@gmail.com>
34836
34837 [BZ #12194]
34838 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34840
ff02d528
L
348412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34844 IFUNC support.
34845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34846 memset-x86-64.
34847 * sysdeps/x86_64/multiarch/bzero.S: New file.
34848 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34849 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34850 * sysdeps/x86_64/multiarch/memset.S: New file.
34851 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34853 Set bit_Prefer_SSE_for_memop for Intel processors.
34854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34855 Define.
34856 (index_Prefer_SSE_for_memop): Define.
34857 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34858
344d0b54
LM
348592010-11-04 Luis Machado <luisgpm@br.ibm.com>
34860
34861 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34862 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34863
c0dde15b
UD
348642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34865
34866 [BZ #12191]
34867 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34868 (__x86_64_raw_data_cache_size_half): Likewise.
34869 (__x86_64_raw_shared_cache_size): Likewise.
34870 (__x86_64_raw_shared_cache_size_half): Likewise.
34871
34872 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34873 (__x86_64_raw_data_cache_size_half): Likewise.
34874 (__x86_64_raw_shared_cache_size): Likewise.
34875 (__x86_64_raw_shared_cache_size_half): Likewise.
34876 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34877 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34878 and __x86_64_raw_shared_cache_size_half. Round
34879 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34880 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34881 to multiple of 256 bytes.
34882
0e516e0e
MS
348832010-11-03 Ulrich Drepper <drepper@gmail.com>
34884
34885 [BZ #12167]
34886 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34887 of inacessible symlinks. Verify result of symlink before returning it.
34888 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34889 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34890
0e012e87
ER
348912010-10-28 Erich Ritz <erichritz@gmail.com>
34892
34893 * math/math.h (isinf): Fix typo in comment.
34894
de0ff7bc
UD
348952010-11-01 Ulrich Drepper <drepper@gmail.com>
34896
34897 * po/da.po: Update from translation team.
34898
fa41c84d
UD
348992010-10-26 Ulrich Drepper <drepper@gmail.com>
34900
34901 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34902 is added to the list.
34903
f0967738
AK
349042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34905 Ulrich Drepper <drepper@gmail.com>
34906
34907 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34908 the global list here. Move code to...
34909 (_dl_add_to_namespace_list): ...here. New function.
34910 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34911 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34912 * elf/dl-load.c (lose): Don't remove the element from the list.
34913 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34914 (_dl_map_object): Likewise.
34915
349162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34917
34918 [BZ #12159]
34919 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34920 into all bytes of SSE register.
34921 Patch by Richard Li <richardpku@gmail.com>.
34922
f0967738 349232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34924
34925 [BZ #12140]
34926 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34927 perturbing.
34928
d0b9e94f
MB
349292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34930
34931 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34932 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34933 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34934 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34936 submachine.
34937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34938
8e9f92e9
AS
349392010-10-22 Andreas Schwab <schwab@redhat.com>
34940
34941 * include/dlfcn.h (__RTLD_SECURE): Define.
34942 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34943 mode & __RTLD_SECURE instead.
34944 (open_path): Rename preloaded parameter to secure.
34945 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34946 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34947 * elf/dl-deps.c (openaux): Likewise.
34948 * elf/rtld.c (struct map_args): Remove is_preloaded.
34949 (map_doit): Don't use it.
34950 (dl_main): Likewise.
34951 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34952 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34953
bc96fbda
AS
349542010-09-09 Andreas Schwab <schwab@redhat.com>
34955
34956 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34957 (sysd-rules-targets): Remove duplicates.
34958 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34959 rtld-%.$o dependency.
34960
22cd1c9b
AS
349612010-10-18 Andreas Schwab <schwab@redhat.com>
34962
34963 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34964 _dl_map_object do it.
34965
18edac48
UD
349662010-10-19 Ulrich Drepper <drepper@gmail.com>
34967
34968 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34969 fast fma builtins, define the macros in the C99 standard.
34970 (FP_FAST_FMAF): Likewise.
34971 (FP_FAST_FMAL): Likewise.
34972 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34973
34974 * bits/mathdef.h: Update copyright year.
34975 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34976
d2050124
MM
349772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34978
34979 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34980 builtins, define the macros in the C99 standard.
34981 (FP_FAST_FMAF): Likewise.
34982 (FP_FAST_FMAL): Likewise.
34983 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34984 multiply/add.
34985 (FP_FAST_FMAF): Likewise.
34986
475facd1
JJ
349872010-10-15 Jakub Jelinek <jakub@redhat.com>
34988
34989 [BZ #3268]
34990 * math/libm-test.inc (fma_test): Some new testcases.
34991 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34992 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34993 y and infinite z. Do multiplication by C already in long double.
34994 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34996 y and infinite z. Do bitwise or of inexact bit into u.d.
34997 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34998 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34999 * sysdeps/i386/fpu/s_fma.S: Removed.
35000 * sysdeps/i386/fpu/s_fmal.S: Removed.
35001
7c08a05c
JJ
350022010-10-16 Jakub Jelinek <jakub@redhat.com>
35003
35004 [BZ #3268]
35005 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35007 computation is not scheduled after fetestexcept. Fix value
35008 of minimum denormal long double.
35009
f3f7372d
JJ
350102010-10-14 Jakub Jelinek <jakub@redhat.com>
35011
35012 [BZ #3268]
35013 * math/libm-test.inc (fma_test): Add some more tests.
35014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35015 correctly.
35016
14d43591
AS
350172010-10-15 Andreas Schwab <schwab@redhat.com>
35018
35019 * scripts/data/localplt-s390-linux-gnu.data: New file.
35020 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35021
5e908464
JJ
350222010-10-13 Jakub Jelinek <jakub@redhat.com>
35023
35024 [BZ #3268]
35025 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35026 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35027 instead of dbl-64.
35028 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35029 inlines.
35030 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35032 if one of x and y is very large and the other is subnormal.
35033 * sysdeps/s390/fpu/s_fmaf.c: New file.
35034 * sysdeps/s390/fpu/s_fma.c: New file.
35035 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35036 * sysdeps/powerpc/fpu/s_fma.S: New file.
35037 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35038 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35039 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35040
350412010-10-12 Jakub Jelinek <jakub@redhat.com>
35042
35043 [BZ #3268]
35044 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35045 fma tests.
35046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35047 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35048 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35049 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35050 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35051 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35053
b833d51f
UD
350542010-10-12 Ulrich Drepper <drepper@redhat.com>
35055
35056 [BZ #12078]
35057 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35058 * posix/bug-regex31.input: Add test case.
35059
1751705d
UD
350602010-10-11 Ulrich Drepper <drepper@gmail.com>
35061
e9b9cbf5
UD
35062 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35063 * posix/bug-regex31.input: New file.
35064
35065 [BZ #12078]
35066 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35067 (parse_sub_exp): Fix last change, use postorder.
35068
ef06edbe
UD
35069 * posix/bug-regex31.c: New file.
35070 * posix/Makefile: Add rules to build and run bug-regex31.
35071
a129c80d
UD
35072 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35073
35074 [BZ #12078]
35075 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35076
b76b818e
UD
35077 [BZ #12108]
35078 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35079 to have entries in sys_siglist.
35080
1751705d
UD
35081 [BZ #12093]
35082 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35083 be NULL.
35084
9ff8d36f
JJ
350852010-10-07 Jakub Jelinek <jakub@redhat.com>
35086
35087 [BZ #3268]
35088 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35089 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35090 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35091 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35092 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35093 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35094 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35095 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35096 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35097 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35098 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35099 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35100 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35101 * math/ftestexcept.c (fetestexcept): Likewise.
35102 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35103 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35104 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35105 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35106 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35107 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35108 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35109
af325969
UD
351102010-10-11 Ulrich Drepper <drepper@gmail.com>
35111
c579b202 35112 [BZ #12107]
af325969
UD
35113 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35114 newline.
35115
67a67b95
UD
351162010-10-06 Ulrich Drepper <drepper@gmail.com>
35117
35118 * string/bug-strstr1.c: New file.
35119 * string/Makefile: Add rules to build and run bug-strstr1.
35120
5fb308bc
EB
351212010-10-05 Eric Blake <eblake@redhat.com>
35122
35123 [BZ #12092]
35124 * string/str-two-way.h (two_way_long_needle): Always clear memory
35125 when skipping input due to the shift table.
35126
45db99c7
UD
351272010-10-03 Ulrich Drepper <drepper@gmail.com>
35128
3b111893
UD
35129 [BZ #12005]
35130 * malloc/mcheck.c: Handle large requests.
35131
45db99c7
UD
35132 [BZ #12077]
35133 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35134 for strncmp and strncasecmp.
35135 * string/stratcliff.c: Add tests for strcmp and strncmp.
35136 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35137
cf7a1eb8
NI
351382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35139
35140 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35141 __set_fpscr.
35142
6484ba5e
AJ
351432010-09-30 Andreas Jaeger <aj@suse.de>
35144
35145 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35146 (CGROUP_SUPER_MAGIC): Define.
35147 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35148 Handle btrfs and cgroup file systems.
35149 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35150 Likewise.
35151
91c42559
LM
351522010-09-27 Luis Machado <luisgpm@br.ibm.com>
35153
35154 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35155 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35156
87a97932
AK
351572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35158
35159 [BZ #12067]
35160 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35161 trying to locate the ELF header.
35162
c21cc9bc
AS
351632010-09-27 Andreas Schwab <schwab@redhat.com>
35164
35165 [BZ #11611]
35166 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35167 Mask out sign-bit copies when constructing f_fsid.
35168
315970f6
PB
351692010-09-24 Petr Baudis <pasky@suse.cz>
35170
35171 * debug/stack_chk_fail_local.c: Add missing licence exception.
35172 * debug/warning-nop.c: Likewise.
35173
1ac7a2c7
JM
351742010-09-15 Joseph Myers <joseph@codesourcery.com>
35175
35176 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35177 implementing getdents64 using getdents syscall, set d_type if
35178 __ASSUME_GETDENTS32_D_TYPE.
35179
56801c50
AS
351802010-09-16 Andreas Schwab <schwab@redhat.com>
35181
35182 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35183 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35184
dda51327
UD
351852010-09-21 Ulrich Drepper <drepper@redhat.com>
35186
35187 [BZ #12037]
35188 * posix/unistd.h: Undo change of feature selection for ftruncate from
35189 2010-01-11.
35190
8ffcee4a
UD
351912010-09-20 Ulrich Drepper <drepper@redhat.com>
35192
a545ecd9 35193 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35194 detection.
35195
e24f0a8b
AS
351962010-09-20 Andreas Schwab <schwab@redhat.com>
35197
35198 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35199 fanotify_mark.
35200 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35201
7291c56f
AS
352022010-09-14 Andreas Schwab <schwab@redhat.com>
35203
35204 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35205 variables after CHECK_SP call.
35206 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35207
bc5fb037
AS
352082010-09-13 Andreas Schwab <schwab@redhat.com>
35209 Ulrich Drepper <drepper@redhat.com>
35210
35211 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35212 re-relocationg ld.so.
35213 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35214 _dl_init_paths call.
35215 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35216 here anymore.
35217
e66e7419
UD
352182010-09-14 Ulrich Drepper <drepper@redhat.com>
35219
35220 * resolv/res_init.c (__res_vinit): Count the default server we added.
35221
c044aa75
CLT
352222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35223 Ulrich Drepper <drepper@redhat.com>
35224
35225 [BZ #11968]
35226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35227 (____longjmp_chk): Use %ebx for saving value across system call.
35228 Add unwind info.
35229
32cf4069
AS
352302010-09-06 Andreas Schwab <schwab@redhat.com>
35231
35232 * manual/Makefile: Don't mix pattern rules with normal rules.
35233
817328ee
AS
352342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35235
35236 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35237 operation.
35238 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35239 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35240 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35241 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35243 Likewise.
35244
29fddf61
UD
352452010-09-04 Ulrich Drepper <drepper@redhat.com>
35246
35247 [BZ #11979]
35248 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35249 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35250
0959ffc9
UD
352512010-09-02 Ulrich Drepper <drepper@redhat.com>
35252
35253 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35254 * sysdeps/x86_64/addmul_1.S: Likewise.
35255 * sysdeps/x86_64/lshift.S: Likewise.
35256 * sysdeps/x86_64/mul_1.S: Likewise.
35257 * sysdeps/x86_64/rshift.S: Likewise.
35258 * sysdeps/x86_64/sub_n.S: Likewise.
35259 * sysdeps/x86_64/submul_1.S: Likewise.
35260
ece29840
ST
352612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35262
0959ffc9
UD
35263 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35264 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35265 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35266 * bits/sched.h [__need_schedparam]
ece29840 35267 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35268 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35269 (__defined_schedparam): Define to 1.
ece29840
ST
35270 (__sched_param): New structure, identical to sched_param.
35271 (__need_schedparam): Undefine.
35272
e53a31fe
MF
352732010-08-31 Mike Frysinger <vapier@gentoo.org>
35274
fdc0c10d
MF
35275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35276 (epoll_create1): Declare.
35277
e53a31fe
MF
35278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35279
a726d796
AS
352802010-08-31 Andreas Schwab <schwab@redhat.com>
35281
35282 [BZ #7066]
35283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35284 shifting retval into place.
35285
2f3e3dc7
UD
352862010-09-01 Ulrich Drepper <drepper@redhat.com>
35287
f2933da9
UD
35288 * nis/rpcsvc/nis.h: Update copyright notice.
35289 * nis/rpcsvc/nis.x: Likewise.
35290 * nis/rpcsvc/nis_callback.h: Likewise.
35291 * nis/rpcsvc/nis_callback.x: Likewise.
35292 * nis/rpcsvc/nis_object.x: Likewise.
35293 * nis/rpcsvc/nis_tags.h: Likewise.
35294 * nis/rpcsvc/yp.h: Likewise.
35295 * nis/rpcsvc/yp.x: Likewise.
35296 * nis/rpcsvc/ypupd.h: Likewise.
35297 * nis/yp_xdr.c: Likewise.
35298 * nis/ypupdate_xdr.c: Likewise.
35299
2f3e3dc7
UD
35300 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35301 mainly the body of pmap_getport. Add parameters to specify timeouts.
35302 (pmap_getport): Use __libc_rpc_getport.
35303 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35304 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35305 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35306
f3dcc2f9
AS
353072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35308
35309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35310 fanotify_mark.
35311
6d34eb5b
RM
353122010-08-27 Roland McGrath <roland@redhat.com>
35313
35314 * sysdeps/i386/i686/multiarch/Makefile
35315 (CFLAGS-varshift.c): New variable.
35316
9ea3de11
UD
353172010-08-27 Ulrich Drepper <drepper@redhat.com>
35318
c96d23fc
UD
35319 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35320 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35321
9ea3de11
UD
35322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35323
35324 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35325
623aac7f
L
353262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35327
35328 * sysdeps/x86_64/strlen.S: Unroll the loop.
35329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35330 strlen-sse2 strlen-sse2-bsf.
35331 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35332 __strlen_no_bsf if bit_Slow_BSF is set.
35333 (__strlen_sse42): Removed.
35334 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35335 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35336
8b2b7715
RM
353372010-08-25 Roland McGrath <roland@redhat.com>
35338
35339 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35340 * sysdeps/x86_64/multiarch/varshift.c: New file.
35341 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35342 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35343 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35344 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35345
e73015f2
L
353462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35347
35348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35349 strlen-sse2 strlen-sse2-bsf.
35350 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35351 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35352 (__strlen_sse2): Removed.
35353 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35356 bit_Slow_BSF for Atom.
35357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35358 (index_Slow_BSF): Define.
35359 (HAS_SLOW_BSF): Define.
35360
df24a73e
UD
353612010-08-25 Ulrich Drepper <drepper@redhat.com>
35362
35363 [BZ #10851]
35364 * resolv/res_init.c (__res_vinit): When no server address at all
35365 is given default to loopback.
35366
f2ac4868
RM
353672010-08-24 Roland McGrath <roland@redhat.com>
35368
09055553
RM
35369 * configure.in: Remove config-name.h generation.
35370 * configure: Regenerated.
35371 * config-name.in: File removed.
35372 * scripts/config-uname.sh: New file.
35373 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35374 ($(objdir)config-name.h): New target.
35375
f2ac4868
RM
35376 * sunrpc/rpc_parse.h: Avoid nested comment.
35377
73f27d5e
RH
353782010-08-24 Richard Henderson <rth@redhat.com>
35379 Ulrich Drepper <drepper@redhat.com>
35380 H.J. Lu <hongjiu.lu@intel.com>
35381
35382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35384 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35385 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35386 _mm_alignr_epi8 with _mm_loadu_si128.
35387 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35388 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35389 (__m128i_shift_right): Removed.
35390 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35391 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35392 * sysdeps/x86_64/multiarch/varshift.h: New file.
35393 * sysdeps/x86_64/multiarch/varshift.S: New file.
35394
84b9230c
MF
353952010-08-21 Mike Frysinger <vapier@gentoo.org>
35396
35397 * configure.in: Move assembler checks to before sysdep dir checking.
35398
9bbd0ddc
PB
353992010-08-20 Petr Baudis <pasky@suse.cz>
35400
35401 * LICENSES: Sync the sunrpc license.
35402
9da4bb31
UD
354032010-08-19 Ulrich Drepper <drepper@redhat.com>
35404
a7ab6ec8
UD
35405 * sunrpc/auth_des.c: Update copyright notice once again.
35406 * sunrpc/auth_none.c: Likewise.
35407 * sunrpc/auth_unix.c: Likewise.
35408 * sunrpc/authdes_prot.c: Likewise.
35409 * sunrpc/authuxprot.c: Likewise.
35410 * sunrpc/bindrsvprt.c: Likewise.
35411 * sunrpc/clnt_gen.c: Likewise.
35412 * sunrpc/clnt_perr.c: Likewise.
35413 * sunrpc/clnt_raw.c: Likewise.
35414 * sunrpc/clnt_simp.c: Likewise.
35415 * sunrpc/clnt_tcp.c: Likewise.
35416 * sunrpc/clnt_udp.c: Likewise.
35417 * sunrpc/clnt_unix.c: Likewise.
35418 * sunrpc/des_crypt.c: Likewise.
35419 * sunrpc/des_soft.c: Likewise.
35420 * sunrpc/get_myaddr.c: Likewise.
35421 * sunrpc/getrpcport.c: Likewise.
35422 * sunrpc/key_call.c: Likewise.
35423 * sunrpc/key_prot.c: Likewise.
35424 * sunrpc/openchild.c: Likewise.
35425 * sunrpc/pm_getmaps.c: Likewise.
35426 * sunrpc/pm_getport.c: Likewise.
35427 * sunrpc/pmap_clnt.c: Likewise.
35428 * sunrpc/pmap_prot.c: Likewise.
35429 * sunrpc/pmap_prot2.c: Likewise.
35430 * sunrpc/pmap_rmt.c: Likewise.
35431 * sunrpc/rpc/auth.h: Likewise.
35432 * sunrpc/rpc/auth_unix.h: Likewise.
35433 * sunrpc/rpc/clnt.h: Likewise.
35434 * sunrpc/rpc/des_crypt.h: Likewise.
35435 * sunrpc/rpc/key_prot.h: Likewise.
35436 * sunrpc/rpc/netdb.h: Likewise.
35437 * sunrpc/rpc/pmap_clnt.h: Likewise.
35438 * sunrpc/rpc/pmap_prot.h: Likewise.
35439 * sunrpc/rpc/pmap_rmt.h: Likewise.
35440 * sunrpc/rpc/rpc.h: Likewise.
35441 * sunrpc/rpc/rpc_des.h: Likewise.
35442 * sunrpc/rpc/rpc_msg.h: Likewise.
35443 * sunrpc/rpc/svc.h: Likewise.
35444 * sunrpc/rpc/svc_auth.h: Likewise.
35445 * sunrpc/rpc/types.h: Likewise.
35446 * sunrpc/rpc/xdr.h: Likewise.
35447 * sunrpc/rpc_clntout.c: Likewise.
35448 * sunrpc/rpc_cmsg.c: Likewise.
35449 * sunrpc/rpc_common.c: Likewise.
35450 * sunrpc/rpc_cout.c: Likewise.
35451 * sunrpc/rpc_dtable.c: Likewise.
35452 * sunrpc/rpc_hout.c: Likewise.
35453 * sunrpc/rpc_main.c: Likewise.
35454 * sunrpc/rpc_parse.c: Likewise.
35455 * sunrpc/rpc_parse.h: Likewise.
35456 * sunrpc/rpc_prot.c: Likewise.
35457 * sunrpc/rpc_sample.c: Likewise.
35458 * sunrpc/rpc_scan.c: Likewise.
35459 * sunrpc/rpc_scan.h: Likewise.
35460 * sunrpc/rpc_svcout.c: Likewise.
35461 * sunrpc/rpc_tblout.c: Likewise.
35462 * sunrpc/rpc_util.c: Likewise.
35463 * sunrpc/rpc_util.h: Likewise.
35464 * sunrpc/rpcinfo.c: Likewise.
35465 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35466 * sunrpc/rpcsvc/key_prot.x: Likewise.
35467 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35468 * sunrpc/rpcsvc/mount.x: Likewise.
35469 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35470 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35471 * sunrpc/rpcsvc/rex.x: Likewise.
35472 * sunrpc/rpcsvc/rstat.x: Likewise.
35473 * sunrpc/rpcsvc/rusers.x: Likewise.
35474 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35475 * sunrpc/rpcsvc/spray.x: Likewise.
35476 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35477 * sunrpc/rtime.c: Likewise.
35478 * sunrpc/svc.c: Likewise.
35479 * sunrpc/svc_auth.c: Likewise.
35480 * sunrpc/svc_authux.c: Likewise.
35481 * sunrpc/svc_raw.c: Likewise.
35482 * sunrpc/svc_run.c: Likewise.
35483 * sunrpc/svc_simple.c: Likewise.
35484 * sunrpc/svc_tcp.c: Likewise.
35485 * sunrpc/svc_udp.c: Likewise.
35486 * sunrpc/svc_unix.c: Likewise.
35487 * sunrpc/svcauth_des.c: Likewise.
35488 * sunrpc/xcrypt.c: Likewise.
35489 * sunrpc/xdr.c: Likewise.
35490 * sunrpc/xdr_array.c: Likewise.
35491 * sunrpc/xdr_float.c: Likewise.
35492 * sunrpc/xdr_mem.c: Likewise.
35493 * sunrpc/xdr_rec.c: Likewise.
35494 * sunrpc/xdr_ref.c: Likewise.
35495 * sunrpc/xdr_sizeof.c: Likewise.
35496 * sunrpc/xdr_stdio.c: Likewise.
35497
9da4bb31
UD
35498 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35499 handling.
35500
bdaa77bc
AS
355012010-08-19 Andreas Schwab <schwab@redhat.com>
35502
35503 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35504
fe2f79db
LM
355052010-08-19 Luis Machado <luisgpm@br.ibm.com>
35506
35507 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35509 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35510 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35512 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35513 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35514 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35515 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35516 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35517 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35518 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35519 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35520 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35521
b9b42ee0
AB
355222010-07-26 Anton Blanchard <anton@samba.org>
35523
35524 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35525 * malloc/arena.c (heap_trim): Likewise.
35526
1c06ba31
UD
355272010-08-16 Ulrich Drepper <drepper@redhat.com>
35528
35529 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35530 here. Not...
35531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35532 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35533
f8392f40
L
355342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35535
35536 * sysdeps/i386/elf/Makefile: New file.
35537
3162f12e
AS
355382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35539
35540 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35541 from fanotify_init.
35542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35544
28c90b2c
UD
355452010-08-15 Ulrich Drepper <drepper@redhat.com>
35546
35547 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35548 of strncasecmp_l.
1feccb6c 35549 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35550
ca6bb004
UD
355512010-08-14 Ulrich Drepper <drepper@redhat.com>
35552
e9f82e0d
UD
35553 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35554 strncase_l-nonascii.
35555 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35556 Add strncase_l-ssse3.
35557 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35558 * sysdeps/x86_64/strcmp.S: Likewise.
35559 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35560 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35561 * sysdeps/x86_64/strncase.S: New file.
35562 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35563 * sysdeps/x86_64/strncase_l.S: New file.
35564 * string/Makefile (strop-tests): Add strncasecmp.
35565 * string/test-strncasecmp.c: New file.
35566
35567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35568 warning.
35569
ca6bb004
UD
35570 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35571 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35572
052fa7b3
AS
355732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35574
35575 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35576
962dba78
UD
355772010-08-12 Ulrich Drepper <drepper@redhat.com>
35578
35579 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35581 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35582
bebff237
AM
355832010-05-01 Alan Modra <amodra@gmail.com>
35584
35585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35586 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35587 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35588 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35589 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35590 tidying. Don't tail-call __sigjmp_save for static lib.
35591 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35592 save location.
35593 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35594 (CALL_MCOUNT): Add eh info, and nop after bl.
35595 (TAIL_CALL_SYSCALL_ERROR): New macro.
35596 (PSEUDO_RET): Use it.
35597 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35598 Correct save location of integer regs and cr.
35599 (_dl_profile_resolve): Correct cr save location. Delete nops
35600 after bl when SHARED. Reduce cfi size a little by better
35601 placement of cfi directives.
35602 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35603 make a stack frame. Instead use parm save area as a temp.
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35605 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35607 Don't make a stack frame for parent, use parm save area.
35608 Increase child stack frame to 112 bytes. Don't save unused reg,
35609 and adjust reg usage. Set up cfi on error recovery and
35610 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35612 (__makecontext): Add dummy nop after jump to exit.
35613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35614 Use correct parm save area and cr save, reduce stack frame.
35615 Correct cfi for possible PSEUDO_RET frame setup.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35617 Branch to local label emitted by PSEUDO_RET rather than
35618 __syscall_error.
35619
02637374
AS
356202010-08-12 Andreas Schwab <schwab@redhat.com>
35621
35622 [BZ #11904]
35623 * locale/programs/locale.c (print_assignment): New function.
35624 (show_locale_vars): Use it.
35625
c3e2f19b
UD
356262010-08-11 Ulrich Drepper <drepper@redhat.com>
35627
3cdaa6ad
UD
35628 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35629 field.
35630 (struct statfs64): Likewise.
35631 (_STATFS_F_FLAGS): Define.
35632 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35634 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35635 (ST_VALID): Define locally.
35636 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35637 __statvfs_getflags, use the provided value.
35638 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35639 __ASSUME_STATFS_F_FLAGS.
35640
754f7da3
UD
35641 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35642
10b3bedc
UD
35643 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35644 Add sys/fanotify.h.
35645 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35646 fanotify_mask for GLIBC_2.13.
35647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35648 fanotify_init and fanotify_mark.
35649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35650 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35651
c08fb0d7
UD
35652 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35653 Add prlimit.
35654 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35655 prlimit64 for GLIBC_2.13.
35656 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35657 prlimit64.
35658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35659 syscall.
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35661 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35662 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35665 add prlimit alias.
35666 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35667
15bac72b
UD
35668 [BZ #11903]
35669 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35670 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35671
c3e2f19b
UD
35672 * nss/Makefile: Add rules to build and run tst-nss-test1.
35673 * shlib-versions: Add entry for libnss_test1.
35674 * nss/nss_test1.c: New file.
35675 * nss/tst-nss-test1.c: New file.
35676
35677 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35678 (__nss_configure_lookup): Set appropriate entry in
35679 __nss_configure_lookup to true.
35680 * nss/nsswitch.h: Define enum with indeces of databases in
35681 databases and __nss_database_custom arrays. Declare
35682 __nss_database_custom.
35683 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35684 to avoid using nscd when custom rules are installed.
35685 * nss/getXXbyYY_r.c: Likewise.
35686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35687
35688 * nss/nss_files/files-parse.c: Whitespace fixes.
35689
f15ce4d8
UD
356902010-08-09 Ulrich Drepper <drepper@redhat.com>
35691
35692 [BZ #11883]
35693 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35694 * posix/fnmatch_loop.c: Likewise.
35695
d22e4cc9
AK
356962010-07-17 Andi Kleen <ak@linux.intel.com>
35697
35698 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35699 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35700 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35701 * Versions.def [GLIBC_2.13]: Add.
35702
805bc17d
UD
357032010-08-06 Ulrich Drepper <drepper@redhat.com>
35704
35705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35706 Also fail if tpwd after pwuid call is NULL.
35707
5a42321d
ST
357082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35709
35710 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35711 when converting to ms.
35712
fd3ebeda
ST
357132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35714
35715 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35716 EOPNOTSUPP errors with ENOTTY.
35717 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35718 EOPNOTSUPP errors with ENOTTY.
35719
73507d3a
UD
357202010-07-31 Ulrich Drepper <drepper@redhat.com>
35721
35722 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35723 Add strcasecmp_l-ssse3.
35724 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35725 strcasecmp.
35726 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35727 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35729
fe36dd02
UD
357302010-07-30 Ulrich Drepper <drepper@redhat.com>
35731
66f6765a
UD
35732 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35733
42e08a54
UD
35734 * string/Makefile (strop-tests): Add strcasecmp.
35735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35736 strcasecmp_l-nonascii.
35737 (gen-as-const-headers): Add locale-defines.sym.
35738 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35739 * sysdeps/x86_64/strcasecmp.S: New file.
35740 * sysdeps/x86_64/strcasecmp_l.S: New file.
35741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35742 * sysdeps/x86_64/locale-defines.sym: New file.
35743 * string/test-strcasecmp.c: New file.
35744
fe36dd02
UD
35745 * string/test-strcasestr.c: Test both ends of the range of characters.
35746 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35747
48cbc0d6
RM
357482010-07-29 Roland McGrath <roland@redhat.com>
35749
76e6d6bc 35750 [BZ #11856]
48cbc0d6
RM
35751 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35752
880113d9
UD
357532010-07-27 Ulrich Drepper <drepper@redhat.com>
35754
35755 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35756 for ld.so.
35757
deb9cabb
AS
357582010-07-27 Andreas Schwab <schwab@redhat.com>
35759
35760 * manual/memory.texi (Malloc Tunable Parameters): Document
35761 M_PERTURB.
35762
1c7570ff
RM
357632010-07-26 Roland McGrath <roland@redhat.com>
35764
35765 [BZ #11840]
35766 * configure.in (-fgnu89-inline check): Set and substitute
35767 gnu89_inline, not libc_cv_gnu89_inline.
35768 * configure: Regenerated.
35769 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35770
24fb0f88
UD
357712010-07-26 Ulrich Drepper <drepper@redhat.com>
35772
35773 * string/test-strnlen.c: New file.
35774 * string/Makefile (strop-tests): Add strnlen.
35775 * string/tester.c (test_strnlen): Add a few more test cases.
35776 * string/tst-strlen.c: Better error reporting.
35777
35778 * sysdeps/x86_64/strnlen.S: New file.
35779
8e96b93a
UD
357802010-07-24 Ulrich Drepper <drepper@redhat.com>
35781
35782 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35783 lower-latency instructions.
35784
dbc676d4
UD
357852010-07-23 Ulrich Drepper <drepper@redhat.com>
35786
35787 * string/test-strcasestr.c: New file.
35788 * string/test-strstr.c: New file.
35789 * string/Makefile (strop-tests): Add strstr and strcasestr.
35790 * string/str-two-way.h: Don't undefine MAX.
35791 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35792
f6a31e0e
AS
357932010-07-21 Andreas Schwab <schwab@redhat.com>
35794
35795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35796 strcasestr-nonascii.
35797 (CFLAGS-strcasestr-nonascii.c): Define.
35798 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35800 Remove unused attribute.
35801
5dbc3b6c
RM
358022010-07-20 Roland McGrath <roland@redhat.com>
35803
35804 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35805 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35806 ld.so.cache was broken. With it, there is no way to disable dsocaps
35807 like LD_HWCAP_MASK can disable hwcaps.
35808
23d101d8
EPM
358092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35810
35811 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35812
cc9f2e47
UD
358132010-07-16 Ulrich Drepper <drepper@redhat.com>
35814
35815 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35816 call in strcasestr.
35817 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35818 __strcasestr_sse42_nonascii.
35819 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35820 strcasestr-nonascii.c.
35821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35822
77c1b069
LM
358232010-06-15 Luis Machado <luisgpm@br.ibm.com>
35824
35825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35828 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35829
440566c3
UD
358302010-07-09 Ulrich Drepper <drepper@redhat.com>
35831
35832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35833 fcntl.
35834
5be9d05d
AS
358352010-07-06 Andreas Schwab <schwab@redhat.com>
35836
c30b7ee2 35837 [BZ #11577]
5be9d05d
AS
35838 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35839 dl_signal_cerror.
35840
8a492a67
UD
358412010-07-06 Ulrich Drepper <drepper@redhat.com>
35842
35843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35844 _PC_PIPE_BUF using F_GETPIPE_SZ.
35845
713df3d5
RM
358462010-07-05 Roland McGrath <roland@redhat.com>
35847
35848 * manual/arith.texi (Rounding Functions): Fix rint description
35849 implicit in round description.
35850
702e8f14
UD
358512010-07-02 Ulrich Drepper <drepper@redhat.com>
35852
35853 * elf/Makefile: Fix linking for a few tests to make recent linker
35854 happy.
35855
52ed8be9
AS
358562010-06-30 Andreas Schwab <schwab@redhat.com>
35857
35858 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35859 $(common-objpfx)libc_nonshared.a.
35860
f47c9a11
LM
358612010-06-21 Luis Machado <luisgpm@br.ibm.com>
35862
35863 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35864 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35865 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35866 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35867 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35868 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35869 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35870 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35885 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35886 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35887 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35888 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35889 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35890 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35891 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35892 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35893 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35894 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35895 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35896 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35911
6fb8cbcb
L
359122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35913
35914 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35915 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35916 * string/memmove.c (memmove): Renamed to ...
35917 (MEMMOVE): ...this. Default to memmove.
35918 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35919 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35920 (END_CHK): Define.
35921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35922 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35923 mempcpy-ssse3-back memmove-ssse3-back.
35924 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35926 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35927 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35928 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35929 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35930 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35931 * sysdeps/x86_64/multiarch/memmove.c: New file.
35932 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35933 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35934 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35935 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35936 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35938 Define.
35939 (index_Fast_Copy_Backward): Define.
35940 (HAS_ARCH_FEATURE): Define.
35941 (HAS_FAST_REP_STRING): Define.
35942 (HAS_FAST_COPY_BACKWARD): Define.
35943
4e733bac 359442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35945
35946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35947 Restore proper fallback handling.
35948
63c4ed22
UD
359492010-06-19 Ulrich Drepper <drepper@redhat.com>
35950
ac2b484c
UD
35951 [BZ #11701]
35952 * posix/group_member.c (__group_member): Correct checking loop.
35953
63c4ed22
UD
35954 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35955 OOM in getpwuid_r correctly. Return error number when the caller
35956 should return, otherwise -1.
35957 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35958 call returning > 0 value.
35959 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35960
765ade4b
AS
359612010-06-07 Andreas Schwab <schwab@redhat.com>
35962
35963 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35964 libc_nonshared.a from targets in modules-names.
35965
80da2e09
KS
359662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35967
35968 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35969 requires it.
35970
158db122
LM
359712010-06-10 Luis Machado <luisgpm@br.ibm.com>
35972
35973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35974 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35977
caa78cf8
AS
359782010-06-02 Andreas Schwab <schwab@redhat.com>
35979
35980 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35981
b2ef2c01
UD
359822010-06-14 Ulrich Drepper <drepper@redhat.com>
35983
35984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35985 and F_GETPIPE_SZ.
35986 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35992
fbd643b6
RM
359932010-06-14 Roland McGrath <roland@redhat.com>
35994
35995 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35996
f32f2869
JJ
359972010-06-07 Jakub Jelinek <jakub@redhat.com>
35998
35999 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36000 __REDIRECT followed by __THROW.
36001 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36002 * posix/getopt.h (getopt): Likewise.
36003
2a50c078
EPM
360042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36005
36006 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36007 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36008 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36009 in AT_FLAGS.
36010 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36011 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36012
eb5ad2eb
LM
360132010-05-28 Luis Machado <luisgpm@br.ibm.com>
36014
36015 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36016
3c88fe1e
L
360172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36018
36019 [BZ #11640]
36020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36021 Properly check family and model.
36022
d2f73151
TY
360232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36024
36025 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36026
ebd2e13d
LM
360272010-05-24 Luis Machado <luisgpm@br.ibm.com>
36028
36029 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36030
b32b8b45
UD
360312010-05-21 Ulrich Drepper <drepper@redhat.com>
36032
36033 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36034 symbol reference.
36035
9acbe24d
AS
360362010-05-19 Andreas Schwab <schwab@redhat.com>
36037
36038 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36039 symbol reference.
36040
f0ccf6ea
AS
360412010-05-21 Andreas Schwab <schwab@redhat.com>
36042
3d04ff3a
AS
36043 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36044 and internal_recvmmsg.
36045 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36046 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36047 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36048 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36049
f0ccf6ea
AS
36050 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36051 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36052 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36053
5b08ac57
AS
360542010-05-20 Andreas Schwab <schwab@redhat.com>
36055
36056 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36057
4828935d
LM
360582010-05-17 Luis Machado <luisgpm@br.ibm.com>
36059
36060 POWER7 optimizations.
36061 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36062 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36063
373d545e
UD
360642010-05-19 Ulrich Drepper <drepper@redhat.com>
36065
36066 * version.h: Update for 2.13 development version.
36067
21a2b1ae
AS
360682010-05-12 Andrew Stubbs <ams@codesourcery.com>
36069
36070 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36071 exceptions. Return 0.
36072
3f7dcb2b
RM
360732010-05-07 Roland McGrath <roland@redhat.com>
36074
36075 * elf/ldconfig.c (main): Add a const.
36076
5f24d53a 360772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36078
a160f8d8
UD
36079 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36080 (args_options): Add no-idn option.
36081 (ahosts_keys_int): Add idn_flags to ai_flags.
36082 (parse_option): Handle 'i' option to clear idn_flags.
36083
5f24d53a
UD
36084 * malloc/malloc.c (_int_free): Possible race in the most recently
36085 added check. Only act on the data if no current modification
36086 happened.
265bb1ce
UD
36087
36088See ChangeLog.17 for earlier changes.
This page took 4.694693 seconds and 5 git commands to generate.