]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ChangeLog formatting
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d136c6dc
SP
12013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #15941]
4 * Makefile (INSTALL): Add install-plain.texi as the primary
5 dependency.
6 * manual/install-plain.texi: New file.
7 * manual/install.texi: Include node directive only for
8 non-plaintext output.
9
699ff837
JM
102013-12-04 Joseph Myers <joseph@codesourcery.com>
11
ab07cea8
JM
12 * stdlib/longlong.h: Update from GCC.
13
699ff837
JM
14 [BZ #6807]
15 [BZ #15901]
16 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17 * math/w_j0f.c (y0f): Likewise.
18 * math/w_j0l.c (__y0l): Likewise.
19 * math/w_j1.c (y1): Likewise.
20 * math/w_j1f.c (y1f): Likewise.
21 * math/w_j1l.c (__y1l): Likewise
22 * math/w_jn.c (yn): Likewise.
23 * math/w_jnf.c (ynf): Likewise.
24 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26 value for Bessel function domain errors outside _SVID_ mode.
27 Adjust sign of return value for yn (negative integer, 0).
28 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29 by zero in return for negative x and set sign appropriately for
30 negative n.
31 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33 * math/libm-test.inc (y0_test_data): Add more tests and adjust
34 expectations in error cases.
35 (y1_test_data): Likewise.
36 (yn_test_data): Likewise.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39
5b118558
UW
402013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41
42 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43 "64" to "64-v1". Add "64-v2".
44 (abi-64-options): Rename to ...
45 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
46 (abi-64-condition): Rename to ...
47 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
48 (abi-64-ld-soname): Rename to ...
49 (abi-64-v1-ld-soname): ... this.
50 (abi-64-v2-options): Define.
51 (abi-64-v2-condition): Likewise.
52 (abi-64-v2-ld-soname): Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
55 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58
61cd8fe4
UW
592013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60 Alan Modra <amodra@gmail.com>
61
62 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
63 New versions for use with the ELFv2 ABI.
64 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
65 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
66 declaration.
67 (struct La_ppc64v2_retval): Likewise.
68 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
69 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
70 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
71 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
72 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
73 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74 Do not save or restore CR.
75 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
76 (_dl_profile_resolve): Do no save or restore CR. Support extended
77 return values for ELFv2 ABI. Fix location of FPR return registers.
78 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
79 updated values for _CALL_ELF == 2.
80 (La_regs, La_retval, int_retval): Likewise.
81
8b8a692c
UW
822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
83
84 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
85 (FRAME_MIN_SIZE_PARM): Likewise.
86 (FRAME_BACKCHAIN): Likewise.
87 (FRAME_CR_SAVE): Likewise.
88 (FRAME_LR_SAVE): Likewise.
89 (FRAME_TOC_SAVE): Likewise.
90 (FRAME_PARM_SAVE): Likewise.
91 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
92 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
93 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
94 (call_mcount_parm_offset): New macro.
95 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
96 (PROF): Use symbolic stack frame offsets.
97 (TAIL_CALL_SYSCALL_ERROR): Likewise.
98 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
99 Redefine in terms of FRAME_MIN_SIZE.
100 (_dl_runtime_resolve): Use symbolic stack frame offsets.
101 (_dl_profile_resolve): Likewise. Update comment.
102 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
103 symbols stack frame offsets.
104 (__sigsetjmp): Likewise.
105 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
106 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
107 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
108 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
109
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
111 (FRAME_BACKCHAIN): Remove.
112 (FRAME_CR_SAVE): Likewise.
113 (FRAME_LR_SAVE): Likewise.
114 (FRAME_COMPILER_DW): Likewise.
115 (FRAME_LINKER_DW): Likewise.
116 (FRAME_TOC_SAVE): Likewise.
117 (FRAME_PARM_SAVE): Likewise.
118 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
119 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
120 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
122 (CHECK_SP): Use symbolic stack frame offsets.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
124 zone" instead of caller's parameter save area for temp storage.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
126 Likewise. Also, use symbolic stack frame offsets.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
128 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
129 our own stack frame instead of the caller's.
130 (__socket): Use symbolic stack frame offsets.
131
122b66de
UW
1322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
133 Alan Modra <amodra@gmail.com>
134
135 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
136 Define.
137 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
138 PPC64_LOCAL_ENTRY_OFFSET): Define.
139 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
140 New function.
141 (elf_machine_fixup_plt): Call it.
142 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
143 reloc arguments.
144 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
146 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
147 r2 before calling target.
148
696caf1d
UW
1492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
150 Alan Modra <amodra@gmail.com>
151
152 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
153 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
154 versions of macros to support ELFv2 ABI.
155 (LOCALENTRY): New macro.
156 (ENTRY, EALIGN): Use it.
157 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
158 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
159 fall through into ENTRY entry point.
160 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
161 Only define if _CALL_ELF != 2.
162
163 (elf_machine_matches_host): Verify ABI version matches.
164 (RTLD_START): Use LOCALENTRY.
165 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
166 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
167 (PLT_ENTRY_WORDS): New macro.
168 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
169 (elf_machine_runtime_setup): Support ELFv2 ABI.
170 (elf_machine_fixup_plt): Likewise.
171 (elf_machine_plt_conflict): Likewise.
172 (resolve_ifunc): Likewise.
173 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
175 Likewise.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
177 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
179 (makecontext): Support ELFv2 ABI.
180 * elf/elf.h (EF_PPC64_ABI): Define.
181
d31beafa
UW
1822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
183
184 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
185 New assembler macro.
186 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
187 [ASSEMBLER] (ENTRY): ... but instead here ...
188 [ASSEMBLER] (EALIGN): ... and here.
189 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
190 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
191 [!ASSEMBLER] (ENTRY_2): Use it.
192 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
193 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
194 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
195 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
196 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
198 Use PPC64_LOAD_FUNCPTR.
199
b525166b
UW
2002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
201
202 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
203
7ec07d9a
AM
2042013-12-04 Alan Modra <amodra@gmail.com>
205
206 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
207 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
208 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
209 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
210
211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
212 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
213 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
214 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
215 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
216 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
217
5162e7dd
UW
2182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
219
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
221 (__makecontext): Fix incorrect CFI when backtracing out of
222 context created via makecontext.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
224 (__setcontext): Fix incorrect CFI during switch to new context.
225 (__novec_setcontext): Likewise.
226
19e3372b
OB
2272013-12-04 Ondřej Bílka <neleai@seznam.cz>
228
229 [BZ #4772]
230 * time/strptime_l.c (__strptime_internal): Allow modifiers
231 in strptime.
232 * time/tst-strptime.c (day_tests): Add testcase.
233
234
ecaf142d
SP
2352013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 * scripts/bench.pl: Skip over blank lines.
238
fbf964ae
PE
2392013-12-04 Paul Eggert <eggert@cs.ucla.edu>
240
241 [BZ #926]
242 * manual/time.texi (Calendar Time): Clarify what timezone functions
243 use.
244
fa60a674
AZ
2452013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
248
d674f0ef
OB
2492013-12-04 Ondřej Bílka <neleai@seznam.cz>
250
251 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
252 implementation.
253 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
254 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
255 * debug/memset_chk.c (__memset_chk): Likewise.
256 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
257 * debug/strncpy_chk.c: Likewise.
258
17dea188
JM
2592013-12-03 Joseph Myers <joseph@codesourcery.com>
260
749008ff
JM
261 [BZ #15268]
262 [BZ #15425]
263 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
264 (__ieee754_exp): For possibly underflowing results, check size of
265 result and force underflow exception if required.
266 * math/auto-libm-test-in: Add more tests of exp.
267 * math/auto-libm-test-out: Regenerated.
268 * sysdeps/i386/fpu/libm-test-ulps: Update.
269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270
17dea188
JM
271 [BZ #16283]
272 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
273 * math/w_exp2f.c (__exp2f): Likewise.
274 * math/w_exp2l.c (__exp2l): Likewise.
275 * math/auto-libm-test-in: Do not allow missing errno on exp2
276 underflow.
277 * math/auto-libm-test-out: Regenerated.
278
b20de2c3
OB
2792013-12-03 Ondřej Bílka <neleai@seznam.cz>
280
281 [BZ #16274]
282 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
283 handle filename validation.
284 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
285 (do_open): Delete.
286
d8e2dbe3
JM
2872013-12-03 Joseph Myers <joseph@codesourcery.com>
288
34e16df5
JM
289 [BZ #6786]
290 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
291 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
292 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
293 <float.h>.
294 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
296 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
298 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
300 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
301 * math/auto-libm-test-in: Don't allow missing errno from erfc.
302 Add more erfc tests.
303 * math/auto-libm-test-out: Regenerated.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
d8e2dbe3
JM
307 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
308 exp2, expm1, j0 and j1.
309 * math/auto-libm-test-out: Regenerated.
310 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
311 (erfc_test_data): Likewise.
312 (exp_test_data): Likewise.
313 (exp_tonearest_test_data): Likewise.
314 (exp_towardzero_test_data): Likewise.
315 (exp_downward_test_data): Likewise.
316 (exp_upward_test_data): Likewise.
317 (exp10_test_data): Likewise.
318 (exp2_test_data): Likewise.
319 (expm1_test_data): Likewise.
320 (j0_test_data): Likewise.
321 (j1_test_data): Likewise.
322 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
323 (input_flag_type): Add flag_xfail_rounding.
324 (input_flags): Add xfail-rounding.
325 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
326 (output_for_one_input_case): Handle flag_xfail_rounding.
327 * sysdeps/i386/fpu/libm-test-ulps: Update.
328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
329
18d14251
AJ
3302013-12-03 Aurelien Jarno <aurelien@aurel32.net>
331
3d2e6075 332 [BZ #16289]
18d14251
AJ
333 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
334 division by 0.
335
520d437b
SP
3362013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
337
338 [BZ #16195]
339 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
340 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
341 (STAP_PROBE0): New macro.
342 (STAP_PROBE1): Likewise.
343 (STAP_PROBE2): Likewise.
344 (STAP_PROBE3): Likewise.
345 (STAP_PROBE4): Likewise.
346
416e0145
OB
3472013-12-02 Ondřej Bílka <neleai@seznam.cz>
348
349 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
350
9d17796a
SE
3512013-12-02 Steve Ellcey <sellcey@mips.com>
352
353 * benchtests/Makefile (bench): Add sqrt.
354 (LDLIBS-bench-sqrt): New.
355 * benchtests/sqrt-input: New.
356
f524d6a8
PS
3572013-12-02 Pavel Simerda <psimerda@redhat.com>
358
639a0ef8
PS
359 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
360 (GAIH_EAI): Likewise.
361 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
362 (gaih_inet): Likewise.
363 (getaddrinfo): Don't use GAIH_EAI.
364
f524d6a8
PS
365 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
366 (struct gaih): Remove definition.
367
df3aedaf
SP
3682013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
371 Use HERRNOP directly.
372
1ab19dec
AZ
3732013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
374
b42ad38d 375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 376
176b0c79
JM
3772013-11-30 Joseph Myers <joseph@codesourcery.com>
378
379 * math/gen-auto-libm-tests.c (test_functions): Add more
380 single-argument functions.
381 (special_fill_pi_2): New function.
382 (special_fill_minus_pi_2): Likewise.
383 (special_fill_pi_6): Likewise.
384 (special_fill_minus_pi_6): Likewise.
385 (special_fill_pi_3): Likewise.
386 (special_fill_2pi_3): Likewise.
387 (special_fill_e): Likewise.
388 (special_fill_1_e): Likewise.
389 (special_fill_e_minus_1): Likewise.
390 (special_real_inputs): Add more special inputs.
391 (output_for_one_input_case): Do not require ERANGE on underflow to
392 zero if round-to-nearest result does not underflow to zero, unless
393 exact results required.
394 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
395 atan, atanh, cbrt, cos and cosh.
396 * math/auto-libm-test-out: Regenerated.
397 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
398 (acos_tonearest_test_data): Likewise.
399 (acos_towardzero_test_data): Likewise.
400 (acos_downward_test_data): Likewise.
401 (acos_upward_test_data): Likewise.
402 (acosh_test_data): Likewise.
403 (asin_test_data): Likewise.
404 (asin_tonearest_test_data): Likewise.
405 (asin_towardzero_test_data): Likewise.
406 (asin_upward_test_data): Likewise.
407 (asinh_test_data): Likewise.
408 (atan_test_data): Likewise.
409 (atanh_test_data): Likewise.
410 (cbrt_test_data): Likewise.
411 (cos_test_data): Likewise.
412 (cos_tonearest_test_data): Likewise.
413 (cos_towardzero_test_data): Likewise.
414 (cos_downward_test_data): Likewise.
415 (cos_upward_test_data): Likewise.
416 (cosh_test_data): Likewise.
417 (cosh_tonearest_test_data): Likewise.
418 (cosh_towardzero_test_data): Likewise.
419 (cosh_downward_test_data): Likewise.
420 (cosh_upward_test_data): Likewise.
421 * sysdeps/i386/fpu/libm-test-ulps: Update.
422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
423
ffb536d0
JM
4242013-11-29 Joseph Myers <joseph@codesourcery.com>
425
2a77a467
JM
426 [BZ #6787]
427 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
428 * math/w_exp10f.c (__exp10f): Likewise.
429 * math/w_exp10l.c (__exp10l): Likewise.
430 * math/libm-test.inc (exp10_test_data): Add more tests and expect
431 errno settings in existing tests.
432
ea3bc4e8
JM
433 [BZ #14032]
434 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
435 precision control set to double precision.
436 * sysdeps/i386/fpu/w_sqrt.c: New file.
437 * math/auto-libm-test-in: Add more tests.
438 * math/auto-libm-test-out: Update.
439
0712c9d8
JM
440 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
441 (sqrt_test_tonearest): New function.
442 (sqrt_towardzero_test_data): New variable.
443 (sqrt_test_towardzero): New function.
444 (sqrt_downward_test_data): New variable.
445 (sqrt_test_downward): New function.
446 (sqrt_upward_test_data): New variable.
447 (sqrt_test_upward): New function.
448 (main): Call the new functions.
449
ffb536d0
JM
450 * math/gen-auto-libm-tests.c: New file.
451 * math/auto-libm-test-in: Likewise.
452 * math/auto-libm-test-out: New generated file.
453 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
454 variables.
455 (%beautify): Add generated representations of zero.
456 (top level): Set $auto_input and call parse_auto_input.
457 (beautify): Remove trailing "f" from hex float constants.
458 (parse_args): Handle XFAIL_TEST.
459 (convert_condition): New function.
460 (or_value): Likewise.
461 (or_cond_value): Likewise.
462 (generate_testfile): Handle AUTO_TESTS_* lines.
463 (parse_auto_input): New function.
464 * math/libm-test.inc (XFAIL_TEST): New macro.
465 (ERRNO_UNCHANGED): Update value.
466 (ERRNO_EDOM): Likewise.
467 (ERRNO_ERANGE): Likewise.
468 (IGNORE_RESULT): Likewise.
469 (TEST_COND_flt_32): New macro.
470 (TEST_COND_dbl_64): Likewise.
471 (TEST_COND_ldbl_96_intel): Likewise.
472 (TEST_COND_ldbl_96_m68k): Likewise.
473 (TEST_COND_ldbl_128): Likewise.
474 (TEST_COND_ldbl_128ibm): Likewise.
475 (TEST_COND_long32): Likewise.
476 (TEST_COND_long64): Likewise.
477 (TEST_COND_before_rounding): Likewise.
478 (TEST_COND_after_rounding): Likewise.
479 (enable_test): Handle XFAIL_TEST flag.
480 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
481 with finite results.
482 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
483 auto-libm-test-out.
484
acd98a8e
AK
4852013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
486 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
487
488 [BZ #16214]
489 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
490 __tls_get_addr_internal instead of __tls_get_offset in order to
491 avoid GOT pointer dependency. Make rtld export
492 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
493 __tls_get_addr since we are a __tls_get_offset platform.
494 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
495 GOT pointer being set up before.
496 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
497
3c1c46a6
JM
4982013-11-28 Joseph Myers <joseph@codesourcery.com>
499
7475aef5
JM
500 * manual/math.texi (Errors in Math Functions): Document accuracy
501 goals.
502
8bca7cd8
JM
503 [BZ #15004]
504 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
505 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
506 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
507 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
508 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
509 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
510 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
511 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
512 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
513 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
514 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
517 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
519 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
520
91a1f3fe
JM
521 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
522 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
523 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
524 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
525 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
526 Likewise.
527 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
528 Likewise.
529 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
530 Likewise.
531 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
532 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
533 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
534 atomic-feupdateenv and flt-rounds.
535 * sysdeps/powerpc/nofpu/Versions (libc): Add
536 __atomic_feholdexcept, __atomic_feclearexcept,
537 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
538 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
539 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
540 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
541 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
542 here.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
544 Update.
545
c5df7609
JM
546 * manual/arith.texi (FP Exceptions): Document that exceptions may
547 not be raised when matherr is used.
548 (Math Error Reporting): Document overflow in directed rounding
549 modes. Document that errno may not be set when finite values are
550 returned on overflow. Document intent to set errno on underflow
551 only for underflow to zero.
552
3c1c46a6
JM
553 [BZ #16271]
554 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
555 round-to-nearest then adjust result for other rounding modes.
556 * include/fenv.h (fegetround): Use libm_hidden_proto.
557 * math/fegetround.c (fegetround): Use libm_hidden_def.
558 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
559 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
560 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
561 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
562 Likewise.
563 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
564 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
565 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
566 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
567
5a4c6d53
SP
5682013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
569
570 [BZ #16077]
571 * nss/Versions (libnss_files): Add
572 _nss_files_gethostbyname3_r.
573 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
574 New function.
575 (HOST_DB_LOOKUP): Remove macro.
576 (_nss_files_gethostbyname_r): Implement function without the
577 HOST_DB_LOOKUP macro.
578 (_nss_files_gethostbyname2_r): Likewise.
579
897b98ba
OB
5802013-11-28 Ondřej Bílka <neleai@seznam.cz>
581
582 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
583
6f476861
UB
5842013-11-26 Uros Bizjak <ubizjak@gmail.com>
585
586 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
587 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
588 warning.
589
bd12ab55
AZ
5902013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591
592 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
593 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
594 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
595 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
596 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
597 __fe_nomask_env_priv and attribute_hidden.
598 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
599 (libc_feupdateenv_test_ppc): Likewise.
600 (libc_feresetround_ppc): Likewise.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
602 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
603 compat_symbol macro.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
605 (__fe_nomask_env): Likewise.
606 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
607
52bb6543
OB
6082013-11-26 Ondřej Bílka <neleai@seznam.cz>
609
610 * string/Makefile: Remove ifunc tests.
611 * string/test-string.h: Define TEST_IFUNC.
612 * string/test-bcopy-ifunc.c: Remove.
613 * string/test-bzero-ifunc.c: Likewise.
614 * string/test-memccpy-ifunc.c: Likewise.
615 * string/test-memchr-ifunc.c: Likewise.
616 * string/test-memcmp-ifunc.c: Likewise.
617 * string/test-memcpy-ifunc.c: Likewise.
618 * string/test-memmem-ifunc.c: Likewise.
619 * string/test-memmove-ifunc.c: Likewise.
620 * string/test-mempcpy-ifunc.c: Likewise.
621 * string/test-memrchr-ifunc.c: Likewise.
622 * string/test-memset-ifunc.c: Likewise.
623 * string/test-rawmemchr-ifunc.c: Likewise.
624 * string/test-stpcpy-ifunc.c: Likewise.
625 * string/test-stpncpy-ifunc.c: Likewise.
626 * string/test-strcasecmp-ifunc.c: Likewise.
627 * string/test-strcasestr-ifunc.c: Likewise.
628 * string/test-strcat-ifunc.c: Likewise.
629 * string/test-strchr-ifunc.c: Likewise.
630 * string/test-strchrnul-ifunc.c: Likewise.
631 * string/test-strcmp-ifunc.c: Likewise.
632 * string/test-strcpy-ifunc.c: Likewise.
633 * string/test-strcspn-ifunc.c: Likewise.
634 * string/test-strlen-ifunc.c: Likewise.
635 * string/test-strncasecmp-ifunc.c: Likewise.
636 * string/test-strncat-ifunc.c: Likewise.
637 * string/test-strncmp-ifunc.c: Likewise.
638 * string/test-strncpy-ifunc.c: Likewise.
639 * string/test-strnlen-ifunc.c: Likewise.
640 * string/test-strpbrk-ifunc.c: Likewise.
641 * string/test-strrchr-ifunc.c: Likewise.
642 * string/test-strspn-ifunc.c: Likewise.
643 * string/test-strstr-ifunc.c: Likewise.
644
ab260039 6452013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
646
647 * benchtests/Makefile: Remove ifunc tests.
648 * benchtests/bench-string.h: Define TEST_IFUNC.
649 * benchtests/bench-bcopy-ifunc.c: Remove.
650 * benchtests/bench-bzero-ifunc.c: Likewise.
651 * benchtests/bench-memccpy-ifunc.c: Likewise.
652 * benchtests/bench-memchr-ifunc.c: Likewise.
653 * benchtests/bench-memcmp-ifunc.c: Likewise.
654 * benchtests/bench-memcpy-ifunc.c: Likewise.
655 * benchtests/bench-memmem-ifunc.c: Likewise.
656 * benchtests/bench-memmove-ifunc.c: Likewise.
657 * benchtests/bench-mempcpy-ifunc.c: Likewise.
658 * benchtests/bench-memrchr-ifunc.c: Likewise.
659 * benchtests/bench-memset-ifunc.c: Likewise.
660 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
661 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
662 * benchtests/bench-stpcpy-ifunc.c: Likewise.
663 * benchtests/bench-stpncpy-ifunc.c: Likewise.
664 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
665 * benchtests/bench-strcasestr-ifunc.c: Likewise.
666 * benchtests/bench-strcat-ifunc.c: Likewise.
667 * benchtests/bench-strchr-ifunc.c: Likewise.
668 * benchtests/bench-strchrnul-ifunc.c: Likewise.
669 * benchtests/bench-strcmp-ifunc.c: Likewise.
670 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
671 * benchtests/bench-strcpy-ifunc.c: Likewise.
672 * benchtests/bench-strcspn-ifunc.c: Likewise.
673 * benchtests/bench-strlen-ifunc.c: Likewise.
674 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
675 * benchtests/bench-strncat-ifunc.c: Likewise.
676 * benchtests/bench-strncmp-ifunc.c: Likewise.
677 * benchtests/bench-strncpy-ifunc.c: Likewise.
678 * benchtests/bench-strnlen-ifunc.c: Likewise.
679 * benchtests/bench-strpbrk-ifunc.c: Likewise.
680 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 681 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
682 * benchtests/bench-strspn-ifunc.c: Likewise.
683 * benchtests/bench-strstr-ifunc.c: Likewise.
684
6852013-11-26 Ondřej Bílka <neleai@seznam.cz>
686
ab260039
OB
687 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
688
d1d9eaf4 6892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 690
d1d9eaf4
OB
691 * resolv/netdb.h: Use __glibc_reserved instead __unused.
692 * rt/aio.h: Likewise.
693 * sysdeps/gnu/bits/utmp.h: Likewise.
694 * sysdeps/gnu/bits/utmpx.h: Likewise.
695 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
696 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
697 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
698 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
699 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
700 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
701 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
702 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
710 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
711 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
712 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
713 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
714 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
715 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
716 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
717 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
718 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
719 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
721 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
722 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
723 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
725 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
726 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
728 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
729 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
730 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
731 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
732 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
733 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
734 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
735 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
736 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
737
a7624ed9
CD
7382013-11-25 Carlos O'Donell <carlos@redhat.com>
739
740 [BZ #16245]
741 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
742 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
743
63cfe52b
JM
7442013-11-25 Joseph Myers <joseph@codesourcery.com>
745
746 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
747 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
748 Likewise.
749
41e8926a
AZ
7502013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
751
752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
753 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
754 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
755 (__fesetround): Remove define.
756 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
757 rounding and exceptions handling.
758 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
759 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
760 (__fe_nomask_env): Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
762 __fegetround instead of fegetround.
763 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
764 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
765
6851bd4d
RM
7662013-11-21 Roland McGrath <roland@hack.frob.com>
767
070906ff
RM
768 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
769 it's there.
770
6851bd4d
RM
771 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
772
84ae135d
MI
7732013-11-21 Meador Inge <meadori@codesourcery.com>
774
775 [BZ #11157]
776 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
777 (encrypt_r): Likewise.
778 * malloc/obstack.h (obstack_free): Likewise.
779 * posix/unistd.h (encrypt): Likewise.
780
daf75146
GM
7812013-11-21 Guy Martin <gmsoft@tuxicoman.be>
782
783 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
784 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
785 DL_CALL_DT_FINI() that call the functions directly.
786 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
787 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
788 * elf/dl-fini.c: Likewise.
789
10ad46bc
OB
7902013-11-20 Ondřej Bílka <neleai@seznam.cz>
791
792 * malloc/hooks.c (memalign_check): Add alignment rounding.
793 * malloc/malloc.c (_mid_memalign): New function.
794 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
795 Implement by calling _mid_memalign.
796 * manual/probes.texi (Memory Allocation Probes): Remove
797 memory_valloc_retry and memory_pvalloc_retry.
798
f3fd2628
SP
7992013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
800
4712799f
SP
801 * locale/programs/locarchive.c (open_archive): Add const
802 qualifier to ARCHIVEFNAME and copy default fname to
803 DEFAULT_FNAME.
804
0417b20f
SP
805 [BZ #15601]
806 * libio/tst-widetext.input: Rename Oriya to Odia.
807 * locale/iso-639.def: Likewise.
808
f3fd2628
SP
809 * manual/probes.texi (Mathematical Function Probes): Add
810 documentation for sin, cos, asin and acos probes.
811 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
812 (__sin32): Add slowasin probe.
813 (__cos32): Add slowacos probe.
814 (__mpsin): Add slowsin probe.
815 (__mpcos): Add slowcos probe.
816
73c1ce4f
JM
8172013-11-19 Joseph Myers <joseph@codesourcery.com>
818
819 [BZ #15483]
820 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
821 thread-local __sim_exceptions_thread and global
822 __sim_exceptions_global.
823 (__sim_disabled_exceptions): Change to thread-local
824 __sim_disabled_exceptions_thread and global
825 __sim_disabled_exceptions_global.
826 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
827 and global __sim_round_mode_global.
828 (__simulate_exceptions): Use thread-local floating-point state and
829 set global state from it as needed.
830 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
831 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
832 __sim_round_mode_thread.
833 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
834 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
835 and global __sim_exceptions_global.
836 (__sim_disabled_exceptions): Change to thread-local
837 __sim_disabled_exceptions_thread and global
838 __sim_disabled_exceptions_global.
839 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
840 and global __sim_round_mode_global.
841 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
842 (SIM_SET_GLOBAL): Likewise.
843 * sysdeps/powerpc/soft-fp/sfp-machine.h
844 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
845 __sim_round_mode_thread.
846 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
847 __sim_disabled_exceptions_thread.
848 (__sim_exceptions): Change to __sim_exceptions_thread.
849 (__sim_disabled_exceptions): Change to
850 __sim_disabled_exceptions_thread.
851 (__sim_round_mode): Change to __sim_round_mode_thread.
852 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
853 thread-local floating-point state and set global state from it as
854 needed.
855 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
856 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
857 (__sim_disabled_exceptions): Remove extern declaration.
858 (feenableexcept): Use thread-local floating-point state and set
859 global state from it as needed.
860 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
861 extern declaration.
862 (__sim_disabled_exceptions): Likewise.
863 (__sim_round_mode): Likewise.
864 (__fegetenv): Use thread-local floating-point state.
865 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
866 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
867 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
868 floating-point state and set global state from it as needed.
869 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
870 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
871 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
872 Likewise.
873 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
874 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
875 Likewise.
876 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
877 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
878 Use __sim_round_mode_thread.
879 * math/test-fenv-tls.c: New file.
880 * math/Makefile (tests): Add test-fenv-tls.
881 ($(objpfx)test-fenv-tls): Depend on
882 $(common-objpfx)nptl/libpthread.so.
883
b5449b12
AS
8842013-11-19 Andreas Schwab <schwab@suse.de>
885
886 * locale/programs/locale.c (show_info): Decode wordarray elements.
887 * locale/categories.def (LC_MONETARY): Add element for
888 _NL_MONETARY_CRNCYSTR.
889 * locale/C-monetary.c (conversion_rate): New variable.
890 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
891 element.
892
e186536b
CM
8932013-11-18 Chris Metcalf <cmetcalf@tilera.com>
894
895 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
896 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
897
5c349950
PP
8982013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
899
900 * elf/Makefile (tst-auxv): New test.
901 * elf/tst-auxv.c: New
902 * elf/rtld.c (dl_main): Adjust AT_EXECFN
903
699df45b
JM
9042013-11-18 Joseph Myers <joseph@codesourcery.com>
905
906 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
907 (hidden_proto): Caller changed.
908 (hidden_tls_proto): New macro.
909 (libc_hidden_tls_proto): Likewise.
910 (rtld_hidden_tls_proto): Likewise.
911 (libm_hidden_tls_proto): Likewise.
912 (libresolv_hidden_tls_proto): Likewise.
913 (librt_hidden_tls_proto): Likewise.
914 (libdl_hidden_tls_proto): Likewise.
915 (libnss_files_hidden_tls_proto): Likewise.
916 (libnsl_hidden_tls_proto): Likewise.
917 (libnss_nisplus_hidden_tls_proto): Likewise.
918 (libutil_hidden_tls_proto): Likewise.
919
b7589107
OB
9202013-11-18 Ondřej Bílka <neleai@seznam.cz>
921
922 [BZ #10253]
923 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
924 (decompose_rpath): Defer expansion to fillin_rpath.
925 (_dl_init_paths): Pass linkmap to fillin_rpath.
926
250c23bd
RS
9272013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
928
929 * benchtests/Makefile: Add strsep.
930 * benchtests/bench-strsep.c: New file: strsep benchtest.
931 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
932
a7931fcf
AS
9332013-11-18 Andreas Schwab <schwab@suse.de>
934
935 * locale/programs/locale.c (show_info) [case byte]: Check for
936 '\377' instead of '\177'.
937 * locale/C-monetary.c (not_available): Always use "\377".
938 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
939 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
940 detect unavailable sign_posn locale elements.
941 * locale/localeconv.c (__localeconv): For grouping and
942 mon_grouping handle "\177" and "\377" like no grouping.
943 (INT_ELEM): New macro. Use it to set all numeric members.
944 * locale/programs/ld-monetary.c (monetary_read)
945 <tok_mon_grouping>: Normalize single -1 to the empty string.
946 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
947 Likewise.
948
728dab0e
OB
9492013-11-07 Ondřej Bílka <neleai@seznam.cz>
950
951 [BZ #16055]
952 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
953 when we match (nil).
954 * stdio-common/tst-sscanf.c (struct test): Add testcase.
955
66294491
JM
9562013-11-16 Joseph Myers <joseph@codesourcery.com>
957
ce665817
JM
958 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
959 (NO_TEST_INLINE): Update value.
960 (ERRNO_UNCHANGED): Likewise.
961 (ERRNO_EDOM): Likewise.
962 (ERRNO_ERANGE): Likewise.
963 (IGNORE_RESULT): Likewise.
964 (check_float_internal): Check signs of NaN results if
965 TEST_NAN_SIGN used.
966 (check_complex): Pass TEST_NAN_SIGN flag through to second
967 check_float_internal call.
968 (copysign_test_data): Add tests with quiet NaNs as second
969 argument. Use TEST_NAN_SIGN.
970 (fabs_test_data): Add test of negative quiet NaN argument. Use
971 TEST_NAN_SIGN.
972 (signbit_test_data): Add tests of quiet NaN argument.
973 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
974
ee1466a9
JM
975 * math/gen-libm-test.pl (show_exceptions): Take extra argument
976 $ignore_result.
977 (parse_args): Handle function results specified as IGNORE.
978 * math/libm-test.inc (IGNORE_RESULT): New macro.
979 (check_float_internal): Do not check numerical result if flag
980 IGNORE_RESULT set.
981 (check_complex): Pass through IGNORE_RESULT to second
982 check_float_internal call.
983 (check_int): Do not check numerical result if flag IGNORE_RESULT
984 set.
985 (check_long): Likewise.
986 (check_bool): Likewise.
987 (check_longlong): Likewise.
988 (lrint_test_data): Add tests of infinite and NaN arguments.
989 (lrint_tonearest_test_data): Likewise.
990 (lrint_towardzero_test_data): Likewise.
991 (lrint_downward_test_data): Likewise.
992 (lrint_upward_test_data): Likewise.
993 (llrint_test_data): Likewise.
994 (llrint_tonearest_test_data): Likewise.
995 (llrint_towardzero_test_data): Likewise.
996 (llrint_downward_test_data): Likewise.
997 (llrint_upward_test_data): Likewise.
998 (lround_test_data): Likewise.
999 (llround_test_data): Likewise.
1000
14407b7e
JM
1001 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1002 (ERRNO_UNCHANGED): Update value.
1003 (ERRNO_EDOM): Likewise.
1004 (ERRNO_ERANGE): Likewise.
1005 (NO_TEST_INLINE_FLOAT): New macro.
1006 (NO_TEST_INLINE_DOUBLE): Likewise.
1007 (enable_test): New function.
1008 (RUN_TEST_f_f): Check enable_test before running test.
1009 (RUN_TEST_2_f): Likewise.
1010 (RUN_TEST_fff_f): Likewise.
1011 (RUN_TEST_c_f): Likewise.
1012 (RUN_TEST_f_f1): Likewise.
1013 (RUN_TEST_fF_f1): Likewise.
1014 (RUN_TEST_fI_f1): Likewise.
1015 (RUN_TEST_ffI_f1): Likewise.
1016 (RUN_TEST_c_c): Likewise.
1017 (RUN_TEST_cc_c): Likewise.
1018 (RUN_TEST_f_i): Likewise.
1019 (RUN_TEST_f_i_tg): Likewise.
1020 (RUN_TEST_ff_i_tg): Likewise.
1021 (RUN_TEST_f_b): Likewise.
1022 (RUN_TEST_f_b_tg): Likewise.
1023 (RUN_TEST_f_l): Likewise.
1024 (RUN_TEST_f_L): Likewise.
1025 (RUN_TEST_fFF_11): Likewise.
1026 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1027 conditionals.
1028 (cosh_test_data): Likewise.
1029 (exp_test_data): Likewise.
1030 (expm1_test_data): Likewise.
1031 (hypot_test_data): Likewise.
1032 (pow_test_data): Likewise.
1033 (sinh_test_data): Likewise.
1034 (tanh_test_data): Likewise.
1035 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1036 flags argument.
1037
ca07f197
JM
1038 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1039 tests with quiet NaN input and output.
1040 (acosh_test_data): Likewise.
1041 (asin_test_data): Likewise.
1042 (asinh_test_data): Likewise.
1043 (atan_test_data): Likewise.
1044 (atanh_test_data): Likewise.
1045 (atan2_test_data): Likewise.
1046 (cbrt_test_data): Likewise.
1047 (cos_test_data): Likewise.
1048 (cosh_test_data): Likewise.
1049 (erf_test_data): Likewise.
1050 (erfc_test_data): Likewise.
1051 (exp_test_data): Likewise.
1052 (exp10_test_data): Likewise.
1053 (exp2_test_data): Likewise.
1054 (expm1_test_data): Likewise.
1055 (hypot_test_data): Likewise.
1056 (j0_test_data): Likewise.
1057 (j1_test_data): Likewise.
1058 (jn_test_data): Likewise.
1059 (lgamma_test_data): Likewise.
1060 (log_test_data): Likewise.
1061 (log10_test_data): Likewise.
1062 (log1p_test_data): Likewise.
1063 (log2_test_data): Likewise.
1064 (pow_test_data): Likewise.
1065 (scalb_test_data): Likewise.
1066 (sin_test_data): Likewise.
1067 (sincos_test_data): Likewise.
1068 (sinh_test_data): Likewise.
1069 (tan_test_data): Likewise.
1070 (tanh_test_data): Likewise.
1071 (tgamma_test_data): Likewise.
1072 (y0_test_data): Likewise.
1073 (y1_test_data): Likewise.
1074 (yn_test_data): Likewise.
1075
66294491
JM
1076 [BZ #16167]
1077 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1078 argument being NaN and avoid computations with second argument in
1079 that case.
1080 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1081 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1082 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1083
1820b143
CL
10842013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1085
1086 * locale/iso-639.def: Add Chitwani Tharu (the).
1087
714bd261
AS
10882013-11-14 Andreas Schwab <schwab@suse.de>
1089
1090 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1091 word instead of empty string.
1092
7ab44563
AZ
10932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1096 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1098 (__fe_nomask_env): Likewise.
1099
e8470ea2
SE
11002013-11-13 Steve Ellcey <sellcey@mips.com>
1101
1102 * benchtests/bench-timing.h: Include time.h.
1103
17c1d9f0
L
11042013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 [BZ #15997]
1107 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1108 to 3.4.0 for x32.
1109 * sysdeps/unix/sysv/linux/configure: Regenerated.
1110
9310c284
JM
11112013-11-13 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #16151]
1114 * stdlib/strtod_l.c (round_and_return): Do not consider
1115 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1116 exponent one less than half the least subnormal exponent.
1117 * stdlib/test-strtod-round-data: Add more tests.
1118 * stdlib/tst-strtod-round.c (tests): Regenerated.
1119
7a2ad8cf
AZ
11202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121
1122 [BZ #14143]
1123 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1124 (__fe_mask_env): Likewise.
1125 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1126 libm_hidden_proto and add function prototype.
1127 (__fe_mask_env): Add function prototype.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1129 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1131 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1133 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1134
50727aa7
MS
11352013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1136
b2f386c1 1137 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1138 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1139
a615be46
MS
11402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1141
1142 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1143 of htab_find_slot().
1144
7ddace62
DM
11452013-11-11 David S. Miller <davem@davemloft.net>
1146
1147 [BZ #16150]
1148 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1149 symbol in the non-vis3 case in static builds.
1150 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1151 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1152 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1153 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1154
9182aa67
JK
11552013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1156
1157 [BZ #387]
1158 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1159 it is empty.
1160
450a2e2d
AZ
11612013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162
b2f386c1
SP
1163 * benchtests/Makefile: Add bench-strtod.
1164 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1165
8ec3f656
AS
11662013-11-11 Andreas Schwab <schwab@suse.de>
1167
1168 [BZ #16153]
1169 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1170 terminating NUL in key length.
1171
76a9b998
AZ
11722013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173
1174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1175 Add artificial ODP entry for vDSO symbol for PPC64.
1176 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1177 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1178
e4368156
OB
11792013-11-07 Ondřej Bílka <neleai@seznam.cz>
1180
1181 [BZ #15374]
1182 * nss/getent.c (services_keys): Recognize services starting with digit.
1183
8d6bb57c
DM
11842013-11-06 David S. Miller <davem@davemloft.net>
1185
1186 [BZ #15985]
1187 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1188 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1189
e256c421
WN
11902013-11-06 Will Newton <will.newton@linaro.org>
1191
1192 * manual/memory.texi (Malloc Examples): Remove register
1193 keyword from examples.
1194
f6e12daa 11952013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1196
f6e12daa 1197 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1198
9d880655
AS
11992013-11-04 Joseph Myers <joseph@codesourcery.com>
1200
1201 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1202 depending on [__GCC_IEC_559 > 0].
1203 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1204 depending on [__GCC_IEC_559_COMPLEX > 0].
1205
ae129d3c
CL
12062013-11-03 Chris Leonard <cjl@sugarlabs.org>
1207
1208 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1209 to iso-639.def.
1210
4a15c2a4 12112013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1212
1213 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1214
8b35e35d
OB
12152013-11-01 Ondřej Bílka <neleai@seznam.cz>
1216
1217 [BZ #16112]
1218 * malloc/malloc (malloc_info): Do not handle first bin as
1219 special case.
1220
1d70fd6c
CL
12212013-11-01 Chris Leonard <cjl@sugarlabs.org>
1222
1223 * locale/iso-639.def: Add Central Nahuatl (nhn).
1224
8c5c2600
BH
12252013-11-01 Bruno Haible <bruno@clisp.org>
1226
1227 [BZ #7003]
1228 * manual/math.texi (BSD Random): Specify range upper bound as
1229 in POSIX.
1230
da5579c2
CL
12312013-10-31 Chris Leonard <cjl@sugarlabs.org>
1232
1233 * locale/iso-639.def: Add Meadow Mari (mhr).
1234
5d30d853
OB
12352013-10-31 Ondřej Bílka <neleai@seznam.cz>
1236
1237 [BZ #14752], [BZ #15763]
1238 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1239 Validate name.
1240 * rt/tst_shm.c: Add test for escaping directory.
1241
a4966c61
AS
12422013-10-31 Andreas Schwab <schwab@suse.de>
1243
8a43e768 1244 [BZ #15917]
a4966c61
AS
1245 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1246 followed by 'x' as part of digit sequence.
1247 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1248
28d708c4
MAP
12492013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1250
1251 [BZ #16037]
1252 * configure.ac: allow GNU Make 4.0 and greater.
1253 * configure: Regenerated.
1254
a56ee40b
WN
12552013-10-30 Will Newton <will.newton@linaro.org>
1256
1257 [BZ #16038]
1258 * malloc/hooks.c (memalign_check): Limit alignment to the
1259 maximum representable power of two.
1260 * malloc/malloc.c (__libc_memalign): Likewise.
1261 * malloc/tst-memalign.c (do_test): Add test for very
1262 large alignment values.
1263 * malloc/tst-posix_memalign.c (do_test): Likewise.
1264
c6e4925d
OB
12652013-10-30 Ondřej Bílka <neleai@seznam.cz>
1266
1267 [BZ #11087]
1268 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1269 (munmap_chunk): Likewise.
1270 (mremap_chunk): Likewise.
1271
12722013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1273
8a43e768 1274 [BZ #15799]
bbea82f7
OB
1275 * stdlib/div.c (div): Remove obsolete code.
1276 * stdlib/ldiv.c (ldiv): Likewise.
1277 * stdlib/lldiv.c (lldiv): Likewise.
1278
977f4b31
SP
12792013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1280
1281 [BZ #16071]
1282 * nss/nss_files/files-XXX.c (get_contents_ret): New
1283 enumerator.
1284 (get_contents): New function.
1285 (internal_getent): Use it. Expand size of LINEBUFLEN.
1286
cb8a6dbd
MF
12872013-10-30 Mike Frysinger <vapier@gentoo.org>
1288
1289 * configure.in: Moved to ...
1290 * configure.ac: ... here. Change reference to configure.in
1291 to configure.ac.
1292 * sysdeps/arm/preconfigure.ac: ... here.
1293 configure.in to configure.ac.
1294 * sysdeps/gnu/configure.in: Moved to ...
1295 * sysdeps/gnu/configure.ac: ... here.
1296 * sysdeps/i386/configure.in: Moved to ...
1297 * sysdeps/i386/configure.ac: ... here.
1298 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1299 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1300 * sysdeps/mach/configure.in: Moved to ...
1301 * sysdeps/mach/configure.ac: ... here.
1302 * sysdeps/mach/hurd/configure.in: Moved to ...
1303 * sysdeps/mach/hurd/configure.ac: ... here.
1304 * sysdeps/powerpc/configure.in: Moved to ...
1305 * sysdeps/powerpc/configure.ac: ... here.
1306 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1307 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1308 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1309 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1310 * sysdeps/s390/s390-32/configure.in: Moved to ...
1311 * sysdeps/s390/s390-32/configure.ac: ... here.
1312 * sysdeps/s390/s390-64/configure.in: Moved to ...
1313 * sysdeps/s390/s390-64/configure.ac: ... here.
1314 * sysdeps/sh/configure.in: Moved to ...
1315 * sysdeps/sh/configure.ac: ... here.
1316 * sysdeps/sparc/configure.in: Moved to ...
1317 * sysdeps/sparc/configure.ac: ... here.
1318 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1319 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1320 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1321 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1322 * sysdeps/x86_64/configure.in: Moved to ...
1323 * sysdeps/x86_64/configure.ac: ... here.
1324 * sysdeps/x86_64/preconfigure.in: Moved to ...
1325 * sysdeps/x86_64/preconfigure.ac: ... here.
1326 * aclocal.m4: Change reference to configure.in to configure.ac.
1327 * config.h.in: Likewise.
1328 * manual/install.texi: Likewise.
1329 * manual/maint.texi: Likewise.
1330 * Makefile: Likewise.
1331 * malloc/Makefile: Likewise.
1332 * nscd/Makefile: Likewise.
1333 * Makeconfig: Change reference to configure.in and
1334 preconfigure.in to configure.ac and preconfigure.ac
1335 respectively.
1336 * INSTALL: Regenerated.
1337 * configure: Likewise.
1338 * sysdeps/gnu/configure: Likewise.
1339 * sysdeps/i386/configure: Likewise.
1340 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1341 * sysdeps/mach/configure: Likewise.
1342 * sysdeps/mach/hurd/configure: Likewise.
1343 * sysdeps/powerpc/configure: Likewise.
1344 * sysdeps/powerpc/powerpc32/configure: Likewise.
1345 * sysdeps/powerpc/powerpc64/configure: Likewise.
1346 * sysdeps/s390/s390-32/configure: Likewise.
1347 * sysdeps/s390/s390-64/configure: Likewise.
1348 * sysdeps/sh/configure: Likewise.
1349 * sysdeps/sparc/configure: Likewise.
1350 * sysdeps/unix/sysv/linux/configure: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1352 * sysdeps/x86_64/configure: Likewise.
1353 * sysdeps/x86_64/preconfigure: Likewise.
1354
36a4953a
AS
13552013-10-29 Andreas Schwab <schwab@suse.de>
1356
1357 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1358
c79a1204
SP
13592013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
dfa1b402
SP
1361 * benchtests/pow-inputs: Add new inputs.
1362
54f73d9c
SP
1363 * benchtests/exp-inputs: Add new inputs.
1364
c79a1204
SP
1365 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1366 conditional check for return value.
1367 (__cos32): Likewise.
1368
67beb545 13692013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1370
1371 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1372 to provide a boost for large inputs with word alignment.
1373 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1374 implementation based on optimized PPC64 strcpy.
1375 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1376 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1377 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1378 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1379
151659f6
OB
13802013-10-25 Ondřej Bílka <neleai@seznam.cz>
1381
482a077e 1382 [BZ #2801]
151659f6
OB
1383 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1384
10b0f26b
OB
13852013-10-25 Ondřej Bílka <neleai@seznam.cz>
1386
1387 [BZ #14876]
1388 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1389 * time/tst-strptime.c (day_tests): Add testcase.
1390
ca42d35e
OB
13912013-10-25 Ondřej Bílka <neleai@seznam.cz>
1392
482a077e 1393 [BZ #14029]
ca42d35e
OB
1394 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1395
52e6d801
FB
13962013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1397
1398 [BZ #16074]
1399 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1400 MAP_FAILED on error.
1401
7cbcdb36
SP
14022013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 [BZ #16072]
1405 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1406 heap for large requests.
1407
894f3f10
AM
14082013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1409
1410 [BZ #9954]
1411 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1412 result if the result has no associated interface.
1413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1414 interface for all 127.X.Y.Z addresses.
1415
b85545a6
CL
14162013-10-24 Chris Leonard <cjl@sugarlabs.org>
1417
1418 * locale/iso-639.def: Add Ligurian (lij)
1419
d1f23d46
OB
14202013-10-21 Ondřej Bílka <neleai@seznam.cz>
1421
1422 [BZ #15825]
1423 * sunrpc/rpc_main.c: Document rpcgen -5.
1424
4db5b08f
MS
14252013-10-19 Michael Stahl <mstahl@redhat.com>
1426
1427 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1428
a471e96a
OB
14292013-10-19 Ondřej Bílka <neleai@seznam.cz>
1430
d1f23d46 1431 [BZ #10278]
a471e96a
OB
1432 * posix/glob.c: Match only directories when trailing slash is present.
1433 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1434 (main): Add testcase.
1435
45c30c61
OB
14362013-10-19 Ondřej Bílka <neleai@seznam.cz>
1437
1438 [BZ #15670]
1439 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1440
484c12fb
CD
14412013-10-18 Carlos O'Donell <carlos@redhat.com>
1442
3d7dc513
CD
1443 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1444 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1445 AUTH_DES and cindex for FIPS 140-2.
1446 (DES Encryption): Add cindex FIPS 46-3.
1447
484c12fb
CD
1448 * locale/locarchive.h (struct locarhandle): Add fname.
1449 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1450 if an optional argument was specified to --list-archive,
1451 otherwise NULL.
1452 * locale/programs/locarchive.c (show_archive_content): Take new
1453 argument fname and pass it via ah.fname to open_archive.
1454 * locale/programs/localedef.h: Update decl.
1455 (open_archive): If AH->fname is non-null, open that file
1456 rather than the default file name, and don't ignore ENOENT.
1457 (create_archive): Set AH.fname to NULL.
1458 (delete_locales_from_archive): Likewise.
1459 (add_locales_to_archive): Likewise.
1460 * locale/programs/locfile.c (write_all_categories): Likewise.
1461
3c8325fb
JM
14622013-10-18 Joseph Myers <joseph@codesourcery.com>
1463 Aldy Hernandez <aldyh@redhat.com>
1464
1465 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1466 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1467 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1468 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1469 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1470 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1471 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1473 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1474 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1475 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1476 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1478 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1479 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1480 Likewise.
1481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1482 Likewise.
1483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1484 Likewise.
1485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1486 Likewise.
1487 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1488 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1489 Likewise.
1490 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1491 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1492 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1493 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1494 Likewise.
1495 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1496 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1497 * sysdeps/powerpc/preconfigure: Likewise.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1499 Likewise.
1500 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1501 Replace contents of file by #include of <fenv_libc.h>.
1502 * sysdeps/powerpc/soft-fp/sfp-machine.h
1503 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1504 and <sys/prctl.h>.
1505 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1518 Allow copysignl PLT reference to be missing.
1519
5abe0682
RS
15202013-10-18 Richard Sandiford <richard@codesourcery.com>
1521 Joseph Myers <joseph@codesourcery.com
1522
1523 [BZ #15948]
1524 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1525 single character.
1526 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1527
c7738d08
SP
15282013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1529
1530 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1531 * elf/tst-tls1.c: Likewise.
1532 * elf/tst-tls10.h: Likewise.
1533 * elf/tst-tls14.c: Likewise.
1534 * elf/tst-tls2.c: Likewise.
1535 * elf/tst-tls3.c: Likewise.
1536 * elf/tst-tls4.c: Likewise.
1537 * elf/tst-tls5.c: Likewise.
1538 * elf/tst-tls6.c: Likewise.
1539 * elf/tst-tls7.c: Likewise.
1540 * elf/tst-tls8.c: Likewise.
1541 * elf/tst-tls9.c: Likewise.
1542 * elf/tst-tlsmod1.c: Likewise.
1543 * elf/tst-tlsmod13.c: Likewise.
1544 * elf/tst-tlsmod13a.c: Likewise.
1545 * elf/tst-tlsmod14a.c: Likewise.
1546 * elf/tst-tlsmod16a.c: Likewise.
1547 * elf/tst-tlsmod16b.c: Likewise.
1548 * elf/tst-tlsmod2.c: Likewise.
1549 * elf/tst-tlsmod3.c: Likewise.
1550 * elf/tst-tlsmod4.c: Likewise.
1551 * elf/tst-tlsmod5.c: Likewise.
1552 * elf/tst-tlsmod6.c: Likewise.
1553
0bfcf2c7
OB
15542013-10-18 Ondřej Bílka <neleai@seznam.cz>
1555
1556 [BZ #12486]
1557 * malloc/malloc.c: remove checks for statistics.
1558
264aad1e
OB
15592013-10-17 Ondřej Bílka <neleai@seznam.cz>
1560
1561 [BZ #15277]
1562 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1563 * inet/tst-network.c: Add testcase.
1564
b957ced8
AS
15652013-10-17 Andreas Schwab <schwab@suse.de>
1566
1567 [BZ #15218]
1568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1569 to determine canonical name.
1570
c5d5d574
OB
15712013-10-17 Ondřej Bílka <neleai@seznam.cz>
1572
1573 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1574 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1597 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1598 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1631
e5c2c2d0
JM
16322013-10-17 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #16041]
1635 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1636 make result into a quiet NaN.
1637
51ca9e29
JM
16382013-10-16 Joseph Myers <joseph@codesourcery.com>
1639
1640 * soft-fp/adddf3.c: Fix horizontal whitespace.
1641 * soft-fp/addsf3.c: Likewise.
1642 * soft-fp/addtf3.c: Likewise.
1643 * soft-fp/divdf3.c: Likewise.
1644 * soft-fp/divsf3.c: Likewise.
1645 * soft-fp/divtf3.c: Likewise.
1646 * soft-fp/double.h: Likewise.
1647 * soft-fp/eqdf2.c: Likewise.
1648 * soft-fp/eqsf2.c: Likewise.
1649 * soft-fp/eqtf2.c: Likewise.
1650 * soft-fp/extenddftf2.c: Likewise.
1651 * soft-fp/extended.h: Likewise.
1652 * soft-fp/extendsfdf2.c: Likewise.
1653 * soft-fp/extendsftf2.c: Likewise.
1654 * soft-fp/extendxftf2.c: Likewise.
1655 * soft-fp/fixdfdi.c: Likewise.
1656 * soft-fp/fixdfsi.c: Likewise.
1657 * soft-fp/fixdfti.c: Likewise.
1658 * soft-fp/fixsfdi.c: Likewise.
1659 * soft-fp/fixsfsi.c: Likewise.
1660 * soft-fp/fixsfti.c: Likewise.
1661 * soft-fp/fixtfdi.c: Likewise.
1662 * soft-fp/fixtfsi.c: Likewise.
1663 * soft-fp/fixtfti.c: Likewise.
1664 * soft-fp/fixunsdfdi.c: Likewise.
1665 * soft-fp/fixunsdfsi.c: Likewise.
1666 * soft-fp/fixunsdfti.c: Likewise.
1667 * soft-fp/fixunssfdi.c: Likewise.
1668 * soft-fp/fixunssfsi.c: Likewise.
1669 * soft-fp/fixunssfti.c: Likewise.
1670 * soft-fp/fixunstfdi.c: Likewise.
1671 * soft-fp/fixunstfsi.c: Likewise.
1672 * soft-fp/fixunstfti.c: Likewise.
1673 * soft-fp/floatdidf.c: Likewise.
1674 * soft-fp/floatdisf.c: Likewise.
1675 * soft-fp/floatditf.c: Likewise.
1676 * soft-fp/floatsidf.c: Likewise.
1677 * soft-fp/floatsisf.c: Likewise.
1678 * soft-fp/floatsitf.c: Likewise.
1679 * soft-fp/floattidf.c: Likewise.
1680 * soft-fp/floattisf.c: Likewise.
1681 * soft-fp/floattitf.c: Likewise.
1682 * soft-fp/floatundidf.c: Likewise.
1683 * soft-fp/floatundisf.c: Likewise.
1684 * soft-fp/floatunditf.c: Likewise.
1685 * soft-fp/floatunsidf.c: Likewise.
1686 * soft-fp/floatunsisf.c: Likewise.
1687 * soft-fp/floatunsitf.c: Likewise.
1688 * soft-fp/floatuntidf.c: Likewise.
1689 * soft-fp/floatuntisf.c: Likewise.
1690 * soft-fp/floatuntitf.c: Likewise.
1691 * soft-fp/fmadf4.c: Likewise.
1692 * soft-fp/fmasf4.c: Likewise.
1693 * soft-fp/fmatf4.c: Likewise.
1694 * soft-fp/gedf2.c: Likewise.
1695 * soft-fp/gesf2.c: Likewise.
1696 * soft-fp/getf2.c: Likewise.
1697 * soft-fp/ledf2.c: Likewise.
1698 * soft-fp/lesf2.c: Likewise.
1699 * soft-fp/letf2.c: Likewise.
1700 * soft-fp/muldf3.c: Likewise.
1701 * soft-fp/mulsf3.c: Likewise.
1702 * soft-fp/multf3.c: Likewise.
1703 * soft-fp/negdf2.c: Likewise.
1704 * soft-fp/negsf2.c: Likewise.
1705 * soft-fp/negtf2.c: Likewise.
1706 * soft-fp/op-1.h: Likewise.
1707 * soft-fp/op-2.h: Likewise.
1708 * soft-fp/op-4.h: Likewise.
1709 * soft-fp/op-8.h: Likewise.
1710 * soft-fp/op-common.h: Likewise.
1711 * soft-fp/quad.h: Likewise.
1712 * soft-fp/single.h: Likewise.
1713 * soft-fp/soft-fp.h: Likewise.
1714 * soft-fp/sqrtdf2.c: Likewise.
1715 * soft-fp/sqrtsf2.c: Likewise.
1716 * soft-fp/sqrttf2.c: Likewise.
1717 * soft-fp/subdf3.c: Likewise.
1718 * soft-fp/subsf3.c: Likewise.
1719 * soft-fp/subtf3.c: Likewise.
1720 * soft-fp/truncdfsf2.c: Likewise.
1721 * soft-fp/trunctfdf2.c: Likewise.
1722 * soft-fp/trunctfsf2.c: Likewise.
1723 * soft-fp/trunctfxf2.c: Likewise.
1724 * soft-fp/unorddf2.c: Likewise.
1725 * soft-fp/unordsf2.c: Likewise.
1726 * soft-fp/unordtf2.c: Likewise.
1727
9ebb0332
JM
17282013-10-15 Joseph Myers <joseph@codesourcery.com>
1729
1730 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1731 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1732
4b1a6d8b
OB
17332013-10-15 Ondřej Bílka <neleai@seznam.cz>
1734
1735 * elf/dl-libc.c: Clear initfini list after freeing.
1736
1e145589
JM
17372013-10-14 Joseph Myers <joseph@codesourcery.com>
1738
1739 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1740 * soft-fp/addsf3.c: Likewise.
1741 * soft-fp/addtf3.c: Likewise.
1742 * soft-fp/divdf3.c: Likewise.
1743 * soft-fp/divsf3.c: Likewise.
1744 * soft-fp/divtf3.c: Likewise.
1745 * soft-fp/double.h: Likewise.
1746 * soft-fp/eqdf2.c: Likewise.
1747 * soft-fp/eqsf2.c: Likewise.
1748 * soft-fp/eqtf2.c: Likewise.
1749 * soft-fp/extenddftf2.c: Likewise.
1750 * soft-fp/extended.h: Likewise.
1751 * soft-fp/extendsfdf2.c: Likewise.
1752 * soft-fp/extendsftf2.c: Likewise.
1753 * soft-fp/extendxftf2.c: Likewise.
1754 * soft-fp/fixdfdi.c: Likewise.
1755 * soft-fp/fixdfsi.c: Likewise.
1756 * soft-fp/fixdfti.c: Likewise.
1757 * soft-fp/fixsfdi.c: Likewise.
1758 * soft-fp/fixsfsi.c: Likewise.
1759 * soft-fp/fixsfti.c: Likewise.
1760 * soft-fp/fixtfdi.c: Likewise.
1761 * soft-fp/fixtfsi.c: Likewise.
1762 * soft-fp/fixtfti.c: Likewise.
1763 * soft-fp/fixunsdfdi.c: Likewise.
1764 * soft-fp/fixunsdfsi.c: Likewise.
1765 * soft-fp/fixunsdfti.c: Likewise.
1766 * soft-fp/fixunssfdi.c: Likewise.
1767 * soft-fp/fixunssfsi.c: Likewise.
1768 * soft-fp/fixunssfti.c: Likewise.
1769 * soft-fp/fixunstfdi.c: Likewise.
1770 * soft-fp/fixunstfsi.c: Likewise.
1771 * soft-fp/fixunstfti.c: Likewise.
1772 * soft-fp/floatdidf.c: Likewise.
1773 * soft-fp/floatdisf.c: Likewise.
1774 * soft-fp/floatditf.c: Likewise.
1775 * soft-fp/floatsidf.c: Likewise.
1776 * soft-fp/floatsisf.c: Likewise.
1777 * soft-fp/floatsitf.c: Likewise.
1778 * soft-fp/floattidf.c: Likewise.
1779 * soft-fp/floattisf.c: Likewise.
1780 * soft-fp/floattitf.c: Likewise.
1781 * soft-fp/floatundidf.c: Likewise.
1782 * soft-fp/floatundisf.c: Likewise.
1783 * soft-fp/floatunsidf.c: Likewise.
1784 * soft-fp/floatunsisf.c: Likewise.
1785 * soft-fp/floatuntidf.c: Likewise.
1786 * soft-fp/floatuntisf.c: Likewise.
1787 * soft-fp/floatuntitf.c: Likewise.
1788 * soft-fp/fmadf4.c: Likewise.
1789 * soft-fp/fmasf4.c: Likewise.
1790 * soft-fp/fmatf4.c: Likewise.
1791 * soft-fp/gedf2.c: Likewise.
1792 * soft-fp/gesf2.c: Likewise.
1793 * soft-fp/getf2.c: Likewise.
1794 * soft-fp/ledf2.c: Likewise.
1795 * soft-fp/lesf2.c: Likewise.
1796 * soft-fp/letf2.c: Likewise.
1797 * soft-fp/muldf3.c: Likewise.
1798 * soft-fp/mulsf3.c: Likewise.
1799 * soft-fp/multf3.c: Likewise.
1800 * soft-fp/negdf2.c: Likewise.
1801 * soft-fp/negsf2.c: Likewise.
1802 * soft-fp/negtf2.c: Likewise.
1803 * soft-fp/op-1.h: Likewise.
1804 * soft-fp/op-2.h: Likewise.
1805 * soft-fp/op-4.h: Likewise.
1806 * soft-fp/op-8.h: Likewise.
1807 * soft-fp/op-common.h: Likewise.
1808 * soft-fp/quad.h: Likewise.
1809 * soft-fp/single.h: Likewise.
1810 * soft-fp/soft-fp.h: Likewise.
1811 * soft-fp/sqrtdf2.c: Likewise.
1812 * soft-fp/sqrtsf2.c: Likewise.
1813 * soft-fp/sqrttf2.c: Likewise.
1814 * soft-fp/subdf3.c: Likewise.
1815 * soft-fp/subsf3.c: Likewise.
1816 * soft-fp/subtf3.c: Likewise.
1817 * soft-fp/truncdfsf2.c: Likewise.
1818 * soft-fp/trunctfdf2.c: Likewise.
1819 * soft-fp/trunctfsf2.c: Likewise.
1820 * soft-fp/trunctfxf2.c: Likewise.
1821 * soft-fp/unorddf2.c: Likewise.
1822 * soft-fp/unordsf2.c: Likewise.
1823 * soft-fp/unordtf2.c: Likewise.
1824
17c48a60
OB
18252013-10-14 Ondřej Bílka <neleai@seznam.cz>
1826
1827 [BZ #15672]
1828 * misc/error.c (error_tail): Fix possible buffer overflow.
1829
cabba934
OB
18302013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1831
1832 [BZ #13028]
1833 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1834 address.
1835
94bf958a
PM
18362013-10-14 P. J. McDermott <pj@pehjota.net>
1837
1838 [BZ #832]
1839 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1840 testing pipefail option.
1841
71b4dea7
JM
18422013-10-12 Joseph Myers <joseph@codesourcery.com>
1843
1844 * soft-fp/double.h: Indent preprocessor directives inside #if.
1845 * soft-fp/extended.h: Likewise.
1846 * soft-fp/op-2.h: Likewise.
1847 * soft-fp/op-4.h: Likewise.
1848 * soft-fp/op-common.h: Likewise.
1849 * soft-fp/quad.h: Likewise.
1850 * soft-fp/single.h: Likewise.
1851 * soft-fp/soft-fp.h: Likewise.
1852
55602758
YC
18532013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1854
1855 * iconv/iconv_prog.c: Fix typos.
1856 * stdio-common/psiginfo-data.h: Likewise.
1857
9cd83302
RT
18582013-10-12 Reuben Thomas <rrt@sc3d.org>
1859
1860 [BZ #15764]
1861 * locale/setlocale.c: Fix typo.
1862
99fd9f47
JM
18632013-10-12 Joseph Myers <joseph@codesourcery.com>
1864
b7ea74f0
JM
1865 [BZ #16036]
1866 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1867 signaling NaN arguments.
1868 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1869 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1870
8a509447
JM
1871 [BZ #14910]
1872 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1873 unordered operands.
1874 * soft-fp/gesf2.c (__gesf2): Likewise.
1875 * soft-fp/getf2.c (__getf2): Likewise.
1876 * soft-fp/ledf2.c (__ledf2): Likewise.
1877 * soft-fp/lesf2.c (__lesf2): Likewise.
1878 * soft-fp/letf2.c (__letf2): Likewise.
1879
98998e9f
JM
1880 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1881 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1882 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1883 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1884 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1885 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1886 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1887 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1888 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1889 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1890 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1891 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1892 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1893 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1894 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1895 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1896 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1897 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1898 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1899 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1900 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1901 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1902 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1903 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1904 * soft-fp/floattidf.c (__floattidf): Likewise.
1905 * soft-fp/floattisf.c (__floattisf): Likewise.
1906 * soft-fp/floattitf.c (__floattitf): Likewise.
1907 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1908 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1909 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1910 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1911 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1912 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1913 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1914 * soft-fp/gesf2.c (__gesf2): Likewise.
1915 * soft-fp/getf2.c (__getf2): Likewise.
1916 * soft-fp/ledf2.c (__ledf2): Likewise.
1917 * soft-fp/lesf2.c (__lesf2): Likewise.
1918 * soft-fp/letf2.c (__letf2): Likewise.
1919
8edc4a11
JM
1920 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1921 Undefine and redefine.
1922 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1923 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1924 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1925 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1926 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1927 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1928 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1929 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1930 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1931 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1932 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1933 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1934 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1935 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1936 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1937
8399acaf
JM
1938 [BZ #16032]
1939 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1940 without decrementing exponent if mantissa >= that for the
1941 denominator, not >.
1942 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1943 denominator, not >. Decrement exponent in < case instead of
1944 incrementing in >= case.
1945 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1946 without decrementing exponent if mantissa >= that for the
1947 denominator, not >.
1948
99fd9f47
JM
1949 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1950 computing saturated result for unsigned overflow.
1951
10e1cf6b
SP
19522013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1953 Jeff Law <law@redhat.com>
1954
1955 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1956 (atan2Mp): Add systemtap probe marker.
1957 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1958 (__ieee754_log): Add systemtap probe marker.
1959 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1960 (atanMp): Add systemtap probe marker.
1961 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1962 (tanMp): Add systemtap probe marker.
1963 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1964 (__slowexp): Add systemtap probe marker.
1965 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1966 (__slowpow): Add systemtap probe marker.
1967 * manual/probes.texi: Document probes.
1968
3d110c7c
EB
19692013-10-11 Eric Biggers <ebiggers3@gmail.com>
1970
1971 [BZ #15362]
1972 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1973 written.
1974 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1975 written.
1976 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1977 written to buffer but not flushed.
1978 * libio/iofwrite_u.c: Likewise.
1979 * libio/iopadn.c: Return bytes returned even if EOF was
1980 encountered.
1981 * libio/iowpadn.c: Likewise.
1982 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1983 if _IO_padn does not write the whole buffer.
1984 [!COMPILE_WPRINTF] (PAD): Likewise.
1985
75b4202a
DM
19862013-10-10 David S. Miller <davem@davemloft.net>
1987
1988 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1989 directory block.
1990
6c6352e6
JM
19912013-10-10 Joseph Myers <joseph@codesourcery.com>
1992
33b853c3
JM
1993 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1994 instead of FSF address.
1995 * soft-fp/fixdfti.c: Likewise.
1996 * soft-fp/fixsfti.c: Likewise.
1997 * soft-fp/fixtfti.c: Likewise.
1998 * soft-fp/fixunsdfti.c: Likewise.
1999 * soft-fp/fixunssfti.c: Likewise.
2000 * soft-fp/fixunstfti.c: Likewise.
2001 * soft-fp/floattidf.c: Likewise.
2002 * soft-fp/floattisf.c: Likewise.
2003 * soft-fp/floattitf.c: Likewise.
2004 * soft-fp/floatuntidf.c: Likewise.
2005 * soft-fp/floatuntisf.c: Likewise.
2006 * soft-fp/floatuntitf.c: Likewise.
2007 * soft-fp/trunctfxf2.c: Likewise.
2008
6c6352e6
JM
2009 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2010 * soft-fp/fixdfti.c: Likewise.
2011 * soft-fp/fixsfti.c: Likewise.
2012 * soft-fp/fixtfti.c: Likewise.
2013 * soft-fp/fixunsdfti.c: Likewise.
2014 * soft-fp/fixunssfti.c: Likewise.
2015 * soft-fp/fixunstfti.c: Likewise.
2016 * soft-fp/floattidf.c: Likewise.
2017 * soft-fp/floattisf.c: Likewise.
2018 * soft-fp/floattitf.c: Likewise.
2019 * soft-fp/floatuntidf.c: Likewise.
2020 * soft-fp/floatuntisf.c: Likewise.
2021 * soft-fp/floatuntitf.c: Likewise.
2022 * soft-fp/trunctfxf2.c: Likewise.
2023
3bf78b71
DM
20242013-10-10 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2027
6f10289e
JM
20282013-10-10 Joseph Myers <joseph@codsourcery.com>
2029
bd878fc0
JM
2030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2031 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2032 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2033 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2034 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2035 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2036 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2037
6f10289e
JM
2038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2039 for NaNs before doing comparisons on argument.
2040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2041 Likewise.
2042
321e2684
WN
20432013-10-10 Will Newton <will.newton@linaro.org>
2044
2045 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2046 passed to _int_memalign does not overflow.
2047
40fefba1
TR
20482013-10-10 Torvald Riegel <triegel@redhat.com>
2049
2050 * scripts/bench.pl: Add include-sources directive.
2051 * benchtests/README: Update documentation.
2052
2ae21ed2
JM
20532013-10-10 Joseph Myers <joseph@codesourcery.com>
2054
dcc2dd3f
JM
2055 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2056 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2057 instead of FP_INIT_ROUNDMODE.
2058 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2059 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2060
2ae21ed2
JM
2061 [BZ #16034]
2062 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2063 copy class of input value.
2064 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2065 not handle exceptions.
2066 * soft-fp/negsf2.c (__negsf2): Likewise.
2067 * soft-fp/negtf2.c (__negtf2): Likewise.
2068 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2069
cb8f9562
JM
20702013-10-09 Joseph Myers <joseph@codesourcery.com>
2071
2072 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2073 semicolon. From Linux kernel.
2074
5b60c59d
AB
20752013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2076
2077 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2078
b86835ca
YC
20792013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2080
2081 [BZ #156]
2082 * manual/socket.texi: Added statement about buffer
2083 for gethostbyname2_r.
2084
e7044ea7
OB
20852013-10-08 Ondřej Bílka <neleai@seznam.cz>
2086
2087 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2088 Use .p2align directive instead, throughout.
2089 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2090 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2091 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2094 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2095 * sysdeps/x86_64/strchr.S: Likewise.
2096 * sysdeps/x86_64/strrchr.S: Likewise.
2097
09544cbc
SP
20982013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2099
88576635
SP
2100 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2101
e7b2d1dd
SP
2102 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2103
09544cbc
SP
2104 * sysdeps/generic/math_private.h (__mpsin1): Remove
2105 declaration.
2106 (__mpcos1): Likewise.
2107 (__mpsin): New argument __range_reduce.
2108 (__mpcos): Likewise.
2109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2110 (slow): Use __mpsin and __mpcos.
2111 (slow1): Likewise.
2112 (slow2): Likewise.
2113 (sloww): Likewise.
2114 (sloww1): Likewise.
2115 (sloww2): Likewise.
2116 (bsloww): Likewise.
2117 (bsloww1): Likewise.
2118 (bsloww2): Likewise.
2119 (cslow2): Likewise.
2120 (csloww): Likewise.
2121 (csloww1): Likewise.
2122 (csloww2): Likewise.
2123 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2124 range_reduce. Merge in __mpsin1.
2125 (__mpcos): Likewise.
2126 (__mpsin1): Remove.
2127 (__mpcos1): Likewise.
2128
7602d070
JM
21292013-10-07 Joseph Myers <joseph@codesourcery.com>
2130
2131 * locale/loadlocale.c (_nl_intern_locale_data): Use
2132 LOCFILE_ALIGNED_P.
2133 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2134 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2135 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2136 obstack data is appropriately aligned.
2137 (obstack_int32_grow_fast): Likewise.
2138 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2139 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2140 (add_locale_uint32_array): Likewise.
2141
a357259b
SP
21422013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2143
2144 * benchtests/Makefile: Remove ARGLIST and RET variables.
2145 ($(objpfx)bench-%.c): Pass only function name to the script.
2146 * benchtests/README: Update documentation.
2147 * benchtests/acos-inputs: Add new directives.
2148 * benchtests/acosh-inputs: Likewise.
2149 * benchtests/asin-inputs: Likewise.
2150 * benchtests/asinh-inputs: Likewise.
2151 * benchtests/atan-inputs: Likewise.
2152 * benchtests/atanh-inputs: Likewise.
2153 * benchtests/cos-inputs: Likewise.
2154 * benchtests/cosh-inputs: Likewise.
2155 * benchtests/exp-inputs: Likewise.
2156 * benchtests/log-inputs: Likewise.
2157 * benchtests/pow-inputs: Likewise.
2158 * benchtests/rint-inputs: Likewise.
2159 * benchtests/sin-inputs: Likewise.
2160 * benchtests/sinh-inputs: Likewise.
2161 * benchtests/tan-inputs: Likewise.
2162 * benchtests/tanh-inputs: Likewise.
2163 * scripts/bench.pl: Add support for new directives.
2164
9ec1b13d
AM
21652013-10-07 Alan Modra <amodra@gmail.com>
2166
2167 * README: Fix careless merge.
2168
8b7d57cd
AM
21692013-10-05 Alan Modra <amodra@gmail.com>
2170
2171 * NEWS: Mention powerpc64le support and bugs fixed.
2172 * README: Both big-endian and little-endian powerpc64 supported.
2173
7b7bab13
ST
21742013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2175
2176 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2177 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2178 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2179 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2180
d39baad1
RA
21812013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2182
2183 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2184 match prototype.
2185
cd78f7e7
JM
21862013-10-04 Joseph Myers <joseph@codesourcery.com>
2187
29d73d86
JM
2188 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2189 Move -mhard-float appending from
2190 ports/sysdeps/powerpc/powerpc32/Makefile.
2191 [$(with-fp) = yes] (ASFLAGS): Likewise.
2192 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2193 * sysdeps/powerpc/nofpu: Move directory from
2194 ports/sysdeps/powerpc/nofpu.
2195 * sysdeps/powerpc/soft-fp: Move directory from
2196 ports/sysdeps/powerpc/soft-fp.
2197 * sysdeps/powerpc/powerpc32/405: Move directory from
2198 ports/sysdeps/powerpc/powerpc32/405.
2199 * sysdeps/powerpc/powerpc32/440: Move directory from
2200 ports/sysdeps/powerpc/powerpc32/440.
2201 * sysdeps/powerpc/powerpc32/464: Move directory from
2202 ports/sysdeps/powerpc/powerpc32/464.
2203 * sysdeps/powerpc/powerpc32/476: Move directory from
2204 ports/sysdeps/powerpc/powerpc32/476.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2206 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2215 * README: Update for powerpc-*-linux-gnu software floating point
2216 support in libc.
2217
e246b347
JM
2218 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2219 case to powerpc/powerpc32*.
2220 * sysdeps/unix/sysv/linux/configure: Regenerated.
2221
89c2003e
JM
2222 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2223 (_FPU_MASK_OM): Define as 0x04.
2224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2226 0x00c10080.
2227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2228 0x0000003c.
2229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2230
cd78f7e7
JM
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2232 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2233 getcontext_e500.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2235 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2236 setcontext_e500.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2238 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2239 and setcontext_e500.
2240
c755294d
CL
22412013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2242
2243 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2244
e16d221c
SP
22452013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2246
2247 * manual/threads.texi (Default Thread Attributes): Fix typo.
2248
215c7d43
WN
22492013-10-04 Will Newton <will.newton@linaro.org>
2250
2251 * malloc/Makefile: Add tst-memalign.
2252 * malloc/tst-memalign.c: New file.
2253
27d0461b
WN
2254 * malloc/tst-posix_memalign.c: Add comments.
2255 (do_test): Add comments and call free on all potentially
2256 allocated pointers. Add space after cast.
2257
1bc92709
WN
2258 * malloc/tst-pvalloc.c: Add comments.
2259 (do_test): Add comments and call free on all potentially
2260 allocated pointers. Remove duplicate check for NULL pointer.
2261 Add space after cast.
2262
66a9be9d
WN
2263 * malloc/tst-valloc.c: Add comments.
2264 (do_test): Add comments and call free on all potentially
2265 allocated pointers. Remove duplicate check for NULL pointer.
2266 Add space after cast.
2267
4cb81307
AM
22682013-10-04 Alan Modra <amodra@gmail.com>
2269
2270 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2271 Use stdint types in rather than __attribute__((mode())).
2272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2273
f8e3e9f3
AM
22742013-10-04 Alan Modra <amodra@gmail.com>
2275
2276 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2277 Correct handling of unaligned relocs for little-endian.
2278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2279
8f9ebb08
AM
22802013-10-04 Alan Modra <amodra@gmail.com>
2281
2282 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2283 * configure: Regenerate.
2284 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2285 * shlib-versions: Likewise.
2286
0edf96c2
AM
22872013-10-04 Alan Modra <amodra@gmail.com>
2288
2289 * string/tester.c (test_memrchr): Increment reported test cycle.
2290
e0f7a380
AM
22912013-10-04 Alan Modra <amodra@gmail.com>
2292
2293 * string/test-memcpy.c (do_one_test): When reporting errors, print
2294 string address and don't overrun end of string.
2295
466b0393
AM
22962013-10-04 Alan Modra <amodra@gmail.com>
2297
2298 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2299 insrdi. Make better use of reg selection to speed exit slightly.
2300 Schedule entry path a little better. Remove useless "are we done"
2301 checks on entry to main loop. Handle wrapping around zero address.
2302 Correct main loop count. Handle single left-over word from main
2303 loop inline rather than by using loop_small. Remove extra word
2304 case in loop_small caused by wrong loop count. Add little-endian
2305 support.
2306 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2308 cache hint.
2309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2310 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2311 support. Avoid rlwimi.
2312 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2313
3be87c77
AM
23142013-10-04 Alan Modra <amodra@gmail.com>
2315
2316 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2317 insrdi. Formatting.
3be87c77
AM
2318 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2319 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2321 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2323 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2324
759cfef3
AM
23252013-10-04 Alan Modra <amodra@gmail.com>
2326
2327 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2328 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2330 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2332 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2336 use of regs. Use power7 mtocrf. Tidy function tails.
2337
fe6e95d7
AM
23382013-10-04 Alan Modra <amodra@gmail.com>
2339
2340 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2341 Formatting. Consistently use rXXX register defines or rN defines.
2342 Use early exit labels that avoid restoring unused non-volatile regs.
2343 Make cr field use more consistent with rWORDn compares. Rename
2344 regs used as shift registers for unaligned loop, using rN defines
2345 for short lifetime/multiple use regs.
2346 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2348 addi 1,1,64 to pop stack frame. Simplify return value code.
2349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2350
664318c3
AM
23512013-10-04 Alan Modra <amodra@gmail.com>
2352
2353 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2354 support. Correct typos, formatting. Optimize tail. Use insrdi
2355 rather than rlwimi.
2356 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2358 little-endian support. Correct typos.
2359 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2360 rather than rlwimi.
2361 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2362 in loop and entry code to keep "and." results.
2363 (strchr): Add little-endian support. Comment. Move cntlzd
2364 earlier in tail.
2365 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2366
43b84013
AM
23672013-10-04 Alan Modra <amodra@gmail.com>
2368
2369 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2370 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2373
8a7413f9
AM
23742013-10-04 Alan Modra <amodra@gmail.com>
2375
2376 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2377 (rTMP): Define as r11.
2378 (strcmp): Add little-endian support. Optimise tail.
2379 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2380 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2386
33ee81de
AM
23872013-10-04 Alan Modra <amodra@gmail.com>
2388
2389 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2390 little-endian support. Remove unnecessary "are we done" tests.
2391 Handle "s" wrapping around zero and extremely large "size".
2392 Correct main loop count. Handle single left-over word from main
2393 loop inline rather than by using small_loop. Correct comments.
2394 Delete "zero" tail, use "end_max" instead.
2395 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2396
db9b4570
AM
23972013-10-04 Alan Modra <amodra@gmail.com>
2398
2399 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2400 support. Don't branch over align.
2401 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2403 support. Rearrange tmp reg use to suit. Comment.
2404 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2405
f7c399cf
AM
24062013-10-04 Alan Modra <amodra@gmail.com>
2407
2408 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2409
0b2c2ace
AM
24102013-10-04 Alan Modra <amodra@gmail.com>
2411
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2413 conditional form of branch and link when obtaining pc.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2415
02f04a6c
AM
24162013-10-04 Alan Modra <amodra@gmail.com>
2417
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2419 HIWORD/LOWORD.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2422
9b874b2f
AM
24232013-10-04 Alan Modra <amodra@gmail.com>
2424
2425 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2426 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2427 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2429 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2430 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2431 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2432 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2434 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2435
be1e5d31
AB
24362013-10-04 Anton Blanchard <anton@au1.ibm.com>
2437 Alistair Popple <alistair@ozlabs.au.ibm.com>
2438 Alan Modra <amodra@gmail.com>
2439
2440 [BZ #15723]
2441 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2442 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2443 _dl_hwcap access for little-endian.
2444 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2445 destroy vmx regs when saving unaligned.
2446 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2447 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2448 destroy vmx regs when saving unaligned.
2449
fef13a78
AM
24502013-10-04 Alan Modra <amodra@gmail.com>
2451
2452 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2453 Don't use a union to pack hi/low value.
2454
76a66d51
AB
24552013-10-04 Anton Blanchard <anton@au1.ibm.com>
2456
2457 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2458 for little-endian.
2459 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2464
6a31fe7f
AM
24652013-10-04 Alan Modra <amodra@gmail.com>
2466
2467 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2468 constants to usual value for .cst8 section, and remove redundant
2469 high address load.
2470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2471 constant for 0x1p52. Load little-endian words of double from
2472 correct stack offsets.
2473
7b88401f
AM
24742013-10-04 Alan Modra <amodra@gmail.com>
2475
2476 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2477 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2478 words of double from correct stack offsets.
2479 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2484 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2485 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2486 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2487 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2489 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2491 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2492 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2495 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2496
9c008155
AM
24972013-10-04 Alan Modra <amodra@gmail.com>
2498
2499 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2500 64-bit int/double union.
2501 (_FPU_SETCW): Likewise.
2502 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2503 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2504
da13146d
AM
25052013-10-04 Alan Modra <amodra@gmail.com>
2506
2507 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2508 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2509
603e8410
AM
25102013-10-04 Alan Modra <amodra@gmail.com>
2511
2512 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2513 use vector int constants.
2514 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2515
4a28b3ca
AB
25162013-10-04 Anton Blanchard <anton@au1.ibm.com>
2517
2518 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2519 array with long long.
2520 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2521 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2522 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2523 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2524 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2525 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2526 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2527 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2528 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2529 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2530 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2531 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2532 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2533
2ca85d2b
AB
25342013-10-04 Anton Blanchard <anton@au1.ibm.com>
2535
2536 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2537 (__signbit): Likewise. Correct for little-endian.
2538 (__signbitl): Call __signbit.
2539 (lrint): Correct for little-endian.
2540 (lrintf): Call lrint.
2541
62a728ae
AM
25422013-10-04 Alan Modra <amodra@gmail.com>
2543
2544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2545 union 32-bit int array member with 64-bit int array.
2546 (t515, tm256): Double rather than long double.
2547 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2548
32c301df
AM
25492013-10-04 Alan Modra <amodra@gmail.com>
2550
2551 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2552 Delete.
2553 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2555 version of math_ldbl.h.
2556
650ef4bd
AM
25572013-10-04 Alan Modra <amodra@gmail.com>
2558
2559 [BZ #15734], [BZ #15735]
2560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2561 all uses of ieee875 long double macros and unions. Simplify test
2562 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2563 ldbl_extract_mantissa value for ix,iy exponents. Properly
2564 normalize after ldbl_extract_mantissa, and don't add hidden bit
2565 already handled. Don't treat low word of ieee854 mantissa like
2566 low word of IBM long double and mask off bit when testing for
2567 zero.
2568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2569 all uses of ieee875 long double macros and unions. Simplify tests
2570 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2571 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2572 two1022, instead use their values. Recognise that tests for large
2573 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2574 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2575 Rewrite all uses of ieee875 long double macros and unions. Simplify
2576 test for 0.0L and nan. Correct negation.
2577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2578 ieee875 long double macros and unions. Correct output for large
2579 magnitude x. Correct absolute value calculation.
2580 (__erfcl): Likewise.
2581 * math/libm-test.inc: Add tests for errors discovered in IBM long
2582 double versions of fmodl, remainderl, erfl and erfcl.
2583
765714ca
AM
25842013-10-04 Alan Modra <amodra@gmail.com>
2585
2586 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2587 all uses of ieee854 long double macros and unions. Simplify tests
2588 for long doubles that are fully specified by the high double.
2589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2590 Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2592 Remove dead code too.
2593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2594 (__ieee754_ynl): Likewise.
2595 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2596 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2598 Remove dead code too.
2599 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2600 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2601 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2603 Simplify.
2604 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2605 Simplify.
2606 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2609 Comment on variable precision.
2610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2611 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2612 Likewise.
2613 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2617 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2618
4ebd120c
AM
26192013-10-04 Alan Modra <amodra@gmail.com>
2620
2621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2622 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2623 all uses of ieee854 long double macros and unions.
2624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2626 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2628 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2629 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2630 Likewise.
2631 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2632 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2634 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2636 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2637 Simplify sign and nan test too.
2638 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2641 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2642 Likewise.
2643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2644 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2645 Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2652
1b6adf88
AM
26532013-10-04 Alan Modra <amodra@gmail.com>
2654
2655 * stdio-common/printf_size.c (__printf_size): Don't use
2656 union ieee854_long_double in fpnum union.
2657 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2658 signbit macro to retrieve sign from long double.
2659 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2660 retrieve sign from long double.
2661 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2662 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2665 * math/test-misc.c (main): Don't use union ieee854_long_double.
2666
4cf69995
AM
26672013-10-04 Alan Modra <amodra@gmail.com>
2668
2669 [BZ #15680]
2670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2671 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2672 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2673 calculation. Remove unnecessary test for denormal exponent.
2674 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2675 Correct handling of denormals. Avoid undefined shift behaviour.
2676 Correct normalisation of low mantissa when low double is denormal.
2677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2678 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2679 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2680 Correct normalisation of low mantissa. Test for overflow of high
2681 mantissa and normalise.
2682 (ldbl_nearbyint): Use more readable constant for two52.
2683 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2684 (__mpn_construct_long_double): Fix test for overflow of high
2685 mantissa and correct normalisation. Avoid undefined shift.
2686
9605ca6c
AM
26872013-10-04 Alan Modra <amodra@gmail.com>
2688
2689 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2690 (union ibm_extended_long_double): Define as an array of ieee754_double.
2691 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2692 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2693 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2694 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2698 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2699 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2701 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2702
975569d0
JM
27032013-10-03 Joseph Myers <joseph@codesourcery.com>
2704
d3d23756
JM
2705 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2706 page size instead of calling getpagesize.
2707
975569d0
JM
2708 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2709 (LOCFILE_ALIGN_MASK): Likewise.
2710 (LOCFILE_ALIGN_UP): Likewise.
2711 (LOCFILE_ALIGNED_P): Likewise.
2712 * locale/programs/ld-collate.c (collate_output): Use the new
2713 macros instead of __alignof__ (int32_t).
2714 * locale/weight.h (findidx): Likewise.
2715
b1fe1f2b
OB
27162013-10-03 Ondřej Bílka <neleai@seznam.cz>
2717
2718 [BZ #431]
2719 * manual/string.texi: Fix strncat and wcsncat.
2720
5f855e35
BM
27212013-10-03 Brooks Moses <bmoses@google.com>
2722
2723 [BZ #15915]
2724 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2725 * Makerules: ...here, and adjust associated comments.
2726
3cef6009
WN
27272013-10-02 Will Newton <will.newton@linaro.org>
2728
2729 * malloc/Makefile: Add tst-pvalloc.
2730 * malloc/tst-pvalloc.c: New file.
2731
7815420b
WN
27322013-10-02 Will Newton <will.newton@linaro.org>
2733
2734 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2735 improve test coverage.
2736
4868b204
WN
27372013-10-02 Will Newton <will.newton@linaro.org>
2738
2739 * malloc/Makefile: Add tst-posix_memalign.
2740 * malloc/tst-posix_memalign.c: New file.
2741
29c793b3
EB
27422013-10-01 Eric Blake <eblake@redhat.com>
2743
2744 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2745 Use __THROWNL rather than __THROW on static functions.
2746
fd967522
PM
27472013-09-30 Petr Machata <pmachata@redhat.com>
2748
2749 * elf/elf.h (R_AARCH64_ABS16): New macro.
2750 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2751 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2752 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2753 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2754 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2755 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2756 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2757 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2758 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2759 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2760 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2761 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2762 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2763 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2764 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2765 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2766 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2767 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2768 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2769 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2770 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2771 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2772 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2773 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2774 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2775 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2776 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2777 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2778 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2779 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2780 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2781 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2782 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2783 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2784 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2785 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2786 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2787 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2788 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2789 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2790 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2791 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2792 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2793 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2794 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2795 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2796 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2797 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2798 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2799 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2800 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2801 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2802 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2803 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2804 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2805 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2806 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2807 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2808 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2809 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2810 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2811 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2812 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2813 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2814 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2815 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2816 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2817 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2818 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2819 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2820 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2821 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2822 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2823 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2824 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2825 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2826 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2827 (R_AARCH64_TLSDESC_LDR): Likewise.
2828 (R_AARCH64_TLSDESC_ADD): Likewise.
2829 (R_AARCH64_TLSDESC_CALL): Likewise.
2830
b2179107
AS
28312013-09-30 Andreas Schwab <schwab@suse.de>
2832
2833 [BZ #15048]
2834 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2835 the nss database lookup.
2836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2838
47f28d0a
MF
28392013-09-28 Mike Frysinger <vapier@gentoo.org>
2840
2841 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2842
28432013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2844
2845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2846 ${Bash-specific parameter/pattern/string} parameter expansion.
2847 * sysdeps/unix/make-syscalls.sh: Likewise.
2848
f4518a17
KK
28492013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2850
2851 * sysdeps/sh/stackguard-macros.h: New file.
2852
dc1a95c7
OB
28532013-09-26 Ondřej Bílka <neleai@seznam.cz>
2854
2855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2857 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2859 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2860 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2861
5ebbff8f
AZ
28622013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2863
2864 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2865 Fix thread ID register.
2866
4fd2cf9f
JM
28672013-09-25 Joseph Myers <joseph@codesourcery.com>
2868
2869 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2870 [POSIX || UNIX98]: Require rather than permitting all symbols from
2871 <time.h>.
2872 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2873 element of struct sched_param.
2874 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2875 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2876 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2877 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2878 constant.
2879
12c22bc4
OL
28802013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2881
2882 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2883 argument calculation.
2884
a03d8ea7
JM
28852013-09-24 Joseph Myers <joseph@codesourcery.com>
2886
2887 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2888 Expect macro.
2889 [POSIX] (pthread_attr_t): Do not require type.
2890 [POSIX] (pthread_cond_t): Likewise.
2891 [POSIX] (pthread_condattr_t): Likewise.
2892 [POSIX] (pthread_key_t): Likewise.
2893 [POSIX] (pthread_mutex_t): Likewise.
2894 [POSIX] (pthread_mutexattr_t): Likewise.
2895 [POSIX] (pthread_once_t): Likewise.
2896 [POSIX] (pthread_t): Likewise.
2897 [POSIX-based standards] (pthread_atfork): Expect function.
2898
6055173a
JM
28992013-09-24 Joseph Myers <joseph@codesourcery.com>
2900 Richard Sandiford <richard@codesourcery.com>
2901
2902 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2903 (swap_endianness_p): New extern variable.
2904 (set_big_endian): New inline function.
2905 (maybe_swap_uint32): Likewise.
2906 (maybe_swap_uint32_array): Likewise.
2907 (maybe_swap_uint32_obstack): Likewise.
2908 * locale/programs/locfile.c: Include <stdbool.h>.
2909 (swap_endianness_p): New variable.
2910 (add_locale_uint32): Call maybe_swap_uint32.
2911 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2912 (write_locale_data): Call maybe_swap_uint32_array.
2913 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2914 maybe_swap_uint32.
2915 (obstack_int32_grow_fast): Likewise.
2916 (output_weightwc): Call maybe_swap_uint32_obstack.
2917 (collate_output): Likewise.
2918 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2919 (OPT_LITTLE_ENDIAN): Likewise.
2920 (options): Add --little-endian and --big-endian options.
2921 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2922 * locale/programs/locarchive.c: Include "locfile.h".
2923 (GET): New macro.
2924 (SET): Likewise.
2925 (INC): Likewise.
2926 (create_archive): Use the new macros to access fields of
2927 structures directly mapped from or written to locale archives.
2928 (oldlocrecentcmp): Likewise.
2929 (enlarge_archive): Likewise.
2930 (insert_name): Likewise.
2931 (add_alias): Likewise.
2932 (add_locale): Likewise.
2933 (delete_locales_from_archive): Likewise.
2934 (show_archive_content): Likewise.
2935 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2936 locale data.
2937
39bf0bb4
RM
29382013-09-24 Roland McGrath <roland@hack.frob.com>
2939
2940 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2941 http://www.gnu.org/doc/freemanuals.texi.
2942 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2943
f02eed10
WN
29442013-09-24 Will Newton <will.newton@linaro.org>
2945
2946 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2947 macro.
2948
a3a6c312
JM
29492013-09-23 Joseph Myers <joseph@codesourcery.com>
2950
2951 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2952 unsigned char.
2953
107375ac
MR
29542013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2955
2956 * manual/threads.texi (POSIX Threads): Fix a typo.
2957
141f3a77
SP
29582013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2959
303e567a
SP
2960 [BZ #14547]
2961 * string/tst-strcoll-overflow.c: New test case.
2962 * string/Makefile (xtests): Add tst-strcoll-overflow.
2963 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2964 cache if string sizes may cause integer overflow.
2965
141f3a77
SP
2966 [BZ #14547]
2967 * string/strcoll_l.c (coll_seq): New members rule, idx,
2968 save_idx and back_us.
2969 (get_next_seq_nocache): New function.
2970 (do_compare_nocache): New function.
2971 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2972 when malloc fails.
2973
c61b4d41
CD
29742013-09-23 Carlos O'Donell <carlos@redhat.com>
2975
0b1f8e35
CD
2976 [BZ #15754]
2977 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2978 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2979 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2980
c61b4d41
CD
2981 [BZ #15754]
2982 * elf/Makefile (tests): Add tst-ptrguard1.
2983 (tests-static): Add tst-ptrguard1-static.
2984 (tst-ptrguard1-ARGS): Define.
2985 (tst-ptrguard1-static-ARGS): Define.
2986 * elf/tst-ptrguard1.c: New file.
2987 * elf/tst-ptrguard1-static.c: New file.
2988 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2989 * sysdeps/i386/stackguard-macros.h: Likewise.
2990 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2991 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2992 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2993 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2994 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2995 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2996
29972013-09-23 Hector Marco <hecmargi@upv.es>
2998 Ismael Ripoll <iripoll@disca.upv.es>
2999 Carlos O'Donell <carlos@redhat.com>
3000
3001 [BZ #15754]
3002 * sysdeps/generic/stackguard-macros.h: Define
3003 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3004 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3005 Define __pointer_chk_guard_local.
3006 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3007 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3008
f5f4e7b4
VV
30092013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3010
3011 [BZ #15859]
3012 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3013
5bb43a43
AS
30142013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3015
3016 * include/string.h (__ffs): Declare as hidden.
3017 * string/ffs.c (__ffs): Define as hidden.
3018 * sysdeps/i386/ffs.c (__ffs): Likewise.
3019 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3020 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3021 * sysdeps/s390/ffs.c (__ffs): Likewise.
3022 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3023
3ea5be54
AO
30242013-09-20 Alexandre Oliva <aoliva@redhat.com>
3025
ffb89e53
AO
3026 * NEWS: Mention malloc probes.
3027
322dea08
AO
3028 * malloc/arena.c (new_heap): New memory_heap_new probe.
3029 (grow_heap): New memory_heap_more probe.
3030 (shrink_heap): New memory_heap_less probe.
3031 (heap_trim): New memory_heap_free probe.
3032 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3033 (systrim): New memory_sbrk_less probe.
3034 * manual/probes.texi: Document them.
3035
655673f3
AO
3036 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3037 * manual/probes.texi: Document it.
3038
35fed6f1
AO
3039 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3040 (__libc_realloc): Add memory_realloc_retry probe.
3041 (__libc_memalign): Add memory_memalign_retry probe.
3042 (__libc_valloc): Add memory_valloc_retry probe.
3043 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3044 (__libc_calloc): Add memory_calloc_retry probe.
3045 * manual/probes.texi: Document them.
3046
6999d38c
AO
3047 * malloc/arena.c (get_free_list): Add probe
3048 memory_arena_reuse_free_list.
3049 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3050 and memory_arena_reuse.
3051 (arena_get2) [!PER_THREAD]: Likewise.
3052 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3053 memory_arena_reuse_realloc.
3054 * manual/probes.texi: Document them.
3055
0653427f
AO
3056 * malloc/malloc.c (__libc_free): Add
3057 memory_mallopt_free_dyn_thresholds probe.
3058 (__libc_mallopt): Add multiple memory_mallopt probes.
3059 * manual/probes.texi: Document them.
3060
3ea5be54
AO
3061 * malloc/malloc.c: Include stap-probe.h.
3062 (__libc_mallopt): Add memory_mallopt probe.
3063 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3064 * manual/probes.texi: New.
3065 * manual/Makefile (chapters): Add probes.
3066 * manual/threads.texi: Set next node.
3067
e35696c3 30682013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3069
e35696c3
CL
3070 [BZ #15963, #13985]
3071 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3072 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3073 Add `Chinese' to `nan' entry name.
3074
4aafb73c
SP
30752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3076
3077 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3078 (POLYNOMIAL): Likewise.
3079 (TAYLOR_SINCOS): Likewise.
3080 (TAYLOR_SLOW): Likewise.
3081 (__sin): Use TAYLOR_SINCOS.
3082 (__cos): Likewise.
3083 (slow): Use TAYLOR_SLOW.
3084 (sloww): Likewise.
3085 (bsloww): Likewise.
3086 (csloww): Likewise.
3087
d84f25c7
LD
30882013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3089
3090 * stdlib/strtod_l.c: Fix buffer overrun.
3091
5eea0404
SP
30922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
7849ff93
SP
3094 * benchtests/Makefile (bench): Add sincos.
3095 * benchtests/bench-sincos.c: New file.
3096
cfa3c886
SP
3097 * math/libm-test.inc (cos_test_data): New test inputs.
3098 (sin_test_data): Likewise.
3099
b348e1e3
SP
3100 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3101 macro.
3102 (__sin): Use it.
3103 (__cos): Likewise.
3104 (slow1): Likewise.
3105 (slow2): Likewise.
3106 (sloww1): Likewise.
3107 (sloww2): Likewise.
3108 (bsloww1): Likewise.
3109 (bsloww2): Likewise.
3110 (cslow2): Likewise.
3111 (csloww1): Likewise.
3112 (csloww2): Likewise.
3113
6cce25f8
SP
3114 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3115 function.
3116 (__sin): Use it.
3117 (__cos): Likewise.
3118
5eea0404
SP
3119 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3120 gotos.
3121 (__cos): Likewise.
3122
9c21573c
MR
31232013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3124
3125 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3126 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3127 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3128 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3129 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3130 * elf/cache.c (print_entry): Handle the new cache flags.
3131
24d22e65
JM
31322013-09-18 Joseph Myers <joseph@codesourcery.com>
3133 Aldy Hernandez <aldyh@redhat.com>
3134
3135 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3136 Change condition to [_SOFT_FLOAT].
3137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3149 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3152 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3153 declaration.
3154
d13ef066
JM
31552013-09-18 Joseph Myers <joseph@codesourcery.com>
3156
2e071de0
JM
3157 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3158 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3159 (__longjmp): Use LOAD_GP to load saved GPRs.
3160 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3161 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3162 (__sigsetjmp): Use SAVE_GP to save GPRs.
3163
d13ef066
JM
3164 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3165 Do not append -msoft-float.
3166 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3167
97a0650b
SP
31682013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3169
3170 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3171
11ca09e9
JM
31722013-09-17 Joseph Myers <joseph@codesourcery.com>
3173
3174 [BZ #15966]
3175 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3176 (_FPU_GETCW): Use initial "__" on variable and field names but not
3177 on macro parameter name.
3178 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3179 parentheses around reference to macro parameter.
3180
08ffcf34
RS
31812013-09-13 Richard Sandiford <richard@codesourcery.com>
3182
3183 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3184 prototype.
3185 (ctype_startup): Use uint32_t in cast and sizeof for
3186 ctype->charnames.
3187
ae7080d3
JL
31882013-09-11 Jia Liu <proljc@gmail.com>
3189
3190 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3191 __daddr_t_defined.
3192 [__FreeBSD__]: Likewise.
3193
5905e7b3
OB
31942013-09-11 Ondřej Bílka <neleai@seznam.cz>
3195
3196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3197 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3198 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3199 (strchr): Remove __strchr_sse42 ifunc selection.
3200 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3201 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3202
b987c776
WN
32032013-09-11 Will Newton <will.newton@linaro.org>
3204
3205 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3206 parameter to RES. Remove hardcoded 1000 value.
3207 * benchtests/bench-skeleton.c (main): Pass RES parameter
3208 to TIMING_INIT and multiply result by 1000.
3209
ddf985af
AZ
32102013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211
3212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3213
ffdd3181
AS
32142013-09-11 Andreas Schwab <schwab@suse.de>
3215
3216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3217 if not defined.
3218 (O_TMPFILE) [__USE_GNU]: Define.
3219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3220 Define.
3221
b73ed247
WN
32222013-09-11 Will Newton <will.newton@linaro.org>
3223
3224 [BZ #15857]
3225 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3226 does not overflow.
3227
55e17aad
WN
32282013-09-11 Will Newton <will.newton@linaro.org>
3229
3230 [BZ #15856]
3231 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3232 does not overflow.
3233
1159a193
WN
32342013-09-11 Will Newton <will.newton@linaro.org>
3235
3236 [BZ #15855]
3237 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3238 does not overflow.
3239
5905e7b3 32402013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3241
3242 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3243 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3247
cdfc721b
AM
32482013-09-10 Allan McRae <allan@archlinux.org>
3249
aa04af00
AM
3250 [BZ #15748]
3251 * manual/arith.texi (Parsing of Floats): Clarify
3252 cross-reference.
3253
cdfc721b
AM
3254 [BZ #15849]
3255 * manual/install.texi (Running make install): Mention
3256 --enable-pt-chown.
3257 * INSTALL: Regenerated.
3258
95e7cf29
MR
32592013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3260
3261 * csu/init-first.c (_init): Remove the !SHARED condition around
3262 FPU control word initialization.
3263 * elf/dl-support.c (_dl_fpu_control): New variable.
3264 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3265 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3266 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3267 * math/test-fpucw-static.c: New file.
3268 * math/test-fpucw-ieee.c: New file.
3269 * math/test-fpucw-ieee-static.c: New file.
3270 * math/Makefile (tests): Add `test-fpucw-ieee' and
3271 `$(tests-static)'.
3272 (tests-static): New variable.
3273 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3274 dependency to...
3275 [($(build-shared),yes)]
3276 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3277 ... this.
3278 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3279 New dependency.
3280
83e43bf0
AM
32812013-09-09 Allan McRae <allan@archlinux.org>
3282
a9f5ce09
AM
3283 [BZ #15939]
3284 * manual/string.texi (Collation Functions): Fix typo in
3285 strcoll example.
3286 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3287
34829bc2
AM
3288 [BZ #15893]
3289 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3290
3932737d
AM
3291 [BZ #15892]
3292 * libio/memstream.c (open_memstream): Fix memory leak.
3293 * libio/wmemstream.c (open_wmemstream): Likewise.
3294
83e43bf0
AM
3295 [BZ #15895]
3296 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3297
0c66b8e9
WN
32982013-09-09 Will Newton <will.newton@linaro.org>
3299
3300 * malloc/Makefile: Add tst-realloc to tests.
3301 * malloc/tst-realloc.c: New file.
3302
f6b00fd1
AM
33032013-09-09 Allan McRae <allan@archlinux.org>
3304
3305 [BZ #15844]
3306 * COPYING: Update from GNU website to fix FSF address.
3307 * COPYING.LIB: Likewise.
3308
eec55e16
DM
33092013-09-06 David S. Miller <davem@davemloft.net>
3310
3311 * po/zh_TW.po: Update Chinese (traditional) translation from
3312 translation project.
3313
1ecbb381
RS
33142013-09-06 Richard Sandiford <richard@codesourcery.com>
3315 Joseph Myers <joseph@codesourcery.com>
3316
3317 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3318 "localeinfo.h".
3319 (obstack_chunk_alloc): New macro.
3320 (obstack_chunk_free): Likewise.
3321 (record_offset): New function.
3322 (init_locale_data): Likewise.
3323 (align_locale_data): Likewise.
3324 (add_locale_empty): Likewise.
3325 (add_locale_raw_data): Likewise.
3326 (add_locale_raw_obstack): Likewise.
3327 (add_locale_string): Likewise.
3328 (add_locale_wstring): Likewise.
3329 (add_locale_uint32): Likewise.
3330 (add_locale_uint32_array): Likewise.
3331 (add_locale_char): Likewise.
3332 (start_locale_structure): Likewise.
3333 (end_locale_structure): Likewise.
3334 (start_locale_prelude): Likewise.
3335 (end_locale_prelude): Likewise.
3336 (write_locale_data): Take locale_file structure rather than an
3337 iovec.
3338 * locale/programs/locfile.h: Include "obstack.h".
3339 (struct locale_file): Change to store locale file contents instead
3340 of header.
3341 (init_locale_data): New prototype.
3342 (align_locale_data): Likewise.
3343 (add_locale_empty): Likewise.
3344 (add_locale_raw_data): Likewise.
3345 (add_locale_raw_obstack): Likewise.
3346 (add_locale_string): Likewise.
3347 (add_locale_wstring): Likewise.
3348 (add_locale_uint32): Likewise.
3349 (add_locale_uint32_array): Likewise.
3350 (add_locale_char): Likewise.
3351 (start_locale_structure): Likewise.
3352 (end_locale_structure): Likewise.
3353 (start_locale_prelude): Likewise.
3354 (end_locale_prelude): Likewise.
3355 (write_locale_data): Update prototype.
3356 * locale/programs/3level.h (struct TABLE): Remove result field.
3357 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3358 Use new locale_file interface.
3359 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3360 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3361 * locale/programs/ld-address.c (address_output): Use new
3362 locale_file interface.
3363 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3364 NO_ADD_LOCALE.
3365 (collate_finish): Don't call collseq_table_finalize.
3366 (collate_output): Use new locale_file interface.
3367 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3368 in file.
3369 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3370 (TABLE): Move defines earlier in file.
3371 (ELEMENT): Likewise.
3372 (DEFAULT): Likewise.
3373 (wctrans_table_add): Move macro and inline function earlier in
3374 file.
3375 (struct wctype_table): Move type earlier in file.
3376 (add_locale_wctype_table): New static prototype.
3377 (struct locale_ctype_t): Use logical types instead of struct iovec
3378 pointers for members.
3379 (ctype_output): Use new locale_file interface.
3380 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3381 new locale_file interface.
3382 (allocate_arrays): Update for use of new locale_file interface.
3383 * locale/programs/ld-identification.c (identification_output): Use
3384 new locale_file interface.
3385 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3386 * locale/programs/ld-messages.c (messages_output): Likewise.
3387 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3388 * locale/programs/ld-name.c (name_output): Likewise.
3389 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3390 * locale/programs/ld-paper.c (paper_output): Likewise.
3391 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3392 * locale/programs/ld-time.c (time_output): Likewise.
3393
e029e2e5
AZ
33942013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3395
3396 * benchtests/Makefile: Add memrchr benchmark.
3397 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3398 benchmark as memrchr.
3399 * benchtests/bench-memrchr-ifunc.c: New file.
3400 * benchtests/bench-memrchr.c: New file.
3401
bbf6e8e4
WN
34022013-09-06 Will Newton <will.newton@linaro.org>
3403
3404 * benchtests/Makefile (string-bench): Add memcpy.
3405
6c82a2f8
CD
34062013-09-05 Carlos O'Donell <carlos@redhat.com>
3407 Cong Wang <amwang@redhat.com>
3408
3409 * sysdeps/unix/sysv/linux/bits/in.h
3410 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3411 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3412 before __USE_KERNEL_IPV6_DEFS uses.
3413 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3414 IPPROTO_BEETPH.
3415 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3416 sockaddr_in6, or ipv6_mreq.
3417
5430fc65
AZ
34182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3421 memory access for final bytes in some large inputs.
3422 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3423
4660856c
AZ
34242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3425
3426 * string/test-memrchr.c: New file.
3427 * string/test-memrchr-ifunc.c: New file.
3428 * string/Makefile: Add new memrchr testcase.
3429
bb8ea713
MF
34302013-09-05 Mike Frysinger <vapier@gentoo.org>
3431
3432 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3433 fanotify_init returns EPERM.
3434
b92a20b5
JM
34352013-09-04 Joseph Myers <joseph@codesourcery.com>
3436
3437 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3438 errors.
3439 (top level): Treat second token from macro or constant entries for
3440 allowed headers as allowed.
3441 * include/complex.h: Condition internal declarations on
3442 [!_ISOMAC].
3443 * include/fenv.h: Condition include of <stdbool.h> and internal
3444 declarations on [!_ISOMAC].
7447ccd9
CL
3445
34462013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3447
3e181dda 3448 [BZ #15923]
7447ccd9
CL
3449 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3450
3f2e46a4
JM
34512013-09-04 Joseph Myers <joseph@codesourcery.com>
3452
3453 * configure.in (--enable-versioning): Remove configure option.
3454 (libc_cv_asm_symver_directive): Remove configure test.
3455 (libc_cv_ld_version_script_option): Likewise.
3456 (VERSIONING): Remove variable and AC_SUBST.
3457 (DO_VERSIONING): Remove AC_DEFINE.
3458 * configure: Regenerated.
3459 * config.h.in (DO_VERSIONING): Remove macro.
3460 * Makerules [$(versioning) = yes]: Change conditionals to
3461 [$(build-shared) = yes].
3462 * config.make.in (versioning): Remove variable.
3463 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3464 [$(build-shared) = yes].
3465 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3466 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3467 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3468 [$(build-shared) = yes].
3469 * extra-lib.mk [$(versioning) = yes]: Likewise.
3470 * hurd/Makefile [$(versioning) = yes]: Likewise.
3471 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3472 [SHARED].
3473 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3474 [SHARED].
3475 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3476 [SHARED && !NO_HIDDEN].
3477 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3478 [SHARED].
3479 [SHARED && DO_VERSIONING]: Likewise..
3480 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3481 [$(build-shared) = yes].
3482 * manual/install.texi (--disable-versioning): Remove
3483 documentation.
3484 * INSTALL: Regenerated.
3485 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3486 to [SHARED].
3487 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3488 [$(build-shared) = yes].
3489 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3490 * sysdeps/i386/i686/multiarch/strstr-c.c
3491 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3492 [SHARED && !NO_HIDDEN].
3493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3494 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3495 * sysdeps/powerpc/powerpc32/dl-machine.c
3496 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3497 * sysdeps/powerpc/powerpc32/sysdep.h
3498 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3499 to [SHARED && PIC && !NO_HIDDEN].
3500 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3501 conditional to [SHARED].
3502
44558701
WN
35032013-09-04 Will Newton <will.newton@linaro.org>
3504
3505 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3506 * benchtests/bench-string.h: Include bench-timing.h instead
3507 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3508 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3509 call to HP_TIMING_DIFF_INIT.
3510 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3511 instead of hp-timing.h macros.
3512 * benchtests/bench-memchr.c: Likewise.
3513 * benchtests/bench-memcmp.c: Likewise.
3514 * benchtests/bench-memcpy.c: Likewise.
3515 * benchtests/bench-memmem.c: Likewise.
3516 * benchtests/bench-memmove.c: Likewise.
3517 * benchtests/bench-memset.c: Likewise.
3518 * benchtests/bench-rawmemchr.c: Likewise.
3519 * benchtests/bench-strcasecmp.c: Likewise.
3520 * benchtests/bench-strcasestr.c: Likewise.
3521 * benchtests/bench-strcat.c: Likewise.
3522 * benchtests/bench-strchr.c: Likewise.
3523 * benchtests/bench-strcmp.c: Likewise.
3524 * benchtests/bench-strcpy.c: Likewise.
3525 * benchtests/bench-strcpy_chk.c: Likewise.
3526 * benchtests/bench-strlen.c: Likewise.
3527 * benchtests/bench-strncasecmp.c: Likewise.
3528 * benchtests/bench-strncat.c: Likewise.
3529 * benchtests/bench-strncmp.c: Likewise.
3530 * benchtests/bench-strncpy.c: Likewise.
3531 * benchtests/bench-strnlen.c: Likewise.
3532 * benchtests/bench-strpbrk.c: Likewise.
3533 * benchtests/bench-strrchr.c: Likewise.
3534 * benchtests/bench-strspn.c: Likewise.
3535 * benchtests/bench-strstr.c: Likewise.
3536
cae16d66
WN
35372013-09-04 Will Newton <will.newton@linaro.org>
3538
3539 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3540
ffa3cd7f
JM
35412013-09-03 Joseph Myers <joseph@codesourcery.com>
3542
3543 [BZ #15427]
3544 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3545 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3546 * math/libm-test.inc (lgamma_test_data): Add more tests.
3547 * sysdeps/i386/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3549
8f02859f
OB
35502013-09-03 Ondřej Bílka <neleai@seznam.cz>
3551
3552 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3554 Add ifunc.
3555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3556 Add strcmp-sse2-unaligned
3557 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3558
18d43716
MF
35592013-09-02 Mike Frysinger <vapier@gentoo.org>
3560
3561 * Versions.def (libc): Add GLIBC_2.19.
3562
ac444012
MF
35632013-09-02 Mike Frysinger <vapier@gentoo.org>
3564
3565 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3566 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3567
b7835e32
JM
35682013-09-02 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #14155]
3571 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3572 intermediate calculations in recurrence.
3573 (__ieee754_ynf): Likewise.
3574 * math/libm-test.inc (jn_test_data): Do not allow spurious
3575 underflow exception. Add more tests.
3576 (yn_test_data): Add more tests.
3577 * sysdeps/i386/fpu/libm-test-ulps: Update.
3578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3579
8220f4f0
OB
35802013-09-02 Ondřej Bílka <neleai@seznam.cz>
3581
3582 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3583
f24a6d08
OB
35842013-08-30 Ondřej Bílka <neleai@seznam.cz>
3585
3586 * csu/init-first.c: Fix then/than typos.
3587 * locale/programs/ld-collate.c: Likewise.
3588 * locale/programs/linereader.h: Likewise.
3589 * manual/charset.texi: Likewise.
3590 * manual/filesys.texi: Likewise.
3591 * manual/stdio.texi: Likewise.
3592 * manual/string.texi: Likewise.
3593 * stdlib/fmtmsg.c: Likewise.
3594 * sysdeps/i386/stpncpy.S: Likewise.
3595 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3596 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3597 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3598 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3599
382466e0
OB
36002013-08-30 Ondřej Bílka <neleai@seznam.cz>
3601
3602 * elf/dl-open.c: Fix typos.
3603 * iconvdata/gbbig5.c: Likewise.
3604 * iconvdata/iso-2022-jp.c: Likewise.
3605 * iconv/gconv_int.h: Likewise.
3606 * iconv/loop.c: Likewise.
3607 * nis/rpcsvc/nis.h: Likewise.
3608 * resolv/ns_name.c: Likewise.
3609 * stdio-common/vfscanf.c: Likewise.
3610 * streams/stropts.h: Likewise.
3611 * sunrpc/rpc_thread.c: Likewise.
3612 * sysdeps/i386/strpbrk.S: Likewise.
3613 * sysdeps/ieee754/k_standard.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3616 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3617 * sysdeps/mach/hurd/profil.c: Likewise.
3618 * sysdeps/s390/dl-procinfo.h: Likewise.
3619 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3620 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3621 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3622 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3624
0186c6e9
OB
36252013-08-30 Ondřej Bílka <neleai@seznam.cz>
3626
3627 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3629
d4e16af1
OB
36302013-08-29 Ondřej Bílka <neleai@seznam.cz>
3631
3632 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3633 aix specific files.
3634 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3637 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3642
88335980
TS
36432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3644 Roland McGrath <roland@hack.frob.com>
3645
3646 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3647 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3648
ed479b02
ST
36492013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3650
3651 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3652 __executable_start symbol instead of _start.
3653
f1cc4c86
TS
36542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3655
d821f07c
TS
3656 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3657 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3658 Move macros to...
3659 * sysdeps/gnu/ldsodefs.h: ... this new file.
3660
c54290cf
TS
3661 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3662 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3663 instead of ELFOSABI_LINUX.
3664
0007fc9b 3665 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3666 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3667 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3668 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3669 Likewise.
3670 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3671 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3673 Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3675 (ibm_extended_long_double): Add ieee_nan member.
3676 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3677 (do_test): New function.
3678
f1cc4c86
TS
3679 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3680 TEST_TRUNC.
3681 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3682 functions, renamed from truncdfsf_test, trunctfsf_test,
3683 trunctfdf_test.
3684 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3685 functions.
3686 (do_test): Run all these.
3687
6f65e668
OB
36882013-08-29 Ondřej Bílka <neleai@seznam.cz>
3689
3690 * argp/argp-help.c: Fix typos.
3691 * argp/argp-parse.c: Likewise.
3692 * debug/backtracesyms.c: Likewise.
3693 * elf/elf.h: Likewise.
3694 * malloc/malloc.c: Likewise.
3695 * nis/nis_print.c: Likewise.
3696 * resolv/res_comp.c: Likewise.
3697 * stdlib/stdlib.h: Likewise.
3698 * sunrpc/clnt_tcp.c: Likewise.
3699 * sunrpc/clnt_udp.c: Likewise.
3700 * sunrpc/clnt_unix.c: Likewise.
3701 * sysdeps/unix/bsd/ptsname.c: Likewise.
3702 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3707 Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3709 Likewise.
6f65e668
OB
3710 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3711
3a309239
SP
37122013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3716
3b813b29
MF
37172013-08-27 Mike Frysinger <vapier@gentoo.org>
3718
3719 [BZ #15897]
3720 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3721 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3722 ($(objpfx)bug-dl-leaf): New rule.
3723 ($(objpfx)bug-dl-leaf.so): Likewise.
3724 ($(objpfx)bug-dl-leaf.out): Likewise.
3725 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3726 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3727 * dlfcn/bug-dl-leaf.c: New test.
3728 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3729 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3730 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3731 (dlclose): Likewise.
3732 (dlmopen): Likewise.
3733
8cc3269f
RM
37342013-08-27 Roland McGrath <roland@hack.frob.com>
3735
7f9d0034
RM
3736 * include/netdb.h [!_ISOMAC]:
3737 Don't include <tls.h>.
3738 (h_errno, __libc_h_errno): Move declaration and macros out of
3739 [_LIBC_REENTRANT].
3740
fb431262
RM
3741 * include/resolv.h [_RESOLV_H_]:
3742 Don't include <tls.h>.
3743 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3744 * resolv/res_libc.c: Don't include <tls.h>.
3745 (_res): Use __attribute__ ((nocommon)) in place of
3746 __attribute__ ((section (".bss"))).
3747
bd81123a
RM
3748 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3749 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3750
c4e42566
RM
3751 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3752
f890a59b
RM
3753 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3754 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3755
3756 * resolv/res_mkquery.c: Include <sys/time.h>.
3757
5d1f0a09
RM
3758 * inet/ifreq.c: Moved to ...
3759 * sysdeps/unix/ifreq.c: ... here.
3760 * inet/ifreq.c: New file, true stub version.
3761
6fcf28b3
RM
3762 * socket/sa_len.c: New file.
3763 * socket/Makefile (aux): Add it.
3764 * sysdeps/unix/sysv/linux/Makefile
3765 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3766 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3767 and #include <socket/sa_len.c>.
3768 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3769 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3770
e041fb8b
RM
3771 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3772 * bits/socket.h: ... here.
3773
8cc3269f
RM
3774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3775 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3776 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3777
5d228a43
AS
37782013-08-27 Andreas Schwab <schwab@suse.de>
3779
45b8accc
AS
3780 [BZ #15736]
3781 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3782 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3783 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3784 * string/test-strcasecmp.c (test_main): Run tests in several
3785 locales.
3786 * string/test-strncasecmp.c (test_main): Likewise.
3787
5d228a43
AS
3788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3789 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3790 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3792 (__strncasecmp_ssse3) [PIC]: Likewise.
3793
59d112a4
RM
37942013-08-26 Roland McGrath <roland@hack.frob.com>
3795
53234cc3
RM
3796 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3797
59d112a4
RM
3798 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3799 instead of explicitly declaring xdecrypt.
3800 * nis/nss_nis/nis-publickey.c: Likewise.
3801
595aba70
SP
38022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3803
3804 [BZ #15890]
3805 * nscd/aicache.c: Include res_hconf.h.
3806 (addhstaiX): Initialize res_hconf.
3807
ffabd393
AS
38082013-08-26 Andreas Schwab <schwab@suse.de>
3809
3810 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3811 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3812
e0a69f5c
SP
38132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * nscd/aicache.c (addhstaiX): Fix indentation.
3816
8c12f01d
MF
38172013-08-25 Mike Frysinger <vapier@gentoo.org>
3818
3819 * configure.ac: Quote $build_pt_chown test.
3820 * configure: Regenerated.
3821
8fe89494
JM
38222013-08-23 Joseph Myers <joseph@codesourcery.com>
3823
3824 [BZ #15532]
3825 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3826 * math/s_cexpf.c (__cexpf): Likewise.
3827 * math/s_cexpl.c (__cexpl): Likewise.
3828 * math/libm-test.inc (cexp_test_data): Correct expected return
3829 value for NaN + i0. Add another test.
3830
75b181d6
DM
38312013-08-22 David S. Miller <davem@davemloft.net>
3832
3833 * po/ca.po: Update Catalan translation from translation project.
936241e4 3834 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3835
acd06bb1
JM
38362013-08-21 Joseph Myers <joseph@codesourcery.com>
3837
3838 [BZ #15797]
3839 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3840 is infinite, not alongside NaN test.
3841 * math/s_fdimf.c (__fdimf): Likewise.
3842 * math/s_fdiml.c (__fdiml): Likewise.
3843 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3844 errno is unchanged.
3845
c0c3f78a
OB
38462013-08-21 Ondřej Bílka <neleai@seznam.cz>
3847
3848 * argp/argp-help.c: Fix typos.
3849 * crypt/speeds.c: Likewise.
3850 * csu/check_fds.c: Likewise.
3851 * elf/dl-load.c: Likewise.
3852 * elf/dl-open.c: Likewise.
3853 * elf/reldep3.c: Likewise.
3854 * elf/reldep.c: Likewise.
3855 * elf/sprof.c: Likewise.
3856 * iconv/iconv_charmap.c: Likewise.
3857 * iconv/skeleton.c: Likewise.
3858 * iconv/strtab.c: Likewise.
3859 * io/lockf64.c: Likewise.
3860 * libio/libioP.h: Likewise.
3861 * resolv/gai_notify.c: Likewise.
3862 * resolv/ns_name.c: Likewise.
3863 * resolv/ns_samedomain.c: Likewise.
3864 * resolv/res_send.c: Likewise.
3865 * stdlib/random.c: Likewise.
3866 * sunrpc/rpc/xdr.h: Likewise.
3867 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3868 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3875 * sysdeps/mach/hurd/check_fds.c: Likewise.
3876 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3879 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3880 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3881 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3882 * sysdeps/pthread/aio_notify.c: Likewise.
3883 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3884 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3885 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3887 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3888
46ed1038
LD
38892013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3890
3891 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3892 version if bit_Slow_SSE4_2 is set.
3893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3895
d400dcac
AZ
38962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897
3898 [BZ #15867]
3899 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3900 trampoline stack frame information.
3901 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3903 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3904 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3905 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3906 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3907 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3908 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3909 sa_flags value.
3910 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3911 interrupting a syscall and set with option SA_SIGINFO.
3912
42c8fdd8
JM
39132013-08-20 Joseph Myers <joseph@codesourcery.com>
3914
c980f2f4
JM
3915 [BZ #15531]
3916 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3917 argument is infinite.
3918 * math/s_cprojf.c (__cprojf): Likewise.
3919 * math/s_cprojl.c (__cprojl): Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3921 * math/libm-test.inc (cproj_test_data): Add more tests.
3922
0716c4fc
JM
3923 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3924
42c8fdd8
JM
3925 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3926 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3927 size. Use __ffs to determine corresponding shift.
3928
b31469d0
JM
39292013-08-20 Joseph Myers <joseph@codesourcery.com>
3930 Roland McGrath <roland@hack.frob.com>
3931
3932 * Makefile (INSTALL): Remove trailing blank lines from output of
3933 makeinfo.
3934
4e39af6e
AK
39352013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3936
3937 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3938 Align 32 bit compat elf_greg to 8 bytes.
3939
f315524e
AA
39402013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3941
3942 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3943
1326ba1a
SP
39442013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3945
3946 * string/strcoll_l.c (coll_seq): New structure.
3947 (get_next_seq_cached): New function.
3948 (get_next_seq): New function.
3949 (do_compare): New function.
3950 (STRCOLL): Use GNU style definition. Simplify implementation
3951 by using get_next_seq, get_next_seq_cached and do_compare.
3952
91ce4085
FW
39532013-08-16 Florian Weimer <fweimer@redhat.com>
3954
3955 [BZ #14699]
3956 CVE-2013-4237
3957 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3958 member.
3959 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3960 member.
3961 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3962 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3963 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3964 conditional.
3965 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3966 GETDENTS_64BIT_ALIGNED.
3967 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3968 * manual/filesys.texi (Reading/Closing Directory): Document
3969 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3970 strongly.
3971 * manual/conf.texi (Limits for Files): Add portability note to
3972 NAME_MAX, PATH_MAX.
3973 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3974
ca0a6bc4
AS
39752013-08-13 Andreas Schwab <schwab@suse.de>
3976
3977 [BZ #15749]
3978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3979 of fabs.
3980 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3981 LDBL_MAX_EXP >= 16384]: Add tests for it.
3982
6c1fd795
DM
39832013-08-12 David S. Miller <davem@davemloft.net>
3984
3985 * version.h (RELEASE): Set to "development".
3986 (VERSION): Set to "2.18.90".
3987 * NEWS: Add 2.19 section.
3988
31ad488d
DM
39892013-08-03 David S. Miller <davem@davemloft.net>
3990
3991 * po/ko.po: Update Korean translation from translation project.
3992
db24e684
DM
39932013-08-01 David S. Miller <davem@davemloft.net>
3994
3995 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3996 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3997 Bilka.
3998
f723285b
DM
39992013-07-30 David S. Miller <davem@davemloft.net>
4000
4001 * po/fr.po: Update French translation from translation project.
4002
3cbc52db
DM
40032013-07-28 David S. Miller <davem@davemloft.net>
4004
30bbc0cc
DM
4005 * po/cs.po: Update Czech translation from translation project.
4006
3cbc52db
DM
4007 * po/sv.po: Update Swedish translation from translation project.
4008
d492e6d0
DM
40092013-07-27 David S. Miller <davem@davemloft.net>
4010
f1a7f492
DM
4011 * po/eo.po: Update Esperanto translation from translation project.
4012
90e62a4a
DM
4013 * po/vi.po: Update Vietnamese translation from translation project.
4014
d492e6d0
DM
4015 * po/de.po: Update German translation from translation project.
4016
d4baa62d
DM
40172013-07-26 David S. Miller <davem@davemloft.net>
4018
641aa7b4
DM
4019 * po/bg.po: Update Bulgarian translation from translation project.
4020
d4baa62d
DM
4021 * po/nl.po: Update Dutch translation from translation project.
4022 * po/pl.po: Update Polish translation from translation project.
4023 * po/ru.po: Update Russian translation from translation project.
4024
61a9dcb9
DM
40252013-07-24 David S. Miller <davem@davemloft.net>
4026
4027 * po/libc.pot: Update.
4028
7b1f8b58
AZ
40292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4030
4031 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4032 variable page size.
4033 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4034 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4035 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4036
a8fc7a03
AK
40372013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4038
4039 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4040
e4608715
CD
40412013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4042 Andreas Schwab <schwab@suse.de>
4043 Roland McGrath <roland@hack.frob.com>
4044 Joseph Myers <joseph@codesourcery.com>
4045 Carlos O'Donell <carlos@redhat.com>
4046
4047 [BZ #15755]
4048 * config.h.in: Define HAVE_PT_CHOWN.
4049 * config.make.in (build-pt-chown): New variable.
4050 * configure.in (--enable-pt_chown): New configure option.
4051 * configure: Regenerate.
4052 * login/Makefile: Include Makeconfig. Build pt_chown only if
4053 build-pt-chown is enabled.
4054 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4055 pt_chown to fix pty ownership.
4056 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4057 CLOSE_ALL_FDS.
4058 * manual/install.texi (Configuring and compiling): Mention
4059 --enable-pt_chown. Add @findex for grantpt.
4060 * INSTALL: Regenerate.
4061
da2d62df
DM
40622013-07-20 David S. Miller <davem@davemloft.net>
4063
4064 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4065 difference between 32-bit and 64-bit.
4066
d7e06450
CD
40672013-07-15 Carlos O'Donell <carlos@redhat.com>
4068
4069 [BZ #15711]
4070 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4071 Avoid system header dependency with -ffreestanding.
4072 ($(objpfx)bits/syscall%d): Likewise.
4073
f959cfd7
DM
40742013-07-13 David S. Miller <davem@davemloft.net>
4075
4076 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4077 underflows from atanl/atan2l due to bug 15319.
4078 (casinh_test_data): Likewise.
4079
c61f8513
DM
40802013-07-07 David S. Miller <davem@davemloft.net>
4081
4082 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4083
72c90ed0
JA
40842013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4085
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4088
52dfbe13
SP
40892013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4090
4091 * configure.in (--enable-lock-elision): Fix message text.
4092 * INSTALL: Regenerate.
4093 * configure: Regenerate.
4094
3f169543
AZ
40952013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4096
4097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4098
521c6785
AJ
40992013-07-03 Andreas Jaeger <aj@suse.de>
4100
4101 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4102 define.
4103 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4104 (ptrace_peeksiginfo_args): Add.
4105 (__ptrace_peeksiginfo_flags): Add.
4106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4109
d2cc15cb
AM
41102013-07-03 Allan McRae <allan@archlinux.org>
4111
4112 * sysdeps/i386/fpu/libm-test-ulps: Update.
4113
3aaeeca7
DM
41142013-07-02 David S. Miller <davem@davemloft.net>
4115
4116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4117
5314ed1a
MT
41182013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4119
4120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4121
67338156
JM
41222013-07-02 Joseph Myers <joseph@codesourcery.com>
4123
4124 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4126
1717da59
AK
41272013-07-02 Andi Kleen <ak@linux.intel.com>
4128
4129 * config.h.in (ENABLE_LOCK_ELISION): Add.
4130 * configure.in (--enable-lock-elision): Add option.
4131 * manual/install.texi: Document --enable lock elision.
4132 * configure: Regenerate
4133 * INSTALL: Regenerate.
4134
1c81621c
L
41352013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4136
4137 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4138 SSE4.2 strcasecmp for libc.a.
4139 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4140
77f01ab5
JM
41412013-07-02 Joseph Myers <joseph@codesourcery.com>
4142
4143 [BZ #13304]
4144 * soft-fp/op-common.h (_FP_FMA): New macro.
4145 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4146 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4147 (_FP_MUL_MEAT_1_imm): ... here.
4148 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4149 (_FP_MUL_MEAT_1_wide): ... here.
4150 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4151 (_FP_MUL_MEAT_1_hard): ... here.
4152 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4153 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4154 (_FP_MUL_MEAT_2_wide): ... here.
4155 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4156 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4157 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4158 (_FP_MUL_MEAT_2_gmp): ... here.
4159 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4160 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4161 (_FP_MUL_MEAT_4_wide): ... here.
4162 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4163 (_FP_MUL_MEAT_4_gmp): ... here.
4164 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4165 (_FP_WFRACBITS_DW_S): Likewise.
4166 (_FP_WFRACXBITS_DW_S): Likewise.
4167 (_FP_HIGHBIT_DW_S): Likewise.
4168 (FP_FMA_S): Likewise.
4169 (_FP_FRAC_HIGH_DW_S): Likewise.
4170 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4171 (_FP_WFRACBITS_DW_D): Likewise.
4172 (_FP_WFRACXBITS_DW_D): Likewise.
4173 (_FP_HIGHBIT_DW_D): Likewise.
4174 (FP_FMA_D): Likewise.
4175 (_FP_FRAC_HIGH_DW_D): Likewise.
4176 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4177 (_FP_WFRACBITS_DW_E): Likewise.
4178 (_FP_WFRACXBITS_DW_E): Likewise.
4179 (_FP_HIGHBIT_DW_E): Likewise.
4180 (FP_FMA_E): Likewise.
4181 (_FP_FRAC_HIGH_DW_E): Likewise.
4182 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4183 (_FP_WFRACBITS_DW_Q): Likewise.
4184 (_FP_WFRACXBITS_DW_Q): Likewise.
4185 (_FP_HIGHBIT_DW_Q): Likewise.
4186 (FP_FMA_Q): Likewise.
4187 (_FP_FRAC_HIGH_DW_Q): Likewise.
4188 * soft-fp/fmasf4.c: New file.
4189 * soft-fp/fmadf4.c: Likewise.
4190 * soft-fp/fmatf4.c: Likewise.
4191
6308fd9a
LD
41922013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4193
4194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4195 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4196 Silvermont.
4197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4198 macro.
4199 (index_Slow_SSE4_2): Likewise.
4200 (index_Prefer_PMINUB_for_stringop): Likewise.
4201 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4202 bit_Slow_SSE4_2 is set.
4203 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4205
89cd9569
RA
42062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4207
4208 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4209 rtld_global._dl_hwcap2.
4210 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4211 POWER8.
4212 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4213 POWER8 feature descriptions defined in _dl_hwcap2.
4214 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4215 string handling for POWER8 feature bits.
4216 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4217 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4218 _dl_powerpc_cap_flags.
4219 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4220 * sysdeps/powerpc/rtld-global-offsets.sym
4221 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4222 _dl_hwcap2 in the rtld_global_ro structure.
4223
1ae8bfe0
RA
42242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4225
4226 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4227 hardware capabilities in support of AT_HWCAP2.
4228 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4229 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4230 GLRO(dl_hwcap2).
4231 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4232 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4233 explicitly the unknown a_type display mechanism is used.
4234 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4235 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4236 struct member.
4237 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4238 to macro prototype for AT_HWCAP2 support.
4239 * sysdeps/i386/dl-procinfo.h: Likewise.
4240 * sysdeps/s390/dl-procinfo.h: Likewise.
4241 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4242 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4243 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4244 return -1 for unknown a_type display fallback.
4245 * sysdeps/sparc/dl-procinfo.h: Likewise.
4246 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4247 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4248
8fbec010
JM
42492013-06-28 Joseph Myers <joseph@codesourcery.com>
4250
4251 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4252 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4253
0432680e
PY
42542013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4255
4256 [BZ #12492]
4257 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4258 mprotect making __stack_prot writable.
4259
ce61a2ad
NF
42602013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4261 Joseph Myers <joseph@codesourcery.com>
4262
4263 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4264 as being properly aligned.
4265
f91f1c0f
MR
42662013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4267
3d0f5d0c
MR
4268 * dlfcn/modstatic5.c: New file.
4269 * dlfcn/tststatic5.c: New file.
4270 * dlfcn/Makefile (tests): Add tststatic5.
4271 (tests-static): Likewise.
4272 (modules-names): Add modstatic5.
4273 (tststatic5-ENV): New variable.
4274 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4275
f91f1c0f
MR
4276 [BZ #15022]
4277 * elf/dl-support.c (_dl_main_map): New variable.
4278 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4279 (_dl_nns, _dl_load_adds): Set to 1.
4280 (_dl_initial_searchlist): Refer to _dl_main_map.
4281 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4282 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4283 call to _dl_get_origin.
4284 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4285 around call_map.
4286 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4287 * dlfcn/modstatic3.c: New file.
4288 * dlfcn/tststatic3.c: New file.
4289 * dlfcn/tststatic4.c: New file.
4290 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4291 (tests-static): Likewise.
4292 (modules-names): Add modstatic3.
4293 (tststatic3-ENV, tststatic4-ENV): New variables.
4294 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4295 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4296
cbe7d24b
JM
42972013-06-26 Joseph Myers <joseph@codesourcery.com>
4298
4299 * configure.in (CC): Require GCC version 4.4 or later.
4300 * configure: Regenerated.
4301 * manual/install.texi (Tools for Compilation): Update GCC version
4302 requirement.
4303 * INSTALL: Regenerated.
4304
11b8a0e1
LD
43052013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4306
4307 [BZ #15674]
bb5bb87c
L
4308 * string/test-memcmp.c (check2): New.
4309 (main): Call check2.
4310
11b8a0e1
LD
4311 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4312
b0037103
MR
43132013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4314
4315 [BZ #15022]
4316 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4317 over to...
4318 (dl_open_worker) [!SHARED]: ... here.
4319
c18c701d
RA
43202013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4321
4322 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4323
1d17fa5f
RH
43242013-06-25 Richard Henderson <rth@redhat.com>
4325
4326 * locale/programs/locarchive.c: Include <libc-internal.h>
4327
8fcb833a
JM
43282013-06-25 Joseph Myers <joseph@codesourcery.com>
4329
4330 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4331 trailing whitespace removed.
4332
17db6e8d
MF
43332013-06-24 Mike Frysinger <vapier@gentoo.org>
4334
4335 [BZ #10283]
17db6e8d
MF
4336 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4337 * locale/programs/locarchive.c: Include libc-mmap.h.
4338 (prepare_address_space): Take two new outputs (the mmap base and len).
4339 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4340 values.
4341 (create_archive): Declare new mmap base and len values for
4342 prepare_address_space, and store the result in ah.
4343 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4344 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4345 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4346 Declare new mmap base and len values for
4347 prepare_address_space, and store the result in new_ah.
4348 (open_archive): Declare new mmap base and len values for
4349 prepare_address_space, and store the result in ah.
4350 (close_archive): If ah->mmap_base is not NULL, use that and
4351 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4352 * sysdeps/generic/libc-mmap.h: New file.
4353
d605071e
MF
43542013-06-24 Mike Frysinger <vapier@gentoo.org>
4355
4356 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4357 (ALIGN_UP): Likewise.
4358 (PTR_ALIGN_DOWN): Likewise.
4359 (PTR_ALIGN_UP): Likewise.
4360
2f063a6e
RA
43612013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4362
4363 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4364 entry mapped to PPC_PLATFORM_POWER8.
4365 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4366 POWER8.
4367 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4368 (_dl_string_platform): Add case for exporting platform position for
4369 POWER8.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4371 search path to sysdeps/powerpc/powerpc32/power8 directory.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4373 search path to sysdeps/powerpc/powerpc64/power8 directory.
4374 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4375 power7 directories.
4376 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4377 power7 directories.
4378
a31ee4b3
SP
43792013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4380
a74ca98f
SP
4381 * INSTALL: Regenerate.
4382
a31ee4b3
SP
4383 * nscd/connections.c (nscd_init): Fix comment.
4384
695c378f
JM
43852013-06-22 Joseph Myers <joseph@codesourcery.com>
4386
d8412221
JM
4387 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4388
695c378f
JM
4389 [BZ #15667]
4390 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4391 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4392
d1d54715
MR
43932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4394
4395 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4396 DL_DST_REQ_STATIC.
4397 (DL_DST_REQ_STATIC): Remove macro.
4398
8fdda7af
JM
43992013-06-21 Joseph Myers <joseph@codesourcery.com>
4400
4401 [BZ #7006]
4402 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4403 with a shift of 0 bits.
4404
f3bc5e5a
MR
44052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4406
4407 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4408 $(tststatic-ENV).
4409
be09e8c9
KK
44102013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4411
4412 [BZ #15655]
4413 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4414
85c2e611
AZ
44152013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4416
4417 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4418 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4419 accepts -fno-tree-loop-distribute-patterns.
4420 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4421 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4422 recursive call.
4423 * string/memset.c (memset): Likewise.
4424 * string/test-memmove.c (simple_memmove): Disable loop transformation
4425 to library calls.
4426 * string/test-memset.c (simple_memset): Likewise.
4427 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4428 * benchtests/bench-memset.c (simple_memset): Likewise.
4429 * configure: Regenerated.
4430
c91e0825
JM
44312013-06-20 Joseph Myers <joseph@codesourcery.com>
4432
b8c792af
JM
4433 * math/test-misc.c (main): Ignore fesetround failure when failures
4434 of subsequent rounding tests would be ignored.
4435
c91e0825
JM
4436 [BZ #15654]
4437 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4438 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4439 * math/fegetenv.c (__fegetenv): Return 0.
4440 * math/fegetexcept.c (fegetexcept): Return 0.
4441 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4442 FE_TONEAREST.
4443 * math/feholdexcpt.c (feholdexcept): Return 0.
4444 * math/fesetenv.c (__fesetenv): Return 0.
4445 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4446 argument FE_TONEAREST.
4447 * math/feupdateenv.c (__feupdateenv): Return 0.
4448 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4449
bfcacbde
RM
44502013-06-18 Roland McGrath <roland@hack.frob.com>
4451
4452 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4453 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4454 ($(objpfx)rtld-%.os rules): Use them.
4455
e55a9b25
AZ
44562013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4457
4458 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4459 fields.
4460
346d65b3
RM
44612013-06-17 Roland McGrath <roland@hack.frob.com>
4462
12086fb4
RM
4463 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4464 length of target pattern, then descending length of dependency pattern.
4465 * configure.in (AWK): Require gawk 3.1.2 or newer.
4466 * manual/install.texi (Tools for Compilation): Say that we do.
4467 * configure: Regenerated.
4468
346d65b3
RM
4469 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4470 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4471 * scripts/sysd-rules.awk: ... this new script.
4472 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4473 than a glob-style pattern.
4474
1a846317
JM
44752013-06-17 Joseph Myers <joseph@codesourcery.com>
4476
4477 * math/test-misc.c (main): Do not treat incorrectly rounded
4478 conversions as failure unless ROUNDING_TESTS passes.
4479
8fc75e6f
JM
44802013-06-15 Joseph Myers <joseph@codesourcery.com>
4481
3711a167
JM
4482 [BZ #15631]
4483 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4484 restore exception state around main square root computation, then
4485 check for inexactness explicitly.
4486
8fc75e6f
JM
4487 * math/libm-test.inc (fma_test_data): Add another test.
4488
61dd6208
SP
44892013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
adf23d2c
SP
4491 * manual/threads.texi (Non-POSIX Extensions): New document
4492 node. Document pthread_getattr_default_np and
4493 pthread_setattr_default_np.
4494
61dd6208
SP
4495 * Versions.def (libpthread): Add GLIBC_2.18.
4496 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4498 Likewise.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4500 Likewise.
4501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4502 Likewise.
4503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4504 Likewise.
4505 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4506 Likewise.
4507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4508 Likewise.
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4510 Likewise.
4511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4512 Likewise.
4513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4514 Likewise.
4515
d086fc7b
LD
45162013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4517
4518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4519 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4520
747ef469
SP
45212013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4522 H.J. Lu <hjl.tools@gmail.com>
4523
4524 [BZ #15627]
4525 * sysdeps/x86_64/rtld-memset.c: Remove file.
4526 * sysdeps/x86_64/rtld-memset.S: New file.
4527
1b2feed2
JM
45282013-06-14 Joseph Myers <joseph@codesourcery.com>
4529
4530 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4531 (test_in_one_mode): Take arguments for whether the rounding mode
4532 is supported for each floating-point type.
4533 (do_test): Pass new arguments to test_in_one_mode using
4534 ROUNDING_TESTS.
4535
a58ad3f8
RM
45362013-06-13 Roland McGrath <roland@hack.frob.com>
4537
4538 * posix/tst-waitid.c (do_test): Distinguish different instances of
4539 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4540 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4541 before entering the kernel for waitpid.
4542
c204ab28
SP
45432013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4544
4545 * NEWS: Fix note on clock function precision. Text by Roland
4546 McGrath.
4547
f4a29fba
RM
45482013-06-13 Roland McGrath <roland@hack.frob.com>
4549
4550 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4551 it into place only when and if the sanity check passes.
4552
1f24b9ad
JM
45532013-06-13 Joseph Myers <joseph@codesourcery.com>
4554
4555 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4556 output for whether conversion result is exact. Take argument
4557 indicating whether type is IBM long double.
4558 (round_for_all): Change need_exact field to ibm_ld.
4559 * stdlib/tst-strtod-round.c (struct exactness): New type.
4560 (struct test): Change bool ld_ok field to struct exactness exact.
4561 (TEST): Update all definitions for change to field.
4562 (tests): Regenerate array contents.
4563 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4564 field value. Check for IBM long double here.
4565 (do_test): Update calls to test_in_one_mode.
4566
58206c68
SP
45672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4568
4569 [BZ #12515]
4570 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4571 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4572
2d6f4c5b 45732013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4574
4575 [BZ #15605]
4576 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4577 generated by the compiler on loop optimizations.
4578 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4579 general definitions.
4580
94f2c076
JM
45812013-06-12 Joseph Myers <joseph@codesourcery.com>
4582
4583 * math/bug-nextafter.c: Include <math-tests.h>.
4584 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4585 the relevant type.
4586 * math/bug-nexttoward.c: Include <math-tests.h>.
4587 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4588 the relevant type.
4589 * math/test-misc.c: Include <math-tests.h>.
4590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4591 the relevant type.
4592
e0e50a0a
AJ
45932013-06-12 Andreas Jaeger <aj@suse.de>
4594
4595 * po/ia.po: Update Interlingua translation from translation
4596 project.
4597
25061094
SP
45982013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4599
4600 * include/fenv.h: Include stdbool.h.
4601 (struct rm_ctx): New structure.
4602 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4603 Define macro.
4604 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4605 (SET_RESTORE_ROUNDF): Likewise.
4606 (SET_RESTORE_ROUNDL): Likewise.
4607 (SET_RESTORE_ROUND_NOEX): Likewise.
4608 (SET_RESTORE_ROUND_NOEXF): Likewise.
4609 (SET_RESTORE_ROUND_NOEXL): Likewise.
4610 (SET_RESTORE_ROUND_53BIT): Likewise.
4611 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4612 (libc_feresetround_noexf_ctx): Likewise.
4613 (libc_feresetround_noexl_ctx): Likewise.
4614 (libc_feholdsetround_53bit_ctx): Likewise.
4615 (libc_feresetround_53bit_ctx): Likewise.
4616 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4617 (libc_feholdexcept_setround_sse_ctx): New function.
4618 (libc_fesetenv_sse_ctx): Likewise.
4619 (libc_feupdateenv_sse_ctx): Likewise.
4620 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4621 (libc_feholdexcept_setround_387_ctx): Likewise.
4622 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4623 (libc_feholdsetround_387_prec_ctx): Likewise.
4624 (libc_feholdsetround_387_ctx): Likewise.
4625 (libc_feholdsetround_387_53bit_ctx): Likewise.
4626 (libc_feholdsetround_sse_ctx): Likewise.
4627 (libc_feresetround_sse_ctx): Likewise.
4628 (libc_feresetround_387_ctx): Likewise.
4629 (libc_feupdateenv_387_ctx): Likewise.
4630 (libc_feholdexcept_setroundf_ctx): Define macro.
4631 (libc_fesetenvf_ctx): Likewise.
4632 (libc_feupdateenvf_ctx): Likewise.
4633 (libc_feholdsetroundf_ctx): Likewise.
4634 (libc_feresetroundf_ctx): Likewise.
4635 (libc_feholdexcept_setround_ctx): Likewise.
4636 (libc_fesetenv_ctx): Likewise.
4637 (libc_feupdateenv_ctx): Likewise.
4638 (libc_feholdsetround_ctx): Likewise.
4639 (libc_feresetround_ctx): Likewise.
4640 (libc_feholdexcept_setroundl_ctx): Likewise.
4641 (libc_feupdateenvl_ctx): Likewise.
4642 (libc_feholdsetroundl_ctx): Likewise.
4643 (libc_feresetroundl_ctx): Likewise.
4644 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4645 (libc_feresetround_53bit_ctx): Likewise.
4646
59b30555
SP
46472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 * locale/iso-639.def: Convert to UTF-8.
4650
f1d73d30
JM
46512013-06-11 Joseph Myers <joseph@codesourcery.com>
4652
4653 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4654 (EXCEPTION_TESTS_double): Likewise.
4655 (EXCEPTION_TESTS_long_double): Likewise.
4656 (EXCEPTION_TESTS): Likewise.
4657 * math/libm-test.inc (test_exceptions): Only test exceptions if
4658 EXCEPTION_TESTS (FLOAT).
4659
94aca5e7
SP
46602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4661
4662 * benchtests/Makefile (string-bench): Add strcpy_chk and
4663 stpcpy_chk.
4664 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4665 * benchtests/bench-stpcpy_chk.c: New file.
4666 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4667 * benchtests/bench-strcpy_chk.c: New file.
4668 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4669 code.
4670 (do_test): Likewise.
4671
fac0c5f2
RA
46722013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4673
4674 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4675 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4676 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4677 with tabs where appropriate.
4678 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4679 dl-procinfo.h.
4680 [PPC_PLATFORM_PPC440]: Likewise.
4681 [PPC_PLATFORM_PPC464]: Likewise.
4682 [PPC_PLATFORM_PPC476]: Likewise.
4683 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4684 ppc464, and ppc476 platform strings merging from ports/
4685 dl-procinfo.h.
4686
f22bc486
AS
46872013-06-11 Andreas Schwab <schwab@suse.de>
4688
4689 [BZ #14991]
4690 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4691 (from_ucs4_idx): Regenerate.
4692 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4693 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4694 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4695 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4696 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4697 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4698 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4699 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4700 from FROM_LOOP and TO_LOOP specific macros.
4701 (BODY): Handle combining characters.
4702 * iconvdata/BIG5HKSCS.irreversible: Update.
4703 * iconvdata/BIG5HKSCS.precomposed: New file.
4704 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4705 characters.
4706 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4707
c1f75dc3
SP
47082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
4eacded2
SP
4710 * include/sys/time.h: Fix indentation and add copyright header.
4711
fec799f8
SP
4712 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4713 (do_test): Likewise.
4714 * string/test-memchr.c (do_one_test): Likewise.
4715 (do_test): Likewise.
4716 * string/test-memcmp.c (do_one_test): Likewise.
4717 (do_test): Likewise.
4718 * string/test-memcpy.c (do_one_test): Likewise.
4719 (do_test): Likewise.
4720 * string/test-memmem.c (do_one_test): Likewise.
4721 (do_test): Likewise.
4722 (do_random_tests): Likewise.
4723 * string/test-memmove.c (do_one_test): Likewise.
4724 (do_test): Likewise.
4725 * string/test-memset.c (do_one_test): Likewise.
4726 (do_test): Likewise.
4727 * string/test-rawmemchr.c (do_one_test): Likewise.
4728 (do_test): Likewise.
4729 * string/test-strcasecmp.c (do_one_test): Likewise.
4730 (do_test): Likewise.
4731 * string/test-strcasestr.c (do_one_test): Likewise.
4732 (do_test): Likewise.
4733 * string/test-strcat.c (do_one_test): Likewise.
4734 (do_test): Likewise.
4735 * string/test-strchr.c (do_one_test): Likewise.
4736 (do_test): Likewise.
4737 * string/test-strcmp.c (do_one_test): Likewise.
4738 (do_test): Likewise.
4739 * string/test-strcpy.c (do_one_test): Likewise.
4740 (do_test): Likewise.
4741 * string/test-string.h: Likewise.
4742 (test_init): Likewise.
4743 * string/test-strlen.c (do_one_test): Likewise.
4744 (do_test): Likewise.
4745 * string/test-strncasecmp.c (do_one_test): Likewise.
4746 (do_test): Likewise.
4747 * string/test-strncat.c (do_one_test): Likewise.
4748 (do_test): Likewise.
4749 * string/test-strncmp.c (do_one_test): Likewise.
4750 (do_test_limit): Likewise.
4751 (do_test): Likewise.
4752 * string/test-strncpy.c (do_one_test): Likewise.
4753 (do_test): Likewise.
4754 * string/test-strnlen.c (do_one_test): Likewise.
4755 (do_test): Likewise.
4756 * string/test-strpbrk.c (do_one_test): Likewise.
4757 (do_test): Likewise.
4758 * string/test-strrchr.c (do_one_test): Likewise.
4759 (do_test): Likewise.
4760 * string/test-strspn.c (do_one_test): Likewise.
4761 (do_test): Likewise.
4762 * string/test-strstr.c (do_one_test): Likewise.
4763 (do_test): Likewise.
4764
97020474
SP
4765 * benchtests/Makefile (string-bench): Add string benchmarks.
4766 * benchtests/bench-bcopy-ifunc.c: New file.
4767 * benchtests/bench-bcopy.c: New file.
4768 * benchtests/bench-bzero-ifunc.c: New file.
4769 * benchtests/bench-bzero.c: New file.
4770 * benchtests/bench-memccpy-ifunc.c: New file.
4771 * benchtests/bench-memccpy.c: New file.
4772 * benchtests/bench-memchr-ifunc.c: New file.
4773 * benchtests/bench-memchr.c: New file.
4774 * benchtests/bench-memcmp-ifunc.c: New file.
4775 * benchtests/bench-memcmp.c: New file.
4776 * benchtests/bench-memmem-ifunc.c: New file.
4777 * benchtests/bench-memmem.c: New file.
4778 * benchtests/bench-memmove-ifunc.c: New file.
4779 * benchtests/bench-memmove.c: New file.
4780 * benchtests/bench-mempcpy-ifunc.c: New file.
4781 * benchtests/bench-mempcpy.c: New file.
4782 * benchtests/bench-memset-ifunc.c: New file.
4783 * benchtests/bench-memset.c: New file.
4784 * benchtests/bench-rawmemchr-ifunc.c: New file.
4785 * benchtests/bench-rawmemchr.c: New file.
4786 * benchtests/bench-stpcpy-ifunc.c: New file.
4787 * benchtests/bench-stpcpy.c: New file.
4788 * benchtests/bench-stpncpy-ifunc.c: New file.
4789 * benchtests/bench-stpncpy.c: New file.
4790 * benchtests/bench-strcasecmp-ifunc.c: New file.
4791 * benchtests/bench-strcasecmp.c: New file.
4792 * benchtests/bench-strcasestr-ifunc.c: New file.
4793 * benchtests/bench-strcasestr.c: New file.
4794 * benchtests/bench-strcat-ifunc.c: New file.
4795 * benchtests/bench-strcat.c: New file.
4796 * benchtests/bench-strchr-ifunc.c: New file.
4797 * benchtests/bench-strchr.c: New file.
4798 * benchtests/bench-strchrnul-ifunc.c: New file.
4799 * benchtests/bench-strchrnul.c: New file.
4800 * benchtests/bench-strcmp-ifunc.c: New file.
4801 * benchtests/bench-strcmp.c: New file.
4802 * benchtests/bench-strcpy-ifunc.c: New file.
4803 * benchtests/bench-strcpy.c: New file.
4804 * benchtests/bench-strcspn-ifunc.c: New file.
4805 * benchtests/bench-strcspn.c: New file.
4806 * benchtests/bench-strlen-ifunc.c: New file.
4807 * benchtests/bench-strlen.c: New file.
4808 * benchtests/bench-strncasecmp-ifunc.c: New file.
4809 * benchtests/bench-strncasecmp.c: New file.
4810 * benchtests/bench-strncat-ifunc.c: New file.
4811 * benchtests/bench-strncat.c: New file.
4812 * benchtests/bench-strncmp-ifunc.c: New file.
4813 * benchtests/bench-strncmp.c: New file.
4814 * benchtests/bench-strncpy-ifunc.c: New file.
4815 * benchtests/bench-strncpy.c: New file.
4816 * benchtests/bench-strnlen-ifunc.c: New file.
4817 * benchtests/bench-strnlen.c: New file.
4818 * benchtests/bench-strpbrk-ifunc.c: New file.
4819 * benchtests/bench-strpbrk.c: New file.
4820 * benchtests/bench-strrchr-ifunc.c: New file.
4821 * benchtests/bench-strrchr.c: New file.
4822 * benchtests/bench-strspn-ifunc.c: New file.
4823 * benchtests/bench-strspn.c: New file.
4824 * benchtests/bench-strstr-ifunc.c: New file.
4825 * benchtests/bench-strstr.c: New file.
4826
c1f75dc3
SP
4827 * benchtests/Makefile: Disable parallel execution of targets.
4828 (string-bench): Add memcpy.
4829 (benchset): New variable to store a list of benchmark sets.
4830 (bench-func): Renamed from bench.
4831 (bench-set): New target.
4832 (bench): Depend on bench-func and bench-set.
4833 * benchtests/README: Add section on benchmark sets.
4834 * benchtests/bench-memcpy-ifunc.c: New file.
4835 * benchtests/bench-memcpy.c: New file.
4836 * benchtests/bench-string.h: New file.
4837
50fd745b
AS
48382013-06-11 Andreas Schwab <schwab@suse.de>
4839
4840 [BZ #15577]
4841 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4842 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4843 values in the triple.
4844 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4845 terminator in the group key.
4846
3ee7e9fe
AJ
48472013-06-11 Andreas Jaeger <aj@suse.de>
4848
4849 * po/zh_TW.po: Update Chinese (traditional) translation from
4850 translation project.
4851
89fb6835
SP
48522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4853
4854 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4855 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4856 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4858 (clock_getcpuclockid): Likewise.
4859 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4860 Add weak_alias and libc_hidden_def.
4861 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4862 * rt/clock_gettime.c (clock_gettime): Rename to
4863 __clock_gettime. Add weak_alias and libc_hidden_def.
4864 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4865 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4866 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4867 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4868 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4869 Likewise.
4870 * rt/clock_settime.c (clock_settime): Rename to
4871 __clock_settime. Add weak_alias and libc_hidden_def.
4872 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4873
0efa6f8b
JM
48742013-06-10 Joseph Myers <joseph@codesourcery.com>
4875
b8c61b4b
JM
4876 * mach/err_boot.sub: Remove trailing whitespace.
4877 * mach/err_ipc.sub: Likewise.
4878 * mach/err_mach.sub: Likewise.
4879
0efa6f8b
JM
4880 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4881 (ROUNDING_TESTS_double): Likewise.
4882 (ROUNDING_TESTS_long_double): Likewise.
4883 (ROUNDING_TESTS): Likewise.
4884 * math/libm-test.inc: Include <math-tests.h>.
4885 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4886 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4887 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4888 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4889
50b818bf
SP
48902013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4891
4892 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4893 of assigning.
4894
60d2f8f3
JM
48952013-06-08 Joseph Myers <joseph@codesourcery.com>
4896
4902d2c3
JM
4897 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4898 otherwise empty TRANS lines.
4899 * sysdeps/gnu/errlist.c: Regenerated.
4900
60d2f8f3
JM
4901 * catgets/gencat.c (error_print): Use (void) in function
4902 definition.
4903 * crypt/crypt_util.c (__init_des): Likewise.
4904 * crypt/speeds.c (Stop): Likewise.
4905 (main): Likewise.
4906 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4907 * inet/ruserpass.c (token): Likewise.
4908 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4909 * intl/localealias.c (extend_alias_table): Likewise.
4910 * intl/plural-exp.c (init_germanic_plural): Likewise.
4911 * libio/fcloseall.c (__fcloseall): Likewise.
4912 * libio/genops.c (_IO_flush_all): Likewise.
4913 (_IO_flush_all_linebuffered): Likewise.
4914 (_IO_cleanup): Likewise.
4915 (_IO_iter_begin): Likewise.
4916 (_IO_iter_end): Likewise.
4917 (_IO_list_lock): Likewise.
4918 (_IO_list_unlock): Likewise.
4919 (_IO_list_resetlock): Likewise.
4920 * libio/getchar.c (getchar): Likewise.
4921 * libio/getchar_u.c (getchar_unlocked): Likewise.
4922 * libio/getwchar.c (getwchar): Likewise.
4923 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4924 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4925 * login/getpt.c (__getpt): Likewise.
4926 * login/tst-utmp.c (main): Likewise.
4927 * malloc/hooks.c (__malloc_check_init): Likewise.
4928 * malloc/malloc.c (__malloc_stats): Likewise.
4929 * malloc/mtrace.c (tr_break): Likewise.
4930 (mtrace): Likewise.
4931 (muntrace): Likewise.
4932 * misc/fstab.c (endfsent): Likewise.
4933 * misc/getclktck.c (__getclktck): Likewise.
4934 * misc/getdtsz.c (__getdtablesize): Likewise.
4935 * misc/gethostid.c (gethostid): Likewise.
4936 * misc/getpagesize.c (__getpagesize): Likewise.
4937 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4938 (__get_nprocs): Likewise.
4939 (__get_phys_pages): Likewise.
4940 (__get_avphys_pages): Likewise.
4941 * misc/getttyent.c (getttyent): Likewise.
4942 (setttyent): Likewise.
4943 (endttyent): Likewise.
4944 * misc/getusershell.c (getusershell): Likewise.
4945 (endusershell): Likewise.
4946 (setusershell): Likewise.
4947 (initshells): Likewise.
4948 * misc/hsearch.c (__hdestroy): Likewise.
4949 * misc/sync.c (sync): Likewise.
4950 * misc/syslog.c (closelog_internal): Likewise.
4951 (closelog): Likewise.
4952 * misc/ttyslot.c (ttyslot): Likewise.
4953 * misc/vhangup.c (vhangup): Likewise.
4954 * posix/fork.c (__fork): Likewise.
4955 * posix/getegid.c (__getegid): Likewise.
4956 * posix/geteuid.c (__geteuid): Likewise.
4957 * posix/getgid.c (__getgid): Likewise.
4958 * posix/getpid.c (__getpid): Likewise.
4959 * posix/getppid.c (__getppid): Likewise.
4960 * posix/getuid.c (__getuid): Likewise.
4961 * posix/pause.c (pause): Likewise.
4962 * posix/setpgrp.c (setpgrp): Likewise.
4963 * posix/setsid.c (__setsid): Likewise.
4964 * posix/test-vfork.c (noop): Likewise.
4965 * resolv/gethnamaddr.c (_endhtent): Likewise.
4966 (_gethtent): Likewise.
4967 (ht_endhostent): Likewise.
4968 (gethostent): Likewise.
4969 (dns_service): Likewise.
4970 * stdlib/drand48.c (drand48): Likewise.
4971 * stdlib/lrand48.c (lrand48): Likewise.
4972 * stdlib/mrand48.c (mrand48): Likewise.
4973 * stdlib/rand.c (rand): Likewise.
4974 * stdlib/random.c (__random): Likewise.
4975 * stdlib/setenv.c (clearenv): Likewise.
4976 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4977 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4978 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4979 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4980 (__get_nprocs): Likewise.
4981 (__get_phys_pages): Likewise.
4982 (__get_avphys_pages): Likewise.
4983 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4984 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4985 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4986 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4987 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4988 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4989 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4990 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4991 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4992 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4993 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4994 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4995 * sysdeps/posix/clock.c (clock): Likewise.
4996 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4997 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4998 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4999 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5000 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5002 (__get_nprocs_conf): Likewise.
5003 (__get_phys_pages): Likewise.
5004 (__get_avphys_pages): Likewise.
5005 * time/clock.c (clock): Likewise.
5006 * time/tzset.c (__tzname_max): Likewise.
5007
2e09a79a
JM
50082013-06-07 Joseph Myers <joseph@codesourcery.com>
5009
5010 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5011 (__bswap_32): Do not use "register".
5012 * crypt/crypt.c (_ufc_doit_r): Likewise.
5013 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5014 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5015 * gmon/gmon.c (__monstartup): Likewise.
5016 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5017 * hurd/hurdmalloc.c (more_memory): Likewise.
5018 (malloc): Likewise.
5019 (free): Likewise.
5020 (realloc): Likewise.
5021 (malloc_fork_prepare): Likewise.
5022 (malloc_fork_parent): Likewise.
5023 (malloc_fork_child): Likewise.
5024 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5025 (_svcauth_des): Likewise.
5026 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5027 * inet/inet_net.c (inet_network): Likewise.
5028 * inet/inet_netof.c (inet_netof): Likewise.
5029 * inet/rcmd.c (__validuser2_sa): Likewise.
5030 * io/fts.c (fts_open): Likewise.
5031 (fts_load): Likewise.
5032 (fts_close): Likewise.
5033 (fts_read): Likewise.
5034 (fts_children): Likewise.
5035 (fts_build): Likewise.
5036 (fts_stat): Likewise.
5037 (fts_sort): Likewise.
5038 (fts_alloc): Likewise.
5039 (fts_lfree): Likewise.
5040 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5041 (_IO_file_xsgetn): Likewise.
5042 (_IO_file_xsgetn_mmap): Likewise.
5043 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5044 (_IO_cookie_write): Likewise.
5045 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5046 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5047 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5048 * malloc/obstack.c (_obstack_begin): Likewise.
5049 (_obstack_begin_1): Likewise.
5050 (_obstack_newchunk): Likewise.
5051 (_obstack_allocated_p): Likewise.
5052 (obstack_free): Likewise.
5053 (_obstack_memory_used): Likewise.
5054 * misc/getttyent.c (getttynam): Likewise.
5055 (getttyent): Likewise.
5056 (skip): Likewise.
5057 (value): Likewise.
5058 * misc/getusershell.c (initshells): Likewise.
5059 * misc/syslog.c (__vsyslog_chk): Likewise.
5060 * misc/ttyslot.c (ttyslot): Likewise.
5061 * nis/nis_hash.c (__nis_hash): Likewise.
5062 * posix/fnmatch_loop.c (FCT): Likewise.
5063 * posix/getconf.c (print_all): Likewise.
5064 (main): Likewise.
5065 * posix/getopt.c (exchange): Likewise.
5066 * posix/glob.c (globfree): Likewise.
5067 (prefix_array): Likewise.
5068 (__glob_pattern_type): Likewise.
5069 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5070 (NS_GET32): Likewise.
5071 (NS_PUT16): Likewise.
5072 (NS_PUT32): Likewise.
5073 * resolv/gethnamaddr.c (getanswer): Likewise.
5074 (gethostbyname2): Likewise.
5075 (gethostbyaddr): Likewise.
5076 (_gethtent): Likewise.
5077 (_gethtbyname2): Likewise.
5078 (_gethtbyaddr): Likewise.
5079 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5080 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5081 * resolv/res_init.c (__res_vinit): Likewise.
5082 (net_mask): Likewise.
5083 * resolv/res_mkquery.c (outchar): Likewise.
5084 (PRINT): Likewise.
5085 * stdio-common/printf_fp.c (outchar): Likewise.
5086 (PRINT): Likewise.
5087 * stdio-common/printf_fphex.c (outchar): Likewise.
5088 (PRINT): Likewise.
5089 * stdio-common/printf_size.c (outchar): Likewise.
5090 (PRINT): Likewise.
5091 * stdio-common/test_rdwr.c (main): Likewise.
5092 * stdio-common/tfformat.c (matches): Likewise.
5093 * stdio-common/vfprintf.c (outchar): Likewise.
5094 (printf_unknown): Likewise.
5095 (buffered_vfprintf): Likewise.
5096 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5097 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5098 (ReadFile): Likewise.
5099 * stdlib/qsort.c (SWAP): Likewise.
5100 (_quicksort): Likewise.
5101 * stdlib/setenv.c (__add_to_environ): Likewise.
5102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5103 * stdlib/strtol_l.c (__strtol_l): Likewise.
5104 * stdlib/tst-strtod.c (main): Likewise.
5105 * stdlib/tst-strtol.c (main): Likewise.
5106 * stdlib/tst-strtoll.c (main): Likewise.
5107 * string/bits/string2.h (__strcmp_cc): Likewise.
5108 (__strcmp_cg): Likewise.
5109 (__strcspn_c1): Likewise.
5110 (__strcspn_c2): Likewise.
5111 (__strcspn_c3): Likewise.
5112 (__strspn_c1): Likewise.
5113 (__strspn_c2): Likewise.
5114 (__strspn_c3): Likewise.
5115 (__strsep_1c): Likewise.
5116 (__strsep_2c): Likewise.
5117 (__strsep_3c): Likewise.
5118 * string/memccpy.c (__memccpy): Likewise.
5119 * string/stpcpy.c (__stpcpy): Likewise.
5120 * string/strcmp.c (strcmp): Likewise.
5121 * string/strrchr.c (strrchr): Likewise.
5122 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5123 Likewise.
5124 * sysdeps/mach/hurd/getcwd.c
5125 (_hurd_canonicalize_directory_name_internal): Likewise.
5126 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5127 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5128 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5129 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5130 Likewise, in both definitions.
5131 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5132 definitions.
5133 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5134 64] (__bswap_64): Likewise.
5135 * time/test_time.c (main): Likewise.
5136 * time/tzfile.c (__tzfile_read): Likewise.
5137 (__tzfile_compute): Likewise.
5138 * time/tzset.c (__tzset_parse_tz): Likewise.
5139 (tzset_internal): Likewise.
5140 (compute_change): Likewise.
5141 * wcsmbs/wcscat.c (__wcscat): Likewise.
5142 * wcsmbs/wcschr.c (wcschr): Likewise.
5143 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5144 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5145 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5146 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5147 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5148 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5149 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5150 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5151 * wcsmbs/wmemset.c (wmemset): Likewise.
5152
9e54314b
JM
51532013-06-06 Joseph Myers <joseph@codesourcery.com>
5154
5155 * scripts/config.guess: Update to version 2013-05-16.
5156 * scripts/config.sub: Update to version 2013-04-24.
5157 * scripts/install-sh: Update to version 2011-11-20.07.
5158 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5159 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5160
350635a5
OB
51612013-06-06 Ondřej Bílka <neleai@seznam.cz>
5162
5163 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5164 * elf/sln.c: Likewise.
5165 * hurd/hurd/ioctl.h: Likewise.
5166 * hurd/hurdmalloc.c: Likewise.
5167 * hurd/xattr.c: Likewise.
5168 * include/shlib-compat.h: Likewise.
5169 * inet/ruserpass.c: Likewise.
5170 * libio/iofgets_u.c: Likewise.
5171 * libio/iofgetws_u.c: Likewise.
5172 * locale/programs/ld-identification.c: Likewise.
5173 * locale/programs/ld-time.c: Likewise.
5174 * mach/msg-destroy.c: Likewise.
5175 * nss/nss_files/files-netgrp.c: Likewise.
5176 * resolv/res_data.c: Likewise.
5177 * soft-fp/op-1.h: Likewise.
5178 * soft-fp/op-2.h: Likewise.
5179 * soft-fp/op-4.h: Likewise.
5180 * soft-fp/op-common.h: Likewise.
5181 * stdio-common/printf_fphex.c: Likewise.
5182 * stdlib/strtod_l.c: Likewise.
5183 * sunrpc/rpc/clnt.h: Likewise.
5184 * sysdeps/generic/framestate.c: Likewise.
5185 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5186 * sysdeps/i386/bsd-setjmp.S: Likewise.
5187 * sysdeps/i386/__longjmp.S: Likewise.
5188 * sysdeps/i386/setjmp.S: Likewise.
5189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5207 * sysdeps/ieee754/support.c: Likewise.
5208 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5209 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5210 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5211 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5212 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5213 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5214 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5215 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5216 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5217 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5218 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5219 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5220 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5221 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5222 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5223 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5226
44a988af
OB
52272013-06-05 Ondřej Bílka <neleai@seznam.cz>
5228
25506f09 5229 * posix/transbug.c: Remove executable mode.
44a988af 5230
9c84384c
JM
52312013-06-05 Joseph Myers <joseph@codesourcery.com>
5232
5233 * crypt/speeds.c: Remove trailing whitespace.
5234 * dlfcn/default.c: Likewise.
5235 * elf/ifuncdep2.c: Likewise.
5236 * elf/ifuncmain1.c: Likewise.
5237 * elf/ifuncmain1vis.c: Likewise.
5238 * elf/testobj.h: Likewise.
5239 * elf/tst-stackguard1.c: Likewise.
5240 * gmon/sys/gmon.h: Likewise.
5241 * hurd/hurdmsg.c: Likewise.
5242 * hurd/new-fd.c: Likewise.
5243 * hurd/ports-get.c: Likewise.
5244 * iconvdata/ibm1008_420.c: Likewise.
5245 * inet/tst-getni1.c: Likewise.
5246 * inet/tst-getni2.c: Likewise.
5247 * libio/ioungetc.c: Likewise.
5248 * libio/wfiledoalloc.c: Likewise.
5249 * manual/libm-err-tab.pl: Likewise.
5250 * math/w_dremf.c: Likewise.
5251 * misc/ftruncate.c: Likewise.
5252 * posix/bug-glob2.c: Likewise.
5253 * posix/tst-pcre.c: Likewise.
5254 * posix/wait4.c: Likewise.
5255 * resolv/README: Likewise.
5256 * resolv/res_debug.h: Likewise.
5257 * resolv/tst-inet_ntop.c: Likewise.
5258 * setjmp/bug269-setjmp.c: Likewise.
5259 * soft-fp/extended.h: Likewise.
5260 * soft-fp/op-1.h: Likewise.
5261 * soft-fp/op-2.h: Likewise.
5262 * soft-fp/op-4.h: Likewise.
5263 * soft-fp/op-8.h: Likewise.
5264 * soft-fp/testit.c: Likewise.
5265 * stdio-common/bug16.c: Likewise.
5266 * stdlib/random.c: Likewise.
5267 * sunrpc/rpcsvc/rquota.x: Likewise.
5268 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5269 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5271 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5272 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5273 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5274 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5278 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5297 * sysdeps/ieee754/s_lib_version.c: Likewise.
5298 * sysdeps/mach/hurd/check_fds.c: Likewise.
5299 * sysdeps/mach/hurd/getsockname.c: Likewise.
5300 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5301 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5302 * sysdeps/powerpc/bits/link.h: Likewise.
5303 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5304 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5305 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5306 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5307 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5308 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5309 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5310 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5311 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5312 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5314 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5316 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5317 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5324 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5326 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5327 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5328 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5329 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5330 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5331 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5332 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5333 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5334 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5337 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5338 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5339 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5340 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5341 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5342 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5343 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5344 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5345 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5348 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5349 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5350 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5351 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5355 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5357 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5358 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5359 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5362 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5363 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5365 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5366 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5367 * sysdeps/powerpc/sysdep.h: Likewise.
5368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5369 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5370 * sysdeps/sh/dl-trampoline.S: Likewise.
5371 * sysdeps/sh/memset.S: Likewise.
5372 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5373 * sysdeps/sh/strlen.S: Likewise.
5374 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5375 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5376 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5377 * sysdeps/sparc/sparc32/rem.S: Likewise.
5378 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5379 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5380 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5381 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5382 * sysdeps/sparc/sparc32/urem.S: Likewise.
5383 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5384 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5385 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5386 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5388 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5389 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5390 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5391 * sysdeps/unix/bsd/times.c: Likewise.
5392 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5393 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5397 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5398 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5399 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5400 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5401 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5402 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5403 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5404 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5405 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5406 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5407 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5408 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5409 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5410 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5411 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5413 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5414 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5415 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5416 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5417 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5418 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5419 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5420 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5421 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5422 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5423 * sysdeps/x86_64/strcspn.S: Likewise.
5424
869378a5
RA
54252013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5426
5427 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5428 generated file. Regenerate properly from gen-translit.pl.
5429 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5430 locale/C-translit.h.
5431
840e2943
AS
54322013-06-05 Andreas Schwab <schwab@suse.de>
5433
5434 [BZ #15100]
5435 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5436 week as 6 instead of -1.
5437 * time/tst-strptime.c (day_tests): Add test case.
5438
4c60cb0c
SP
54392013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
5441 * sysdeps/generic/math_private.h
5442 (libc_feholdexcept_setround_53bit): Replace with
5443 libc_feholdsetround_53bit.
5444 (libc_feupdateenv_53bit): Replace with
5445 libc_feresetround_53bit.
5446 (SET_RESTORE_ROUND_53BIT): Adjust.
5447
d180203e
SP
54482013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5449
96df079a
SP
5450 * string/test-strchrnul.c: Add copyright header.
5451
d180203e
SP
5452 * posix/tst-getaddrinfo4.c: Increase test timeout.
5453
8b0ccb2d
CD
54542013-06-03 Carlos O'Donell <carlos@redhat.com>
5455
5456 [BZ #15536]
5457 * math/libm-test.inc (MAX_EXP): Remove
5458 (MIN_EXP): Define.
5459 (ulp): Use MIN_EXP - MANT_DIG.
5460 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5461
3b3c4d40
CD
54622013-05-31 Carlos O'Donell <carlos@redhat.com>
5463
5464 * po/be.po: Revert last change.
5465 * po/zh_CN.po: Likewise.
5466 * po/header.pot: Likewise.
5467
fab7ce3f
JM
54682013-05-31 Joseph Myers <joseph@codesourcery.com>
5469
5470 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5471 link-libc-deps to empty as target-specific variable.
5472 * Makerules (link-libc-args): New variable.
5473 (libc-for-link): Likewise.
5474 (link-libc-deps): Likewise.
5475 (lib%.so): Depend on $(link-libc-deps). Link with
5476 $(link-libc-args).
5477 (build-module): Link with $(link-libc-args).
5478 (build-module-asneeded): Likewise.
5479 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5480 list of objects.
5481 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5482 target-specific variable.
5483 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5484 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5485 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5486 libc.
5487 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5488 libc and ld.so.
5489 ($(objpfx)libpcprofile.so): Likewise.
5490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5491 libc_nonshared.a.
5492 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5493 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5494 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5495 $(link-libc-deps).
5496 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5497 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5498 * login/Makefile ($(objpfx)libutil.so): Likewise.
5499 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5500 * math/Makefile ($(objpfx)libm.so): Likewise.
5501 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5502 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5503 variable instead of depending directly on libc.
5504 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5505 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5506 $(link-libc-deps).
5507 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5508 libc.
5509 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5510 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5511 ($(objpfx)libanl.so): Likewise.
5512 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5513 ld.so.
5514 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5515 $(link-libc-deps).
5516 * sysdeps/i386/fpu/Makefile: Remove file.
5517 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5518 ($(objpfx)libm.so): Remove dependency on ld.so.
5519
eca5920c
PF
55202013-05-30 Patsy Franklin <pfrankli@redhat.com>
5521
5522 [BZ # 15553]
5523 * nis/yp_xdr.c (XDRMAXNAME): Define.
5524 (XDRMAXRECORD): Define.
5525 (xdr_domainname): Use XDRMAXNAME.
5526 (xdr_mapname): Likewise.
5527 (xdr_peername): Likewise.
5528 (xdr_keydat): Use XDRMAXRECORD.
5529 (xdr_valdat): Likewise.
5530
55312013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5532
5533 [BZ #14256]
5534 * manual/errno.texi (ESTALE): Update to account for more than
5535 just NFS file systems.
5536 * sysdeps/gnu/errlist.c: Regenerated.
5537
b9375348
SP
55382013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5539
5540 [BZ #15465]
5541 * elf/Makefile (tests): Add tst-null-argv.
5542 (modules-names): Add tst-null-argv-lib.
5543 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5544 (tst-null-argv-ENV): Set environment for tst-null-argv.
5545 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5546 (RTLD_PROGNAME): New macro.
5547 * elf/tst-null-argv.c: New test case.
5548 * elf/tst-null-argv-lib.c: Library for test case.
5549 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5550 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5551 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5552 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5553 * elf/dl-init.c (call_init): Likewise.
5554 (_dl_init): Likewise.
5555 * elf/dl-load.c (print_search_path): Likewise.
5556 (_dl_map_object): Likewise.
5557 * elf/dl-lookup.c (do_lookup_x): Likewise.
5558 (add_dependency): Likewise.
5559 (_dl_lookup_symbol_x): Likewise.
5560 (_dl_debug_bindings): Likewise.
5561 * elf/dl-open.c (_dl_show_scope): Likewise.
5562 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5563 * elf/dl-version.c (match_symbol): Likewise.
5564 (_dl_check_map_versions): Likewise.
5565 * elf/rtld.c (dl_main): Likewise.
5566 (print_unresolved): Use RTLD_PROGNAME.
5567 (print_missing_version): Likewise.
5568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5569 (elf_machine_rela): Likewise.
5570 * sysdeps/powerpc/powerpc32/dl-machine.c
5571 (__process_machine_rela): Likewise.
5572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5573 Likewise.
5574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5575 Likewise.
5576 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5577 Likewise.
5578 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5580 Likewise.
5581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5582 Likewise.
5583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5584
8a9f20c8
CD
55852013-05-28 Carlos O'Donell <carlos@redhat.com>
5586
5587 * po/be.po: Add descriptive title.
5588 * po/zh_CN.po: Likewise.
5589 * po/header.pot: Likewise.
5590
0e60d68e
MF
55912013-05-28 Mike Frysinger <vapier@gentoo.org>
5592
5593 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5594 error message.
5595 (enlarge_archive): Likewise.
5596
56b672e9
BN
55972013-05-28 Ben North <ben@redfrontdoor.org>
5598
5599 * manual/arith.texi (frexp): It is the magnitude of the return
5600 value which lies in [0.5, 1), not the return value itself.
5601
5e056687
AZ
56022013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
5604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5605
2b66ef5d
TS
56062013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5607
528c2405
TS
5608 * stdio-common/bug26.c (main): Correct fscanf template.
5609
07b4c13d
TS
5610 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5611 declare _dl_skip_args.
5612
ec9dd97c
TS
5613 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5614 Don't declare.
5615
2b66ef5d
TS
5616 * manual/platform.texi: Add missing @end deftypefun.
5617
4f8dfe27
JM
56182013-05-24 Joseph Myers <joseph@codesourcery.com>
5619
0323d086
JM
5620 [BZ #15529]
5621 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5622 bit of mantissa of 2^16382.
5623 * math/libm-test.inc (hypot_test_data): Add more tests.
5624
dd4259b9
JM
5625 * math/libm-test.inc: Add drem and pow10 to list of tested
5626 functions.
5627 (pow10_test): New function.
5628 (drem_test): Likewise.
5629 (drem_test_tonearest): Likewise.
5630 (drem_test_towardzero): Likewise.
5631 (drem_test_downward): Likewise.
5632 (drem_test_upward): Likewise.
5633 (main): Call the new functions.
5634
4f8dfe27
JM
5635 * math/libm-test.inc (finite_test_data): Remove.
5636 (finite_test): Run tests from isfinite_test_data.
5637 (gamma_test_data): Remove.
5638 (gamma_test): Run tests from lgamma_test_data.
5639 * sysdeps/i386/fpu/libm-test-ulps: Update.
5640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5641
d116b7c4
AZ
56422013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643
5644 * manual/platform.texi: Add PowerPC PPR function set documentation.
5645 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5646 implementation.
5647
e96e3767
CD
56482013-05-24 Carlos O'Donell <carlos@redhat.com>
5649
5650 * math/libm-test.inc (MAX_EXP): Define.
5651 (ULPDIFF): Define.
5652 (ulp): New function.
5653 (check_float_internal): Use ULPDIFF.
5654 (cpow_test): Disable failing test.
5655 (check_ulp): Test ulp() implemetnation.
5656 (main): Call check_ulp before starting tests.
5657
b679a606
JM
56582013-05-24 Joseph Myers <joseph@codesourcery.com>
5659
e8bdba36
JM
5660 * math/gen-libm-test.pl (generate_testfile): Do not handle
5661 START_DATA and END_DATA.
5662 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5663 END_DATA.
5664 (acos_tonearest_test_data): Likewise.
5665 (acos_towardzero_test_data): Likewise.
5666 (acos_downward_test_data): Likewise.
5667 (acos_upward_test_data): Likewise.
5668 (acosh_test_data): Likewise.
5669 (asin_test_data): Likewise.
5670 (asin_tonearest_test_data): Likewise.
5671 (asin_towardzero_test_data): Likewise.
5672 (asin_downward_test_data): Likewise.
5673 (asin_upward_test_data): Likewise.
5674 (asinh_test_data): Likewise.
5675 (atan_test_data): Likewise.
5676 (atanh_test_data): Likewise.
5677 (atan2_test_data): Likewise.
5678 (cabs_test_data): Likewise.
5679 (cacos_test_data): Likewise.
5680 (cacosh_test_data): Likewise.
5681 (carg_test_data): Likewise.
5682 (casin_test_data): Likewise.
5683 (casinh_test_data): Likewise.
5684 (catan_test_data): Likewise.
5685 (catanh_test_data): Likewise.
5686 (cbrt_test_data): Likewise.
5687 (ccos_test_data): Likewise.
5688 (ccosh_test_data): Likewise.
5689 (ceil_test_data): Likewise.
5690 (cexp_test_data): Likewise.
5691 (cimag_test_data): Likewise.
5692 (clog_test_data): Likewise.
5693 (clog10_test_data): Likewise.
5694 (conj_test_data): Likewise.
5695 (copysign_test_data): Likewise.
5696 (cos_test_data): Likewise.
5697 (cos_tonearest_test_data): Likewise.
5698 (cos_towardzero_test_data): Likewise.
5699 (cos_downward_test_data): Likewise.
5700 (cos_upward_test_data): Likewise.
5701 (cosh_test_data): Likewise.
5702 (cosh_tonearest_test_data): Likewise.
5703 (cosh_towardzero_test_data): Likewise.
5704 (cosh_downward_test_data): Likewise.
5705 (cosh_upward_test_data): Likewise.
5706 (cpow_test_data): Likewise.
5707 (cproj_test_data): Likewise.
5708 (creal_test_data): Likewise.
5709 (csin_test_data): Likewise.
5710 (csinh_test_data): Likewise.
5711 (csqrt_test_data): Likewise.
5712 (ctan_test_data): Likewise.
5713 (ctan_tonearest_test_data): Likewise.
5714 (ctan_towardzero_test_data): Likewise.
5715 (ctan_downward_test_data): Likewise.
5716 (ctan_upward_test_data): Likewise.
5717 (ctanh_test_data): Likewise.
5718 (ctanh_tonearest_test_data): Likewise.
5719 (ctanh_towardzero_test_data): Likewise.
5720 (ctanh_downward_test_data): Likewise.
5721 (ctanh_upward_test_data): Likewise.
5722 (erf_test_data): Likewise.
5723 (erfc_test_data): Likewise.
5724 (exp_test_data): Likewise.
5725 (exp_tonearest_test_data): Likewise.
5726 (exp_towardzero_test_data): Likewise.
5727 (exp_downward_test_data): Likewise.
5728 (exp_upward_test_data): Likewise.
5729 (exp10_test_data): Likewise.
5730 (exp2_test_data): Likewise.
5731 (expm1_test_data): Likewise.
5732 (fabs_test_data): Likewise.
5733 (fdim_test_data): Likewise.
5734 (finite_test_data): Likewise.
5735 (floor_test_data): Likewise.
5736 (fma_test_data): Likewise.
5737 (fma_towardzero_test_data): Likewise.
5738 (fma_downward_test_data): Likewise.
5739 (fma_upward_test_data): Likewise.
5740 (fmax_test_data): Likewise.
5741 (fmin_test_data): Likewise.
5742 (fmod_test_data): Likewise.
5743 (fpclassify_test_data): Likewise.
5744 (frexp_test_data): Likewise.
5745 (gamma_test_data): Likewise.
5746 (hypot_test_data): Likewise.
5747 (ilogb_test_data): Likewise.
5748 (isfinite_test_data): Likewise.
5749 (isgreater_test_data): Likewise.
5750 (isgreaterequal_test_data): Likewise.
5751 (isinf_test_data): Likewise.
5752 (isless_test_data): Likewise.
5753 (islessequal_test_data): Likewise.
5754 (islessgreater_test_data): Likewise.
5755 (isnan_test_data): Likewise.
5756 (isnormal_test_data): Likewise.
5757 (issignaling_test_data): Likewise.
5758 (isunordered_test_data): Likewise.
5759 (j0_test_data): Likewise.
5760 (j1_test_data): Likewise.
5761 (jn_test_data): Likewise.
5762 (ldexp_test_data): Likewise.
5763 (lgamma_test_data): Likewise.
5764 (lrint_test_data): Likewise.
5765 (lrint_tonearest_test_data): Likewise.
5766 (lrint_towardzero_test_data): Likewise.
5767 (lrint_downward_test_data): Likewise.
5768 (lrint_upward_test_data): Likewise.
5769 (llrint_test_data): Likewise.
5770 (llrint_tonearest_test_data): Likewise.
5771 (llrint_towardzero_test_data): Likewise.
5772 (llrint_downward_test_data): Likewise.
5773 (llrint_upward_test_data): Likewise.
5774 (log_test_data): Likewise.
5775 (log10_test_data): Likewise.
5776 (log1p_test_data): Likewise.
5777 (log2_test_data): Likewise.
5778 (logb_test_data): Likewise.
5779 (logb_downward_test_data): Likewise.
5780 (lround_test_data): Likewise.
5781 (llround_test_data): Likewise.
5782 (modf_test_data): Likewise.
5783 (nearbyint_test_data): Likewise.
5784 (nextafter_test_data): Likewise.
5785 (nexttoward_test_data): Likewise.
5786 (pow_test_data): Likewise.
5787 (pow_tonearest_test_data): Likewise.
5788 (pow_towardzero_test_data): Likewise.
5789 (pow_downward_test_data): Likewise.
5790 (pow_upward_test_data): Likewise.
5791 (remainder_test_data): Likewise.
5792 (remainder_tonearest_test_data): Likewise.
5793 (remainder_towardzero_test_data): Likewise.
5794 (remainder_downward_test_data): Likewise.
5795 (remainder_upward_test_data): Likewise.
5796 (remquo_test_data): Likewise.
5797 (rint_test_data): Likewise.
5798 (rint_tonearest_test_data): Likewise.
5799 (rint_towardzero_test_data): Likewise.
5800 (rint_downward_test_data): Likewise.
5801 (rint_upward_test_data): Likewise.
5802 (round_test_data): Likewise.
5803 (scalb_test_data): Likewise.
5804 (scalbn_test_data): Likewise.
5805 (scalbln_test_data): Likewise.
5806 (signbit_test_data): Likewise.
5807 (sin_test_data): Likewise.
5808 (sin_tonearest_test_data): Likewise.
5809 (sin_towardzero_test_data): Likewise.
5810 (sin_downward_test_data): Likewise.
5811 (sin_upward_test_data): Likewise.
5812 (sincos_test_data): Likewise.
5813 (sinh_test_data): Likewise.
5814 (sinh_tonearest_test_data): Likewise.
5815 (sinh_towardzero_test_data): Likewise.
5816 (sinh_downward_test_data): Likewise.
5817 (sinh_upward_test_data): Likewise.
5818 (sqrt_test_data): Likewise.
5819 (tan_test_data): Likewise.
5820 (tan_tonearest_test_data): Likewise.
5821 (tan_towardzero_test_data): Likewise.
5822 (tan_downward_test_data): Likewise.
5823 (tan_upward_test_data): Likewise.
5824 (tanh_test_data): Likewise.
5825 (tgamma_test_data): Likewise.
5826 (trunc_test_data): Likewise.
5827 (y0_test_data): Likewise.
5828 (y1_test_data): Likewise.
5829 (yn_test_data): Likewise.
5830 (significand_test_data): Likewise.
5831
b679a606
JM
5832 * math/gen-libm-test.pl (@functions): Remove variable.
5833 (generate_testfile): Don't handle START and END lines.
5834 * math/libm-test.inc (START): New macro.
5835 (END): Likewise.
5836 (END_COMPLEX): Likewise.
5837 (acos_test): Use END macro without arguments.
5838 (acos_test_tonearest): Likewise.
5839 (acos_test_towardzero): Likewise.
5840 (acos_test_downward): Likewise.
5841 (acos_test_upward): Likewise.
5842 (acosh_test): Likewise.
5843 (asin_test): Likewise.
5844 (asin_test_tonearest): Likewise.
5845 (asin_test_towardzero): Likewise.
5846 (asin_test_downward): Likewise.
5847 (asin_test_upward): Likewise.
5848 (asinh_test): Likewise.
5849 (atan_test): Likewise.
5850 (atanh_test): Likewise.
5851 (atan2_test): Likewise.
5852 (cabs_test): Likewise.
5853 (cacos_test): Use END_COMPLEX macro without arguments.
5854 (cacosh_test): Likewise.
5855 (carg_test): Use END macro without arguments.
5856 (casin_test): Use END_COMPLEX macro without arguments.
5857 (casinh_test): Likewise.
5858 (catan_test): Likewise.
5859 (catanh_test): Likewise.
5860 (cbrt_test): Use END macro without arguments.
5861 (ccos_test): Use END_COMPLEX macro without arguments.
5862 (ccosh_test): Likewise.
5863 (ceil_test): Use END macro without arguments.
5864 (cexp_test): Use END_COMPLEX macro without arguments.
5865 (cimag_test): Use END macro without arguments.
5866 (clog_test): Use END_COMPLEX macro without arguments.
5867 (clog10_test): Likewise.
5868 (conj_test): Likewise.
5869 (copysign_test): Use END macro without arguments.
5870 (cos_test): Likewise.
5871 (cos_test_tonearest): Likewise.
5872 (cos_test_towardzero): Likewise.
5873 (cos_test_downward): Likewise.
5874 (cos_test_upward): Likewise.
5875 (cosh_test): Likewise.
5876 (cosh_test_tonearest): Likewise.
5877 (cosh_test_towardzero): Likewise.
5878 (cosh_test_downward): Likewise.
5879 (cosh_test_upward): Likewise.
5880 (cpow_test): Use END_COMPLEX macro without arguments.
5881 (cproj_test): Likewise.
5882 (creal_test): Use END macro without arguments.
5883 (csin_test): Use END_COMPLEX macro without arguments.
5884 (csinh_test): Likewise.
5885 (csqrt_test): Likewise.
5886 (ctan_test): Likewise.
5887 (ctan_test_tonearest): Likewise.
5888 (ctan_test_towardzero): Likewise.
5889 (ctan_test_downward): Likewise.
5890 (ctan_test_upward): Likewise.
5891 (ctanh_test): Likewise.
5892 (ctanh_test_tonearest): Likewise.
5893 (ctanh_test_towardzero): Likewise.
5894 (ctanh_test_downward): Likewise.
5895 (ctanh_test_upward): Likewise.
5896 (erf_test): Use END macro without arguments.
5897 (erfc_test): Likewise.
5898 (exp_test): Likewise.
5899 (exp_test_tonearest): Likewise.
5900 (exp_test_towardzero): Likewise.
5901 (exp_test_downward): Likewise.
5902 (exp_test_upward): Likewise.
5903 (exp10_test): Likewise.
5904 (exp2_test): Likewise.
5905 (expm1_test): Likewise.
5906 (fabs_test): Likewise.
5907 (fdim_test): Likewise.
5908 (finite_test): Likewise.
5909 (floor_test): Likewise.
5910 (fma_test): Likewise.
5911 (fma_test_towardzero): Likewise.
5912 (fma_test_downward): Likewise.
5913 (fma_test_upward): Likewise.
5914 (fmax_test): Likewise.
5915 (fmin_test): Likewise.
5916 (fmod_test): Likewise.
5917 (fpclassify_test): Likewise.
5918 (frexp_test): Likewise.
5919 (gamma_test): Likewise.
5920 (hypot_test): Likewise.
5921 (ilogb_test): Likewise.
5922 (isfinite_test): Likewise.
5923 (isgreater_test): Likewise.
5924 (isgreaterequal_test): Likewise.
5925 (isinf_test): Likewise.
5926 (isless_test): Likewise.
5927 (islessequal_test): Likewise.
5928 (islessgreater_test): Likewise.
5929 (isnan_test): Likewise.
5930 (isnormal_test): Likewise.
5931 (issignaling_test): Likewise.
5932 (isunordered_test): Likewise.
5933 (j0_test): Likewise.
5934 (j1_test): Likewise.
5935 (jn_test): Likewise.
5936 (ldexp_test): Likewise.
5937 (lgamma_test): Likewise.
5938 (lrint_test): Likewise.
5939 (lrint_test_tonearest): Likewise.
5940 (lrint_test_towardzero): Likewise.
5941 (lrint_test_downward): Likewise.
5942 (lrint_test_upward): Likewise.
5943 (llrint_test): Likewise.
5944 (llrint_test_tonearest): Likewise.
5945 (llrint_test_towardzero): Likewise.
5946 (llrint_test_downward): Likewise.
5947 (llrint_test_upward): Likewise.
5948 (log_test): Likewise.
5949 (log10_test): Likewise.
5950 (log1p_test): Likewise.
5951 (log2_test): Likewise.
5952 (logb_test): Likewise.
5953 (logb_test_downward): Likewise.
5954 (lround_test): Likewise.
5955 (llround_test): Likewise.
5956 (modf_test): Likewise.
5957 (nearbyint_test): Likewise.
5958 (nextafter_test): Likewise.
5959 (nexttoward_test): Likewise.
5960 (pow_test): Likewise.
5961 (pow_test_tonearest): Likewise.
5962 (pow_test_towardzero): Likewise.
5963 (pow_test_downward): Likewise.
5964 (pow_test_upward): Likewise.
5965 (remainder_test): Likewise.
5966 (remainder_test_tonearest): Likewise.
5967 (remainder_test_towardzero): Likewise.
5968 (remainder_test_downward): Likewise.
5969 (remainder_test_upward): Likewise.
5970 (remquo_test): Likewise.
5971 (rint_test): Likewise.
5972 (rint_test_tonearest): Likewise.
5973 (rint_test_towardzero): Likewise.
5974 (rint_test_downward): Likewise.
5975 (rint_test_upward): Likewise.
5976 (round_test): Likewise.
5977 (scalb_test): Likewise.
5978 (scalbn_test): Likewise.
5979 (scalbln_test): Likewise.
5980 (signbit_test): Likewise.
5981 (sin_test): Likewise.
5982 (sin_test_tonearest): Likewise.
5983 (sin_test_towardzero): Likewise.
5984 (sin_test_downward): Likewise.
5985 (sin_test_upward): Likewise.
5986 (sincos_test): Likewise.
5987 (sinh_test): Likewise.
5988 (sinh_test_tonearest): Likewise.
5989 (sinh_test_towardzero): Likewise.
5990 (sinh_test_downward): Likewise.
5991 (sinh_test_upward): Likewise.
5992 (sqrt_test): Likewise.
5993 (tan_test): Likewise.
5994 (tan_test_tonearest): Likewise.
5995 (tan_test_towardzero): Likewise.
5996 (tan_test_downward): Likewise.
5997 (tan_test_upward): Likewise.
5998 (tanh_test): Likewise.
5999 (tgamma_test): Likewise.
6000 (trunc_test): Likewise.
6001 (y0_test): Likewise.
6002 (y1_test): Likewise.
6003 (yn_test): Likewise.
6004 (significand_test): Likewise.
6005
bae143d2
OB
60062013-05-24 Ondřej Bílka <neleai@seznam.cz>
6007
6008 [BZ #15381]
6009 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6010
9323d39b
EM
60112013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6012
d4ea44a0 6013 [BZ #14894]
9323d39b
EM
6014 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6015 __ppc_mdoio and __ppc_mdoom.
6016 * manual/platform.texi: Document new functions __ppc_yield,
6017 __ppc_mdoio and __ppc_mdoom.
6018
13e23af7
CD
60192013-05-22 Carlos O'Donell <carlos@redhat.com>
6020
6021 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6022 (main): Mention "tls" pseudo-hwcap is legacy.
6023 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6024
351fe550
JM
60252013-05-22 Joseph Myers <joseph@codesourcery.com>
6026
6027 * math/gen-libm-test.pl (parse_args): Output only string of
6028 arguments as text for test name, not full call or descriptions of
6029 tests for extra outputs.
6030 (generate_testfile): Do not pass function name to parse_args.
6031 Generate this_func variable from START.
6032 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6033 field to arg_str.
6034 (struct test_ff_f_data): Likewise.
6035 (test_ff_f_data_nexttoward): Likewise.
6036 (struct test_fi_f_data): Likewise.
6037 (struct test_fl_f_data): Likewise.
6038 (struct test_if_f_data): Likewise.
6039 (struct test_fff_f_data): Likewise.
6040 (struct test_c_f_data): Likewise.
6041 (struct test_f_f1_data): Likewise. Remove field extra_name.
6042 (struct test_fF_f1_data): Likewise.
6043 (struct test_ffI_f1_data): Likewise.
6044 (struct test_c_c_data): Rename test_name field to arg_str.
6045 (struct test_cc_c_data): Likewise.
6046 (struct test_f_i_data): Likewise.
6047 (struct test_ff_i_data): Likewise.
6048 (struct test_f_l_data): Likewise.
6049 (struct test_f_L_data): Likewise.
6050 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6051 and extra2_name.
6052 (COMMON_TEST_SETUP): New macro.
6053 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6054 (COMMON_TEST_CLEANUP): Likewise.
6055 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6056 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6057 macros.
6058 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6059 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6060 macros.
6061 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6062 (RUN_TEST_fff_f): Take argument string. Call new setup and
6063 cleanup macros.
6064 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6065 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6066 macros.
6067 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6068 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6069 macros.
6070 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6071 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6072 cleanup macros.
6073 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6074 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6075 cleanup macros.
6076 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6077 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6078 cleanup macros.
6079 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6080 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6081 macros.
6082 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6083 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6084 macros.
6085 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6086 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6087 macros.
6088 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6089 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6090 cleanup macros.
6091 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6092 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6093 cleanup macros.
6094 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6095 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6096 macros.
6097 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6098 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6099 cleanup macros.
6100 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6101 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6102 macros.
6103 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6104 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6105 macros.
6106 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6107 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6108 cleanup macros.
6109 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6110
85118d4d
EBM
61112013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6112
6113 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6114 to _sifields.sigfault.
6115 (si_addr_lsb): Define new macro.
6116 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6118 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6119
7a44c18f
CD
61202013-05-03 Carlos O'Donell <carlos at redhat.com>
6121
6122 [BZ #15441]
6123 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6124 returns -1.
6125 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6126 null return -1.
6127 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6128 loading the domain.
6129
b50a7181
JM
61302013-05-22 Joseph Myers <joseph@codesourcery.com>
6131
6132 * math/gen-libm-test.pl (parse_args): Do not include expected
6133 result in test name.
6134 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6136 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6138 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6140
051063c8
SP
61412013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6142
3ce9e010
SP
6143 * benchtests/Makefile: Sort function entries.
6144
051063c8
SP
6145 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6146 tanh, asinh, acosh, atanh.
6147 * benchtests/acos-inputs: New file.
6148 * benchtests/acosh-inputs: New file.
6149 * benchtests/asin-inputs: New file.
6150 * benchtests/asinh-inputs: New file.
6151 * benchtests/atanh-inputs: New file.
6152 * benchtests/cosh-inputs: New file.
6153 * benchtests/log-inputs: New file.
6154 * benchtests/sinh-inputs: New file.
6155 * benchtests/tanh-inputs: New file.
6156
47c22455
DL
61572013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6158
6159 [BZ #15339]
6160 * posix/tst-getaddrinfo4.c: New test.
6161 * posix/Makefile (tests): Add it.
6162
3d04f5db
SP
61632013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6164
6165 [BZ #15339]
6166 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6167 when no services were used.
6168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6169 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6170
d5dd6189
AS
61712013-05-21 Andreas Schwab <schwab@suse.de>
6172
6173 [BZ #15014]
6174 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6175 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6176 successful.
6177 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6178 redundant variable declarations and reallocation of buffer when
6179 parsing as IPv6 address. Always set NSS status when called from
6180 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6181 buffer too small. Correct computation of needed size.
6182 * nss/Makefile (tests): Add test-digits-dots.
6183 * nss/test-digits-dots.c: New test.
6184
fef94eab
SP
61852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6186
6187 * benchtests/Makefile: Remove instructions for adding
6188 benchmark tests.
6189 * benchtests/README: New file to explain how to execute and
6190 enhance the benchmark tests.
6191
e39adf43
AS
61922013-05-21 Andreas Schwab <schwab@suse.de>
6193
6194 [BZ #15493]
6195 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6196 * setjmp/tst-sigsetjmp.c: New test.
6197
b2b671b6
OB
61982013-05-20 Ondřej Bílka <neleai@seznam.cz>
6199
6200 * sysdeps/x86_64/memset.S (memset): New implementation.
6201 (__bzero): Likewise.
6202 (__memset_tail): New function.
6203
2d48b41c
OB
62042013-05-20 Ondřej Bílka <neleai@seznam.cz>
6205
6206 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6207 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6208 __memcpy_sse2_unaligned ifunc selection.
6209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6210 Add memcpy-sse2-unaligned.S.
6211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6212 Add: __memcpy_sse2_unaligned.
6213
f16cc3eb
JM
62142013-05-19 Joseph Myers <joseph@codesourcery.com>
6215
3e694268
JM
6216 [BZ #15490]
6217 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6218 math_force_eval before restoring floating-point envrionment.
6219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6220 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6221 Likewise.
6222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6223 <math_private.h>.
6224 (__nearbyintl): Use math_force_eval before restoring
6225 floating-point environment.
6226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6227
db62a907
JM
6228 * math/gen-libm-test.pl (special_functions): Remove.
6229 (parse_args): Don't handle TEST_extra. Handle functions with no
6230 return value.
6231 * math/libm-test.inc (struct test_sincos_data): Replace with
6232 struct test_fFF_11_data.
6233 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6234 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6235 (sincos_test_data): Change element type to struct
6236 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6237 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6238 RUN_TEST_LOOP_sincos.
6239 * math/README.libm-test: Don't mention special handling of
6240 individual functions.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6242 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6243 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6244 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6245 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6247
f16cc3eb
JM
6248 * math/gen-libm-test.pl (get_variable): Remove function.
6249 (parse_args): Don't show pointer parameters to call in test
6250 names. Use "extra output N" in test names for extra outputs
6251 rather than naming variables.
6252
3779b5b6
JM
62532013-05-18 Joseph Myers <joseph@codesourcery.com>
6254
2ee094ff
JM
6255 [BZ #15488]
6256 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6257 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6258 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6259 double tests.
6260 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6261 disable.
6262 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6263 check_long_double.
6264
3779b5b6
JM
6265 * math/gen-libm-test.pl (@tests): Remove variable.
6266 ($count): Likewise.
6267 (new_test): Remove function.
6268 (show_exceptions): New function.
6269 (special_functions): Use show_exceptions instead of new_test.
6270 (parse_args): Likewise.
6271 (generate_testfile): Pass only function name in generated call to
6272 print_max_error or print_complex_max_error.
6273 (get_ulps): Do not handle complex tests specially.
6274 (output_test): Rename to ...
6275 (get_all_ulps_for_test): ... this. Return a string rather than
6276 printing to a file. Require ulps to be present.
6277 (output_ulps): Generate arrays rather than #defines.
6278 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6279 (struct ulp_data): New type.
6280 (BUILD_COMPLEX_ULP): Remove macro.
6281 (compare_ulp_data): New function.
6282 (find_ulps): Likewise.
6283 (find_test_ulps): Likewise.
6284 (find_function_ulps): Likewise.
6285 (find_complex_function_ulps): Likewise.
6286 (print_max_error): Determine allowed ulps using
6287 find_function_ulps.
6288 (print_complex_max_error): Determine allowed ulps using
6289 find_complex_function_ulps.
6290 (check_float_internal): Determine max ulps using find_test_ulps.
6291 (check_float): Do not take max_ulp parameter. Update call to
6292 check_float_internal.
6293 (check_complex): Likewise.
6294 (check_int): Do not take max_ulp parameter.
6295 (check_long): Likewise.
6296 (check_bool): Likewise.
6297 (check_longlong): Likewise.
6298 (struct test_f_f_data): Remove max_ulp field.
6299 (struct test_ff_f_data): Likewise.
6300 (struct test_ff_f_data_nexttoward): Likewise.
6301 (struct test_fi_f_data): Likewise.
6302 (struct test_fl_f_data): Likewise.
6303 (struct test_if_f_data): Likewise.
6304 (struct test_fff_f_data): Likewise.
6305 (struct test_c_f_data): Likewise.
6306 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6307 (struct test_fF_f1_data): Likewise.
6308 (struct test_ffI_f1_data): Likewise.
6309 (struct test_c_c_data): Remove max_ulp field.
6310 (struct test_cc_c_data): Likewise.
6311 (struct test_f_i_data): Likewise.
6312 (struct test_ff_i_data): Likewise.
6313 (struct test_f_l_data): Likewise.
6314 (struct test_f_L_data): Likewise.
6315 (struct test_sincos_data): Likewise.
6316 (RUN_TEST_f_f): Do not handle ulps.
6317 (RUN_TEST_LOOP_f_f): Likewise.
6318 (RUN_TEST_2_f): Likewise.
6319 (RUN_TEST_LOOP_2_f): Likewise.
6320 (RUN_TEST_fff_f): Likewise.
6321 (RUN_TEST_LOOP_fff_f): Likewise.
6322 (RUN_TEST_c_f): Likewise.
6323 (RUN_TEST_LOOP_c_f): Likewise.
6324 (RUN_TEST_f_f1): Likewise.
6325 (RUN_TEST_LOOP_f_f1): Likewise.
6326 (RUN_TEST_fF_f1): Likewise.
6327 (RUN_TEST_LOOP_fF_f1): Likewise.
6328 (RUN_TEST_fI_f1): Likewise.
6329 (RUN_TEST_LOOP_fI_f1): Likewise.
6330 (RUN_TEST_ffI_f1): Likewise.
6331 (RUN_TEST_LOOP_ffI_f1): Likewise.
6332 (RUN_TEST_c_c): Likewise.
6333 (RUN_TEST_LOOP_c_c): Likewise.
6334 (RUN_TEST_cc_c): Likewise.
6335 (RUN_TEST_LOOP_cc_c): Likewise.
6336 (RUN_TEST_f_i): Likewise.
6337 (RUN_TEST_LOOP_f_i): Likewise.
6338 (RUN_TEST_f_i_tg): Likewise.
6339 (RUN_TEST_LOOP_f_i_tg): Likewise.
6340 (RUN_TEST_ff_i_tg): Likewise.
6341 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6342 (RUN_TEST_f_b): Likewise.
6343 (RUN_TEST_LOOP_f_b): Likewise.
6344 (RUN_TEST_f_b_tg): Likewise.
6345 (RUN_TEST_LOOP_f_b_tg): Likewise.
6346 (RUN_TEST_f_l): Likewise.
6347 (RUN_TEST_LOOP_f_l): Likewise.
6348 (RUN_TEST_f_L): Likewise.
6349 (RUN_TEST_LOOP_f_L): Likewise.
6350 (RUN_TEST_sincos): Likewise.
6351 (RUN_TEST_LOOP_sincos): Likewise.
6352
8269107f
JM
63532013-05-17 Joseph Myers <joseph@codesourcery.com>
6354
bb38759d
JM
6355 [BZ #15480]
6356 [BZ #15485]
6357 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6358 main case of finite arguments, set rounding mode to FE_TONEAREST
6359 and discard exceptions.
6360 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6361 exceptions.
6362 (remainder_tonearest_test_data): New variable.
6363 (remainder_test_tonearest): New function.
6364 (remainder_towardzero_test_data): New variable.
6365 (remainder_test_towardzero): New function.
6366 (remainder_downward_test_data): New variable.
6367 (remainder_test_downward): New function.
6368 (remainder_upward_test_data): New variable.
6369 (remainder_test_upward): New function.
6370 (main): Call the new test functions.
6371
a00bdcf0
JM
6372 * math/libm-test.inc (struct test_f_f1_data): Remove field
6373 extra_init.
6374 (struct test_fF_f1_data): Likewise.
6375 (struct test_ffI_f1_data): Likewise.
6376 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6377 based on value of EXTRA_EXPECTED.
6378 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6379 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6380 EXTRA_VAR based on value of EXTRA_EXPECTED.
6381 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6382 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6383 EXTRA_VAR based on value of EXTRA_EXPECTED.
6384 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6385 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6386 EXTRA_VAR based on value of EXTRA_EXPECTED.
6387 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6388 * math/gen-libm-test.pl (parse_args): Don't output initializers
6389 for extra output values.
6390
de407f79
JM
6391 * math/libm-test.inc (check_int): Expect result to be exactly
6392 equal to expected value and do not handle ulps.
6393 (check_long): Likewise.
6394 (check_longlong): Likewise.
6395
8269107f
JM
6396 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6397 exceptions.
6398 (cimag_test_data): Likewise.
6399 (conj_test_data): Likewise.
6400 (copysign_test_data): Likewise.
6401 (cproj_test_data): Likewise.
6402 (creal_test_data): Likewise.
6403 (fabs_test_data): Likewise.
6404 (fdim_test_data): Likewise.
6405 (finite_test_data): Likewise.
6406 (floor_test_data): Likewise.
6407 (fmax_test_data): Likewise.
6408 (fmin_test_data): Likewise.
6409 (fmod_test_data): Likewise.
6410 (fpclassify_test_data): Likewise.
6411 (frexp_test_data): Likewise.
6412 (ilogb_test_data): Likewise.
6413 (isfinite_test_data): Likewise.
6414 (isgreater_test_data): Likewise.
6415 (isgreaterequal_test_data): Likewise.
6416 (isinf_test_data): Likewise.
6417 (isless_test_data): Likewise.
6418 (islessequal_test_data): Likewise.
6419 (islessgreater_test_data): Likewise.
6420 (isnan_test_data): Likewise.
6421 (isnormal_test_data): Likewise.
6422 (issignaling_test_data): Likewise.
6423 (isunordered_test_data): Likewise.
6424 (ldexp_test_data): Likewise.
6425 (lrint_test_data): Likewise.
6426 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6427 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6428 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6429 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6430 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6431 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6432 test input.
6433 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6434 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6435 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6436 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6437 that test input.
6438 (lrint_downward_test_data): Test for "inexact" exceptions.
6439 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6440 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6441 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6442 test input.
6443 (lrint_upward_test_data): Test for "inexact" exceptions.
6444 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6445 test input.
6446 (llrint_test_data): Test for "inexact" exceptions.
6447 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6448 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6449 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6450 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6451 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6452 (llrint_downward_test_data): Test for "inexact" exceptions.
6453 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6454 (llrint_upward_test_data): Test for "inexact" exceptions.
6455 (logb_test_data): Likewise.
6456 (logb_downward_test_data): Likewise.
6457 (nextafter_test_data): Likewise.
6458 (nexttoward_test_data): Likewise.
6459 (remainder_test_data): Likewise.
6460 (remquo_test_data): Likewise.
6461 (scalbn_test_data): Likewise.
6462 (scalbln_test_data): Likewise.
6463 (signbit_test_data): Likewise.
6464 (sqrt_test_data): Likewise.
6465 (significand_test_data): Likewise.
6466
48a18de1
SP
64672013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
6469 [BZ #15424]
6470 * benchtests/bench-modf.c (struct args): Mark arg0 as
6471 volatile.
6472 * scripts/bench.pl: Mark members of struct args as volatile.
6473
13d3b41a
AZ
64742013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475
68191c1d 6476 [BZ # 15497]
13d3b41a
AZ
6477 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6478 negative infinity on POWER6 or lower.
6479 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6480
2848b105
MR
64812013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6482
6483 [BZ #15442]
6484 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6485 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6486 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6487 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6488 (_FP_SETQNAN): New macro.
6489 (_FP_SETQNAN_SEMIRAW): Likewise.
6490 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6491 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6492 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6493 (FP_EXTEND): Use _FP_FRAC_SNANP.
6494 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6495 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6496 into account.
6497 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6498 New macro.
6499 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6500 Likewise.
6501
323e5cb7
JM
65022013-05-16 Joseph Myers <joseph@codesourcery.com>
6503
c58b274f
JM
6504 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6505 with DIVIDE_BY_ZERO_EXCEPTION.
6506 (gamma_test_data): Likewise.
6507 (lgamma_test_data): Likewise.
6508 (log_test_data): Likewise.
6509 (log10_test_data): Likewise.
6510 (log2_test_data): Likewise.
6511 (tgamma_test_data): Likewise.
6512
0ab34904
JM
6513 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6514 (acos_test_tonearest): Likewise.
6515 (acos_test_towardzero): Likewise.
6516 (acos_test_downward): Likewise.
6517 (acos_test_upward): Likewise.
6518 (acosh_test): Likewise.
6519 (asin_test): Likewise.
6520 (asin_test_tonearest): Likewise.
6521 (asin_test_towardzero): Likewise.
6522 (asin_test_downward): Likewise.
6523 (asin_test_upward): Likewise.
6524 (asinh_test): Likewise.
6525 (atan_test): Likewise.
6526 (atanh_test): Likewise.
6527 (atan2_test): Likewise.
6528 (cabs_test): Likewise.
6529 (cacos_test): Likewise.
6530 (cacosh_test): Likewise.
6531 (casin_test): Likewise.
6532 (casinh_test): Likewise.
6533 (catan_test): Likewise.
6534 (catanh_test): Likewise.
6535 (cbrt_test): Likewise.
6536 (ccos_test): Likewise.
6537 (ccosh_test): Likewise.
6538 (cexp_test): Likewise.
6539 (clog_test): Likewise.
6540 (clog10_test): Likewise.
6541 (cos_test): Likewise.
6542 (cos_test_tonearest): Likewise.
6543 (cos_test_towardzero): Likewise.
6544 (cos_test_downward): Likewise.
6545 (cos_test_upward): Likewise.
6546 (cosh_test): Likewise.
6547 (cosh_test_tonearest): Likewise.
6548 (cosh_test_towardzero): Likewise.
6549 (cosh_test_downward): Likewise.
6550 (cosh_test_upward): Likewise.
6551 (cpow_test): Likewise.
6552 (csin_test): Likewise.
6553 (csinh_test): Likewise.
6554 (csqrt_test): Likewise.
6555 (ctan_test): Likewise.
6556 (ctan_test_tonearest): Likewise.
6557 (ctan_test_towardzero): Likewise.
6558 (ctan_test_downward): Likewise.
6559 (ctan_test_upward): Likewise.
6560 (ctanh_test): Likewise.
6561 (ctanh_test_tonearest): Likewise.
6562 (ctanh_test_towardzero): Likewise.
6563 (ctanh_test_downward): Likewise.
6564 (ctanh_test_upward): Likewise.
6565 (erf_test): Likewise.
6566 (erfc_test): Likewise.
6567 (exp_test): Likewise.
6568 (exp_test_tonearest): Likewise.
6569 (exp_test_towardzero): Likewise.
6570 (exp_test_downward): Likewise.
6571 (exp_test_upward): Likewise.
6572 (exp10_test): Likewise.
6573 (exp2_test): Likewise.
6574 (expm1_test): Likewise.
6575 (fmod_test): Likewise.
6576 (gamma_test): Likewise.
6577 (hypot_test): Likewise.
6578 (j0_test): Likewise.
6579 (j1_test): Likewise.
6580 (jn_test): Likewise.
6581 (lgamma_test): Likewise.
6582 (log_test): Likewise.
6583 (log10_test): Likewise.
6584 (log1p_test): Likewise.
6585 (log2_test): Likewise.
6586 (logb_test_downward): Likewise.
6587 (pow_test): Likewise.
6588 (pow_test_tonearest): Likewise.
6589 (pow_test_towardzero): Likewise.
6590 (pow_test_downward): Likewise.
6591 (pow_test_upward): Likewise.
6592 (remainder_test): Likewise.
6593 (remquo_test): Likewise.
6594 (sin_test): Likewise.
6595 (sin_test_tonearest): Likewise.
6596 (sin_test_towardzero): Likewise.
6597 (sin_test_downward): Likewise.
6598 (sin_test_upward): Likewise.
6599 (sincos_test): Likewise.
6600 (sinh_test): Likewise.
6601 (sinh_test_tonearest): Likewise.
6602 (sinh_test_towardzero): Likewise.
6603 (sinh_test_downward): Likewise.
6604 (sinh_test_upward): Likewise.
6605 (sqrt_test): Likewise.
6606 (tan_test): Likewise.
6607 (tan_test_tonearest): Likewise.
6608 (tan_test_towardzero): Likewise.
6609 (tan_test_downward): Likewise.
6610 (tan_test_upward): Likewise.
6611 (tanh_test): Likewise.
6612 (tgamma_test): Likewise.
6613 (y0_test): Likewise.
6614 (y1_test): Likewise.
6615 (yn_test): Likewise.
6616
323e5cb7
JM
6617 * math/gen-libm-test.pl (adjust_arg): Remove function.
6618 (special_function): Remove argument $in_func. Only handle
6619 generating output for tables of tests, not inside functions.
6620 (parse_args): Likewise.
6621 (generate_testfile): Remove variable $in_func. Update call to
6622 parse_args.
6623 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6624 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6625 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6626 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6627 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6628 (MAX_VALUE_INIT): Rename macro to max_value.
6629 (MIN_VALUE_INIT): Rename macro to min_value.
6630 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6631 (plus_zero): Remove variable.
6632 (minus_zero): Likewise.
6633 (plus_infty): Likewise.
6634 (minus_infty): Likewise.
6635 (qnan_value): Likewise.
6636 (max_value): Likewise.
6637 (min_value): Likewise.
6638 (min_subnorm_value): Likewise.
6639
e054f494
RA
66402013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6641
6642 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6643 uint64_t or uint32_t usage.
6644 * crypt/sha256-block.c: Likewise.
6645 * crypt/sha256-crypt.c: Likewise.
6646 * crypt/sha256.c: Likewise.
6647 * crypt/sha512-block.c: Likewise.
6648 * crypt/sha512-crypt.c: Likewise.
6649 * crypt/sha512.c: Likewise.
6650 * debug/backtrace-tst.c: Likewise.
6651 * debug/pcprofiledump.c: Likewise.
6652 * elf/cache.c: Likewise.
6653 * elf/dl-cache.c: Likewise.
6654 * elf/dl-misc.c: Likewise.
6655 * elf/dl-profile.c: Likewise.
6656 * elf/dl-support.c: Likewise.
6657 * elf/ldconfig.c: Likewise.
6658 * elf/sprof.c: Likewise.
6659 * iconv/dummy-repertoire.c: Likewise.
6660 * iconv/iconv_charmap.c: Likewise.
6661 * iconv/skeleton.c: Likewise.
6662 * iconvdata/8bit-generic.c: Likewise.
6663 * iconvdata/cp737.h: Likewise.
6664 * iconvdata/cp775.h: Likewise.
6665 * iconvdata/ibm1008.h: Likewise.
6666 * iconvdata/ibm1025.h: Likewise.
6667 * iconvdata/ibm1046.h: Likewise.
6668 * iconvdata/ibm1097.h: Likewise.
6669 * iconvdata/ibm1112.h: Likewise.
6670 * iconvdata/ibm1122.h: Likewise.
6671 * iconvdata/ibm1123.h: Likewise.
6672 * iconvdata/ibm1124.h: Likewise.
6673 * iconvdata/ibm1129.h: Likewise.
6674 * iconvdata/ibm1130.h: Likewise.
6675 * iconvdata/ibm1132.h: Likewise.
6676 * iconvdata/ibm1133.h: Likewise.
6677 * iconvdata/ibm1137.h: Likewise.
6678 * iconvdata/ibm1140.h: Likewise.
6679 * iconvdata/ibm1141.h: Likewise.
6680 * iconvdata/ibm1142.h: Likewise.
6681 * iconvdata/ibm1143.h: Likewise.
6682 * iconvdata/ibm1144.h: Likewise.
6683 * iconvdata/ibm1145.h: Likewise.
6684 * iconvdata/ibm1146.h: Likewise.
6685 * iconvdata/ibm1147.h: Likewise.
6686 * iconvdata/ibm1148.h: Likewise.
6687 * iconvdata/ibm1149.h: Likewise.
6688 * iconvdata/ibm1153.h: Likewise.
6689 * iconvdata/ibm1154.h: Likewise.
6690 * iconvdata/ibm1155.h: Likewise.
6691 * iconvdata/ibm1156.h: Likewise.
6692 * iconvdata/ibm1157.h: Likewise.
6693 * iconvdata/ibm1158.h: Likewise.
6694 * iconvdata/ibm1160.h: Likewise.
6695 * iconvdata/ibm1161.h: Likewise.
6696 * iconvdata/ibm1162.h: Likewise.
6697 * iconvdata/ibm1163.h: Likewise.
6698 * iconvdata/ibm1164.h: Likewise.
6699 * iconvdata/ibm1166.h: Likewise.
6700 * iconvdata/ibm1167.h: Likewise.
6701 * iconvdata/ibm12712.h: Likewise.
6702 * iconvdata/ibm1390.h: Likewise.
6703 * iconvdata/ibm1399.h: Likewise.
6704 * iconvdata/ibm16804.h: Likewise.
6705 * iconvdata/ibm4517.h: Likewise.
6706 * iconvdata/ibm4899.h: Likewise.
6707 * iconvdata/ibm4909.h: Likewise.
6708 * iconvdata/ibm4971.h: Likewise.
6709 * iconvdata/ibm5347.h: Likewise.
6710 * iconvdata/ibm803.h: Likewise.
6711 * iconvdata/ibm856.h: Likewise.
6712 * iconvdata/ibm901.h: Likewise.
6713 * iconvdata/ibm902.h: Likewise.
6714 * iconvdata/ibm9030.h: Likewise.
6715 * iconvdata/ibm9066.h: Likewise.
6716 * iconvdata/ibm921.h: Likewise.
6717 * iconvdata/ibm922.h: Likewise.
6718 * iconvdata/ibm9448.h: Likewise.
6719 * iconvdata/isiri-3342.h: Likewise.
6720 * iconvdata/jis0201.h: Likewise.
6721 * include/link.h: Likewise.
6722 * include/netdb.h: Likewise.
6723 * inet/check_native.c: Likewise.
6724 * inet/check_pf.c: Likewise.
6725 * inet/getipv4sourcefilter.c: Likewise.
6726 * inet/getnameinfo.c: Likewise.
6727 * inet/getsourcefilter.c: Likewise.
6728 * inet/htonl.c: Likewise.
6729 * inet/setipv4sourcefilter.c: Likewise.
6730 * inet/setsourcefilter.c: Likewise.
6731 * inet/test-inet6_opt.c: Likewise.
6732 * inet/tst-network.c: Likewise.
6733 * locale/C-collate.c: Likewise.
6734 * locale/C-ctype.c: Likewise.
6735 * locale/C-time.c: Likewise.
6736 * locale/C-translit.h: Likewise.
6737 * locale/loadarchive.c: Likewise.
6738 * locale/programs/3level.h: Likewise.
6739 * locale/programs/charmap.c: Likewise.
6740 * locale/programs/charmap.h: Likewise.
6741 * locale/programs/ld-address.c: Likewise.
6742 * locale/programs/ld-collate.c: Likewise.
6743 * locale/programs/ld-ctype.c: Likewise.
6744 * locale/programs/ld-identification.c: Likewise.
6745 * locale/programs/ld-measurement.c: Likewise.
6746 * locale/programs/ld-messages.c: Likewise.
6747 * locale/programs/ld-monetary.c: Likewise.
6748 * locale/programs/ld-name.c: Likewise.
6749 * locale/programs/ld-numeric.c: Likewise.
6750 * locale/programs/ld-paper.c: Likewise.
6751 * locale/programs/ld-telephone.c: Likewise.
6752 * locale/programs/ld-time.c: Likewise.
6753 * locale/programs/linereader.c: Likewise.
6754 * locale/programs/locale.c: Likewise.
6755 * locale/programs/locarchive.c: Likewise.
6756 * locale/programs/locfile.h: Likewise.
6757 * locale/programs/repertoire.c: Likewise.
6758 * locale/programs/simple-hash.c: Likewise.
6759 * locale/programs/simple-hash.h: Likewise.
6760 * malloc/memusage.c: Likewise.
6761 * malloc/memusagestat.c: Likewise.
6762 * nis/nis_defaults.c: Likewise.
6763 * nis/nis_hash.c: Likewise.
6764 * nis/nis_print.c: Likewise.
6765 * nis/nis_xdr.c: Likewise.
6766 * nscd/connections.c: Likewise.
6767 * nscd/hstcache.c: Likewise.
6768 * nscd/nscd_gethst_r.c: Likewise.
6769 * nscd/nscd_getserv_r.c: Likewise.
6770 * nscd/nscd_helper.c: Likewise.
6771 * nscd/servicescache.c: Likewise.
6772 * nss/makedb.c: Likewise.
6773 * nss/nss_db/db-XXX.c: Likewise.
6774 * nss/nss_db/db-initgroups.c: Likewise.
6775 * nss/nss_db/db-netgrp.c: Likewise.
6776 * nss/nss_files/files-network.c: Likewise.
6777 * nss/nss_files/files-parse.c: Likewise.
6778 * posix/bug-regex5.c: Likewise.
6779 * posix/fnmatch_loop.c: Likewise.
6780 * posix/regcomp.c: Likewise.
6781 * posix/regexec.c: Likewise.
6782 * posix/tst-rfc3484-2.c: Likewise.
6783 * posix/tst-rfc3484-3.c: Likewise.
6784 * posix/tst-rfc3484.c: Likewise.
6785 * resolv/nss_dns/dns-canon.c: Likewise.
6786 * resolv/nss_dns/dns-network.c: Likewise.
6787 * resolv/res_init.c: Likewise.
6788 * resolv/res_mkquery.c: Likewise.
6789 * resolv/tst-aton.c: Likewise.
6790 * stdlib/cxa_atexit.c: Likewise.
6791 * stdlib/cxa_finalize.c: Likewise.
6792 * stdlib/gen-fpioconst.c: Likewise.
6793 * stdlib/strtol_l.c: Likewise.
6794 * string/tst-endian.c: Likewise.
6795 * sunrpc/auth_des.c: Likewise.
6796 * sunrpc/clnt_udp.c: Likewise.
6797 * sunrpc/rtime.c: Likewise.
6798 * sunrpc/svcauth_des.c: Likewise.
6799 * sunrpc/xdr.c: Likewise.
6800 * sunrpc/xdr_intXX_t.c: Likewise.
6801 * sunrpc/xdr_rec.c: Likewise.
6802 * sysdeps/generic/ldconfig.h: Likewise.
6803 * sysdeps/generic/ldsodefs.h: Likewise.
6804 * sysdeps/generic/memusage.h: Likewise.
6805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6815 * sysdeps/posix/getaddrinfo.c: Likewise.
6816 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6817 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6818 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6819 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6820 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6821 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6822 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6823 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6824 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6825 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6827 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6828 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6829 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6830 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6831 * sysdeps/x86_64/dl-tls.h: Likewise.
6832 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6833 * time/alt_digit.c: Likewise.
6834 * time/era.c: Likewise.
6835 * wcsmbs/tst-c16c32-1.c: Likewise.
6836
8c75f674
JM
68372013-05-16 Joseph Myers <joseph@codesourcery.com>
6838
6839 * math/libm-test.inc (struct test_sincos_data): New type.
6840 (RUN_TEST_LOOP_sincos): New macro.
6841 (sincos_test_data): New variable.
6842 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6843
e6e49e59
RH
68442013-05-16 Richard Henderson <rth@redhat.com>
6845
6846 * math/atest-exp2.c (LIMB64): New macro.
6847 (CONSTSZ): New macro.
6848 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6849 (hexdig): Move ...
6850 (print_mpn_fp): ... to function scope.
6851 (read_mpn_hex): Remove.
6852 (get_log2): Remove.
6853 (exp2_mpn): Use mp_log2.
6854 (main): Use mp_exp1.
6855
15c7c18d
JM
68562013-05-16 Joseph Myers <joseph@codesourcery.com>
6857
105a07df
JM
6858 * math/libm-test.inc: Remove comment about not testing "inexact"
6859 exceptions.
6860 (INEXACT_EXCEPTION): New macro.
6861 (NO_INEXACT_EXCEPTION): Likewise.
6862 (INVALID_EXCEPTION_OK): Update value.
6863 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6864 (OVERFLOW_EXCEPTION_OK): Likewise.
6865 (UNDERFLOW_EXCEPTION_OK): Likewise.
6866 (IGNORE_ZERO_INF_SIGN): Likewise.
6867 (ERRNO_UNCHANGED): Likewise.
6868 (ERRNO_EDOM): Likewise.
6869 (ERRNO_ERANGE): Likewise.
6870 (test_exceptions): Handle testing "inexact" exceptions.
6871 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6872 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6873 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6874 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6875 INEXACT_EXCEPTION.
6876 (rint_towardzero_test_data): Likewise.
6877 (rint_downward_test_data): Likewise.
6878 (rint_upward_test_data): Likewise.
6879
e9eee333
JM
6880 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6881 with OVERFLOW_EXCEPTION.
6882 (exp10_test_data): Likewise.
6883 (exp2_test_data): Likewise.
6884 (expm1_test_data): Likewise.
6885 (lgamma_test_data): Likewise.
6886 (pow_test_data): Likewise.
6887 (tgamma_test_data): Likewise.
6888 (yn_test_data): Remove duplicate test of overflow.
6889
1c38ff73
JM
6890 * math/libm-test.inc (struct test_cc_c_data): New type.
6891 (RUN_TEST_LOOP_cc_c): New macro.
6892 (cpow_test_data): New variable.
6893 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6894
15c7c18d
JM
6895 * math/libm-test.inc (struct test_f_L_data): New type.
6896 (RUN_TEST_LOOP_f_L): New macro.
6897 (llrint_test_data): New variable.
6898 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6899 (llrint_tonearest_test_data): New variable.
6900 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6901 (llrint_towardzero_test_data): New variable.
6902 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6903 (llrint_downward_test_data): New variable.
6904 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6905 (llrint_upward_test_data): New variable.
6906 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6907 (llround_test_data): New variable.
6908 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6909
f137ff13
PC
69102013-05-13 Peter Collingbourne <pcc@google.com>
6911
6912 * math/atest-exp2.c (get_log2): Remove const attribute.
6913
3608cb24
JM
69142013-05-15 Joseph Myers <joseph@codesourcery.com>
6915
6916 * math/libm-test.inc (struct test_f_l_data): New type.
6917 (RUN_TEST_LOOP_f_l): New macro.
6918 (lrint_test_data): New variable.
6919 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6920 (lrint_tonearest_test_data): New variable.
6921 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6922 (lrint_towardzero_test_data): New variable.
6923 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6924 (lrint_downward_test_data): New variable.
6925 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6926 (lrint_upward_test_data): New variable.
6927 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6928 (lround_test_data): New variable.
6929 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6930
39b1f617
PC
69312013-05-15 Peter Collingbourne <pcc@google.com>
6932
1deff3dc
PC
6933 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6934 (EXTRACT_WORDS64) Use where appropriate.
6935 (INSERT_WORDS64) Likewise.
6936
791f3ba0
PC
6937 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6938 constraints with x constraints.
6939 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6940
39b1f617
PC
6941 * malloc/obstack.c (_obstack_compat): Add initializer.
6942
12fba011
EM
69432013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6944
6945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6946 si_trapno and add si_addr_lsb to _sifields.sigfault.
6947 (si_trapno): Remove macro.
6948 (si_addr_lsb): Define new macro.
6949 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6950
d369f531
JM
69512013-05-15 Joseph Myers <joseph@codesourcery.com>
6952
b861c6c4
JM
6953 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6954 instead of TEST_f_l.
6955 (llrint_test_tonearest): Likewise.
6956 (llrint_test_towardzero): Likewise.
6957 (llrint_test_downward): Likewise.
6958 (llrint_test_upward): Likewise.
6959 (llround_test): Likewise.
6960
7abeee12
JM
6961 * math/libm-test.inc (struct test_f_i_data): Add comment.
6962 (RUN_TEST_LOOP_f_b): New macro.
6963 (RUN_TEST_LOOP_f_b_tg): Likewise.
6964 (finite_test_data): New variable.
6965 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6966 (isfinite_test_data): New variable.
6967 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6968 (isinf_test_data): New variable.
6969 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6970 (isnan_test_data): New variable.
6971 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6972 (isnormal_test_data): New variable.
6973 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6974 (issignaling_test_data): New variable.
6975 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6976 (signbit_test_data): New variable.
6977 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6978
cbe8c4d3
JM
6979 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6980 with INVALID_EXCEPTION.
6981 (acosh_test_data): Likewise.
6982 (asin_test_data): Likewise.
6983 (atanh_test_data): Likewise.
6984 (fmod_test_data): Likewise.
6985 (log_test_data): Likewise.
6986 (log10_test_data): Likewise.
6987 (log2_test_data): Likewise.
6988 (pow_test_data): Likewise.
6989 (sqrt_test_data): Likewise.
6990 (y0_test_data): Likewise.
6991 (y1_test_data): Likewise.
6992 (yn_test_data): Likewise.
6993
5575c0e5
JM
6994 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6995 function contents.
6996
d369f531
JM
6997 * math/libm-test.inc (struct test_ff_i_data): New type.
6998 (RUN_TEST_LOOP_ff_i_tg): New macro.
6999 (isgreater_test_data): New variable.
7000 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7001 (isgreaterequal_test_data): New variable.
7002 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7003 (isless_test_data): New variable.
7004 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7005 (islessequal_test_data): New variable.
7006 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7007 (islessgreater_test_data): New variable.
7008 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7009 (isunordered_test_data): New variable.
7010 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7011
781fd748
DM
70122013-05-14 David S. Miller <davem@davemloft.net>
7013
7014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7015
87aa21df
JM
70162013-05-14 Joseph Myers <joseph@codesourcery.com>
7017
5e908270
JM
7018 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7019
f71172e5
JM
7020 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7021 extra_test to int.
7022 (struct test_f_i_data): Change type of max_ulp to int.
7023
8cfa635a
JM
7024 * math/libm-test.inc (test_ffI_f1_data): New type.
7025 (RUN_TEST_LOOP_ffI_f1): New macro.
7026 (remquo_test_data): New variable.
7027 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7028
2bcb36b2
JM
7029 * setjmp/tst-setjmp-fp.c: New file.
7030 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7031 (link-libm): New variable.
7032 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7033
acbd839a
JM
7034 * math/libm-test.inc (struct test_f_i_data): New type.
7035 (RUN_TEST_LOOP_f_i): New macro.
7036 (RUN_TEST_LOOP_f_i_tg): Likewise.
7037 (fpclassify_test_data): New variable.
7038 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7039 (ilogb_test_data): New variable.
7040 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7041
e414d745
JM
7042 * math/libm-test.inc (scalbln_test): Correct function name in END
7043 call.
7044
d9c2a0fd
JM
7045 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7046 (RUN_TEST_LOOP_fI_f1): New macro.
7047 (frexp_test_data): New variable.
7048 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7049
9dc9095d
JM
7050 * math/libm-test.inc (struct test_fF_f1_data): New type.
7051 (RUN_TEST_LOOP_fF_f1): New macro.
7052 (modf_test_data): New variable.
7053 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7054
87aa21df
JM
7055 * math/libm-test.inc (struct test_f_f1_data): New type.
7056 (RUN_TEST_LOOP_f_f1): New macro.
7057 (gamma_test_data): New variable.
7058 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7059 (lgamma_test_data): New variable.
7060 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7061
141af660
CD
70622013-05-13 Carlos O'Donell <carlos@redhat.com>
7063
7064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7065 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7066 (main): Comment "tls" pseudo-hwcap.
7067
6d33265c
JM
70682013-05-13 Joseph Myers <joseph@codesourcery.com>
7069
68fc074c
JM
7070 * math/libm-test.inc (struct test_fl_f_data): New type.
7071 (RUN_TEST_LOOP_fl_f): New variable.
7072 (scalbln_test_data): New variable.
7073 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7074
243216e1
JM
7075 * math/libm-test.inc (struct test_fi_f_data): New type.
7076 (RUN_TEST_LOOP_fi_f): New macro.
7077 (ldexp_test_data): New variable.
7078 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7079 (scalbn_test_data): New variable.
7080 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7081
6a1992e2
JM
7082 * math/libm-test.inc (struct test_c_f_data): New type.
7083 (RUN_TEST_LOOP_c_f): New macro.
7084 (cabs_test_data): New variable.
7085 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7086 (carg_test_data): New variable.
7087 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7088 (cimag_test_data): New variable.
7089 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7090 (creal_test_data): New variable.
7091 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7092
0e400df5
JM
7093 * math/libm-test.inc (struct test_if_f_data): New type.
7094 (RUN_TEST_LOOP_if_f): New macro.
7095 (jn_test_data): New variable.
7096 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7097 (yn_test_data): New variable.
7098 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7099
6d33265c
JM
7100 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7101
f98ece5f
AZ
71022013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103
7104 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7105 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7106
0f7d347b
SP
71072013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
43fe811b
SP
7109 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7110 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7111 (bench-deps): Add bench-timing.h.
7112 * benchtests-bench-skeleton.c: Include bench-timing.h.
7113 (main): Use TIMING_* macros instead of clock_gettime.
7114 * benchtests/bench-timing.h: New file.
7115
0f7d347b
SP
7116 [BZ #14582]
7117 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7118 Renamed from _LIB_VERSION.
7119 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7120
601a3a5f
JM
71212013-05-12 Joseph Myers <joseph@codesourcery.com>
7122
4f184d30
JM
7123 * math/libm-test.inc (struct test_fff_f_data): New type.
7124 (RUN_TEST_LOOP_fff_f): New macro.
7125 (fma_test_data): New variable.
7126 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7127 (fma_towardzero_test_data): New variable.
7128 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7129 (fma_downward_test_data): New variable.
7130 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7131 (fma_upward_test_data): New variable.
7132 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7133
08198877
JM
7134 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7135 (struct test_c_c_data): New type.
7136 (RUN_TEST_LOOP_c_c): New macro.
7137 (cacos_test_data): New variable.
7138 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7139 (cacosh_test_data): New variable.
7140 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7141 (casin_test_data): New variable.
7142 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7143 (casinh_test_data): New variable.
7144 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7145 (catan_test_data): New variable.
7146 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7147 (catanh_test_data): New variable.
7148 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7149 (ccos_test_data): New variable.
7150 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7151 (ccosh_test_data): New variable.
7152 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7153 (cexp_test_data): New variable.
7154 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7155 (clog_test_data): New variable.
7156 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7157 (clog10_test_data): New variable.
7158 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7159 (conj_test_data): New variable.
7160 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7161 (cproj_test_data): New variable.
7162 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7163 (csin_test_data): New variable.
7164 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7165 (csinh_test_data): New variable.
7166 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7167 (csqrt_test_data): New variable.
7168 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7169 (ctan_test_data): New variable.
7170 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7171 (ctan_tonearest_test_data): New variable.
7172 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7173 (ctan_towardzero_test_data): New variable.
7174 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7175 (ctan_downward_test_data): New variable.
7176 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7177 (ctan_upward_test_data): New variable.
7178 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7179 (ctanh_test_data): New variable.
7180 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7181 (ctanh_tonearest_test_data): New variable.
7182 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7183 (ctanh_towardzero_test_data): New variable.
7184 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7185 (ctanh_downward_test_data): New variable.
7186 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7187 (ctanh_upward_test_data): New variable.
7188 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7189 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7190 of BUILD_COMPLEX.
7191
601a3a5f
JM
7192 * math/libm-test.inc (struct test_ff_f_data): New type.
7193 (struct test_ff_f_data_nexttoward): Likewise.
7194 (RUN_TEST_LOOP_2_f): New macro.
7195 (RUN_TEST_LOOP_ff_f): Likewise.
7196 (atan2_test_data): New variable.
7197 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7198 (copysign_test_data): New variable.
7199 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7200 (fdim_test_data): New variable.
7201 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7202 (fmax_test_data): New variable.
7203 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7204 (fmin_test_data): New variable.
7205 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7206 (fmod_test_data): New variable.
7207 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7208 (hypot_test_data): New variable.
7209 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7210 (nextafter_test_data): New variable.
7211 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7212 (nexttoward_test_data): New variable.
7213 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7214 (pow_test_data): New variable.
7215 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7216 (pow_tonearest_test_data): New variable.
7217 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7218 (pow_towardzero_test_data): New variable.
7219 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7220 (pow_downward_test_data): New variable.
7221 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7222 (pow_upward_test_data): New variable.
7223 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7224 (remainder_test_data): New variable.
7225 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7226 (scalb_test_data): New variable.
7227 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7228 * sysdeps/i386/fpu/libm-test-ulps: Update.
7229
74c57478
JM
72302013-05-11 Joseph Myers <joseph@codesourcery.com>
7231
8329e4da
JM
7232 * math/libm-test.inc (fma_test): Use max_value instead of local
7233 variable fltmax.
7234 (nextafter_test): Likewise.
7235
74c57478
JM
7236 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7237 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7238 (acos_downward_test_data): New variable.
7239 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7240 (acos_upward_test_data): New variable.
7241 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7242 (acosh_test_data): New variable.
7243 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7244 (asin_test_data): New variable.
7245 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7246 (asin_tonearest_test_data): New variable.
7247 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7248 (asin_towardzero_test_data): New variable.
7249 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7250 (asin_downward_test_data): New variable.
7251 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7252 (asin_upward_test_data): New variable.
7253 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7254 (asinh_test_data): New variable.
7255 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7256 (atan_test_data): New variable.
7257 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7258 (atanh_test_data): New variable.
7259 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7260 (cbrt_test_data): New variable.
7261 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7262 (ceil_test_data): New variable.
7263 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7264 (cos_test_data): New variable.
7265 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7266 (cos_tonearest_test_data): New variable.
7267 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7268 (cos_towardzero_test_data): New variable.
7269 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7270 (cos_downward_test_data): New variable.
7271 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7272 (cos_upward_test_data): New variable.
7273 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7274 (cosh_test_data): New variable.
7275 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7276 (cosh_tonearest_test_data): New variable.
7277 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7278 (cosh_towardzero_test_data): New variable.
7279 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7280 (cosh_downward_test_data): New variable.
7281 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7282 (cosh_upward_test_data): New variable.
7283 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7284 (erf_test_data): New variable.
7285 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7286 (erfc_test_data): New variable.
7287 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7288 (exp_test_data): New variable.
7289 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7290 (exp_tonearest_test_data): New variable.
7291 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7292 (exp_towardzero_test_data): New variable.
7293 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7294 (exp_downward_test_data): New variable.
7295 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7296 (exp_upward_test_data): New variable.
7297 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7298 (exp10_test_data): New variable.
7299 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7300 (exp2_test_data): New variable.
7301 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7302 (expm1_test_data): New variable.
7303 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7304 (fabs_test_data): New variable.
7305 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7306 (floor_test_data): New variable.
7307 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7308 (j0_test_data): New variable.
7309 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7310 (j1_test_data): New variable.
7311 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7312 (log_test_data): New variable.
7313 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7314 (log10_test_data): New variable.
7315 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7316 (log1p_test_data): New variable.
7317 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7318 (log2_test_data): New variable.
7319 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7320 (logb_test_data): New variable.
7321 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7322 (logb_downward_test_data): New variable.
7323 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7324 (nearbyint_test_data): New variable.
7325 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7326 (rint_test_data): New variable.
7327 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7328 (rint_tonearest_test_data): New variable.
7329 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7330 (rint_towardzero_test_data): New variable.
7331 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7332 (rint_downward_test_data): New variable.
7333 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7334 (rint_upward_test_data): New variable.
7335 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7336 (round_test_data): New variable.
7337 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7338 (sin_test_data): New variable.
7339 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7340 (sin_tonearest_test_data): New variable.
7341 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7342 (sin_towardzero_test_data): New variable.
7343 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7344 (sin_downward_test_data): New variable.
7345 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7346 (sin_upward_test_data): New variable.
7347 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7348 (sinh_test_data): New variable.
7349 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7350 (sinh_tonearest_test_data): New variable.
7351 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7352 (sinh_towardzero_test_data): New variable.
7353 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7354 (sinh_downward_test_data): New variable.
7355 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7356 (sinh_upward_test_data): New variable.
7357 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7358 (sqrt_test_data): New variable.
7359 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7360 (tan_test_data): New variable.
7361 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7362 (tan_tonearest_test_data): New variable.
7363 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7364 (tan_towardzero_test_data): New variable.
7365 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7366 (tan_downward_test_data): New variable.
7367 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7368 (tan_upward_test_data): New variable.
7369 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7370 (tanh_test_data): New variable.
7371 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7372 (tgamma_test_data): New variable.
7373 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7374 (trunc_test_data): New variable.
7375 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7376 (y0_test_data): New variable.
7377 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7378 (y1_test_data): New variable.
7379 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7380 (significand_test_data): New variable.
7381 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7382
7187d844
CG
73832013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7384
7385 [BZ #12387]
7386 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7387
f63fae73
PT
73882013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7389
7390 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7391
8a67a4b3
AJ
73922013-05-10 Andreas Jaeger <aj@suse.de>
7393
7394 [BZ #15448]
7395 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7396 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7397
51df539d
JM
73982013-05-10 Joseph Myers <joseph@codesourcery.com>
7399
7400 * math/gen-libm-test.pl (adjust_arg): New function.
7401 (special_functions): Handle generating output in both functions
7402 and arrays.
7403 (parse_args): Likewise.
7404 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7405 $in_func argument to parse_args.
7406 * math/libm-test.inc (struct test_f_f_data): New type.
7407 (IF_ROUND_INIT_): New macro.
7408 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7409 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7410 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7411 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7412 (ROUND_RESTORE_): Likewise.
7413 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7414 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7415 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7416 (ROUND_RESTORE_FE_UPWARD): Likewise.
7417 (RUN_TEST_LOOP_f_f): New macro.
7418 (acos_test_data): New variable.
7419 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7420 (acos_tonearest_test_data): New variable.
7421 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7422
5c637fe5
SP
74232013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7424
7425 * benchtests/bench-skeleton.c (startup): Fix coding style.
7426
ab2b9461
JM
74272013-05-10 Joseph Myers <joseph@codesourcery.com>
7428
7429 [BZ #6809]
7430 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7431 negative infinity argument.
7432 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7433 negative infinity argument.
7434 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7435 negative infinity argument.
7436 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7437 domain errors.
7438
4c0fe6fe
FW
74392013-05-10 Florian Weimer <fweimer@redhat.com>
7440
7441 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7442 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7443 * iconv/iconv_prog.c (main): Likewise.
7444 * locale/programs/charmap-dir.c (charmap_readdir)
7445 (fopen_uncompressed): Likewise.
7446 * locale/programs/locfile.c (siblings_uncached)
7447 (write_locale_data): Use lstat64 instead of lstat.
7448 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7449 stat.
7450
a3375d29
AJ
74512013-05-10 Andreas Jaeger <aj@suse.de>
7452
7453 [BZ #15395]
7454 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7455 localization.
7456 Include <locale.h>.
7457
36129722
CD
74582013-05-09 Carlos O'Donell <carlos@redhat.com>
7459
7460 * elf/dl-close.c (_dl_close_worker): Add comments.
7461
faa7f811
JM
74622013-05-09 Joseph Myers <joseph@codesourcery.com>
7463
ed41ffef
JM
7464 [BZ #15359]
7465 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7466 high part of pi/2.
7467 (__ieee754_rem_pio2l): Update comments.
7468
d0213cd0
JM
7469 [BZ #15429]
7470 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7471 high part of pi/2.
7472 (__ieee754_rem_pio2l): Update comments.
7473
0d3e777a
JM
7474 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7475 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7476
24f56066
JM
7477 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7478 M_PI_4l.
7479
faa7f811
JM
7480 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7481 (M_PI_34_LOG10El): Likewise.
7482 (M_PI2_LOG10El): Likewise.
7483 (M_PI4_LOG10El): Likewise.
7484 (M_PI_LOG10El): Likewise.
7485
e9a5e0fd
AZ
74862013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487
7488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7489
d8cd06db
JM
74902013-05-08 Joseph Myers <joseph@codesourcery.com>
7491
a0d9f9d7
JM
7492 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7493 (MINUS_ZERO_INIT): Likewise.
7494 (PLUS_INFTY_INIT): Likewise.
7495 (MINUS_INFTY_INIT): Likewise.
7496 (QNAN_VALUE_INIT): Likewise.
7497 (MAX_VALUE_INIT): Likewise.
7498 (MIN_VALUE_INIT): Likewise.
7499 (MIN_SUBNORM_VALUE_INIT): Likewise.
7500 (plus_zero): Initialize with PLUS_ZERO_INIT.
7501 (minus_zero): Initialize with MINUS_ZERO_INIT.
7502 (plus_infty): Initialize with PLUS_INFTY_INIT.
7503 (minus_infty): Initialize with MINUS_INFTY_INIT.
7504 (qnan_value): Initialize with QNAN_VALUE_INIT.
7505 (max_value): Initialize with MAX_VALUE_INIT.
7506 (min_value): Initialize with MIN_VALUE_INIT.
7507 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7508
ae08db3b
JM
7509 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7510 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7511 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7512 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7513
f44bf14a
JM
7514 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7515 (RUN_TEST_2_f): Likewise.
7516 (RUN_TEST_ff_f): Likewise.
7517 (RUN_TEST_fi_f): Likewise.
7518 (RUN_TEST_fl_f): Likewise.
7519 (RUN_TEST_fff_f): Likewise.
7520 (RUN_TEST_c_f): Likewise.
7521 (RUN_TEST_f_f1): Likewise.
7522 (RUN_TEST_fF_f1): Likewise.
7523 (RUN_TEST_fI_f1): Likewise.
7524 (RUN_TEST_ffI_f1): Likewise.
7525 (RUN_TEST_c_c): Likewise.
7526 (RUN_TEST_cc_c): Likewise.
7527 (RUN_TEST_f_i): Likewise.
7528 (RUN_TEST_f_i_tg): Likewise.
7529 (RUN_TEST_ff_i_tg): Likewise.
7530 (RUN_TEST_f_b): Likewise.
7531 (RUN_TEST_f_b_tg): Likewise.
7532 (RUN_TEST_f_l): Likewise.
7533 (RUN_TEST_f_L): Likewise.
7534 (RUN_TEST_sincos): Likewise.
7535 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7536 whether to show exceptions. Do not include ");\n" in return
7537 value.
7538 (special_functions): Output call to RUN_TEST_sincos instead of
7539 check_float calls. Update calls to new_test.
7540 (parse_args): Output call to single RUN_TEST_* macro instead of
7541 check_* calls and other assignments. Update calls to new_test.
7542
d8cd06db
JM
7543 [BZ #2546]
7544 [BZ #2560]
7545 [BZ #5159]
7546 [BZ #15426]
7547 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7548 input to result for tgamma overflow.
7549 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7550 (gamma_coeff): New variable.
7551 (NCOEFF): New macro.
7552 (gamma_positive): New function.
7553 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7554 underflow here. Use gamma_positive instead of exp (lgamma) for
7555 other arguments.
7556 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7557 (gamma_coeff): New variable.
7558 (NCOEFF): New macro.
7559 (gammaf_positive): New function.
7560 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7561 underflow here. Use gamma_positive instead of exp (lgamma) for
7562 other arguments.
7563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7564 (gamma_coeff): New variable.
7565 (NCOEFF): New macro.
7566 (gammal_positive): New function.
7567 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7568 underflow here. Use gamma_positive instead of exp (lgamma) for
7569 other arguments.
7570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7571 (gamma_coeff): New variable.
7572 (NCOEFF): New macro.
7573 (gammal_positive): New function.
7574 (__ieee754_gammal_r): Handle positive infinity, overflow and
7575 underflow here. Handle NaN the same as positive infinity. Remove
7576 check x < 0xffffffff for negative integers. Use gamma_positive
7577 instead of exp (lgamma) for other arguments.
7578 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7579 (gamma_coeff): New variable.
7580 (NCOEFF): New macro.
7581 (gammal_positive): New function.
7582 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7583 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7588 * sysdeps/generic/math_private.h (__gamma_productf): New
7589 prototype.
7590 (__gamma_product): Likewise.
7591 (__gamma_productl): Likewise.
7592 * math/Makefile (libm-calls): Add gamma_product.
7593 * math/libm-test.inc (tgamma_test): Add more tests.
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596
bb7cf681
OB
75972013-05-08 Ondřej Bílka <neleai@seznam.cz>
7598
7599 * benchtests/bench-skeleton.c (main): Preheat CPU.
7600
ba853947
AJ
76012013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7602
7603 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7604
8347c74c
RM
76052013-05-07 Roland McGrath <roland@hack.frob.com>
7606
7607 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7608 and _dl_skip_args_internal.
7609
e8dd4791
CD
76102013-05-07 Carlos O'Donell <carlos@redhat.com>
7611
7612 * manual/message.texi (Message Translation): Talk about users.
7613 Message to key mapping impacts design.
7614
c7405830
RM
76152013-05-06 Roland McGrath <roland@hack.frob.com>
7616
a9173057
RM
7617 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7618
976e2f03
RM
7619 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7620
9723ffc5
RM
7621 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7622 * sysdeps/wordsize-64/glob64.c: ... here.
7623
962e6658
RM
7624 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7625 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7626 New macros.
7627
ee586a6d
RM
7628 * debug/getlogin_r_chk.c: Moved to ...
7629 * login/getlogin_r_chk.c: ... here.
7630 * debug/Makefile (routines): Move getlogin_r_chk to ...
7631 * login/Makefile (routines): ... here.
7632 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7633 * login/Versions (libc: GLIBC_2.4): ... here.
7634
355f9165
RM
7635 * io/poll.c (__poll): Renamed from poll.
7636 Add libc_hidden_def.
7637 (poll): Define as weak alias.
7638
bd9ffde6
RM
7639 * debug/ptsname_r_chk.c: Moved to ...
7640 * login/ptsname_r_chk.c: ... here.
7641 * debug/Makefile (routines): Move ptsname_r_chk to ...
7642 * login/Makefile (routines): ... here.
7643 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7644 * login/Versions (libc: GLIBC_2.4): ... here.
7645
8fb16a04
RM
7646 * posix/getlogin.c: Moved to ...
7647 * login/getlogin.c: ... here.
7648 * posix/getlogin_r.c: Moved to ...
7649 * login/getlogin_r.c: ... here.
7650 * posix/getlogin_r.c: Moved to ...
7651 * login/getlogin_r.c: ... here.
7652 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7653 * login/Makefile (routines): ... here.
7654 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7655 * login/Versions (libc: GLIBC_2.0): ... here.
7656
b99b892f
RM
7657 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7658 (setrlimit): Define as weak alias.
7659
c7405830
RM
7660 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7661 Call __ names for open, ftruncate, and close.
7662 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7663 (truncate): Define as weak alias.
7664
5bf96de5
JM
76652013-05-06 Joseph Myers <joseph@codesourcery.com>
7666
9ea3513c
JM
7667 * math/gen-libm-test.pl (parse_args): Initialize x before each
7668 test of frexp, modf and remquo.
7669
5bf96de5
JM
7670 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7671 test signgam value.
7672
16e616a7
AZ
76732013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 [BZ #15418]
7676 [BZ #15419]
7677 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7678 internal tests.
7679 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7680
d5e82754
RM
76812013-05-06 Roland McGrath <roland@hack.frob.com>
7682
7683 * elf/dl-writev.h: New file.
7684 * elf/dl-misc.c: Include it.
7685 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7686 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7687
a7548d41
JM
76882013-05-04 Joseph Myers <joseph@codesourcery.com>
7689
b7dab1e4
JM
7690 * math/libm-test.inc (noXFails): Remove variable.
7691 (noXPasses): Likewise.
7692 (BUILD_COMPLEX_INT): Remove macro.
7693 (print_screen): Remove xfail argument.
7694 (print_screen_max_error): Likewise.
7695 (update_stats): Likewise.
7696 (print_max_error): Likewise. Update calls to other affected
7697 functions.
7698 (print_complex_max_error): Likewise.
7699 (test_single_exception): Update calls to print_screen.
7700 (test_single_errno): Likewise.
7701 (check_float_internal): Remove xfail argument. Update calls to
7702 other affected functions.
7703 (check_float): Likewise.
7704 (check_complex): Likewise.
7705 (check_int): Likewise.
7706 (check_long): Likewise.
7707 (check_bool): Likewise.
7708 (check_longlong): Likewise.
7709 (main): Don't print noXFails and noXPasses.
7710 * math/gen-libm-test.pl (top level): Don't mention expected
7711 failure handling in comment.
7712 (new_test): Don't handle expected failures.
7713 (parse_args): Don't mention expected failure handling in comment.
7714 (generate_testfile): Don't handle expected failures.
7715 (parse_ulps): Likewise.
7716 (print_ulps_file): Likewise.
7717 (get_failure): Remove function.
7718 (output_test): Don't handle expected failures.
7719 * make/README.libm-test: Don't mention expected failure handling.
7720
a7548d41
JM
7721 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7722 (minus_zero): Likewise.
7723 (plus_infty): Likewise.
7724 (minus_infty): Likewise.
7725 (qnan_value): Likewise.
7726 (max_value): Likewise.
7727 (min_value): Likewise.
7728 (min_subnorm_value): Likewise.
7729 (initialize): Do not initialize those variables dynamically.
7730
60bfd54c
RM
77312013-05-03 Roland McGrath <roland@hack.frob.com>
7732
cc0e6ed8
RM
7733 * io/open.c (__open_2): Moved to ...
7734 * io/open_2.c: ... this new file.
7735 * io/open64.c (__open64_2): Moved to ...
7736 * io/open64_2.c: ... this new file.
7737 * io/openat.c (__openat_2): Moved to ...
7738 * io/openat_2.c: ... this new file.
7739 * io/openat64.c (__openat64_2): Moved to ...
7740 * io/openat64_2.c: ... this new file.
7741 * io/Makefile (routines): Add them.
7742 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7743 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7744 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7745 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7746 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7747 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7748 (__openat64): Add hidden_ver.
7749 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7750 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7751
60bfd54c
RM
7752 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7753 Separately conditionalize setting of GLRO(dl_sysinfo) so
7754 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7755 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7756
83e7640f
AZ
77572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7758
7759 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7761 definition.
7762 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7763 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7764 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7765 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7766 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7767
d5dc2af3
JM
77682013-05-03 Joseph Myers <joseph@codesourcery.com>
7769
c31a5b1e
JM
7770 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7771 test signgam value.
7772
d5dc2af3
JM
7773 * math/libm-test.inc (hypot_test): Do not use
7774 IGNORE_ZERO_INF_SIGN.
7775
164fd39d
AJ
77762013-05-03 Andreas Jaeger <aj@suse.de>
7777
7778 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7779 Linux 3.9.
7780 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7781 (PF_MAX): Adjust for VSOCK change.
7782
8237f48c
AZ
77832013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
7785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7786
9df02941
CD
77872013-05-02 Carlos O'Donell <carlos@redhat.com>
7788
7789 [BZ #15264]
7790 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7791 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7792 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7793
d422395e
DM
77942013-05-02 David S. Miller <davem@davemloft.net>
7795
7796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7797
a07c5731
OB
77982013-05-01 Ondřej Bílka <neleai@seznam.cz>
7799
7800 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7801
1324e37f
RM
78022013-05-01 Roland McGrath <roland@hack.frob.com>
7803
7804 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7805
0695940b
RS
78062013-05-01 Richard Smith <richard@metafoo.co.uk>
7807
bb5f27ad 7808 [BZ #14952]
0695940b
RS
7809 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7810 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7811 Use __attribute__ ((__gnu_inline__)).
7812 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7813 Don't use __attribute__ ((__gnu_inline__)).
7814
10de07f5
JM
78152013-05-01 Joseph Myers <joseph@codesourcery.com>
7816
7817 [BZ #15423]
7818 * math/s_catan.c (__catan): Handle small real or imaginary part of
7819 input specially to avoid spurious underflow.
7820 * math/s_catanf.c (__catanf): Likewise.
7821 * math/s_catanh.c (__catanh): Likewise.
7822 * math/s_catanhf.c (__catanhf): Likewise.
7823 * math/s_catanhl.c (__catanhl): Likewise.
7824 * math/s_catanl.c (__catanl): Likewise.
7825 * math/libm-test.inc (catan_test): Add more tests.
7826 (catanh_test): Likewise.
7827 * sysdeps/i386/fpu/libm-test-ulps: Update.
7828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7829
cb4d5414
AZ
78302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831
7832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7833
caf84319
JM
78342013-04-30 Joseph Myers <joseph@codesourcery.com>
7835
7836 [BZ #15416]
7837 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7838 accurately for denominator in atan2.
7839 * math/s_catanf.c (__catanf): Likewise.
7840 * math/s_catanh.c (__catanh): Likewise.
7841 * math/s_catanhf.c (__catanhf): Likewise.
7842 * math/s_catanhl.c (__catanhl): Likewise.
7843 * math/s_catanl.c (__catanl): Likewise.
7844 * math/libm-test.inc (catan_test): Add more tests.
7845 (catanh_test): Likewise.
7846 * sysdeps/i386/fpu/libm-test-ulps: Update.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848
d569c6ee
SP
78492013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7850
6dbe713d
SP
7851 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7852
f0ee064b
SP
7853 * benchtests/Makefile (bench): Remove slow benchmarks.
7854 * benchtests/atan-inputs: Add slow benchmark inputs.
7855 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7856 (BENCH_FUNC): Accept variant offset.
7857 (VARIANT): Define.
7858 * benchtests/bench-skeleton.c (main): Run benchmark for each
7859 variant.
7860 * benchtests/cos-inputs: Add slow benchmark inputs.
7861 * benchtests/exp-inputs: Likewise.
7862 * benchtests/pow-inputs: Likewise.
7863 * benchtests/sin-inputs: Likewise.
7864 * benchtests/slowatan-inputs: Remove.
7865 * benchtests/slowatan.c: Remove.
7866 * benchtests/slowcos-inputs: Remove.
7867 * benchtests/slowcos.c: Remove.
7868 * benchtests/slowexp-inputs: Remove.
7869 * benchtests/slowexp.c: Remove.
7870 * benchtests/slowpow-inputs: Remove.
7871 * benchtests/slowpow.c: Remove.
7872 * benchtests/slowsin-inputs: Remove.
7873 * benchtests/slowsin.c: Remove.
7874 * benchtests/slowtan-inputs: Remove.
7875 * benchtests/slowtan.c: Remove.
7876 * benchtests/tan-inputs: Add slow benchmark inputs.
7877 * scripts/bench.pl: Parse comments and directives.
7878
d569c6ee
SP
7879 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7880 in CPPFLAGS.
7881 ($(objpfx)bench-%.c): Remove *-ITER.
7882 * benchtests/bench-modf.c: Remove definition of ITER.
7883 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7884 (main): Loop for DURATION seconds instead of fixed number of
7885 iterations.
7886 * scripts/bench.pl: Don't expect iterations in parameters.
7887
a6a242fe
RM
78882013-04-29 Roland McGrath <roland@hack.frob.com>
7889
7890 * io/fchdir.c (__fchdir): Renamed from fchdir.
7891 (fchdir): Define as weak alias.
7892
f2da7793
JM
78932013-04-29 Joseph Myers <joseph@codesourcery.com>
7894
7895 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7896 (ERRNO_EDOM): Likewise.
7897 (ERRNO_ERANGE): Likewise.
7898 (noErrnoTests): New variable.
7899 (init_max_error): Set errno to 0.
7900 (test_single_errno): New function.
7901 (test_errno): Likewise.
7902 (check_float_internal): Call test_errno. Set errno to 0.
7903 (check_complex): Refer to errno tests in comment.
7904 (check_int): Call test_errno. Set errno to 0.
7905 (check_long): Likewise.
7906 (check_bool): Likewise.
7907 (check_longlong): Likewise.
7908 (cos_test): Use ERRNO_* flags for errno tests instead of
7909 check_int.
7910 (expm1_test): Likewise.
7911 (fmod_test): Likewise.
7912 (ilogb_test): Likewise.
7913 (lgamma_test): Likewise.
7914 (pow_test): Likewise.
7915 (remainder_test): Likewise.
7916 (sin_test): Likewise.
7917 (tan_test): Likewise.
7918 (yn_test): Likewise.
7919 (initialize): Set errno to 0.
7920 (main): Print number of errno tests.
7921 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7922
b1a36ceb
AJ
79232013-04-29 Andreas Jaeger <aj@suse.de>
7924
c3ed8088
AJ
7925 [BZ #15084]
7926 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7927 and RES_USEVC.
7928
f1a24198
AJ
7929 [BZ #15085]
7930 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7931 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7932 unimplemented.
7933
9ce3b2cb
AJ
7934 [BZ #15380]
7935 * stdlib/random.c (__initstate): Return NULL if
7936 __initstate fails.
7937
f1a24198 7938 [BZ #15086]
b1a36ceb
AJ
7939 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7940 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7941 RES_SNGLKUPREOP.
7942
7e7b6f36
AZ
79432013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7944
7945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7946
4d14f449
JM
79472013-04-29 Joseph Myers <joseph@codesourcery.com>
7948
7949 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7950 of individual tests.
7951 (casin_test): Likewise.
7952 (casinh_test): Likewise.
7953
5b4217d7
JM
79542013-04-27 Joseph Myers <joseph@codesourcery.com>
7955
7956 [BZ #15409]
7957 * math/s_catan.c (__catan): Handle arguments with large real or
7958 imaginary part separately without squaring.
7959 * math/s_catanf.c (__catanf): Likewise.
7960 * math/s_catanh.c (__catanh): Likewise.
7961 * math/s_catanhf.c (__catanhf): Likewise.
7962 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7963 and redefine.
7964 (__catanhl): Handle arguments with large real or imaginary part
7965 separately without squaring.
7966 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7967 and redefine.
7968 (__catanl): Handle arguments with large real or imaginary part
7969 separately without squaring.
7970 * math/libm-test.inc (catan_test): Add more tests.
7971 (catanh_test): Likewise.
7972 * sysdeps/i386/fpu/libm-test-ulps: Update.
7973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7974
4220c3ef
AJ
79752013-04-27 Andreas Jaeger <aj@suse.de>
7976
7977 [BZ #15007]
7978 * stdlib/stdlib.h: Update guards for qecvt.
7979 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7980 <stdlib.h>.
7981
4721b2d1
AM
79822013-04-27 Allan McRae <allan@archlinux.org>
7983
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7985
f0302940
JM
79862013-04-26 Joseph Myers <joseph@codesourcery.com>
7987
9457fd95
JM
7988 [BZ #15406]
7989 * math/s_catan.c: Include <float.h>.
7990 (__catan): Ensure underflow exception occurs for underflowed
7991 result.
7992 * math/s_catanf.c: Include <float.h>.
7993 (__catanf): Ensure underflow exception occurs for underflowed
7994 result.
7995 * math/s_catanh.c: Include <float.h>.
7996 (__catanh): Ensure underflow exception occurs for underflowed
7997 result.
7998 * math/s_catanhf.c: Include <float.h>.
7999 (__catanhf): Ensure underflow exception occurs for underflowed
8000 result.
8001 * math/s_catanhl.c: Include <float.h>.
8002 (__catanhl): Ensure underflow exception occurs for underflowed
8003 result.
8004 * math/s_catanl.c: Include <float.h>.
8005 (__catanl): Ensure underflow exception occurs for underflowed
8006 result.
8007 * math/libm-test.inc (catan_test): Add more tests.
8008 (catanh_test): Likewise.
8009
f0302940
JM
8010 [BZ #15405]
8011 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8012 underflowed result.
8013 * math/s_ccoshf.c (__ccoshf): Likewise.
8014 * math/s_ccoshl.c (__ccoshl): Likewise.
8015 * math/s_csin.c (__csin): Likewise.
8016 * math/s_csinf.c (__csinf): Likewise.
8017 * math/s_csinh.c (__csinh): Likewise.
8018 * math/s_csinhf.c (__csinhf): Likewise.
8019 * math/s_csinhl.c (__csinhl): Likewise.
8020 * math/s_csinl.c (__csinl): Likewise.
8021 * math/libm-test.inc (ccos_test): Add more tests.
8022 (ccosh_test): Likewise.
8023 (csin_test): Likewise.
8024 (csinh_test): Likewise.
8025
aa630f59
AZ
80262013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8027
8028 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8029 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8030 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8031 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8032 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8033 powerpc/power5+/fpu folders.
8034 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8035
8036
1b835983
MT
80372013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8038
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040
73709b26
JM
80412013-04-25 Joseph Myers <joseph@codesourcery.com>
8042
8043 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8044 additions to variable.
8045 [$(config-machine) = x86_64] (modules-names): Likewise.
8046 ($(objpfx)tst-audit3): Remove dependency.
8047 ($(objpfx)tst-audit3.out): Likewise.
8048 ($(objpfx)tst-audit4): Likewise.
8049 ($(objpfx)tst-audit4.out): Likewise.
8050 ($(objpfx)tst-audit5): Likewise.
8051 ($(objpfx)tst-audit5.out): Likewise.
8052 ($(objpfx)tst-audit6): Likewise.
8053 ($(objpfx)tst-audit6.out): Likewise.
8054 ($(objpfx)tst-audit7): Likewise.
8055 ($(objpfx)tst-audit7.out): Likewise.
8056 (tst-audit3-ENV): Remove variable.
8057 (tst-audit4-ENV): Likewise.
8058 (tst-audit5-ENV): Likewise.
8059 (tst-audit6-ENV): Likewise.
8060 (tst-audit7-ENV): Likewise.
8061 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8062 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8063 addition to variable.
8064 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8065 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8066 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8069 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8070 tst-audit3, tst-audit4 and tst-audit5.
8071 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8072 tst-audit6 and tst-audit7.
8073 [$(subdir) = elf] (modules-names): Add audit modules for those
8074 tests.
8075 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8076 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8077 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8078 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8079 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8080 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8081 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8082 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8083 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8084 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8085 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8086 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8087 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8088 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8089 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8090 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8091 Likewise.
8092 [$(subdir) = elf && $(config-cflags-avx) = yes]
8093 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8094 [$(subdir) = elf && $(config-cflags-avx) = yes]
8095 (CFLAGS-tst-auditmod4a.c): Likewise.
8096 [$(subdir) = elf && $(config-cflags-avx) = yes]
8097 (CFLAGS-tst-auditmod4b.c): Likewise.
8098 [$(subdir) = elf && $(config-cflags-avx) = yes]
8099 (CFLAGS-tst-auditmod6b.c): Likewise.
8100 [$(subdir) = elf && $(config-cflags-avx) = yes]
8101 (CFLAGS-tst-auditmod6c.c): Likewise.
8102 [$(subdir) = elf && $(config-cflags-avx) = yes]
8103 (CFLAGS-tst-auditmod7b.c): Likewise.
8104 * elf/tst-audit3.c: Move to ...
8105 * sysdeps/x86_64/tst-audit3.c: ... here.
8106 * elf/tst-audit4.c: Move to ...
8107 * sysdeps/x86_64/tst-audit4.c: ... here.
8108 * elf/tst-audit5.c: Move to ...
8109 * sysdeps/x86_64/tst-audit5.c: ... here.
8110 * elf/tst-audit6.c: Move to ...
8111 * sysdeps/x86_64/tst-audit6.c: ... here.
8112 * elf/tst-audit7.c: Move to ...
8113 * sysdeps/x86_64/tst-audit7.c: ... here.
8114 * elf/tst-auditmod3a.c: Move to ...
8115 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8116 * elf/tst-auditmod3b.c: Move to ...
8117 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8118 * elf/tst-auditmod4a.c: Move to ...
8119 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8120 * elf/tst-auditmod4b.c: Move to ...
8121 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8122 * elf/tst-auditmod5a.c: Move to ...
8123 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8124 * elf/tst-auditmod5b.c: Move to ...
8125 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8126 * elf/tst-auditmod6a.c: Move to ...
8127 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8128 * elf/tst-auditmod6b.c: Move to ...
8129 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8130 * elf/tst-auditmod6c.c: Move to ...
8131 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8132 * elf/tst-auditmod7a.c: Move to ...
8133 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8134 * elf/tst-auditmod7b.c: Move to ...
8135 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8136
1ef74943
PP
81372013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8138
8139 [BZ #15366]
8140 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8141 define unconditionally.
8142 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8143 define unconditionally.
8144 (INT8_C, INT16_C, etc.): Likewise.
8145
93fd48c5
MR
81462013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8147
ae9552cf
MR
8148 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8149 __ehdr_start with hidden visibility.
8150
93fd48c5
MR
8151 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8152
418601aa
CD
81532013-04-24 Carlos O'Donell <carlos@redhat.com>
8154
8155 * math/libm-test.inc (cos_test): Use accurate hex constants.
8156 (sincost_test): Likewise.
8157
2f38fbfe
JM
81582013-04-24 Joseph Myers <joseph@codesourcery.com>
8159
5e221800
JM
8160 * math/libm-test.inc (catan_test): Add more tests.
8161 (catanh_test): Likewise.
8162
77f143fd
JM
8163 * math/s_catanf.c (__catanf): Use suffixed floating-point
8164 constants.
8165 * math/s_catanhf.c (__catanhf): Likewise.
8166 * math/s_catanhl.c (__catanhl): Likewise.
8167 * math/s_catanl.c (__catanl): Likewise.
8168
2f38fbfe
JM
8169 [BZ #15394]
8170 * math/s_catan.c (__catan): Calculate imaginary part of result
8171 with log1p not log unless computing log of number close to 0.
8172 * math/s_catanf.c (__catanf): Likewise.
8173 * math/s_catanl.c (__catanl): Likewise.
8174 * math/s_catanh.c (__catanh): Calculate real part of result with
8175 log1p not log unless computing log of number close to 0.
8176 * math/s_catanhf.c (__catanhf): Likewise.
8177 * math/s_catanhl.c (__catanhl): Likewise.
8178 * math/libm-test.inc (catan_test): Add more tests.
8179 (catanh_test): Likewise.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182
45d69176
SP
81832013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8184
8185 * benchtests/Makefile: Mention files in which fast and slow
8186 paths of math functions are implemented.
8187
87f51853
RM
81882013-04-23 Roland McGrath <roland@hack.frob.com>
8189
8190 * sysdeps/posix/timespec_get.c: New file.
8191
3c026539
AZ
81922013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193
8194 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8195 POWER.
8196 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8197 for POWER.
8198 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8199 powerpc/power5/fpu folders.
8200 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8201 * benchtests/Makefile: Add modf testcase.
8202 * benchtests/bench-modf.c: New file: Benchmark test for mo
8203
ff491d14
SP
82042013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
8206 [BZ #14888]
8207 * time/Makefile (tests): Add tst-strptime-whitespace.
8208 * time/strptime_l.c (get_number): Use ISSPACE.
8209 (__strptime_internal): Likewise.
8210 * time/tst-strptime-whitespace.c: New test case.
8211
7ed3f4e8
AS
82122013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8213
8214 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8215 member.
8216 (_nss_files_init): Set it here.
8217
5c95f7b6
HC
82182013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8219
8220 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8221 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8222 unsigned.
8223
d34c9158
JBG
82242013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8225
8226 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8227
2169712d
SP
82282013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8229
8230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8231 size just once.
8232
29c5de99
DM
82332013-04-21 David S. Miller <davem@davemloft.net>
8234
8235 * po/ru.po: Update Russion translation from translation project.
8236
ccdad15d
AC
82372013-04-17 Adam Conrad <adconrad@0c3.net>
8238
8239 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8240 and setfsgid.
8241
0f122b8d
CD
82422013-04-17 Carlos O'Donell <carlos@redhat.com>
8243
5c5b07da 8244 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8245 * configure: Regenerate.
5c5b07da 8246 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8247 Add example to error message.
8248 * sysdeps/i386/configure: Regenerate.
8249
037714dd
SP
82502013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8251
8252 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8253 slowtan.
8254 * benchtests/cos-inputs: New file.
8255 * benchtests/slowcos-inputs: New file.
8256 * benchtests/slowcos.c: New file.
8257 * benchtests/slowtan-inputs: New file.
8258 * benchtests/slowtan.c: New file.
8259 * benchtests/tan-inputs: New file.
8260
e913141d
RM
82612013-04-16 Roland McGrath <roland@hack.frob.com>
8262
8263 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8264 considered kosher.
8265
a2964074
SP
82662013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
4856bcd2
SP
8268 * benchtests/Makefile: Include cppflags-iterator.mk to add
8269 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8270
a2964074
SP
8271 * Makefile.in (bench-clean): New target.
8272 * benchtests/Makefile (bench-clean): Likewise.
8273
9fbf9aca
DH
82742013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8275
8276 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8277
207d1e2a
TS
82782013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8279
8280 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8281
306dfba9
AS
82822013-04-15 Andreas Schwab <schwab@suse.de>
8283
8284 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8286 * nscd/pwdcache.c (cache_addpw): Likewise.
8287 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8288 more than recsize.
8289
206a6699
SP
82902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8291
8292 * benchtests/Makefile (bench): Write all output to
8293 bench-out.tmp together.
8294
0582f6b3
AS
82952013-04-15 Andreas Schwab <schwab@suse.de>
8296
8297 * nscd/nscd.c (main): Don't fork again after closing files.
8298
acb4325f
SP
82992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8300
5cb26d0a
SP
8301 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8302
acb4325f
SP
8303 * benchtests/Rules (bench-deps): Collect dependencies into a
8304 single variable. Add Makefile to dependencies.
8305 ($(objpfx)bench-%.c): Depend on bench-deps.
8306
47792506
RM
83072013-04-12 Roland McGrath <roland@hack.frob.com>
8308 Xavier Roche <roche+kml2@exalead.com>
8309
8310 [BZ #15361]
8311 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8312 just that it's a file descriptor.
8313 * manual/llio.texi (Synchronizing AIO Operations): Update description
8314 for EBADF error from aio_fsync.
8315
8fc1bee5
SP
83162013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
8318 * Rules (bench): Move target definition...
8319 * benchtests/Makefile: ... here.
8320
aba5e333
CD
83212013-04-11 Carlos O'Donell <carlos@redhat.com>
8322
8323 * math/libm-test.inc (cos_test): Fix PI/2 test.
8324 (sincos_test): Likewise.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8326 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8327
273cdee8
AS
83282013-04-11 Andreas Schwab <schwab@suse.de>
8329
6ecec3b6
AS
8330 [BZ #13988]
8331 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8332 accept exponent character only when digits were seen.
8333 * stdio-common/Makefile (tests): Add bug26.
8334 * stdio-common/bug26.c: New file.
8335
273cdee8
AS
8336 [BZ #14293]
8337 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8338 non-freeable.
8339
8da491f5
SP
83402013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8341
01dc6df9
SP
8342 * Makeconfig (rtld-prefix): Define built linker prefix.
8343 * Rules (run-bench): Use it.
8344 * math/Makefile (run-regen-ulps): Likewise.
8345
8da491f5
SP
8346 * Rules (bench): Remove eval.
8347
abe7f530
SP
83482013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8349 Roland McGrath <roland@hack.frob.com>
8350 Ondrej Bilka <neleai@seznam.cz>
8351
8352 [BZ #15346]
8353 * time/getdate.c: Include ctype.h and alloca.h.
8354 (__getdate_r): Trim leading and trailing spaces of input.
8355 * time/tst-getdate.c (tests): Add tests with leading and
8356 trailing spaces.
8357
61c23e62
RM
83582013-04-08 Roland McGrath <roland@hack.frob.com>
8359
8360 [BZ #14280]
8361 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8362 when computing value.
8363
7208a313
CD
83642013-04-06 Carlos O'Donell <carlos@redhat.com>
8365
085b2d41
CD
8366 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8367 Use testrun.sh to run libm tests.
8368
7208a313
CD
8369 [BZ #15309]
8370 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8371
872c0acd
MM
83722013-04-06 Marko Myllynen <myllynen@redhat.com>
8373
8374 [BZ #15264]
8375 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8376
26510bdd
CD
83772013-04-06 Carlos O'Donell <carlos@redhat.com>
8378
8379 * Makefile.in (regen-ulps): New target.
8380 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8381 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8382 [ifneq (no,$(PERL)] (regen-ulps): New target.
8383 [ifeq (no,$(PERL)] (regen-ulps): New target.
8384 * math/libm-test.inc (ulps_file_name): Define.
8385 (output_dir): New variable.
8386 (options): Add "output-dir" option.
8387 (parse_opt): Handle 'o' case.
8388 (main): If output_dir is non-NULL use it as a prefix
8389 otherwise use "".
8390 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8391
a01f19c8
CD
83922013-04-06 Carlos O'Donell <carlos@redhat.com>
8393
8394 [BZ #10060, #10062]
8395 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8396 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8397 fail configure if __sync_val_compare_and_swap is not inlined.
8398 * sysdeps/i386/configure: Regenerate.
8399 * configure.in: Build for i686 when configured for i386.
8400 * configure: Regenerate.
8401 * README: Remove i386 reference.
8402
b7a329a5
CD
84032013-04-06 Carlos O'Donell <carlos@redhat.com>
8404
8405 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8407
bf0f50df
TS
84082013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8409
ee091edf
TS
8410 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8411 (lmsnanval): New variables.
8412 (F): Add conversion tests.
8413 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8414 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8415
a8b792d6
TS
8416 * stdio-common/tstdiomisc.c (F): Properly collect individual
8417 tests' results.
8418
a1cbf437
TS
8419 [BZ #14686, #15336]
8420 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8421 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8422 Instead, use input NaN values or generate a qNaN by arithmetic
8423 operation. Also fix bugs to comply with the standard.
8424 * math/libm-test.inc (remainder_test): Add more tests.
8425
8b43a0c9
TS
8426 [BZ #15335, #15342]
8427 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8429 input NaN values or generate a qNaN by arithmetic operation.
8430
d91da4ce
TS
8431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8432 unreachable code.
8433
bf0f50df
TS
8434 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8435 definitions.
8436
05e166c8
JM
84372013-04-03 Joseph Myers <joseph@codesourcery.com>
8438
8439 [BZ #14478]
8440 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8441 underflowed result.
8442 * math/s_cexpf.c (__cexpf): Likewise.
8443 * math/s_cexpl.c (__cexpl): Likewise.
8444 * math/libm-test.inc (cexp_test): Add more tests.
8445
1cef1b19
AS
84462013-04-03 Andreas Schwab <schwab@suse.de>
8447
8448 [BZ #15330]
8449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8450 order arrays from heap if bigger than alloca cutoff.
8451
74d87055
TS
84522013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8453
8454 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8455 (SNAN_TESTS_double): Refer to GCC PR56831.
8456 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8457 GCC PR56828.
8458
d755bba4
SP
84592013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8460
90d5d5bb
SP
8461 * Rules (bench): Move bench.out after the run is complete.
8462
73e0cd5d
SP
8463 * Rules (bench): Echo currently running benchmark.
8464
64aabd4b
SP
8465 * benchtests/Makefile (bench): Add atan and slowatan.
8466 * benchtests/atan-inputs: New file.
8467 * benchtests/slowatan-inputs: New file.
8468 * benchtests/slowatan.c: New file.
8469
c871eccd
SP
8470 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8472 its value.
8473
d755bba4
SP
8474 [BZ #15305]
8475 * sysdeps/unix/sysv/linux/kernel-features.h
8476 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8477 __ASSUME_XFS_RESTRICTED_CHOWN.
8478 * sysdeps/unix/sysv/linux/pathconf.c
8479 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8480 Save and restore errno.
8481
52ce4860
JM
84822013-04-02 Joseph Myers <joseph@codesourcery.com>
8483
8484 [BZ #15327]
8485 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8486 arguments using __kernel_casinh.
8487 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8488 arguments using __kernel_casinhf.
8489 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8490 arguments using __kernel_casinhl.
8491 * math/libm-test.inc (cacosh_test): Add more tests.
8492 * sysdeps/i386/fpu/libm-test-ulps: Update.
8493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8494
81f311c2
SP
84952013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
e7906a47
SP
8497 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8499
92e3664b
SP
8500 * bench/Makefile (bench): Add sin and slowsin.
8501 * benchtests/sin-inputs: New file.
8502 * benchtests/slowsin-inputs: New file.
8503 * benchtests/slowsin.c: New file.
8504
81f311c2
SP
8505 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8506 (bench): Add slowexp and slowpow.
8507 (exp-ITER): Increase iterations.
8508 (pow-ITER): Likewise.
8509 * benchtests/exp-inputs: Change input.
8510 * benchtests/pow-inputs: Likewise.
8511 * benchtests/slowexp-inputs: New file.
8512 * benchtests/slowexp.c: New file.
8513 * benchtests/slowpow-inputs: New file.
8514 * benchtests/slowpow.c: New file.
8515
ab0f1aa9
AZ
85162013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8517
8518 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8519 instructions.
8520 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8521 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8523 * benchtests/Makefile: Add rint benchtest.
8524 * benchtests/rint-inputs: Input for rint benchtest.
8525
57267616
TS
85262013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8527
8528 * Versions.def (libm): Add GLIBC_2.18.
8529 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8530 hidden libm prototypes.
8531 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8532 * math/Makefile (libm-calls): Add s_issignaling.
8533 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8534 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8535 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8536 declaration.
8537 * math/math.h [__USE_GNU] (issignaling): New macro.
8538 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8539 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8544 * manual/arith.texi (issignaling): New section.
8545 * manual/libm-err-tab.pl (@all_functions): Update comment.
8546 * math/gen-libm-test.pl (parse_args): Apply special handling for
8547 issignaling.
8548 * math/libm-test.inc (print_float, issignaling_test): New
8549 functions.
8550 (check_float_internal): Add issignaling checks.
8551 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8552 default definition.
8553 * sysdeps/powerpc/math-tests.h: New file.
8554 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8555 tests.
8556 * math/test-snan.c (TEST_FUNC): Likewise.
8557
6142896d
DM
85582013-03-30 David S. Miller <davem@davemloft.net>
8559
8560 * po/de.po: Update from translation team.
8561
ccc8cadf
JM
85622013-03-30 Joseph Myers <joseph@codesourcery.com>
8563
8564 [BZ #10357]
8565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8566 imaginary part less than 1.0 and real part less than 0.5
8567 specially.
8568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8570 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8571 (cacos_test): Add more tests.
8572 (casin_test): Likewise.
8573 (casinh_test): Likewise.
8574 * sysdeps/i386/fpu/libm-test-ulps: Update.
8575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8576
0f6a8d4b
SP
85772013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8578
0d1029de
SP
8579 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8580 ONE with its value.
8581
c2d94018
SP
8582 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8583 (__pow_mp): Replace ONE and MONE with their values.
8584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8585 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8586 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8587 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8588 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8590
27ec37f1
SP
8591 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8592
a64d7e0e
SP
8593 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8594 (__pow_mp): Replace ZERO and MZERO with their values.
8595 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8596 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8597 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8599 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8600 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8601 (__sqr): Likewise.
8602
d26dd3eb
SP
8603 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8604
0f6a8d4b
SP
8605 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8606
e57b0c61
RM
86072013-03-28 Roland McGrath <roland@hack.frob.com>
8608
8609 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8610 Declare with __attribute__ ((weak)).
8611 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8612 Call __call_tls_dtors only if it's not NULL.
8613
356b3480
RM
86142013-03-28 Roland McGrath <roland@hack.frob.com>
8615
288f7d79
RM
8616 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8617 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8618 magic __ehdr_start linker symbol if it's defined.
8619 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8620 them up here if it was already done.
8621
dc0a0263
RM
8622 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8623 (_dl_aux_init): Use const in cast when setting it.
8624 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8625 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8626 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8627
3d3436ae
RM
8628 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8629 Declare them here.
8630 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8631 * csu/libc-tls.c: Nor here.
8632 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8633
356b3480
RM
8634 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8635 (__libc_message): Never call vsyslog.
8636
b0f1246a
AM
86372013-03-28 Alan Modra <amodra@gmail.com>
8638
8639 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8640 Define as empty.
8641 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8642 Likewise.
8643
fbbe2b9a
AZ
86442013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8645
8646 [BZ #15214]
8647 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8648 underflow.
8649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8650
1728ab37
SP
86512013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8652
7a86be6e
SP
8653 [BZ #15304]
8654 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8655 Don't add gid passed as argument.
8656
1728ab37
SP
8657 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8658
3a7182a1
JM
86592013-03-27 Joseph Myers <joseph@codesourcery.com>
8660
8661 [BZ #15307]
8662 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8663 imaginary part between 1.0 and 1.5 and real part less than 0.5
8664 specially.
8665 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8666 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8667 * math/libm-test.inc (cacos_test): Add more tests.
8668 (casin_test): Likewise.
8669 (casinh_test): Likewise.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672
6f2e90e7
SP
86732013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8674
5739f705
SP
8675 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8676 constants.
8677 (norm): Likewise.
8678 (denorm): Likewise.
8679 (__dbl_mp): Likewise.
8680 (add_magnitudes): Likewise.
8681 (sub_magnitudes): Likewise.
8682 (__add): Likewise.
8683 (__sub): Likewise.
8684 (__mul): Likewise.
8685 (__sqr): Likewise.
8686 (__inv): Likewise.
8687 (__dvd): Likewise.
8688
e375e83d
SP
8689 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8690 commented code.
8691 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8692 (__dubcos): Likewise.
8693 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8694 (__ieee754_acos): Likewise.
8695 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8696 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8697 (__exp1): Likewise.
8698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8700 (log1): Likewise.
8701 (my_log2): Likewise.
8702 (checkint): Likewise.
8703 * sysdeps/ieee754/dbl-64/e_remainder.c
8704 (__ieee754_remainder): Likewise.
8705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8707 (bsloww): Likewise.
8708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8709
6f2e90e7
SP
8710 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8711 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8712 MANTISSA_STORE_T to store computations on mantissa. Use
8713 macros for rounding and division.
8714 (denorm): Likewise.
8715 (__dbl_mp): Likewise.
8716 (add_magnitudes): Likewise.
8717 (sub_magnitudes): Likewise.
8718 (__mul): Likewise.
8719 (__sqr): Likewise.
8720 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8721 powers of two in terms of TWOPOW macro.
8722 (mp_no): Make type of mantissa as MANTISSA_T.
8723 [!RADIXI]: Define RADIXI.
8724 [!TWO52]: Define TWO52.
8725 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8726
fce14d4e
AZ
87272013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8728
8729 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8730 llroundl symbol when building for PPC32.
8731
9ad027fb
MW
87322013-03-24 Mark H Weaver <mhw@netris.org>
8733
8734 * manual/arith.texi (Normalization Functions): Fix prototypes for
8735 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8736
e42a38dd
AZ
87372013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8738
8739 [BZ #13889]
8740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8741 high value to check if expl overflow.
8742 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8743 to check for underflow and overflow.
8744 * math/libm-test.inc: Add exp test.
8745
2e0fb521
DL
87462013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8747
8748 [BZ #11120]
8749 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8750 with NOT_IN_libc.
8751
b5784d95
AZ
87522013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8753
8754 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8755 symbol.
8756
5aa4a1a1
TS
87572013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8758
bdef0be7
TS
8759 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8760 wrap blocks consisting of several statements.
8761
5aa4a1a1
TS
8762 * sysdeps/generic/math-tests.h: New file.
8763 * sysdeps/i386/fpu/math-tests.h: Likewise.
8764 * math/test-snan.c: Include it.
8765 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8766
98c48fe5
JM
87672013-03-21 Joseph Myers <joseph@codesourcery.com>
8768
8769 [BZ #15285]
8770 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8771 (__ieee754_j0l): Do not improve calculations using cos of twice
8772 input for inputs above LDBL_MAX / 2.0L.
8773 (__ieee754_y0l): Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8775 (__ieee754_j1l): Do not improve calculations using cos of twice
8776 input for inputs above LDBL_MAX / 2.0L.
8777 (__ieee754_y1l): Likewise.
8778 * math/libm-test.inc (j0_test): Add another test.
8779 (j1_test): Likewise.
8780 (y0_test): Likewise.
8781 (y1_test): Likewise.
8782 * sysdeps/i386/fpu/libm-test-ulps: Update.
8783
3775a8bc
SP
87842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
8786 * Rules ($(objpfx)bench-%.c): Include code from a C source
8787 file.
8788
0a1b2ae6
JM
87892013-03-21 Joseph Myers <joseph@codesourcery.com>
8790
8791 [BZ #15287]
8792 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8793 imaginary part 1.0 and real part less than 0.5 specially.
8794 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8795 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8796 * math/libm-test.inc (cacos_test): Add more tests.
8797 (casin_test): Likewise.
8798 (casinh_test): Likewise.
8799 * sysdeps/i386/fpu/libm-test-ulps: Update.
8800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801
b33d4ce4
SP
88022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
8804 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8805 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8806
bef0b507
JM
88072013-03-20 Joseph Myers <joseph@codesourcery.com>
8808
8809 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8810 * config.make.in (config-cflags-sse4): Remove variable.
8811 (config-cflags-avx): Likewise.
8812 (config-cflags-sse2avx): Likewise.
8813 (config-cflags-novzeroupper): Likewise.
8814 (config-asflags-i686): Likewise.
8815 (have-mfma4): Likewise.
8816 (have-as-vis3): Likewise.
8817 (MIG): Likewise.
8818 * configure.in (MIG): Do not AC_SUBST.
8819 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8820 (libc_cv_cc_sse4): Do not AC_SUBST.
8821 (libc_cv_cc_avx): Likewise.
8822 (libc_cv_cc_sse2avx): Likewise.
8823 (libc_cv_cc_novzeroupper): Likewise.
8824 (libc_cv_cc_fma4): Likewise.
8825 (libc_cv_as_i686): Likewise.
8826 (libc_cv_sparc_as_vis3): Likewise.
8827 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8828 LIBC_CONFIG_VAR.
8829 (config-asflags-i686): Likewise.
8830 (config-cflags-avx): Likewise.
8831 (config-cflags-sse2avx): Likewise.
8832 (have-mfma4): Likewise.
8833 (config-cflags-novzeroupper): Likewise.
8834 * sysdeps/mach/configure.in (MIG): Likewise.
8835 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8836 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8837 LIBC_CONFIG_VAR.
8838 (config-cflags-avx): Likewise.
8839 (config-cflags-sse2avx): Likewise.
8840 (have-mfma4): Likewise.
8841 (config-cflags-novzeroupper): Likewise.
8842 * configure: Regenerated.
8843 * sysdeps/i386/configure: Likewise.
8844 * sysdeps/mach/configure: Likewise.
8845 * sysdeps/sparc/configure: Likewise.
8846 * sysdeps/x86_64/configure: Likewise.
8847
912cc4b3
RM
88482013-03-20 Roland McGrath <roland@hack.frob.com>
8849
8850 [BZ #14812]
8851 * locale/programs/localedef.c (options): Put N_ translation marker
8852 on argument names, not just descriptions.
8853
04eed2b0
MS
88542013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8855
8856 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8857
a065ceff
OB
88582013-03-20 Ondřej Bílka <neleai@seznam.cz>
8859
9bb2a810 8860 [BZ #14176]
a065ceff
OB
8861 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8862
a600e5ce
RM
88632013-03-19 Roland McGrath <roland@hack.frob.com>
8864
8865 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8866 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8867 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8868 [!BEFORE_ABORT] (before_abort): New function.
8869 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8870 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8871 (writev_for_fatal): New function.
8872 (WRITEV_FOR_FATAL): New macro; call that.
8873 (backtrace_and_maps): New function.
8874 (BEFORE_ABORT): New macro; call that.
8875 (struct str_list): Type removed.
8876 (__libc_message, __libc_fatal): Functions removed.
8877 Include <sysdeps/posix/libc_fatal.c> instead.
8878
6b18bea6
JM
88792013-03-19 Joseph Myers <joseph@codesourcery.com>
8880
8881 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8882 constants.
8883 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8884 double constants.
8885
aaa8cb4b
AS
88862013-03-19 Andreas Schwab <schwab@suse.de>
8887
44673770
AS
8888 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8889 * sysdeps/gnu/configure: Regenerate.
8890
aaa8cb4b
AS
8891 * configure.in: Substitute libc_cv_rtlddir.
8892 * configure: Regenerate.
8893 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8894 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8895 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8896 * elf/Makefile (install-others, CFLAGS-interp.c)
8897 (ldso_install, common-ldd-rewrite): Likewise.
8898 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8899 $(inst_slibdir)/$(rtld-installed-name).
8900 * scripts/rellns-sh: Add -p option.
8901 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8902 for source.
8903
d3cfc668
SP
89042013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8905
8906 * manual/nptl.texi: Renamed to ...
8907 * manual/threads.texi: ... this.
8908 * manual/Makefile (chapters): Update.
8909
0e2b9cdd
RM
89102013-03-18 Roland McGrath <roland@hack.frob.com>
8911
8912 [BZ #14812]
8913 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8914 on argument names, not just descriptions.
0e2b9cdd
RM
8915 * malloc/memusagestat.c (options): Likewise.
8916 * nss/getent.c (options): Likewise.
63270c24
RM
8917
89182013-03-18 Benno Schulenberg <bensberg@justemail.net>
8919
8920 [BZ #14812]
8921 * iconv/iconv_prog.c (options): Put N_ translation marker
8922 on argument names, not just descriptions.
8923 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8924
b2e1393c
OB
89252013-03-18 Ondrej Bilka <neleai@seznam.cz>
8926
8927 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8928 implementation which is faster on all x86_64 architectures.
8929 Tested on AMD, Intel Nehalem, SNB, IVB.
8930 * sysdeps/x86_64/strnlen.S: Likewise.
8931
8932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8933 Remove all multiarch strlen and strnlen versions.
8934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8935 Remove strlen and strnlen related parts.
8936
8937 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8938 Inline strlen part.
8939 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8940
8941 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8943 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8944 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8945 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8946 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8947
ec4ff04d
CD
89482013-03-17 Carlos O'Donell <carlos@redhat.com>
8949
8950 * manual/memory.texi (Malloc Tunable Parameters):
8951 Sort parameters alphabetically. Add comments for missing entries.
8952
cd18e90a
DM
89532013-03-17 David S. Miller <davem@davemloft.net>
8954
8955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8956
2a185d32
JM
89572013-03-16 Joseph Myers <joseph@codesourcery.com>
8958
d2f9799e
JM
8959 [BZ #15283]
8960 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8961 for arguments at most half maximum finite value.
8962 * math/libm-test.inc (j0_test): Add more tests.
8963 (j1_test): Likewise.
8964 (y0_test): Likewise.
8965 (y1_test): Likewise.
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8968
2a185d32
JM
8969 [BZ #14155]
8970 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8971 1 / x and functions P and Q for arguments above 0x1p256L.
8972 (__ieee754_y0l): Likewise.
8973 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8974 (__ieee754_y1l): Likewise.
8975 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8976 (j1_test): Likewise.
8977 (y0_test): Likewise.
8978 (y1_test): Likewise.
8979
6cbec759
TS
89802013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8981
8982 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8983 variable.
8984
bc16e260
RM
89852013-03-15 Roland McGrath <roland@hack.frob.com>
8986
aefc9b8c
RM
8987 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8988 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8989 zero since it's initialized to EXEC_PAGESIZE.
8990
bc16e260
RM
8991 * sysdeps/unix/sysv/linux/ldsodefs.h
8992 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8993 * sysdeps/generic/ldsodefs.h: ... here.
8994
a57da955
TS
89952013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8996
af00a34d
TS
8997 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8998
495ded2c
TS
8999 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9000 math/test-snan.c.
9001 * math/test-snan.c: Renamed from
9002 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9003 * math/Makefile (tests): Add test-snan.
9004 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9005 test-powerpc-snan.
9006
777b0332
TS
9007 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9008 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9009 functions.
9010 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9011 __builtin_nan family of functions.
9012 * math/libm-test.inc (initialize): Initialize qnan_value with
9013 __builtin_nan family of functions.
9014 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9015 Remove variables.
9016 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9017 Remove functions.
9018 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9019 storage class. Initialize qNaN_var and sNaN_var with
9020 __builtin_nan and __builtin_nans families of functions,
9021 respectively.
9022
64d063b8
TS
9023 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9024 (sqrt_test): Remove duplicate test with qNaN input.
9025 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9026 (round_test, signbit_test, significand_test): Note missing +/-Inf
9027 as well as qNaN tests.
9028
67e971f1
TS
9029 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9030 qNaN_var. Fix a few strings, too.
9031 * math/libm-test.inc (nan_value): Rename to qnan_value.
9032 * math/gen-libm-test.pl (%beautify): Adjust to that.
9033 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9034 * math/test-misc.c (main): Likewise.
9035 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9036 to __qnan_bytes, and __qnan_union, respectively.
9037 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9038 Likewise.
9039 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9040 and lqnanval, respectively.
9041 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9042 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9043 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9044 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9045
64487e12
TS
9046 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9047 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9048 doubles.
9049
e015e27b
TS
9050 * math/test-misc.c (main): Fix copy'n'pastos.
9051 * misc/tst-efgcvt.c (special): Likewise.
9052
a57da955
TS
9053 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9054 Remove declarations.
9055
1e380345
SP
90562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9057
9058 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9059 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9060 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9061 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9062
ef26eece
AZ
90632013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9064
9065 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9066 macro to return vdso values correctly in IFUNC implementations.
9067 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9068 Optimization by using IFUNC.
9069
8cfdb7e0
SP
90702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9071 Richard Henderson <rth@redhat.com>
9072 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9073
9074 * Makefile.in (bench): New target.
9075 * NEWS: Mention the benchmark framework.
9076 * Rules (bench): Likewise.
9077 (binaries-bench): Generate binaries for functions to
9078 benchmark.
9079 * benchtests/Makefile: New makefile for benchmark tests.
9080 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9081 programs.
9082 * benchtests/exp-inputs: New input file for EXP function.
9083 * benchtests/pow-inputs: New input file for POW function.
9084 * scripts/bench.pl: New script to generate source files for
9085 benchmark programs.
9086
bcda9880
SP
90872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9088
d22ca8cd
SP
9089 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9090 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9091 computations on mantissa. Use macros for rounding and
9092 division.
9093 (denorm): Likewise.
9094 (__dbl_mp): Likewise.
9095 (add_magnitudes): Likewise.
9096 (sub_magnitudes): Likewise.
9097 (__mul): Likewise.
9098 (__sqr): Likewise.
9099 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9100 powers of two in terms of TWOPOW macro.
9101 (mp_no): Make type of mantissa as MANTISSA_T.
9102 [!RADIXI]: Define RADIXI.
9103 [!TWO52]: Define TWO52.
9104 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9105
bcda9880
SP
9106 * manual/nptl.texi (cindex): Modify threads to pthreads.
9107
06d5adfb
JM
91082013-03-15 Joseph Myers <joseph@codesourcery.com>
9109
9110 * sysdeps/x86_64/preconfigure: Regenerated.
9111
41c7328e
JM
91122013-03-14 Joseph Myers <joseph@codesourcery.com>
9113
9114 [BZ #14155]
9115 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9116 0x1p28 and above.
9117 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9118 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9119 0x1p28 and above.
9120 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9121 * math/libm-test.inc (j0_test): Do not allow one spurious
9122 underflow exception.
9123 (y1_test): Likewise.
9124
e25cfa60
SP
91252013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9126
0409959c
SP
9127 * manual/Makefile (chapters): Add nptl.
9128 * manual/debug.texi (Debugging Support): Add link to Threads
9129 chapter.
9130 * manual/nptl.texi: New file.
9131
e25cfa60
SP
9132 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9133
58a1335e
PB
91342013-03-14 Petr Baudis <pasky@ucw.cz>
9135
9136 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9137 for non-NULL pointer before the memory validity test. Pointed
9138 out by Holger Brunck <holger.brunck@keymile.com>.
9139
9dc7c64f
AS
91402013-03-13 Andreas Schwab <schwab@suse.de>
9141
9142 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9143 instead of .os.
9144
54206aa6
JM
91452013-03-13 Joseph Myers <joseph@codesourcery.com>
9146
9147 * timezone/zic.c: Update from tzcode 2013b.
9148
e98cdb38
CD
91492013-03-12 Carlos O'Donell <carlos@redhat.com>
9150
9151 * manual/install.texi (Configuring and compiling):
9152 Mention i686 and i586.
9153 * INSTALL: Regenerate.
9154
9967e003
RM
91552013-03-12 Roland McGrath <roland@hack.frob.com>
9156
9157 * sysdeps/init_array/elf-init.c: New file.
9158 * csu/elf-init.c
9159 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9160 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9161
9162 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9163 __gmon_start__ as global, but as static with a .preinit_array pointer.
9164 * sysdeps/init_array/gmon-start.c: New file. Use that.
9165 * sysdeps/init_array/crti.S: New file, empty except for comments.
9166 * sysdeps/init_array/crtn.S: Likewise.
9167
e6b5a293 91682013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9169
9170 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9171 definining bcopy.
80f844c9
OB
9172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9173 Remove Prefer_SSE_for_memop.
9174 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9175 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9176 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9178 memset-x86-64.
80f844c9 9179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9180 Remove bzero, memset ifunc support.
80f844c9
OB
9181 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9182 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9183 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9184 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9185
fb6b0fcb
AS
91862013-03-11 Andreas Schwab <schwab@suse.de>
9187
9188 [BZ #15234]
9189 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9190 by SHLIB_COMPAT.
9191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9192 (GLIBC_2.16): Remove pthread_atfork.
9193
3e6bd4b1
PP
91942013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9195
9196 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9197 (ptestcases.h): Likewise.
9198
222d7f00
RM
91992013-03-08 Roland McGrath <roland@hack.frob.com>
9200
9201 * Makeconfig ($(common-objpfx)config.status): Depend on
9202 sysdeps/*/preconfigure{,.in} too.
9203
1ba4f030
JM
92042013-03-08 Joseph Myers <joseph@codesourcery.com>
9205
a222d91a
JM
9206 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9207 (__free_hook): Use void * instead of __malloc_ptr_t.
9208 (__malloc_hook): Likewise.
9209 (__realloc_hook): Likewise.
9210 (__memalign_hook): Likewise.
9211 (__after_morecore_hook): Likewise.
9212 * malloc/arena.c (save_malloc_hook): Likewise.
9213 (save_free_hook): Likewise.
9214 * malloc/hooks.c (malloc_hook_ini): Likewise.
9215 (realloc_hook_ini): Likewise.
9216 (memalign_hook_ini): Likewise.
9217 * malloc/malloc.c (malloc_hook_ini): Likewise.
9218 (realloc_hook_ini): Likewise.
9219 (memalign_hook_ini): Likewise.
9220 (__free_hook): Likewise.
9221 (__malloc_hook): Likewise.
9222 (__realloc_hook): Likewise.
9223 (__memalign_hook): Likewise.
9224 (__libc_malloc): Likewise.
9225 (__libc_free): Likewise.
9226 (__libc_realloc): Likewise.
9227 (__libc_memalign): Likewise.
9228 (__libc_valloc): Likewise.
9229 (__libc_pvalloc): Likewise.
9230 (__libc_calloc): Likewise.
9231 (__posix_memalign): Likewise.
9232 * malloc/morecore.c (__sbrk): Likewise.
9233 (__default_morecore): Likewise.
9234
5cc45e10
JM
9235 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9236
dd54b864
JM
9237 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9238 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9239 __malloc_ptrdiff_t.
9240
1ba4f030
JM
9241 * malloc/malloc.h (__malloc_size_t): Remove macro.
9242 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9243 __malloc_size_t.
9244 (old_memalign_hook): Likewise.
9245 (old_realloc_hook): Likewise.
9246 (struct hdr): Likewise.
9247 (flood): Likewise.
9248 (mallochook): Likewise.
9249 (memalignhook): Likewise.
9250 (reallochook): Likewise.
9251 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9252 (tr_old_realloc_hook): Likewise.
9253 (tr_old_memalign_hook): Likewise.
9254 (tr_mallochook): Likewise.
9255 (tr_reallochook): Likewise.
9256 (tr_memalignhook): Likewise.
9257
edf66e57
AZ
92582013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9259
9260 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9261 default_ldbl_pack and using as default implementation.
9262 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9263 implementation.
9264 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9265 redundant definition.
9266 (ldbl_insert_mantissa): Likewise.
9267 (ldbl_canonicalize): Likewise.
9268 (ldbl_nearbyint): Likewise.
9269 (ldbl_pack): Rename to ldbl_pack_ppc.
9270 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9271 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9272 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9273
6d9145d8
SP
92742013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9275
9276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9277 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9279 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9282 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9283 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9284
4dd4e157
AJ
92852013-03-07 Andreas Jaeger <aj@suse.de>
9286
9287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9288 bits/mman-linux.h.
9289
adbb8027
SP
92902013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9291
ce544b5b
SP
9292 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9293 Include mpa.h and declare __MPEXP.
9294 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9295 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9296 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9297 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9298 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9299 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9301
4cc149fd
SP
9302 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9303 (__slowpow): Use long double EXPL and LOGL functions to
9304 compute POW.
9305 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9306 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9307 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9308 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9309 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9310 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9311
e6ebd4a7
SP
9312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9313 intermediate variable to calculate exponent.
9314 (__sqr): Likewise.
9315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9316 Likewise.
9317 (__sqr): Likewise.
9318
82a9811d
SP
9319 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9320 [!NO__SQR]: Define __sqr.
9321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9322 and NO__SQR. Remove all code except __mul and __sqr. Include
9323 sysdeps/ieee754/dbl-64/mpa.c.
9324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9325
adbb8027
SP
9326 [BZ #12723]
9327 * posix/Makefile (tests): Add tst-pathconf.
9328 * posix/tst-pathconf.c: New test case.
9329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9330 _PC_PIPE_BUF.
9331 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9332
39120df9
PF
93332013-03-06 Patsy Franklin <pfrankli@redhat.com>
9334
9335 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9336
67525cb8
AJ
93372013-03-06 Andreas Jaeger <aj@suse.de>
9338
664a9ce4
AJ
9339 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9340 definition via __MAP_ANONYMOUS.
9341
8e39047d
AJ
9342 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9343 it's not part of Linux headers.
9344
67525cb8
AJ
9345 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9346 (MAP_HUGE_MASK): Define.
9347
9348 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9349 Define.
9350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9352 Define.
9353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9354 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9355 Define.
9356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9357 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9358 Define.
9359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9360
9361 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9362 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9363 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9364 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9365 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9367
9368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9369 Handle f2fs.
9370
9371 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9372 Handle f2fs and efivarfs.
9373
9374 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9375 f2fs.
9376
9377 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9378 (EFIVARFS_MAGIC): Add.
9379 (F2FS_LINK_MAX): Add.
9380
e1b42695
PP
93812013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9382
9383 * stdio-common/vfprintf.c: Replace __builtin_expect with
9384 __glibc_unlikely.
9385
2d67d91a
JM
93862013-03-06 Joseph Myers <joseph@codesourcery.com>
9387
9388 [BZ #13550]
9389 * sysdeps/generic/bp-sym.h: Remove file.
9390 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9391 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (__longjmp): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9395 and <bp-asm.h>.
9396 (memcpy): Don't use BP_SYM.
9397 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (memcpy): Don't use BP_SYM.
9400 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9401 <bp-asm.h>.
9402 (memcpy): Don't use BP_SYM.
9403 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9404 <bp-asm.h>.
9405 (memset): Don't use BP_SYM.
9406 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9407 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9408 (__bzero): Don't use BP_SYM.
9409 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9410 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9412 <bp-sym.h> and <bp-asm.h>.
9413 (memcmp): Don't use BP_SYM. Remove comment about bounded
9414 pointers.
9415 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9416 <bp-sym.h> and <bp-asm.h>.
9417 (memcpy): Don't use BP_SYM.
9418 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9419 <bp-sym.h> and <bp-asm.h>.
9420 (memset): Don't use BP_SYM.
9421 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9422 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9423 (__bzero): Don't use BP_SYM.
9424 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9425 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9426 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9427 <bp-sym.h> and <bp-asm.h>.
9428 (strncmp): Don't use BP_SYM. Remove comment about bounded
9429 pointers.
9430 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9431 <bp-sym.h> and <bp-asm.h>.
9432 (memcpy): Don't use BP_SYM.
9433 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9434 <bp-sym.h> and <bp-asm.h>.
9435 (memset): Don't use BP_SYM.
9436 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9437 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9438 (__bzero): Don't use BP_SYM.
9439 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9442 <bp-sym.h> and <bp-asm.h>.
9443 (__memchr): Don't use BP_SYM.
9444 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9445 <bp-sym.h> and <bp-asm.h>.
9446 (memcmp): Don't use BP_SYM. Remove comment about bounded
9447 pointers.
9448 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9449 <bp-sym.h> and <bp-asm.h>.
9450 (memcpy): Don't use BP_SYM.
9451 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9452 <bp-sym.h> and <bp-asm.h>.
9453 (__mempcpy): Don't use BP_SYM.
9454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9455 <bp-sym.h> and <bp-asm.h>.
9456 (__memrchr): Don't use BP_SYM.
9457 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9458 <bp-sym.h> and <bp-asm.h>.
9459 (memset): Don't use BP_SYM.
9460 (__bzero): Likewise.
9461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (__rawmemchr): Don't use BP_SYM.
9464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9465 <bp-sym.h> and <bp-asm.h>.
9466 (__STRCMP): Don't use BP_SYM.
9467 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9468 <bp-sym.h> and <bp-asm.h>.
9469 (strchr): Don't use BP_SYM.
9470 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9471 <bp-sym.h> and <bp-asm.h>.
9472 (__strchrnul): Don't use BP_SYM.
9473 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9474 <bp-sym.h> and <bp-asm.h>.
9475 (strlen): Don't use BP_SYM.
9476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9477 <bp-sym.h> and <bp-asm.h>.
9478 (strncmp): Don't use BP_SYM. Remove comment about bounded
9479 pointers.
9480 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9481 <bp-sym.h> and <bp-asm.h>.
9482 (__strnlen): Don't use BP_SYM.
9483 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9484 <bp-sym.h> and <bp-asm.h>.
9485 (__GI__setjmp): Don't use BP_SYM.
9486 (_setjmp): Likewise.
9487 (__sigsetjmp): Likewise.
9488 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9489 (L(start_addresses)): Don't use BP_SYM.
9490 (_start): Likewise.
9491 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9492 <bp-asm.h>.
9493 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9494 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9495 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9496 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9497 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9498 <bp-asm.h>.
9499 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9500 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9501 about bounded pointers.
9502 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9503 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9504 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9505 <bp-asm.h>.
9506 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9507 about bounded pointers. Remove GKM FIXME comments.
9508 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9509 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9510 <bp-asm.h>.
9511 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9512 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9513 Remove GKM FIXME comments.
9514 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9515 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9516 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9517 <bp-asm.h>.
9518 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9519 about bounded pointers. Remove GKM FIXME comment.
9520 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9521 and <bp-asm.h>.
9522 (strncmp): Don't use BP_SYM. Remove comment about bounded
9523 pointers.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9525 <bp-sym.h> and <bp-asm.h>.
9526 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9528 <bp-sym.h> and <bp-asm.h>.
9529 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9530 comment.
9531
cdcf361f
PP
95322013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9533
9534 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9535 call free(NULL).
9536
3c4a2b15
DM
95372013-03-05 David S. Miller <davem@davemloft.net>
9538
9539 * po/es.po: Update from translation team.
9540
cdcf361f 95412013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9542
9543 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9544 <bits/mman-linux.h>.
9545 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9546 is fine.
9547 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9548 <bits/mman-linux.h> to end of file.
9549 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9550 is fine.
9551 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9552 <bits/mman-linux.h> to end of file.
9553 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9554 is fine.
9555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9556 <bits/mman-linux.h> to end of file.
9557
9558 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9559 (MCL_CURRENT, MCL_FUTURE): Define here.
9560
5f67c04f
AK
95612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9562
8a4473cc 9563 [BZ #15232]
5f67c04f
AK
9564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9565 attribute_hidden.
9566 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9567
c3e94a95
AK
95682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9569
9570 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9571 fourth parameter needed for rt_sigprocmask syscall.
9572 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9573 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9574 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9575 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9576 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9577 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9578
cfb6382a
JM
95792013-03-04 Joseph Myers <joseph@codesourcery.com>
9580
9581 [BZ #13550]
9582 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9583 comment about bounded pointers.
9584 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9585 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9586
539d8e01
AJ
95872013-03-04 Andreas Jaeger <aj@suse.de>
9588
9589 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9590 common definitions.
9591
9592 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9593 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9594 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9595 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9598
2e167a70 95992013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9600
9601 [BZ #15055]
9602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9603 __ieee754_sqrl instead of __sqrl.
9604
68508633
JM
96052013-03-01 Joseph Myers <joseph@codesourcery.com>
9606
9607 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9608 * sysdeps/powerpc/fpu_control.h: ... here.
9609 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9610 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9611 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9612 * sysdeps/powerpc/bits/mathinline.h: ... here.
9613
7775448e
RM
96142013-03-01 Roland McGrath <roland@hack.frob.com>
9615
9616 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9617 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9618 to just [NEED_DL_SYSINFO_DSO].
9619 * elf/dl-support.c: Likewise.
9620 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9621 * elf/rtld.c (dl_main): Likewise.
9622 * elf/setup-vdso.h (setup_vdso): Likewise.
9623 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9624 * sysdeps/unix/sysv/linux/dl-sysdep.c
9625 (_dl_discover_osversion): Likewise.
9626
4e9b5995
CD
96272013-03-01 Carlos O'Donell <carlos@redhat.com>
9628
9629 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9630 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9631
e23872c8
SP
96322013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
e5c74c63
SP
9634 * NEWS: Mention libm performance improvements and non-x86 PI
9635 futex support.
9636
e23872c8
SP
9637 * csu/libc-start.c (__pthread_initialize_minimal): Change
9638 function arguments.
9639 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9640
b5510883
JM
96412013-02-28 Joseph Myers <joseph@codesourcery.com>
9642
9643 [BZ #13550]
9644 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9645 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9646 <bp-sym.h> and <bp-asm.h>.
9647 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9648 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9649 and <bp-asm.h>.
9650 (memcpy): Don't use BP_SYM.
9651 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9652 <bp-asm.h>.
9653 (__mpn_add_n): Don't use BP_SYM.
9654 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9655 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9656 and <bp-asm.h>.
9657 (__mpn_addmul_1): Don't use BP_SYM.
9658 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9659 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9660 <bp-sym.h>.
9661 (_setjmp): Don't use BP_SYM.
9662 (__novmx_setjmp): Likewise.
9663 (__GI__setjmp): Likewise.
9664 (__vmx_setjmp): Likewise.
9665 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9666 <bp-sym.h>.
9667 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9668 (__bzero): Don't use BP_SYM.
9669 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9670 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9671 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9672 <bp-sym.h> and <bp-asm.h>.
9673 (memcpy): Don't use BP_SYM.
9674 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9675 <bp-sym.h> and <bp-asm.h>.
9676 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9677 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9678 <bp-sym.h> and <bp-asm.h>.
9679 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9680 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9681 <bp-asm.h>.
9682 (__mpn_lshift): Don't use BP_SYM.
9683 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9684 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9685 <bp-asm.h>.
9686 (memset): Don't use BP_SYM.
9687 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9688 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9689 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9690 <bp-asm.h>.
9691 (__mpn_mul_1): Don't use BP_SYM.
9692 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9694 <bp-sym.h> and <bp-asm.h>.
9695 (memcmp): Don't use BP_SYM.
9696 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9697 <bp-sym.h> and <bp-asm.h>.
9698 (memcpy): Don't use BP_SYM.
9699 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9700 <bp-sym.h> and <bp-asm.h>.
9701 (memset): Don't use BP_SYM.
9702 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9703 <bp-sym.h> and <bp-asm.h>.
9704 (strncmp): Don't use BP_SYM.
9705 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9706 <bp-sym.h> and <bp-asm.h>.
9707 (memcpy): Don't use BP_SYM.
9708 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9709 <bp-sym.h> and <bp-asm.h>.
9710 (memset): Don't use BP_SYM.
9711 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9712 <bp-sym.h> and <bp-asm.h>.
9713 (__memchr): Don't use BP_SYM.
9714 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9715 <bp-sym.h> and <bp-asm.h>.
9716 (memcmp): Don't use BP_SYM.
9717 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9718 <bp-sym.h> and <bp-asm.h>.
9719 (memcpy): Don't use BP_SYM.
9720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9721 <bp-sym.h> and <bp-asm.h>.
9722 (__mempcpy): Don't use BP_SYM.
9723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9724 <bp-sym.h> and <bp-asm.h>.
9725 (__memrchr): Don't use BP_SYM.
9726 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9727 <bp-sym.h> and <bp-asm.h>.
9728 (memset): Don't use BP_SYM.
9729 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9730 <bp-sym.h> and <bp-asm.h>.
9731 (__rawmemchr): Don't use BP_SYM.
9732 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9733 <bp-sym.h> and <bp-asm.h>.
9734 (__STRCMP): Don't use BP_SYM.
9735 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9736 <bp-sym.h> and <bp-asm.h>.
9737 (strchr): Don't use BP_SYM.
9738 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9739 <bp-sym.h> and <bp-asm.h>.
9740 (__strchrnul): Don't use BP_SYM.
9741 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9742 <bp-sym.h> and <bp-asm.h>.
9743 (strlen): Don't use BP_SYM.
9744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9745 <bp-sym.h> and <bp-asm.h>.
9746 (strncmp): Don't use BP_SYM.
9747 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9748 <bp-sym.h> and <bp-asm.h>.
9749 (__strnlen): Don't use BP_SYM.
9750 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9751 <bp-asm.h>.
9752 (__mpn_rshift): Don't use BP_SYM.
9753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9754 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9755 <bp-sym.h> and <bp-asm.h>.
9756 (__sigsetjmp): Don't use BP_SYM.
9757 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9758 (L(start_addresses)): Don't use BP_SYM.
9759 (_start): Likewise.
9760 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9761 <bp-asm.h>.
9762 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9763 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9764 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9765 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9766 <bp-asm.h>.
9767 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9768 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9769 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9770 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9771 <bp-asm.h>.
9772 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9773 comments.
9774 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9775 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9776 <bp-asm.h>.
9777 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9778 FIXME comments.
9779 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9780 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9781 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9782 <bp-asm.h>.
9783 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9784 comment.
9785 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9786 and <bp-asm.h>.
9787 (strncmp): Don't use BP_SYM,
9788 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9789 <bp-asm.h>.
9790 (__mpn_sub_n): Don't use BP_SYM.
9791 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9792 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9793 and <bp-asm.h>.
9794 (__mpn_submul_1): Don't use BP_SYM.
9795 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9797 <bp-sym.h> and <bp-asm.h>.
9798 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9800 <bp-sym.h> and <bp-asm.h>.
9801 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9802 comment.
9803
8d19fe64
SP
98042013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9805
9806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9807 Use ZK to minimize writes to Z.
9808 (sub_magnitudes): Simplify code a bit.
9809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9810 Use ZK to minimize writes to Z.
9811 (sub_magnitudes): Simplify code a bit.
9812
85bd816a
RM
98132013-02-27 Roland McGrath <roland@hack.frob.com>
9814
9815 * csu/gmon-start.c: Add special exception to license text.
9816
b5977bf2
RH
98172013-02-27 Richard Henderson <rth@redhat.com>
9818
9819 * scripts/config.guess: Update from config.git.
9820 * scripts/config.sub: Likewise.
9821
11d6e2f2
SP
98222013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9823
09c14ed2
SP
9824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9825
a688864e
SP
9826 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9827
6295157a
SP
9828 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9829
b8de2202
SP
9830 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9831
11d6e2f2
SP
9832 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9833
7e80ddb8
RM
98342013-02-26 Roland McGrath <roland@hack.frob.com>
9835
9836 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9837 [$(build-shared = yes].
7e80ddb8 9838
7da6d9ed
SP
98392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9840
45f05884
SP
9841 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9842 (__mul): Reduce iterations for calculating mantissa.
9843
2236d359
SP
9844 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9845 MPTWO.
9846 (__mpranred): Likewise.
9847
7da6d9ed
SP
9848 [BZ #15160]
9849 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9850 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9851
b7688c42
PE
98522013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9853
9854 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9855 Define __attribute__.
9856
53a5c423
SP
98572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9858
9859 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9860 unused.
9861 * posix/regex_internal.h (__attribute): Remove.
9862 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9863 (re_string_context_at): Likewise.
9864 (bitset_not): Use __attribute__ and mark function as possibly
9865 unused.
9866 (bitset_merge): Likewise.
9867 (bitset_mask): Likewise.
9868 (re_string_char_size_at): Likewise.
9869 (re_string_wchar_at): Likewise.
9870 (re_string_elem_size_at): Likewise.
9871
60f5a8b5
SP
98722013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9873
2a983a2e
SP
9874 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9875 code.
9876 (cc32): Likewise.
9877
e69804d1
SP
9878 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9879 (__acr): Likewise.
9880 (__cpy): Likewise.
9881 (norm): Likewise.
9882 (denorm): Likewise.
9883 (__dbl_mp): Likewise.
9884 (add_magnitudes): Likewise.
9885 (sub_magnitudes): Likewise.
9886 (__mul): Likewise.
9887 (__inv): Likewise.
9888
2f22a1e8
SP
9889 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9890 style.
9891
8930ddc7
SP
9892 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9893 style.
9894
dc60cb11
SP
9895 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9896 code.
9897
60f5a8b5
SP
9898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9899 up changes with default code.
9900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9901 Likewise.
9902
b4d1fd33
AM
99032013-02-24 Allan McRae <allan@archlinux.org>
9904
faf6f8bc
AM
9905 * manual/socket.texi (The Internet Namespace): Order menu items
9906 to match that in the file.
9907
b4d1fd33
AM
9908 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9909 node listing of the info page menu.
9910
2366713d
JM
99112013-02-21 Joseph Myers <joseph@codesourcery.com>
9912
9913 [BZ #13550]
9914 * sysdeps/i386/bp-asm.h: Remove file.
9915 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9916 (PARMS): Do not use macros from bp-asm.h.
9917 (S1): Likewise.
9918 (S2): Likewise.
9919 (SIZE): Likewise.
9920 (__mpn_add_n): Do not use BP_SYM
9921 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9922 "bp-asm.h".
9923 (PARMS): Do not use macros from bp-asm.h.
9924 (S1): Likewise.
9925 (SIZE): Likewise.
9926 (__mpn_addmul_1): Do not use BP_SYM
9927 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9928 "bp-asm.h".
9929 (PARMS): Do not use macros from bp-asm.h.
9930 (SIGMSK): Likewise.
9931 (_setjmp): Likewise. Do not use BP_SYM.
9932 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9933 "bp-asm.h".
9934 (PARMS): Do not use macros from bp-asm.h.
9935 (SIGMSK): Likewise.
9936 (setjmp): Likewise. Do not use BP_SYM.
9937 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9938 "bp-asm.h".
9939 (PARMS): Do not use macros from bp-asm.h.
9940 (__frexp): Do not use BP_SYM.
9941 (frexp): Likewise.
9942 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9943 "bp-asm.h".
9944 (PARMS): Do not use macros from bp-asm.h.
9945 (__frexpf): Do not use BP_SYM.
9946 (frexpf): Likewise.
9947 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9948 "bp-asm.h".
9949 (PARMS): Do not use macros from bp-asm.h.
9950 (__frexpl): Do not use BP_SYM.
9951 (frexpl): Likewise.
9952 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9953 "bp-asm.h".
9954 (PARMS): Do not use macros from bp-asm.h.
9955 (__remquo): Do not use BP_SYM.
9956 (remquo): Likewise.
9957 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9958 "bp-asm.h".
9959 (PARMS): Do not use macros from bp-asm.h.
9960 (__remquof): Do not use BP_SYM.
9961 (remquof): Likewise.
9962 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9963 "bp-asm.h".
9964 (PARMS): Do not use macros from bp-asm.h.
9965 (__remquol): Do not use BP_SYM.
9966 (remquol): Likewise.
9967 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9968 "bp-asm.h".
9969 (PARMS): Do not use macros from bp-asm.h.
9970 (DEST): Likewise.
9971 (SRC): Likewise.
9972 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9973 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9974 "bp-asm.h".
9975 (PARMS): Do not use macros from bp-asm.h.
9976 (strlen): Do not use BP_SYM.
9977 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9978 "bp-asm.h".
9979 (PARMS): Do not use macros from bp-asm.h.
9980 (S1): Likewise.
9981 (S2): Likewise.
9982 (SIZE): Likewise.
9983 (__mpn_add_n): Do not use BP_SYM.
9984 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9985 "bp-asm.h".
9986 (PARMS): Do not use macros from bp-asm.h.
9987 (S1): Likewise.
9988 (SIZE): Likewise.
9989 (__mpn_addmul_1): Do not use BP_SYM.
9990 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9991 weak_alias.
9992 (bzero): Likewise.
9993 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9994 "bp-asm.h".
9995 (PARMS): Do not use macros from bp-asm.h.
9996 (S): Likewise.
9997 (SIZE): Likewise.
9998 (__mpn_lshift): Do not use BP_SYM.
9999 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10000 "bp-asm.h".
10001 (PARMS): Do not use macros from bp-asm.h.
10002 (DEST): Likewise.
10003 (SRC): Likewise.
10004 (LEN): Likewise.
10005 (memcpy): Likewise. Do not use BP_SYM.
10006 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10007 libc_hidden_def and weak_alias.
10008 (mempcpy): Do not use BP_SYM in weak_alias.
10009 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10010 "bp-asm.h".
10011 (PARMS): Do not use macros from bp-asm.h.
10012 (DEST): Likewise.
10013 (LEN): Likewise.
10014 [!BZERO_P] (CHR): Likewise.
10015 (memset): Likewise. Do not use BP_SYM.
10016 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10017 "bp-asm.h".
10018 (PARMS): Do not use macros from bp-asm.h.
10019 (S1): Likewise.
10020 (SIZE): Likewise.
10021 (__mpn_mul_1): Do not use BP_SYM.
10022 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10023 "bp-asm.h".
10024 (PARMS): Do not use macros from bp-asm.h.
10025 (S): Likewise.
10026 (SIZE): Likewise.
10027 (__mpn_rshift): Do not use BP_SYM.
10028 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10029 "bp-asm.h".
10030 (PARMS): Do not use macros from bp-asm.h.
10031 (STR): Likewise.
10032 (CHR): Likewise.
10033 (strchr): Likewise. Do not use BP_SYM.
10034 (index): Do not use BP_SYM in weak_alias.
10035 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10036 "bp-asm.h".
10037 (PARMS): Do not use macros from bp-asm.h.
10038 (DEST): Likewise.
10039 (SRC): Likewise.
10040 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10041 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10042 "bp-asm.h".
10043 (PARMS): Do not use macros from bp-asm.h.
10044 (strlen): Do not use BP_SYM.
10045 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10046 "bp-asm.h".
10047 (PARMS): Do not use macros from bp-asm.h.
10048 (S1): Likewise.
10049 (S2): Likewise.
10050 (SIZE): Likewise.
10051 (__mpn_sub_n): Do not use BP_SYM.
10052 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10053 "bp-asm.h".
10054 (PARMS): Do not use macros from bp-asm.h.
10055 (S1): Likewise.
10056 (SIZE): Likewise.
10057 (__mpn_submul_1): Do not use BP_SYM.
10058 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10059 "bp-asm.h".
10060 (PARMS): Do not use macros from bp-asm.h.
10061 (S1): Likewise.
10062 (S2): Likewise.
10063 (SIZE): Likewise.
10064 (__mpn_add_n): Do not use BP_SYM.
10065 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10066 weak_alias.
10067 (bzero): Likewise.
10068 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10069 "bp-asm.h".
10070 (PARMS): Do not use macros from bp-asm.h.
10071 (BLK2): Likewise.
10072 (LEN): Likewise.
10073 (memcmp): Do not use BP_SYM.
10074 (bcmp): Do not use BP_SYM in weak_alias.
10075 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10076 "bp-asm.h".
10077 (PARMS): Do not use macros from bp-asm.h.
10078 (DEST): Likewise.
10079 (SRC): Likewise.
10080 (LEN): Likewise.
10081 (memcpy): Likewise. Do not use BP_SYM.
10082 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10083 "bp-asm.h".
10084 (PARMS): Do not use macros from bp-asm.h.
10085 (DEST): Likewise.
10086 (SRC): Likewise.
10087 (LEN): Likewise.
10088 (memmove): Likewise. Do not use BP_SYM.
10089 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10090 "bp-asm.h".
10091 (PARMS): Do not use macros from bp-asm.h.
10092 (DEST): Likewise.
10093 (SRC): Likewise.
10094 (LEN): Likewise.
10095 (__mempcpy): Likewise. Do not use BP_SYM.
10096 (mempcpy): Do not use BP_SYM in weak_alias.
10097 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10098 "bp-asm.h".
10099 (PARMS): Do not use macros from bp-asm.h.
10100 (DEST): Likewise.
10101 (LEN): Likewise.
10102 [!BZERO_P] (CHR): Likewise.
10103 (memset): Likewise. Do not use BP_SYM.
10104 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10105 "bp-asm.h".
10106 (PARMS): Do not use macros from bp-asm.h.
10107 (STR2): Likewise.
10108 (strcmp): Do not use BP_SYM.
10109 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10110 "bp-asm.h".
10111 (PARMS): Do not use macros from bp-asm.h.
10112 (STR): Likewise.
10113 (DELIM): Likewise.
10114 [USE_AS_STRTOK_R] (SAVE): Likewise.
10115 (FUNCTION): Likewise. Do not use BP_SYM.
10116 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10117 aliases.
10118 (strtok_r): Likewise.
10119 (__GI___strtok_r): Likewise.
10120 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10121 (PARMS): Do not use macros from bp-asm.h.
10122 (S): Likewise.
10123 (SIZE): Likewise.
10124 (__mpn_lshift): Do not use BP_SYM.
10125 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10126 (PARMS): Do not use macros from bp-asm.h.
10127 (STR): Likewise.
10128 (CHR): Likewise.
10129 (__memchr): Do not use BP_SYM.
10130 (memchr): Do not use BP_SYM in weak_alias.
10131 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10132 (PARMS): Do not use macros from bp-asm.h.
10133 (BLK2): Likewise.
10134 (LEN): Likewise.
10135 (memcmp): Do not use BP_SYM.
10136 (bcmp): Do not use BP_SYM in weak_alias.
10137 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10138 (PARMS): Do not use macros from bp-asm.h.
10139 (S1): Likewise.
10140 (SIZE): Likewise.
10141 (__mpn_mul_1): Do not use BP_SYM.
10142 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10143 "bp-asm.h".
10144 (PARMS): Do not use macros from bp-asm.h.
10145 (STR): Likewise.
10146 (CHR): Likewise.
10147 (__rawmemchr): Do not use BP_SYM.
10148 (rawmemchr): Do not use BP_SYM in weak_alias.
10149 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10150 (PARMS): Do not use macros from bp-asm.h.
10151 (S): Likewise.
10152 (SIZE): Likewise.
10153 (__mpn_rshift): Do not use BP_SYM.
10154 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10155 (PARMS): Do not use macros from bp-asm.h.
10156 (SIGMSK): Likewise.
10157 (__sigsetjmp): Likewise. Do not use BP_SYM.
10158 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10159 (_start): Do not use BP_SYM.
10160 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10161 (PARMS): Do not use macros from bp-asm.h.
10162 (DEST): Likewise.
10163 (SRC): Likewise.
10164 (__stpcpy): Likewise. Do not use BP_SYM.
10165 (stpcpy): Do not use BP_SYM in weak_alias.
10166 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10167 "bp-asm.h".
10168 (PARMS): Do not use macros from bp-asm.h.
10169 (DEST): Likewise.
10170 (SRC): Likewise.
10171 (LEN): Likewise.
10172 (__stpncpy): Likewise. Do not use BP_SYM.
10173 (stpncpy): Do not use BP_SYM in weak_alias.
10174 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10175 (PARMS): Do not use macros from bp-asm.h.
10176 (STR): Likewise.
10177 (CHR): Likewise.
10178 (strchr): Likewise. Do not use BP_SYM.
10179 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10180 "bp-asm.h".
10181 (PARMS): Do not use macros from bp-asm.h.
10182 (STR): Likewise.
10183 (CHR): Likewise.
10184 (__strchrnul): Likewise. Do not use BP_SYM.
10185 (strchrnul): Do not use BP_SYM in weak_alias.
10186 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10187 "bp-asm.h".
10188 (PARMS): Do not use macros from bp-asm.h.
10189 (STOP): Likewise.
10190 (strcspn): Do not use BP_SYM.
10191 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10192 "bp-asm.h".
10193 (PARMS): Do not use macros from bp-asm.h.
10194 (STR): Likewise.
10195 (STOP): Likewise.
10196 (strpbrk): Likewise. Do not use BP_SYM.
10197 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10198 "bp-asm.h".
10199 (PARMS): Do not use macros from bp-asm.h.
10200 (STR): Likewise.
10201 (CHR): Likewise.
10202 (strrchr): Likewise. Do not use BP_SYM.
10203 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10204 (PARMS): Do not use macros from bp-asm.h.
10205 (SKIP): Likewise.
10206 (strspn): Do not use BP_SYM.
10207 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10208 (PARMS): Do not use macros from bp-asm.h.
10209 (STR): Likewise.
10210 (DELIM): Likewise.
10211 (SAVE): Likewise.
10212 (FUNCTION): Likewise. Do not use BP_SYM.
10213 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10214 aliases.
10215 (strtok_r): Likewise.
10216 (__GI___strtok_r): Likewise.
10217 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10218 (PARMS): Do not use macros from bp-asm.h.
10219 (S1): Likewise.
10220 (S2): Likewise.
10221 (SIZE): Likewise.
10222 (__mpn_sub_n): Do not use BP_SYM.
10223 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10224 "bp-asm.h".
10225 (PARMS): Do not use macros from bp-asm.h.
10226 (S1): Likewise.
10227 (SIZE): Likewise.
10228 (__mpn_submul_1): Do not use BP_SYM.
10229 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10230 <bp-sym.h>.
10231 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10232 and <bp-asm.h>.
10233 (PARMS): Do not use macros from bp-asm.h.
10234 (FLAGS): Likewise.
10235 (PTID): Likewise.
10236 (TLS): Likewise.
10237 (CTID): Likewise.
10238 (__clone): Do not use BP_SYM.
10239 (clone): Do not use BP_SYM in weak_alias.
10240 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10241 and <bp-asm.h>.
10242 (PARMS): Do not use macros from bp-asm.h.
10243 (LEN): Likewise.
10244 (__mmap64): Do not use BP_SYM.
10245 (mmap64): Do not use BP_SYM in weak_alias.
10246 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10247 <bp-sym.h> and <bp-asm.h>.
10248 (PARMS): Do not use macros from bp-asm.h.
10249 (__posix_fadvise64_l64): Do not use BP_SYM.
10250 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10251 (PARMS): Do not use macros from bp-asm.h.
10252 (NSOPS): Likewise.
10253 (semtimedop): Do not use BP_SYM.
10254 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10255 and <bp-asm.h>.
10256
582a3cff
AM
102572013-02-21 Allan McRae <allan@archlinux.org>
10258
10259 * manual/message.texi (Charset conversion in gettext):
10260 Move @end statement to beginning of line.
10261
bab8a695
SP
102622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10263
80945231
SP
10264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10265 static.
10266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10267 Likewise.
10268
bab8a695
SP
10269 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10270 (denorm): Likewise.
10271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10273
e21d7aa7
AK
102742013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10275
10276 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10277 tail-call to the resolved function if pltexit isn't needed.
10278
4c7a4263
SP
102792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10280
10281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10282 or Y being zero as being unlikely.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10284 Likewise.
10285
41f49342
CD
102862013-02-20 Carlos O'Donell <carlos@redhat.com>
10287
10288 * manual/nss.texi (System Databases and Name Service Switch):
10289 Remove frobnicate @pxref.
10290
50022a93
TS
102912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10292
10293 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10294 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10295
08cbd996
PM
102962013-02-20 Petr Machata <pmachata@redhat.com>
10297
10298 * elf/elf.h (R_ARM_TARGET1): New macro.
10299 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10300 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10301 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10302 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10303 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10304 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10305 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10306 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10307 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10308 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10309 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10310 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10311 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10312 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10313 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10314 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10315 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10316 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10317 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10318 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10319 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10320 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10321 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10322 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10323 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10324 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10325 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10326 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10327 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10328 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10329 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10330 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10331 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10332 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10333 (R_ARM_THM_GOT_BREL12): Likewise.
10334 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10335 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10336 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10337 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10338 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10339 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10340 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10341 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10342 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10343
c7b275d6
TS
103442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10345
10346 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10347 __attribute_used__ to __attribute__ ((unused)).
10348
20cd7fb3
SP
103492013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10350
10351 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10352 powerpc mpa.c.
10353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10354 comment formatting.
10355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10356
92945b52
JM
103572013-02-19 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #13550]
10360 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10361 Remove macro.
10362 (ENTER): Remove both macro definitions.
10363 (LEAVE): Likewise.
10364 (CHECK_BOUNDS_LOW): Likewise.
10365 (CHECK_BOUNDS_HIGH): Likewise.
10366 (CHECK_BOUNDS_BOTH): Likewise.
10367 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10368 (RETURN_BOUNDED_POINTER): Likewise.
10369 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10370 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10371 (POP_ERRNO_LOCATION_RETURN): Likewise.
10372 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10373 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10374 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10375 macros.
10376 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10377 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10378 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10379 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10380 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10381 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10382 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10383 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10384 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10385 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10386 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10387 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10388 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10389 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10390 removed macros.
10391 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10392 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10393 macros.
10394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10395 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10396 * sysdeps/i386/i586/memset.S (memset): Likewise.
10397 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10398 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10399 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10400 macros.
10401 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10402 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10403 Change uses of L(2) to L(out).
10404 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10405 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10406 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10407 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10408 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10409 removed macros.
10410 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10411 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10412 macros.
10413 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10414 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10415 (RETURN): Do not use macro LEAVE.
10416 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10417 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10418 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10419 * sysdeps/i386/i686/memset.S (memset): Likewise.
10420 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10421 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10422 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10423 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10424 Likewise.
10425 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10426 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10427 L(1_2) and L(1_3) into L(1).
10428 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10429 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10430 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10431 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10432 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10433 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10434 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10435 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10436 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10437 macros.
10438 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10439 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10440 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10441 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10442 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10443 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10444 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10445 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10446 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10447 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10448 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10449 * sysdeps/i386/strspn.S (strspn): Likewise.
10450 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10451 conditional code.
10452 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10453 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10454 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10455 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10456 L(1_3) into L(1_1).
10457 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10458 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10459 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10460 macros.
10461 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10462
2389741a
JJ
104632013-02-19 Jakub Jelinek <jakub@redhat.com>
10464
10465 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10466 macro.
10467
2016b3cd
SP
104682013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
e4f22324
SP
10470 * math/atest-exp.c (exp_mpn): Remove ROUND.
10471 * math/atest-exp2.c (exp_mpn): Likewise.
10472 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10473
2016b3cd
SP
10474 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10475 * stdlib/tst-tls-atexit-lib.c: Likewise.
10476 * stdlib/tst-tls-atexit.c: Likewise.
10477
4be9b544
MF
104782013-02-18 Mike Frysinger <vapier@gentoo.org>
10479
10480 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10481 and __attribute_alloc_size__.
10482
2f62b9ee
MF
104832013-02-18 Mike Frysinger <vapier@gentoo.org>
10484
10485 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10486 __attribute_alloc_size__.
10487 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10488 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10489
6ff444c4
MF
104902013-02-18 Mike Frysinger <vapier@gentoo.org>
10491
10492 * include/programs/xmalloc.h: New file.
10493 * catgets/gencat.c: Include it.
10494 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10495 * elf/pldd.c: Likewise.
10496 * iconv/iconv_charmap.c: Likewise.
10497 * iconv/iconvconfig.c: Likewise.
10498 * iconv/strtab.c: Likewise.
10499 * locale/programs/locale.c: Likewise.
10500 * locale/programs/localedef.h: Likewise.
10501 * locale/programs/simple-hash.c: Likewise.
10502 * nscd/nscd.h: Likewise.
10503 * nss/makedb.c: Likewise.
10504 * sysdeps/generic/ldconfig.h: Likewise.
10505
be179c8a
SP
105062013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
ba384f6e
SP
10508 * Versions.def: Add GLIBC_2.18.
10509 * include/link.h (struct link_map): New member l_tls_dtor_count.
10510 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10511 (__call_tls_dtors): Likewise.
10512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10513 __cxa_thread_atexit_impl.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10515 Likewise.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10517 Likewise.
10518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10519 Likewise.
10520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10521 Likewise.
10522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10524 Likewise.
10525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10526 Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10529 Likewise.
10530 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10531 (tests): Add test case tst-tls-atexit.
10532 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10533 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10534 (GLIBC_PRIVATE): Add __call_tls_dtors.
10535 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10536 for libstdc++.
10537 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10538 * stdlib/tst-tls-atexit.c: New test case.
10539 * stdlib/tst-tls-atexit-lib.c: New test case.
10540
ffaa74cf 10541 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10542
be179c8a
SP
10543 * elf/Versions (ld): Add _dl_find_dso_for_object.
10544 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10545 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10546 (dl_open_worker): Use _dl_find_dso_for_object.
10547 * elf/dl-sym.c (do_sym): Likewise.
10548 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10549
f78b5caa
AK
105502013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10551
10552 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10553 Syntactic changes only.
10554 (_dl_runtime_profile): Do a tail-call to the resolved function.
10555
29691210
JM
105562013-02-17 Joseph Myers <joseph@codesourcery.com>
10557
10558 [BZ #13550]
10559 * sysdeps/x86_64/bp-asm.h: Remove file.
10560 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10561 <bp-sym.h> and <bp-asm.h>.
10562 (__clone): Do not use BP_SYM.
10563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10564 <bp-sym.h> and <bp-asm.h>.
10565 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10566 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10567 "bp-asm.h".
10568 (_setjmp): Do not use BP_SYM.
10569 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10570 "bp-asm.h".
10571 (setjmp): Do not use BP_SYM.
10572 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10573 libc_hidden_def.
10574 (mempcpy): Do not use BP_SYM in weak_alias.
10575 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10576 "bp-asm.h".
10577 (strchr): Do not use BP_SYM.
10578 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10579 "bp-asm.h".
10580 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10581 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10582 (_start): Do not use BP_SYM.
10583 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10584 "bp-asm.h".
10585 (strcat): Do not use BP_SYM.
10586 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10587 "bp-asm.h".
10588 (STRCMP): Do not use BP_SYM.
10589 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10590 "bp-asm.h".
10591 (STRCPY): Do not use BP_SYM.
10592 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10593 "bp-asm.h".
10594 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10595 "bp-asm.h".
10596 (FUNCTION): Do not use BP_SYM.
10597 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10598 weak_alias.
10599 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10600
f238fd19
AJ
106012013-02-17 Andreas Jaeger <aj@suse.de>
10602
10603 * time/Versions: Sort entries.
10604 * string/Versions: Likewise.
10605 * resolv/Versions: Likewise.
10606 * posix/Versions: Likewise.
10607 * iconv/Versions: Likewise.
10608 * elf/Versions: Likewise.
10609 * wcsmbs/Versions: Likewise.
10610
bd07f23c 106112013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10612
22af19f9
SP
10613 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10614 loop termination condition.
10615
4709fe76
SP
10616 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10617 variable to calculate EZ.
10618 (__sqr): Likewise.
2d0e0f29
SP
10619
10620 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10621 the lower precision input.
10622
daaa7713
JM
106232013-02-15 Joseph Myers <joseph@codesourcery.com>
10624
10625 [BZ #13550]
10626 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10627 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10628 (run-via-rtld-prefix): Do not handle %-bp tests.
10629 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10630 (all-object-suffixes): Remove .ob.
10631 (bppfx): Remove variable.
10632 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10633 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10634 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10635 [$(build-bounded) = yes] (libtype.ob): Likewise.
10636 * Makerules (elide-routines.ob): Remove variable.
10637 (do-tests-clean): Do not handle *-bp.out.
10638 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10639 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10640 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10641 (tests): Do not include $(tests-bp.out).
10642 (xtests): Do not include $(xtests-bp.out).
10643 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10644 [$(build-bounded) = yes] ($(addprefix
10645 $(objpfx),$(binaries-bounded))): Remove rule.
10646 ($(objpfx)%-bp.out): Remove rule.
10647 * config.make.in (build-bounded): Remove variable.
10648 * crypt/Makefile [$(build-bounded) = yes]
10649 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10650 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10651 append to variable.
10652 [$(build-bounded) = yes] (install-lib): Likewise.
10653 [$(build-bounded) = yes] (generated): Likewise.
10654 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10655 Remove rule.
10656 * intl/Makefile [$(build-bounded) = yes]
10657 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10658 * math/Makefile [$(build-bounded) = yes]
10659 ($(tests:%=$(objpfx)%-bp): Likewise.
10660 * misc/Makefile [$(build-bounded) = yes]
10661 ($(objpfx)tst-tsearch-bp): Likewise.
10662 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10663 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10664 Remove dependency.
10665 * string/Makefile (o-objects.ob): Remove variable.
10666 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10667 (CFLAGS-.ob): Remove variable.
10668 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10669 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10670 both definitions of variable.
10671 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10672 (ASFLAGS-.ob): Remove variable.
10673
e97ed6dd
JM
106742013-02-14 Joseph Myers <joseph@codesourcery.com>
10675
2bdd4ca6
JM
10676 [BZ #13550]
10677 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10678 Remove __BOUNDED_POINTERS__ from condition.
10679 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10680 * string/bits/string2.h [!__NO_STRING_INLINES &&
10681 !__BOUNDED_POINTERS__]: Likewise.
10682 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10683 Likewise.
10684 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10685 Remove conditional code.
10686 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10687 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10688 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10689 condition.
10690
e97ed6dd
JM
10691 [BZ #13550]
10692 * csu/libc-start.c: Do not include <bp-sym.h>.
10693 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10694 * elf/dl-open.c: Do not include <bp-sym.h>.
10695 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10696 * math/fegetenv.c: Do not include <bp-sym.h>.
10697 (fegetenv): Do not use BP_SYM in versioned symbols.
10698 * nptl/sysdeps/pthread/bits/libc-lockP.h
10699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10700 <bp-sym.h>.
10701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10702 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10704 (__pthread_mutex_destroy): Likewise.
10705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10706 (__pthread_mutex_lock): Likewise.
10707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10708 (__pthread_mutex_trylock): Likewise.
10709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10710 (__pthread_mutex_unlock): Likewise.
10711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10712 (__pthread_mutexattr_init): Likewise.
10713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10714 (__pthread_mutexattr_destroy): Likewise.
10715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10716 (__pthread_mutexattr_settype): Likewise.
10717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10718 (__pthread_rwlock_init): Likewise.
10719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10720 (__pthread_rwlock_destroy): Likewise.
10721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10722 (__pthread_rwlock_rdlock): Likewise.
10723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10724 (__pthread_rwlock_tryrdlock): Likewise.
10725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10726 (__pthread_rwlock_wrlock): Likewise.
10727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10728 (__pthread_rwlock_trywrlock): Likewise.
10729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10730 (__pthread_rwlock_unlock): Likewise.
10731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10732 (__pthread_key_create): Likewise.
10733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10734 (__pthread_setspecific): Likewise.
10735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10736 (__pthread_getspecific): Likewise.
10737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10738 Likewise.
10739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10740 (_pthread_cleanup_push_defer): Likewise.
10741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10742 (_pthread_cleanup_pop_restore): Likewise.
10743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10744 (pthread_setcancelstate): Likewise.
10745 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10746 <bp-sym.h>.
10747 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10748 (memchr): Do not use BP_SYM in weak_alias.
10749 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10750 (fegetenv): Do not use BP_SYM in versioned symbols.
10751 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10752 (fesetenv): Do not use BP_SYM in versioned symbols.
10753 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10754 (feupdateenv): Do not use BP_SYM in versioned symbols.
10755 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10756 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10757 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10758 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10759 (open64): Do not use BP_SYM in weak_alias.
10760 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10761 (fegetenv): Do not use BP_SYM in versioned symbols.
10762 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10763 (fesetenv): Do not use BP_SYM in versioned symbols.
10764 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10765 (feupdateenv): Do not use BP_SYM in versioned symbols.
10766 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10767 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10768 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10769 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10770 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10771 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10773 <bp-sym.h>.
10774 (__libc_start_main): Do not use BP_SYM.
10775
d6752ccd
SP
107762013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10777
cb57ce60
SP
10778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10779 redundant return line.
10780 (norm): Likewise.
10781 (denorm): Likewise.
10782 (dbl_mp): Likewise.
10783 (sub_magnitudes): Likewise.
10784 (__add): Likewise.
10785 (__sub): Likewise.
10786 (__mul): Likewise.
10787 (__inv): Likewise.
10788 (__dvd): Likewise.
10789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10790 (norm): Likewise.
10791 (denorm): Likewise.
10792 (dbl_mp): Likewise.
10793 (sub_magnitudes): Likewise.
10794 (__add): Likewise.
10795 (__sub): Likewise.
10796 (__mul): Likewise.
10797 (__inv): Likewise.
10798 (__dvd): Likewise.
10799
f414520d
SP
10800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10801 instead of __mul.
10802 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10803 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10804 (cc32): Likewise.
10805
d6752ccd
SP
10806 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10807 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10809 of __mul for squares.
10810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10811 function
10812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10813 Likewise.
10814 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10816
70d9946a
JM
108172013-02-13 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #13550]
10820 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10821 code.
10822 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10823 prototype or function definition. Rename ubp_* variables and
10824 parameters. Remove argv definitions conditional on
10825 [__BOUNDED_POINTERS__].
10826 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10827 * elf/dl-runtime.c (_dl_fixup): Likewise.
10828 * include/set-hooks.h (RUN_HOOK): Likewise.
10829 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10830 definition.
10831 * string/strcpy.c (strcpy): Do not use __unbounded.
10832 * sysdeps/generic/frame.h (struct layout): Likewise.
10833 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10834 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10835 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10836 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10837 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10838 (__backtrace): Likewise.
10839 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10840 use __ptrvalue.
10841 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10842 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10843 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10844 Likewise.
10845 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10846 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10847 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10848 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10849 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10850 Do not use __unbounded.
10851 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10852 Rename __unboundedrlimits parameter to rlimits in prototype.
10853 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10854 Do not use __unbounded.
10855 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10856 not use __ptrvalue.
10857 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10858 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10859 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10860 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10861 __ptrvalue or __unbounded.
10862 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10863 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10864 use __unbounded.
10865 (__new_msgctl): Do not use __ptrvalue.
10866 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10867 __unbounded.
10868 (__libc_msgrcv): Do not use __ptrvalue.
10869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10870 startup_info): Do not use __unbounded.
10871 (__libc_start_main): Likewise. Rename ubp_* variables and
10872 parameters. Remove argv definitions conditional on
10873 [__BOUNDED_POINTERS__].
10874 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10875 __ptrvalue.
10876 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10877 use __unbounded.
10878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10879 or __ptrvalue.
10880 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10881 use __unbounded.
10882 (__new_shmctl): Do not use __ptrvalue.
10883 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10884 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10885 Likewise.
10886 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10888 (__libc_sigaction): Likewise.
10889 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10891 Likewise.
10892 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10893
cc7834d6
OB
108942013-02-13 Ondřej Bílka <neleai@seznam.cz>
10895
ffb1ec7b 10896 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10897
10898 * string/mempcpy.c: Implement by calling memcpy.
10899
bdf02814
SP
109002013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10901
c2af38aa
SP
10902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10903
4e92d59e
SP
10904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10905 evaluation.
10906
909279a5
SP
10907 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10908 values in the mantissa.
10909
bdf02814
SP
10910 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10911 minimize writes to Z.
10912 (sub_magnitudes): Simplify code a bit.
10913
cd525923
RM
109142013-02-12 Roland McGrath <roland@hack.frob.com>
10915
10916 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10917 from the message. The linker prefixes all warnings with that already.
10918
7e2f0d2d
AS
109192013-02-12 Andreas Schwab <schwab@suse.de>
10920
a445af0b
AS
10921 [BZ #15078]
10922 * posix/regexec.c (extend_buffers): Add parameter min_len.
10923 (check_matching): Pass minimum needed length.
10924 (clean_state_log_if_needed): Likewise.
10925 (get_subexp): Likewise.
10926 * posix/Makefile (tests): Add bug-regex34.
10927 (bug-regex34-ENV): Define.
10928 * posix/bug-regex34.c: New file.
10929
7e2f0d2d
AS
10930 [BZ #11561]
10931 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10932 elements compare against the byte sequence of it, not its name.
10933 * posix/Makefile (tests): Add bug-regex35.
10934 (bug-regex35-ENV): Define.
10935 * posix/bug-regex35.c: New file.
10936
a175b684
TV
109372013-02-11 Tom de Vries <tom@codesourcery.com>
10938
10939 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10940 comment.
10941 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10942 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10943 (CHECK_EOL): Add undef.
10944
310998fe 109452013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10946
10947 * bits/stdlib-bsearch.h: New file.
10948 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10949 * stdlib/stdlib.h: Likewise.
41eda41d 10950
8ded91fb
RM
109512013-02-11 Roland McGrath <roland@hack.frob.com>
10952
10953 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10954 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10955 declaration.
10956 * manual/search.texi (Array Search Function): Add missing const in
10957 lfind prototype.
10958 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10959 declaration to use rlim_t.
10960 (Basic Scheduling Functions): Remove erroneous const from
10961 sched_getparam prototype. Remove erroneous * from
10962 sched_get_priority_max and sched_get_priority_min prototypes.
10963 (Resource Usage): Fix summary @comment on vtimes to refer to
10964 sys/vtimes.h rather than vtimes.h.
10965 Add missing *s in vtimes prototype.
10966 (Limits on Resources): Fix ulimit prototype to return long int.
10967 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10968 prototypes to use long int rather than double.
10969 (BSD Random): Fix initstate and setstate to use char *, not void *.
10970 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10971 prototype to make second argument 'struct aiocb64 *const[]'.
10972 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10973 (Status of AIO Operations): Remove erroneous const in aio_return and
10974 aio_return64 prototypes.
10975 (Synchronizing I/O): Fix sync prototype to return void.
10976 * manual/startup.texi (Suboptions): Remove an erroneous const in
10977 getsubopt prototype.
10978 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10979 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10980 use size_t rather than int.
10981 (Scanning All Users): Likewise for getpwent_r.
10982 (Setting Groups): Add missing const to setgroups prototype.
10983 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10984 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10985 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10986 'const void *' rather than 'const char *'.
10987 (Host Address Functions): Likewise for inet_ntop.
10988 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10989 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10990 ssize_t for return value.
10991 (Sending Data): Likewise for send, sendto, sendmsg.
10992 (Socket Option Functions): Add a missing const in setsockopt prototype.
10993 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10994 use wchar_t for the argument.
10995 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10996 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10997 take no arguments.
10998 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10999 double/float/long double for second argument.
11000 Fix return types of significand, significandf, significandl.
11001 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11002 argument in fchmod prototype.
11003 (File Owner): Use uid_t and gid_t in fchown prototype.
11004 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11005 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11006 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11007 use 'const struct dirent **' as argument types to CMP function pointer
11008 argument.
11009 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11010 (File Times): Fix summary magic @comment for struct utimbuf and utime
11011 to refer to utime.h, not time.h.
11012 * manual/string.texi (Argz Functions): Add missing const in
11013 argz_extract and argz_next prototypes.
11014 (Finding Tokens in a String): Likewise for basename.
11015 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11016 (Copying and Concatenation): Fix typo in wmemmove prototype.
11017 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11018 (Signal Stack): Remove erroneous const in sigstack prototype.
11019 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11020 prototype.
11021 (Simple Calendar Time): Likewise for stime.
11022 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11023 prototype.
11024 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11025 say sys/sysctl.h instead.
11026 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11027 and vsyslog prototypes.
11028
fe77fe6d
TV
110292013-02-11 Tom de Vries <tom@codesourcery.com>
11030
11031 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11032 Remove.
11033
3a09b620
RM
110342013-02-11 Roland McGrath <roland@hack.frob.com>
11035
11036 * misc/sys/mman.h: Fix typo in mremap comment.
11037
550a0b89
RM
110382013-02-08 Roland McGrath <roland@hack.frob.com>
11039
11040 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11041 the '\0' terminator.
11042
a2da1673
JM
110432013-02-08 Joseph Myers <joseph@codesourcery.com>
11044
11045 [BZ #13550]
11046 * debug/segfault.c: Don't include <bp-checks.h>.
11047 * sysdeps/generic/bp-checks.h: Remove file.
11048 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11049 (__GETDENTS): Don't use CHECK_N.
11050 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11051 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11052 (__getgroups): Don't use CHECK_N.
11053 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11054 (setgroups): Don't use CHECK_N.
11055 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11056 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11057 (__libc_msgrcv): Don't use CHECK_N.
11058 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11059 (__libc_msgsnd): Don't use CHECK_N.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11061 <bp-checks.h>.
11062 (__libc_pread): Don't use CHECK_N.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11064 include <bp-checks.h>.
11065 (__libc_pread64): Don't use CHECK_N.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11067 include <bp-checks.h>.
11068 (__libc_pwrite): Don't use CHECK_N.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11070 include <bp-checks.h>.
11071 (__libc_pwrite64): Don't use CHECK_N.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11073 <bp-checks.h>.
11074 (__libc_pread): Don't use CHECK_N.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11076 include <bp-checks.h>.
11077 (__libc_pread64): Don't use CHECK_N.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11079 include <bp-checks.h>.
11080 (__libc_pwrite): Don't use CHECK_N.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11082 include <bp-checks.h>.
11083 (__libc_pwrite64): Don't use CHECK_N.
11084 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11085 (do_pread): Don't use CHECK_N.
11086 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11087 (do_pread64): Don't use CHECK_N.
11088 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11089 (do_pwrite): Don't use CHECK_N.
11090 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11091 (do_pwrite64): Don't use CHECK_N.
11092 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11093 (__libc_readv): Don't use CHECK_N.
11094 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11095 (semop): Don't use CHECK_N.
11096 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11097 <bp-checks.h>.
11098 (semtimedop): Don't use CHECK_N.
11099 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11100 (__libc_pread): Don't use CHECK_N.
11101 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11102 <bp-checks.h>.
11103 (__libc_pread64): Don't use CHECK_N.
11104 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11105 <bp-checks.h>.
11106 (__libc_pwrite): Don't use CHECK_N.
11107 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11108 <bp-checks.h>.
11109 (__libc_pwrite64): Don't use CHECK_N.
11110 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11111 <bp-checks.h>.
11112 (__libc_msgrcv): Don't use CHECK_N.
11113 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11114 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11115 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11116 (__libc_writev): Don't use CHECK_N.
11117
b84660a8
RM
111182013-02-08 Roland McGrath <roland@hack.frob.com>
11119
7f3e75f8
RM
11120 * string/strcpy.c: Removed unused variable.
11121
b84660a8
RM
11122 * Makeconfig (+sysdep-includes): Define with := rather than =.
11123 Use an existing include/ subdir of each sysdeps dir before it.
11124
471514d3
CD
111252013-02-08 Carlos O'Donell <carlos@redhat.com>
11126
11127 * nscd/connection.c (register_traced_file): Comment function.
11128 [HAVE_INOTIFY] (union __inev): Define.
11129 [HAVE_INOTIFY] (inotify_check_files): New function.
11130 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11131 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11132 clear_db_cache.
11133 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11134
b2d3c3be
CD
111352013-02-08 Carlos O'Donell <carlos@redhat.com>
11136
11137 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11138 loaded if not already and that a failure is permanent.
11139
b39949d2
CD
111402013-02-08 Carlos O'Donell <carlos@redhat.com>
11141
ddacd1db 11142 [BZ #15006]
b39949d2
CD
11143 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11144 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11145
b2c9eff4
JM
111462013-02-08 Joseph Myers <joseph@codesourcery.com>
11147
f3aae3f3
JM
11148 [BZ #13550]
11149 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11150 (CHECK_1_NULL_OK): Likewise.
11151 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11152 (__fxstat): Do not use CHECK_1.
11153 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11154 <bp-checks.h>.
11155 (___fxstat64): Do not use CHECK_1.
11156 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11157 <bp-checks.h>.
11158 (__fxstatat): Do not use CHECK_1.
11159 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11160 <bp-checks.h>.
11161 (__fxstatat64): Do not use CHECK_1.
11162 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11163 <bp-checks.h>.
11164 (__fxstat): Do not use CHECK_1.
11165 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11166 <bp-checks.h>.
11167 (__fxstatat): Do not use CHECK_1.
11168 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11169 <bp-checks.h>.
11170 (__getresgid): Do not use CHECK_1.
11171 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11172 <bp-checks.h>.
11173 (__getresuid): Do not use CHECK_1.
11174 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11175 <bp-checks.h>.
11176 (__lxstat): Do not use CHECK_1.
11177 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11178 <bp-checks.h>.
11179 (__old_msgctl): Do not use CHECK_1.
11180 (__new_msgctl): Likewise.
11181 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11182 <bp-checks.h>.
11183 (__new_setrlimit): Do not use CHECK_1.
11184 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11185 <bp-checks.h>.
11186 (__old_shmctl): Do not use CHECK_1.
11187 (__new_shmctl): Likewise.
11188 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11189 <bp-checks.h>.
11190 (__xstat): Do not use CHECK_1.
11191 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11192 (__lxstat): Do not use CHECK_1.
11193 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11194 <bp-checks.h>.
11195 (___lxstat64): Do not use CHECK_1.
11196 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11197 (__old_msgctl): Do not use CHECK_1.
11198 (__new_msgctl): Likewise.
11199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11200 <bp-checks.h>.
11201 (__gettimeofday): Do not use CHECK_1.
11202 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11203 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11204 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11205 <bp-checks.h>.
11206 (__gettimeofday): Do not use CHECK_1.
11207 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11208 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11209 (__new_shmctl): Do not use CHECK_1.
11210 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11211 <bp-checks.h>.
11212 (do_sigtimedwait): Do not use CHECK_1.
11213 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11214 <bp-checks.h>.
11215 (do_sigwaitinfo): Do not use CHECK_1.
11216 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11217 <bp-checks.h>.
11218 (msgctl): Do not use CHECK_1.
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11220 <bp-checks.h>.
11221 (shmctl): Do not use CHECK_1.
11222 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11223 (ustat): Do not use CHECK_1.
11224 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11225 <bp-checks.h>.
11226 (__fxstat): Do not use CHECK_1.
11227 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11228 <bp-checks.h>.
11229 (__fxstatat): Do not use CHECK_1.
11230 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11231 <bp-checks.h>.
11232 (__lxstat): Do not use CHECK_1.
11233 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11234 <bp-checks.h>.
11235 (__xstat): Do not use CHECK_1.
11236 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11237 (__xstat): Do not use CHECK_1.
11238 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11239 (___xstat64): Do not use CHECK_1.
11240
b2c9eff4
JM
11241 [BZ #13550]
11242 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11243 definitions.
11244 (CHECK_BOUNDS_HIGH): Likewise.
11245 * string/strcpy.c: Do not include <bp-checks.h>.
11246 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11247
f1d70dad
RM
112482013-02-07 Roland McGrath <roland@hack.frob.com>
11249
11250 * nscd/nscd-client.h (__nscd_drop_map_ref):
11251 Add __attribute__ ((unused)).
11252 * nis/nss-nisplus.h (niserr2nss): Likewise.
11253
11254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11255 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11256
11257 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11258 Remove inline keyword.
11259 * include/rounding-mode.h (round_away): Likewise.
11260 * libio/wfileops.c (adjust_wide_data): Likewise.
11261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11262 (__m128i_strloadu_tolower): Likewise.
11263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11264 (__m128i_strloadu_tolower): Likewise.
11265 * time/mktime.c (ydhms_diff): Likewise.
11266 * locale/elem-hash.h (elem_hash): Likewise.
11267 * locale/setlocale.c (setdata): Likewise.
11268 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11269 (re_string_wchar_at): Likewise.
11270 (bitset_not, bitset_merge, bitset_mask): Likewise.
11271 [!(__GNUC__ > 3)] (inline): Remove macro.
11272 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11273 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11274 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11275 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11276 * string/memcmp.c (memcmp_bytes): Likewise.
11277 * locale/programs/locarchive.c (compute_hashval): Likewise.
11278 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11279 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11280 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11281 * nss/getent.c (print_rpc, print_protocols): Likewise.
11282 (print_passwd, print_group, print_aliases): Likewise.
11283 * nis/nss-nisplus.h (niserr2nss): Likewise.
11284 * nscd/connections.c (restart_p): Likewise.
11285 Change return type to bool.
11286
eab55bfb
RM
112872013-02-05 Roland McGrath <roland@hack.frob.com>
11288
7bd642f5
RM
11289 * Makeconfig (all-Depend-files): Add existing
11290 $(sorted-subdirs:=/Depend) files.
11291 (all-subdirs): Remove nss.
11292 * sysdeps/unix/inet/Subdirs: Add it here instead.
11293 * hesiod/Depend: New file.
11294
573c29b2
RM
11295 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11296 instead of calling alloca.
11297
b2e25af0
RM
11298 * io/lseek.c (__lseek): Rename to __libc_lseek.
11299 Define __lseek as an alias.
11300
eab55bfb
RM
11301 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11302
9a0d1941
CD
113032013-02-04 Carlos O'Donell <carlos@redhat.com>
11304
11305 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11306 else clause and remove check for non-standard endianness.
11307
b83bbec4
DM
113082013-02-04 David S. Miller <davem@davemloft.net>
11309
11310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11311
6277fdab
JM
113122013-02-04 Joseph Myers <joseph@codesourcery.com>
11313
11314 [BZ #13550]
11315 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11316 (__ubp_memchr): Remove prototype.
11317 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11318 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11319 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11320 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11321 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11322 Remove alias.
11323 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11324 (__ubp_memchr): Likewise.
11325 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11326 (__ubp_memchr): Likewise.
11327 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11328 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11329 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11330 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11331 CHECK_STRING.
11332 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11333 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11334 (__getcwd): Do not use CHECK_STRING.
11335 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11336 <bp-checks.h>.
11337 (__real_chown): Do not use CHECK_STRING.
11338 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11339 <bp-checks.h>.
11340 (fchownat): Do not use CHECK_STRING.
11341 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11342 CHECK_STRING.
11343 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11344 <bp-checks.h>.
11345 (__lchown): Do not use CHECK_STRING.
11346 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11347 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11348 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11349 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11351 include <bp-checks.h>.
11352 (truncate64): Do not use CHECK_STRING.
11353 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11354 <bp-checks.h>.
11355 (__real_chown): Do not use CHECK_STRING.
11356 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11357 <bp-checks.h>.
11358 (__lchown): Do not use CHECK_STRING.
11359 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11360 <bp-checks.h>.
11361 (__chown): Do not use CHECK_STRING.
11362 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11363 <bp-checks.h>.
11364 (truncate64): Do not use CHECK_STRING.
11365 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11366 Likewise.
11367 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11368 (__xmknod): Do not use CHECK_STRING.
11369 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11370 <bp-checks.h>.
11371 (__xmknodat): Do not use CHECK_STRING.
11372 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11373 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11374
903ae060
AS
113752013-02-04 Andreas Schwab <schwab@suse.de>
11376
11377 [BZ #14142]
11378 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11379 * include/netdb.h: Likewise for h_errno.
11380 * elf/tst-stackguard1.c: Include <tls.h>.
11381
542f9466
JK
113822013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11383
11384 * elf/link.h (struct link_map): Extend the l_addr comment.
11385 * include/link.h (struct link_map): Likewise.
11386
e782a927
JM
113872013-02-01 Joseph Myers <joseph@codesourcery.com>
11388
11389 [BZ #13550]
11390 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11391 (BOUNDED_1): Remove macro.
11392 * debug/backtrace.c: Don't include <bp-checks.h>.
11393 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11394 (__backtrace): Likewise.
11395 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11396 <bp-checks.h>.
11397 (__backtrace): Don't use BOUNDED_1.
11398 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11399 <bp-checks.h>.
11400 (__backtrace): Don't use BOUNDED_1.
11401 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11402 (__backtrace): Don't use BOUNDED_1.
11403 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11404 (shmat): Don't use BOUNDED_N.
11405
8cf28c5e
JM
114062013-01-31 Joseph Myers <joseph@codesourcery.com>
11407
3a7ac8a0
JM
11408 [BZ #13550]
11409 * sysdeps/generic/bp-start.h: Remove file.
11410 * csu/libc-start.c: Don't include <bp-start.h>.
11411 (LIBC_START_MAIN): Set up __environ directly instead of using
11412 INIT_ARGV_and_ENVIRON.
11413 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11414 <bp-start.h>.
11415
f3499f95
JM
11416 [BZ #13550]
11417 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11418 definitions.
11419 (CHECK_FCNTL): Likewise.
11420 (CHECK_N_PAGES): Likewise.
11421
32a45bea
JM
11422 [BZ #13550]
11423 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11424 definitions.
11425 (CHECK_SIGSET_NULL_OK): Likewise.
11426 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11427 <bp-checks.h>.
11428 (sigpending): Don't use CHECK_SIGSET.
11429 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11430 <bp-checks.h>.
11431 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11432 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11433 <bp-checks.h>.
11434 (do_sigsuspend): Don't use CHECK_SIGSET.
11435 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11436 use CHECK_SIGSET.
11437 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11438 (do_sigwait): Don't use CHECK_SIGSET.
11439 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11440 use CHECK_SIGSET.
11441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11442 include <bp-checks.h>.
11443 (sigpending): Don't use CHECK_SIGSET.
11444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11445 include <bp-checks.h>.
11446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11447 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11448 <bp-checks.h>.
11449 (sigpending): Don't use CHECK_SIGSET.
11450 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11451 <bp-checks.h>.
11452 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11453
2e8a5c8c
JM
11454 [BZ #13550]
11455 * sysdeps/generic/bp-semctl.h: Remove file.
11456 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11457 <bp-checks.h> and <bp-semctl.h>.
11458 (__old_semctl): Don't use CHECK_SEMCTL.
11459 (__new_semctl): Likewise.
11460 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11461 and <bp-semctl.h>.
11462 (__old_semctl): Don't use CHECK_SEMCTL.
11463 (__new_semctl): Likewise.
11464 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11465 <bp-checks.h> and <bp-semctl.h>.
11466 (__old_semctl): Don't use CHECK_SEMCTL.
11467 (__new_semctl): Likewise.
11468 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11469 <bp-checks.h> and <bp-semctl.h>.
11470 (semctl): Don't use CHECK_SEMCTL.
11471
c2d54929
JM
11472 [BZ #13550]
11473 * Makerules (elide-bp-thunks): Remove variable.
11474 (elide-routines.oS): Don't use $(elide-bp-thunks).
11475 (elide-routines.os): Likewise.
11476 (elide-routines.o): Likewise.
11477 (elide-routines.op): Likewise.
11478 (elide-routines.og): Likewise.
11479 (objects): Don't use $(bp-thunks).
11480 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11481 include.
11482 (common-generated): Do not add s-proto-bp.d.
11483 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11484 (int): Likewise.
11485 (typ): Likewise.
11486 Do not generate makefile rules for bounded-pointer thunks.
11487 * sysdeps/generic/bp-thunks.h: Remove file.
11488 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11489 * sysdeps/unix/s-proto-bp.S: Likewise.
11490
8cf28c5e
JM
11491 [BZ #15062]
11492 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11493 parts of result separately when argument is not close to line from
11494 -i to i and one part of argument is small.
11495 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11496 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11497 * math/libm-test.inc (cacos_test): Add more tests.
11498 (casin_test): Likewise.
11499 (casinh_test): Likewise.
11500 * sysdeps/i386/fpu/libm-test-ulps: Update.
11501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11502
c4e33b8d
DM
115032013-01-31 David S. Miller <davem@davemloft.net>
11504
11505 * po/de.po: Update from translation team.
11506
3b60b421
MK
115072013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11508
11509 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11510
bb931195
TS
115112013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11512
b5a5da23
TS
11513 * configure.in (_AC_PROG_CC_C89): New definition.
11514 * configure: Regenerate.
11515
bb931195
TS
11516 * configure.in (AC_PROG_CPP): New definition.
11517 * configure: Regenerate.
11518
8c53a12c
JM
115192013-01-23 Joseph Myers <joseph@codesourcery.com>
11520
11521 * debug/tst-backtrace.h: New file.
11522 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11523 (ret): Remove variable.
11524 (x): Likewise.
11525 (FAIL): Remove macro.
11526 (NO_INLINE): Likewise.
11527 (fn1): Use match function instead of strstr.
11528 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11529 (ret): Remove variable.
11530 (x): Likewise.
11531 (FAIL): Remove macro.
11532 (NO_INLINE): Likewise.
11533 (fn): Use match function instead of strstr.
11534 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11535 (ret): Remove variable.
11536 (x): Likewise.
11537 (FAIL): Remove macro.
11538 (NO_INLINE): Likewise.
11539 (handle_signal): Use match function instead of strstr.
11540 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11541 (ret): Remove variable.
11542 (x): Likewise.
11543 (FAIL): Remove macro.
11544 (NO_INLINE): Likewise.
11545 (handle_signal): Use match function instead of strstr.
11546
4858fa2a
RM
115472013-01-23 Roland McGrath <roland@hack.frob.com>
11548
11549 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11550
bae8e7f5
DM
115512013-01-23 David S. Miller <davem@davemloft.net>
11552
11553 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11554 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11555 argument of CAS if possible.
11556 * sysdeps/sparc/sparc64/bits/atomic.h
11557 (__arch_compare_and_exchange_val_32_acq): Likewise.
11558 (__arch_compare_and_exchange_val_64_acq): Likewise.
11559
9cbbc4ae
PT
115602013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11561
11562 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11563 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11564 Include <limits.h>.
67b3f58c 11565 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11566
5655a0b5
AC
115672013-01-23 Adam Conrad <adconrad@0c3.net>
11568
11569 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11570 (LDFLAGS-tst-array5): Likewise.
11571
052aff95
JM
115722013-01-23 Joseph Myers <joseph@codesourcery.com>
11573
11574 [BZ #15036]
11575 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11576 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11577 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11578 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11579
7c1e01aa
DM
115802013-01-21 David S. Miller <davem@davemloft.net>
11581
11582 * sysdeps/sparc/backtrace.c: New file.
11583 * sysdeps/sparc/sparc32/backtrace.h: New file.
11584 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11585 * sysdeps/sparc/sparc64/backtrace.h: New file.
11586 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11587 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11588 -funwind-tables.
11589
ab087e0a
AS
115902013-01-21 Andreas Schwab <schwab@suse.de>
11591
11592 [BZ #15020]
11593 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11594 closed its stdout.
11595
ed689c2f
AS
115962013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11597
11598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11599 "mpa2.h".
11600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11601
31d470ac
JM
116022013-01-18 Joseph Myers <joseph@codesourcery.com>
11603 Mark Mitchell <mark@codesourcery.com>
11604 Tom de Vries <tom@codesourcery.com>
11605 Paul Pluzhnikov <ppluzhnikov@google.com>
11606
11607 * debug/tst-backtrace2.c: New file.
11608 * debug/tst-backtrace3.c: Likewise.
11609 * debug/tst-backtrace4.c: Likewise.
11610 * debug/tst-backtrace5.c: Likewise.
11611 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11612 (CFLAGS-tst-backtrace3.c): Likewise.
11613 (CFLAGS-tst-backtrace4.c): Likewise.
11614 (CFLAGS-tst-backtrace5.c): Likewise.
11615 (LDFLAGS-tst-backtrace2): Likewise.
11616 (LDFLAGS-tst-backtrace3): Likewise.
11617 (LDFLAGS-tst-backtrace4): Likewise.
11618 (LDFLAGS-tst-backtrace5): Likewise.
11619 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11620 tst-backtrace4 and tst-backtrace5.
11621
90567f30 116222013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11623 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11624
11625 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11626 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11627 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11628 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11630 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11631 "+r" and remove output regs list as redundant. Add explicit inline
11632 asm to specify register of return val to work around compiler codegen
11633 bug. Remove (int) cast on return value. Add return type parameter to
11634 use in macro so that this macro does not truncate return value for
11635 64-bit values.
11636 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11637 pass to INTERNAL_VSYSCALL_NCS.
11638 (INLINE_VSYSCALL): Add 'long int' as return type to
11639 INTERNAL_VSYSCALL_NCS macro invocation.
11640 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11641 INTERNAL_VSYSCALL_NCS macro invocation.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11643
d3b9ea61
SP
116442013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11645
0b57daeb
SP
11646 [BZ #14496]
11647 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11648 Fix application of SIMD FP exception mask.
11649
caa99d06
SP
11650 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11651 mp_no from a power of two.
11652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11653 __mpexp_twomm1. Use __pow_mp.
11654
d3b9ea61
SP
11655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11656 multiplication.
11657
1dbaee3c
DM
116582013-01-17 David S. Miller <davem@davemloft.net>
11659
11660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11661
728d7b43
JM
116622013-01-17 Joseph Myers <joseph@codesourcery.com>
11663
11664 [BZ #15023]
11665 * include/complex.h: Condition contents on [!_COMPLEX_H].
11666 (__kernel_casinhf): New prototype.
11667 (__kernel_casinh): Likewise.
11668 (__kernel_casinhl): Likewise.
11669 * math/Makefile (libm_calls): Add k_casinh.
11670 * math/k_casinh.c: New file.
11671 * math/k_casinhf.c: Likewise.
11672 * math/k_casinhl.c: Likewise.
11673 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11674 finite nonzero arguments.
11675 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11676 finite nonzero arguments.
11677 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11678 finite nonzero arguments.
11679 * math/s_casinh.c: Do not include <float.h>.
11680 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11681 * math/s_casinhf.c: Do not include <float.h>.
11682 (__casinhf): Move code for finite nonzero arguments to
11683 k_casinhf.c.
11684 * math/s_casinhl.c: Do not include <float.h>.
11685 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11686 redefine.
11687 (__casinhl): Move code for finite nonzero arguments to
11688 k_casinhl.c.
11689 * math/libm-test.inc (cacos_test): Add more tests.
11690 * sysdeps/i386/fpu/libm-test-ulps: Update.
11691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692
2a26ef3a
PT
116932013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11694
11695 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11696 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11697 [!HAVE_MREMAP]: Remove [defined linux] case.
11698 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11699
a897655d
SP
117002013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11701
11702 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11703
881ebe89 117042013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11705
11706 * elf/elf.h (R_386_SIZE32): New relocation.
11707 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11708 R_386_SIZE32.
11709 (elf_machine_rela): Likewise.
11710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11711 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11712
59981e9b
JM
117132013-01-17 Joseph Myers <joseph@codesourcery.com>
11714
11715 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11716 (FP_FAST_FMA): Do not define.
11717 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11718 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11719 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11720 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11721 !_SOFT_FLOAT]: Likewise.
11722 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11723 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11724 value.
11725 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11726 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11727 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11728 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11729 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11730 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11731 file.
11732
cfa8054f
AS
117332013-01-16 Andreas Schwab <schwab@suse.de>
11734
11735 [BZ #14327]
11736 * include/stdlib.h (__mktemp): Add declaration.
11737 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11738 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11739
dd930cc5
SP
117402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11741
881ebe89
SP
11742 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11743 definitions.
11744 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11745 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11746 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11747 definitions here.
11748 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11749 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11750 definitions.
11751 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11752 and ONE.
11753 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11754 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11756 definitions.
11757 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11758 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11759 definitions.
11760 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11761
dd930cc5
SP
11762 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11763
c19a9f89
DM
117642013-01-15 David S. Miller <davem@davemloft.net>
11765
1aa61767
DM
11766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11767 trunc{,f} to libm-sysdep_routes.
11768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11770 file.
11771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11773 file.
11774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11775 file.
11776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11778 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11779 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11780 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11781 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11782 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11783 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11784
c42d5e98
DM
11785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11786 nearbyint{,f} to libm-sysdep_routes.
11787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11789 New file.
11790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11791 file.
11792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11793 New file.
11794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11795 file.
11796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11798 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11799 file.
11800 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11802 file.
11803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11804 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11805 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11806
c19a9f89
DM
11807 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11808 libc_feholdexcept and libc_fesetenv.
11809
357679d2
MF
118102013-01-15 Mike Frysinger <vapier@gentoo.org>
11811
11812 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11813
65a82e3d
DM
118142013-01-14 David S. Miller <davem@davemloft.net>
11815
8b954ab9
DM
11816 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11817 (SPARC_ASM_VIS2_IFUNC): Likewise.
11818 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11820 use of 'siam' instruction.
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11822 Likewise.
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11824 Likewise.
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11826 Likewise.
11827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11832 file.
11833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11834 file.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11836 file.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11838 file.
11839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11844 new VIS2 routines.
11845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11848 Likewise.
11849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11854 routines to libm-sysdep_routines.
11855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11856
65a82e3d
DM
11857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11858 fdim/fdimf to libm-sysdep_routines.
11859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11860 file.
11861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11863 file.
11864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11867 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11868 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11869 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11870 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11871
e34ab705
SP
118722013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11873
2a91b573
SP
11874 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11875 to optimize copies.
11876
1066a534
SP
11877 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11880
e34ab705
SP
11881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11882 local variable MPTWO.
11883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11884 Likewise.
11885
aba5e596
MF
118862013-01-13 Mike Frysinger <vapier@gentoo.org>
11887
11888 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11889 GLOB_NOESCAPE.
11890
e557e9e5
MF
118912013-01-13 Mike Frysinger <vapier@gentoo.org>
11892
11893 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11894
0428cec9
MF
118952013-01-13 Mike Frysinger <vapier@gentoo.org>
11896
11897 * manual/pattern.texi (glob_t): Document gl_flags.
11898 (glob64_t): Likewise.
11899
8794a964
DM
119002013-01-11 David S. Miller <davem@davemloft.net>
11901
66438c3f
RM
11902 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11903 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11904 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11905 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11906 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11907 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11908 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11909 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11910 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11911 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11912 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11913 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11914 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11915
4ae4244d
DM
11916 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11917 sparc V9 rather than using V8 code.
11918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11920
8794a964
DM
11921 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11922 Move to...
11923 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11924 Here.
11925
6270516e
RM
119262013-01-11 Roland McGrath <roland@hack.frob.com>
11927
11928 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11929 not in the main loop.
11930 * configure: Regenerated.
11931
6a57d931
JM
119322013-01-11 Joseph Myers <joseph@codesourcery.com>
11933
11934 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11935 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11936 to just #else.
11937 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11938 [!__GLIBC_HAVE_LONG_LONG] case.
11939 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11940 condition to just #else.
11941 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11942 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11943 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11944 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11945 unconditional.
11946 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11947 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11948 #elif condition to just #else.
11949 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11950 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11951 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11952 #elif condition to just #else.
11953
0e8529e9
SE
119542013-01-11 Steve Ellcey <sellcey@mips.com>
11955
11956 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11957 (EF_MIPS_ARCH_64): Fix value.
11958 (EF_MIPS_ARCH_32R2): New.
11959 (EF_MIPS_ARCH_64R2): New.
11960
740b3dbe
L
119612013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 * Makeconfig (+link-pie-before-libc): New.
11964 (+link-pie-after-libc): Likewise.
11965 (+link-pie-tests): Likewise.
11966 (+link-pie): Rewritten.
11967 (link-before-libc): Remove $(config-LDFLAGS).
11968 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11969 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11970 (config-LDFLAGS): Renamed to ...
11971 (rtld-LDFLAGS): This.
11972 (rtld-tests-LDFLAGS): New macro.
11973 (link-libc-rpath-link): Likewise.
11974 (link-libc-tests-rpath-link): Likewise.
11975 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11976 (link-libc): Prepand $(link-libc-rpath-link).
11977 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11978 (test-program-prefix): New macro.
11979 (test-via-rtld-prefix): Likewise.
11980 (test-program-cmd): Likewise.
11981 (host-test-program-cmd): Likewise.
11982 * Makefile ($(common-objpfx)testrun.sh): Replace
11983 $(run-program-prefix) with $(test-program-prefix).
11984 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11985 $(rtld-LDFLAGS).
11986 ($(common-objpfx)shlib.lds): Likewise.
11987 (build-module-helper): Likewise.
11988 ($(common-objpfx)format.lds): Likewise.
11989 * Rules (binaries-pie-tests): New.
11990 (binaries-pie-notests): Likewise.
11991 (binaries-pie): Rewritten.
11992 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11993 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11994 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11995 (make-test-out): Replace $(host-built-program-cmd) with
11996 $(host-test-program-cmd).
11997 * config.make.in (build-hardcoded-path-in-tests): New variable.
11998 * configure.in (--enable-hardcoded-path-in-tests): New configure
11999 option.
12000 (hardcoded_path_in_tests): New AC_SUBST.
12001 * configure: Regenerated.
12002 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12003 $(built-program-cmd) with $(test-program-cmd).
12004 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12005 (test_program_cmd): This.
12006 * elf/Makefile ($(objpfx)order.out): Run test with
12007 $(test-program-prefix).
12008 ($(objpfx)order2.out): Likewise.
12009 ($(objpfx)tst-initorder.out): Likewise.
12010 ($(objpfx)tst-initorder2.out): Likewise.
12011 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12012 $(test-program-cmd).
12013 ($(objpfx)tst-array1-static.out): Likewise.
12014 ($(objpfx)tst-array2.out): Likewise.
12015 ($(objpfx)tst-array3.out): Likewise.
12016 ($(objpfx)tst-array4.out): Likewise.
12017 ($(objpfx)tst-array5.out): Likewise.
12018 ($(objpfx)tst-array5-static.out): Likewise.
12019 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12020 $(test-program-cmd).
12021 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12022 $(run-program-prefix) with $(test-program-prefix).
12023 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12024 (test_program_prefix): This.
12025 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12026 $(run-program-prefix) with $(test-program-prefix).
12027 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12028 (test_program_prefix): This.
12029 * iconvdata/tst-tables.sh: Likewise.
12030 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12031 $(run-program-prefix) with $(test-program-prefix).
12032 ($(objpfx)tst-translit.out): Likewise.
12033 ($(objpfx)tst-gettext2.out): Likewise.
12034 ($(objpfx)tst-gettext4.out): Likewise.
12035 ($(objpfx)tst-gettext6.out): Likewise.
12036 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12037 (test_program_prefix): This.
12038 * intl/tst-gettext2.sh: Likewise.
12039 * intl/tst-gettext4.sh Likewise.
12040 * intl/tst-gettext6.sh: Likewise.
12041 * intl/tst-translit.sh: Likewise.
12042 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12043 with $(test-program-cmd).
12044 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12045 $(run-program-prefix) with $(test-program-prefix).
12046 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12047 (test_program_prefix): This.
12048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12049 $(run-program-prefix) with $(test-program-prefix).
12050 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12051 (test_program_prefix): This.
12052 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12053 * posix/Makefile ($(objpfx)globtest.out): Replace
12054 $(run-via-rtld-prefix) and $(test-wrapper) with
12055 $(test-program-prefix) and $(test-via-rtld-prefix).
12056 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12057 $(test-program-prefix).
12058 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12059 $(host-test-program-cmd).
12060 (tst-spawn-ARGS): Likewise.
12061 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12062 $(test-program-prefix).
12063 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12064 (test_via_rtld_prefix): This.
12065 (test_wrapper): Renamed to ...
12066 (test_program_prefix): This.
12067 (run_program_prefix): Replaced by test_program_prefix.
12068 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12069 (test_program_prefix): This.
12070 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12071 with $(host-test-program-cmd).
12072 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12073 $(run-program-prefix) with $(test-program-prefix).
12074 ($(objpfx)tst-printf.out): Likewise.
12075 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12076 $(test-program-cmd).
12077 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12078 (test_program_prefix): This.
12079 * stdio-common/tst-unbputc.sh: Likewise.
12080 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12081 $(run-program-prefix) with $(test-program-prefix).
12082 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12083 (test_program_prefix): This.
12084 * string/Makefile ($(objpfx)tst-svc.out): Replace
12085 $(built-program-cmd) with $(test-program-cmd).
12086
c6fe55cf
AJ
120872013-01-11 Andreas Jaeger <aj@suse.de>
12088
12089 [BZ #15003]
12090 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12091 value. Sync with Linux 3.7.
12092
9e6919c8
DM
120932013-01-10 David S. Miller <davem@davemloft.net>
12094
12095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12096 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12097 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12098
1c9f1a02
RM
120992013-01-10 Roland McGrath <roland@hack.frob.com>
12100
12101 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12102 never set.
12103 * configure: Regenerated.
12104
b9de2dde
DM
121052013-01-10 David S. Miller <davem@davemloft.net>
12106
12107 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12108 sparc V9 rather than using V8 code.
12109 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12110 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12111
e7f68ef4
RM
121122013-01-10 Roland McGrath <roland@hack.frob.com>
12113
12114 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12115 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12116 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12117 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12118 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12119 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12120 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12121 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12122 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12123 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12124 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12125 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12126 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12127 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12128 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12129 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12130 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12131 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12132 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12133 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12134 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12135 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12136 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12137 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12138 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12139 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12140 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12141
5a47cc9c
DM
121422013-01-10 David S. Miller <davem@davemloft.net>
12143
12144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12145
4cf8f209
L
121462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12147
12148 * posix/Makefile (tests-static): New variable.
12149 (tests): Add $(tests-static).
12150 (tst-exec-static-ARGS): New variable.
12151 (tst-spawn-static-ARGS): Likewise.
12152 * posix/tst-exec-static.c: New file.
12153 * posix/tst-spawn-static.c: Likewise.
12154 * posix/tst-exec.c: Support run directly.
12155 * posix/tst-spawn.c: Likewise.
12156
fed0faa1
JM
121572013-01-10 Joseph Myers <joseph@codesourcery.com>
12158
828beb13
JM
12159 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12160 long.
12161 * math/bits/mathcalls.h (llrint): Likewise.
12162 (llround): Likewise.
12163 * stdlib/stdlib.h (struct drand48_data): Likewise.
12164 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12165 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12169 Likewise.
12170 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12171 (elf_greg_t): Likewise.
12172 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12173 (__jmp_buf): Likewise.
12174 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12175 definitions.
12176 (llrint): Likewise, for all definitions.
12177 (llrintl): Likewise.
12178
fed0faa1
JM
12179 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12180 Remove [__GNUC__] condition.
12181 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12182 condition to just [__USE_ISOC99].
12183 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12184
1a20cb20
L
121852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 [BZ #14200]
12188 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12189 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12190 defined.
12191 (_POSIX_V6_ILP32_OFF32): Likewise.
12192 (_XBS5_ILP32_OFF32): Likewise.
12193 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12194 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12195
751b85f7
SP
121962013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
7490eb81
SP
12198 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12199
751b85f7
SP
12200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12201 doubles __mpexp_twomm1. Adjust usage.
12202 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12203 Remove.
12204
988197f0
AS
122052013-01-10 Andreas Schwab <schwab@suse.de>
12206
12207 [BZ #14964]
12208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12209 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12210
e83d7298
DM
122112013-01-09 David S. Miller <davem@davemloft.net>
12212
034ed64b 12213 [BZ #15003]
e83d7298
DM
12214 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12215 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12216 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12217 TCP_FASTOPEN): Define.
12218 (tcp_repair_opt): New structure.
12219 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12220 enum values.
12221 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12222 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12223 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12224 (tcp_cookie_transactions): New structure.
12225
d5e0b9bd
AB
122262013-01-09 Anton Blanchard <anton@samba.org>
12227
12228 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12229 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12231 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12232
0c07e3ea
JM
122332013-01-09 Joseph Myers <joseph@codesourcery.com>
12234
12235 * include/features.h (__USE_ANSI): Remove.
12236
232f7002
RM
122372013-01-09 Roland McGrath <roland@hack.frob.com>
12238
ad98e30c
RM
12239 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12240
232f7002
RM
12241 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12242
950c99ca
SP
122432013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
b5792741
SP
12245 * sysdeps/s390/fpu/libm-test-ulps: Update.
12246
47cf2278
SP
12247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12248
950c99ca
SP
12249 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12250 (__acr): Likewise.
12251 (__cpy): Likewise.
12252 (norm): Likewise.
12253 (denorm): Likewise.
12254 (__mp_dbl): Likewise.
12255 (__dbl_mp): Likewise.
12256 (add_magnitudes): Likewise.
12257 (sub_magnitudes): Likewise.
12258 (__add): Likewise.
12259 (__sub): Likewise.
12260 (__mul): Likewise.
12261 (__inv): Likewise.
12262 (__dvd): Likewise.
12263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12264 (__acr): Likewise.
12265 (__cpy): Likewise.
12266 (norm): Likewise.
12267 (denorm): Likewise.
12268 (__mp_dbl): Likewise.
12269 (__dbl_mp): Likewise.
12270 (add_magnitudes): Likewise.
12271 (sub_magnitudes): Likewise.
12272 (__add): Likewise.
12273 (__sub): Likewise.
12274 (__mul): Likewise.
12275 (__inv): Likewise.
12276 (__dvd): Likewise.
12277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12278 (__acr): Likewise.
12279 (__cpy): Likewise.
12280 (norm): Likewise.
12281 (denorm): Likewise.
12282 (__mp_dbl): Likewise.
12283 (__dbl_mp): Likewise.
12284 (add_magnitudes): Likewise.
12285 (sub_magnitudes): Likewise.
12286 (__add): Likewise.
12287 (__sub): Likewise.
12288 (__mul): Likewise.
12289 (__inv): Likewise.
12290 (__dvd): Likewise.
12291
eede9df9
JM
122922013-01-08 Joseph Myers <joseph@codesourcery.com>
12293
12294 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12295 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12296 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12297 2 && __USE_EXTERN_INLINES]: Likewise.
12298
c40ea3d9
AJ
122992013-01-08 Andreas Jaeger <aj@suse.de>
12300
12301 [BZ# 14985]
12302 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12303 Remove.
12304 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12305 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12306
2ccdea26
AB
123072013-01-07 Anton Blanchard <anton@samba.org>
12308
12309 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12310 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12311 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12312 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12313 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12315 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12316 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12318 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12322 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12326 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12327 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12329 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12330 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12332 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12334 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12336 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12338 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12339 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12343 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12344 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12345 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12348 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12349 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12350 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12351 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12352
a9708fed
JM
123532013-01-07 Joseph Myers <joseph@codesourcery.com>
12354
375607b9
JM
12355 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12356 (__MALLOC_PMT): Likewise.
12357 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12358 [__GNUC__], only on [_LIBC].
12359 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12360 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12361 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12362 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12363 forward declaration.
12364 (realloc_hook_ini): Likewise.
12365 (memalign_hook_ini): Likewise.
12366 (__libc_memalign): Do not use __MALLOC_PMT in variable
12367 declaration.
12368 (__libc_valloc): Likewise.
12369 (__libc_pvalloc): Likewise.
12370 (__libc_calloc): Likewise.
12371 (__posix_memalign): Likewise.
12372
a9708fed
JM
12373 [BZ #14996]
12374 * math/s_casinh.c: Include <float.h>.
12375 (__casinh): Do not do computation with squaring and square root
12376 for large arguments.
12377 * math/s_casinhf.c: Include <float.h>.
12378 (__casinhf): Do not do computation with squaring and square root
12379 for large arguments.
12380 * math/s_casinhl.c: Include <float.h>.
12381 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12382 (__casinhl): Do not do computation with squaring and square root
12383 for large arguments.
12384 * math/libm-test.inc (casin_test): Add more tests.
12385 (casinh_test): Likewise.
12386 * sysdeps/i386/fpu/libm-test-ulps: Update.
12387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388
afec409a
L
123892013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12390
12391 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12392 (__x86_64_raw_data_cache_size): Likewise.
12393 (__x86_64_data_cache_size_half): Likewise.
12394 (__x86_64_raw_data_cache_size_half): Likewise.
12395 (__x86_64_shared_cache_size): Likewise.
12396 (__x86_64_raw_shared_cache_size): Likewise.
12397 (__x86_64_shared_cache_size_half): Likewise.
12398 (__x86_64_raw_shared_cache_size_half): Likewise.
12399 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12400 to ...
12401 (__x86_data_cache_size): This.
12402 (__x86_64_raw_data_cache_size): Renamed to ...
12403 (__x86_raw_data_cache_size): This.
12404 (__x86_64_data_cache_size_half): Renamed to ...
12405 (__x86_data_cache_size_half): This.
12406 (__x86_64_raw_data_cache_size_half): Renamed to ...
12407 (__x86_raw_data_cache_size_half): This.
12408 (__x86_64_shared_cache_size): Renamed to ...
12409 (__x86_shared_cache_size): This.
12410 (__x86_64_raw_shared_cache_size): Renamed to ...
12411 (__x86_raw_shared_cache_size): This.
12412 (__x86_64_shared_cache_size_half): Renamed to ...
12413 (__x86_shared_cache_size_half): This.
12414 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12415 (__x86_raw_shared_cache_size_half): This.
12416 * sysdeps/x86_64/memcpy.S: Updated.
12417 * sysdeps/x86_64/memset.S: Likewise.
12418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12419 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12421
0b3986d0
DM
124222013-01-04 David S. Miller <davem@davemloft.net>
12423
12424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12425
e47686e9
AS
124262013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12427
d643bac1
AS
12428 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12429 1 to avoid redefinition warning.
12430 (__USE_GNU): Don't define.
12431 (init_signaling_nan): Protoize.
12432
e47686e9
AS
12433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12434
b18decba
SP
124352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
fffb407f
SP
12437 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12439 (__cpymn): Likewise.
12440 (norm): Remove commented code.
12441 (denorm): Likewise.
12442 (__mp_dbl): Likewise.
12443 (__inv): Likewise.
12444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12445 (__cpymn): Likewise.
12446 (norm): Remove commented code.
12447 (denorm): Likewise.
12448 (__mp_dbl): Likewise.
12449 (__inv): Likewise.
12450
b18decba
SP
12451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12452 mp_no value for 1.0 and 2.0.
12453 (norm): Use RADIXI instead of radixi.d.
12454 (denorm): Likewise.
12455 (__mul): Use 0.0 instead of zero.d.
12456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12457 mp_no value for 1.0 and 2.0.
12458 (norm): Use RADIXI instead of radixi.d.
12459 (denorm): Likewise.
12460 (__mul): Use 0.0 instead of zero.d.
12461
cdc1c96f
JM
124622013-01-04 Joseph Myers <joseph@codesourcery.com>
12463
12464 [BZ #14994]
12465 * math/s_casinh.c (__casinh): Reduce finite argument to first
12466 quadrant then set signs of results at the end.
12467 * math/s_casinhf.c (__casinhf): Likewise.
12468 * math/s_casinhl.c (__casinhl): Likewise.
12469 * math/libm-test.inc (casin_test): Add more tests.
12470 (casinh_test): Likewise.
12471 * sysdeps/i386/fpu/libm-test-ulps: Update.
12472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473
302913e1
SP
124742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12475
6420d207
SP
12476 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12477
a9e48ab4
SP
12478 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12479
b7837264
SP
12480 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12481 declarations.
12482 (denorm): Likewise.
12483 (__mp_dbl): Likewise.
12484 (__inv): Likewise.
12485
f8af25d2
SP
12486 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12487 and adjust the header comment.
12488
302913e1
SP
12489 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12490 variable name from declaration.
12491
5d7dd1ca
L
124922013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12495 Initialize COMMON_CPUID_INDEX_7 element.
12496 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12497 (CPUID_RTM): Likewise.
12498 (HAS_RTM): Likewise.
12499 (COMMON_CPUID_INDEX_7): New enum.
12500
2f5f40f4
AS
125012013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12502
12503 [BZ #14981]
12504 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12505 size is zero, record memory as freed.
12506
4056f4a0
AJ
125072013-01-03 Andreas Jaeger <aj@suse.de>
12508
12509 * po/ia.po: Add new Interlingua translation.
12510
ab15736f 125112012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12512
12513 * locale/programs/localedef.c: Fix description of '--posix' flag.
12514
568035b7
JM
125152013-01-02 Joseph Myers <joseph@codesourcery.com>
12516
e6898b8d
JM
12517 * NEWS: Update dates in second copyright notice.
12518 * README: Update copyright dates in example.
12519 * manual/libc.texinfo: Update copyright dates.
12520 * scripts/test-installation.pl: Update copyright date in --version
12521 output.
12522
0e2f9562
JM
12523 * hurd/ctty-input.c: Fix copyright notice formatting.
12524 * hurd/ctty-output.c: Likewise.
12525 * hurd/dtable.c: Likewise.
12526 * hurd/hurd-raise.c: Likewise.
12527 * hurd/hurdprio.c: Likewise.
12528 * hurd/msgportdemux.c: Likewise.
12529 * misc/sys/file.h: Likewise.
12530 * misc/sys/ioctl.h: Likewise.
12531 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12532 * sysdeps/mach/hurd/chdir.c: Likewise.
12533 * sysdeps/mach/hurd/fchdir.c: Likewise.
12534 * sysdeps/mach/hurd/rename.c: Likewise.
12535 * sysdeps/mach/hurd/rmdir.c: Likewise.
12536 * sysdeps/mach/hurd/seekdir.c: Likewise.
12537 * sysdeps/mach/hurd/setsid.c: Likewise.
12538 * sysdeps/posix/wait3.c: Likewise.
12539
568035b7
JM
12540 * All files with FSF copyright notices: Update copyright dates
12541 using scripts/update-copyrights.
12542 * intl/plural.c: Regenerated.
12543 * locale/programs/charmap-kw.h: Likewise.
12544 * locale/programs/locfile-kw.h: Likewise.
12545
da08f647
SP
125462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12547
0f5477af
SP
12548 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12549 four values.
12550
44e0d4c2
SP
12551 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12552 calculation loop and add branch prediction.
12553
4d55b4e5
SP
12554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12555 check access beyond bounds of m1np.
12556
da08f647
SP
12557 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12558 MPTWO.
12559 (__inv): Remove local variable MPTWO to use the global
12560 constant.
12561 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12562 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12563 variable MPTWO.
12564 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12565 MP3HALFS static const.
12566
8e051029
DM
125672013-01-01 David S. Miller <davem@davemloft.net>
12568
12569 * po/ca.po: Update from translation team.
12570
f4cf5f2d
JM
125712013-01-01 Joseph Myers <joseph@codesourcery.com>
12572
12573 * scripts/update-copyrights: New file.
12574 * Makeconfig: Reformat copyright notice.
12575 * ctype/ctype.h: Likewise.
12576 * debug/swprintf_chk.c: Likewise.
12577 * elf/dl-cache.c: Likewise.
12578 * elf/dl-debug.c: Likewise.
12579 * elf/dl-object.c: Likewise.
12580 * grp/initgroups.c: Likewise.
12581 * hurd/Makefile: Likewise.
12582 * hurd/hurd/signal.h: Likewise.
12583 * hurd/hurdfault.c: Likewise.
12584 * hurd/hurdioctl.c: Likewise.
12585 * hurd/hurdlookup.c: Likewise.
12586 * hurd/intr-msg.c: Likewise.
12587 * iconv/gconv_open.c: Likewise.
12588 * libio/swprintf.c: Likewise.
12589 * locale/lc-ctype.c: Likewise.
12590 * locale/nl_langinfo.c: Likewise.
12591 * mach/Machrules: Likewise.
12592 * mach/Makefile: Likewise.
12593 * malloc/obstack.h: Likewise.
12594 * manual/Makefile: Likewise.
12595 * manual/tsort.awk: Likewise.
12596 * misc/bits/stab.def: Likewise.
12597 * nis/nis_print_group_entry.c: Likewise.
12598 * nis/nis_table.c: Likewise.
12599 * nis/nss_compat/compat-pwd.c: Likewise.
12600 * nis/nss_compat/compat-spwd.c: Likewise.
12601 * po/Makefile: Likewise.
12602 * posix/fnmatch.c: Likewise.
12603 * posix/regex.h: Likewise.
12604 * resolv/Makefile: Likewise.
12605 * resolv/nss_dns/dns-network.c: Likewise.
12606 * resolv/res_hconf.c: Likewise.
12607 * scripts/gen-sorted.awk: Likewise.
12608 * soft-fp/soft-fp.h: Likewise.
12609 * stdio-common/printf.h: Likewise.
12610 * stdlib/monetary.h: Likewise.
12611 * stdlib/random.c: Likewise.
12612 * stdlib/random_r.c: Likewise.
12613 * sysdeps/generic/Makefile: Likewise.
12614 * sysdeps/gnu/Makefile: Likewise.
12615 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12643 * sysdeps/mach/hurd/errnos.awk: Likewise.
12644 * sysdeps/mach/hurd/fork.c: Likewise.
12645 * sysdeps/mach/hurd/getcwd.c: Likewise.
12646 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12647 * sysdeps/mach/hurd/mmap.c: Likewise.
12648 * sysdeps/mach/hurd/utimes.c: Likewise.
12649 * sysdeps/mach/hurd/xmknod.c: Likewise.
12650 * sysdeps/posix/profil.c: Likewise.
12651 * sysdeps/posix/readdir_r.c: Likewise.
12652 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12653 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12654 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12655 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12658 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12659 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12663 * sysdeps/pthread/lio_listio.c: Likewise.
12664 * sysdeps/sparc/dl-procinfo.h: Likewise.
12665 * sysdeps/unix/i386/sysdep.S: Likewise.
12666 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12667 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12668 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12669 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12671 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12672 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12673 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12674 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12675 * sysdeps/wordsize-32/divdi3.c: Likewise.
12676 * time/sys/time.h: Likewise.
12677 * wcsmbs/Makefile: Likewise.
12678
0549fbba
DM
126792013-01-01 David S. Miller <davem@davemloft.net>
12680
a141f1a7
DM
12681 * po/fr.po: Update from translation team.
12682
0549fbba
DM
12683 * catgets/gencat.c: Update copyright year.
12684 * csu/version.c: Likewise.
12685 * debug/catchsegv.sh: Likewise.
12686 * debug/pcprofiledump.c: Likewise.
12687 * debug/xtrace.sh: Likewise.
12688 * elf/ldconfig.c: Likewise.
12689 * elf/ldd.bash.in: Likewise.
12690 * elf/pldd.c: Likewise.
12691 * elf/sotruss.ksh: Likewise.
12692 * elf/sprof.c: Likewise.
12693 * iconv/iconv_prog.c: Likewise.
12694 * iconv/iconvconfig.c: Likewise.
12695 * locale/programs/locale.c: Likewise.
12696 * locale/programs/localedef.c: Likewise.
12697 * login/programs/pt_chown.c: Likewise.
12698 * malloc/memusage.sh: Likewise.
12699 * malloc/memusagestat.c: Likewise.
12700 * malloc/mtrace.pl: Likewise.
12701 * nscd/nscd.c: Likewise.
12702 * nss/getent.c: Likewise.
12703 * nss/makedb.c: Likewise.
12704 * posix/getconf.c: Likewise.
12705
18ea052c
SP
127062012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
12708 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12709 numbers.
12710
9c89fca6
MF
127112012-12-30 Mike Frysinger <vapier@gentoo.org>
12712
12713 * math/bits/mathcalls.h (modf): Use __nonnull.
12714
085ec079
SP
127152012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12716
12717 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12718 (split): Use macro CN instead of the bare value.
12719 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12720 could be used.
12721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12722 instead of the bare value.
12723 (power1): Likewise.
12724
6d9f97e1
SP
127252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12726
d63f73be
SP
12727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12728 __ATAN_TWOM.
12729 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12730
6d9f97e1
SP
12731 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12732 their values.
12733 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12735 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12736 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12737
4c4febf5
AJ
127382012-12-28 Andreas Jaeger <aj@suse.de>
12739
af5843ef
AJ
12740 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12741 values are from Linux 3.7.
12742
4c4febf5
AJ
12743 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12744 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12745
99136f82
SP
127462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12747
2f216c3c 12748 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12749 TRUE case.
12750
99136f82
SP
12751 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12752 (norm): Likewise.
12753 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12754 variables with preprocessor constants.
12755 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12756 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12757 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12758
7fffbdff
BH
127592012-12-27 Bruno Haible <bruno@clisp.org>
12760
12761 [BZ #14317]
12762 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12763 only if needed.
12764
b76eb5f0
SP
127652012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
31a7fe5c
SP
12767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12768 and use variable directly.
12769 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12770
b76eb5f0
SP
12771 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12772 MPONE.
12773 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12775 variable MPONE.
12776 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12778 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12779 include directive. Remove local variable MPONE.
12780 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12781 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12782 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12783
2c8bfe7d
DM
127842012-12-25 David S. Miller <davem@davemloft.net>
12785
12786 * version.h (RELEASE): Set to "development".
12787 (VERSION): Set to "2.17.90".
12788 * NEWS: Add 2.18 section.
12789
147d03b0
DM
127902012-12-21 David S. Miller <davem@davemloft.net>
12791
12792 * po/hr.po: Update from translation team.
12793
a8ebb2b9
AK
127942012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12795
12796 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12797
95b4f1b6
SE
127982012-12-19 Steve Ellcey <sellcey@mips.com>
12799
b2d94007 12800 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12801
cedb2a90
MS
128022012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12803
12804 * manual/contrib.texi (Contributors): Spelling correction.
12805
bbf527d6
DM
128062012-12-15 David S. Miller <davem@davemloft.net>
12807
12808 * po/ru.po: Update from translation team.
12809
bc38c906
DM
128102012-12-13 David S. Miller <davem@davemloft.net>
12811
85429b1a
DM
12812 * NEWS: Mention IFUNC testsuite enhancements.
12813
d283e353
DM
12814 * po/pl.po: Update from translation team.
12815 * po/bg.po: Likewise.
12816
bc38c906
DM
12817 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12818 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12819
a181b0d7
DM
128202012-12-11 David S. Miller <davem@davemloft.net>
12821
4641d57e
DM
12822 * po/sv.po: Update from translation team.
12823
f7bc6495
DM
12824 * po/vi.po: Update from translation team.
12825
6fc9048f
DM
12826 * po/cs.po: Update from translation team.
12827
a181b0d7
DM
12828 * po/de.po: Update from translation team.
12829 * po/eo.po: Likewise.
12830 * po/nl.po: Likewise.
12831
f70bfe80
SP
128322012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12833
3c8b4190
SP
12834 [BZ #14246]
12835 * manual/argp.texi (Argp Helper Functions): Move node to follow
12836 Argp Parsing State.
12837
f70bfe80
SP
12838 [BZ #14872]
12839 * manual/conf.texi (Limits on File System Capacity): Mention if
12840 terminating null is included in the max size.
12841
188f0adf
AJ
128422012-12-10 Andreas Jaeger <aj@suse.de>
12843
12844 * po/cs.po: Update from translation team.
12845
56e7d3ad
SP
128462012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12847
12848 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12849 void pointer and cast to uintptr_t.
12850 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12851 path.
12852 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12853 * sysdeps/s390/s390-64/memset.S: Likewise.
12854
76f2d2ea 128552012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12856
12857 [BZ #14833]
12858 * menual/message.texi (Message Translation): Fix typos.
12859 (Helper programs for gettext): Likewise.
12860
67cbf9a2
AS
128612012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12862
12863 [BZ #14898]
12864 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12865 Change to -1.
12866
682d0e9a
DM
128672012-12-07 David S. Miller <davem@davemloft.net>
12868
12869 * po/libc.pot: Update.
12870
573cd484
RH
128712012-12-07 Richard Henderson <rth@redhat.com>
12872
7e9da188 12873 [BZ #10114]
573cd484
RH
12874 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12875 normal/normal case to before the switch.
12876 (_FP_DIV): Likewise.
12877
e933a943
MF
128782012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12879 Mike Frysinger <vapier@gentoo.org>
12880
12881 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12882 check for __NR_fadvise64_64.
12883
82123268
CM
128842012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12885
12886 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12887 0, not just to plain "0" as a statement.
12888 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12889 with cw.
12890
d9814526
JM
128912012-12-06 Joseph Myers <joseph@codesourcery.com>
12892
12893 * NEWS: Use sourceware.org in Bugzilla URL.
12894
7728c574
SP
128952012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12896
f16946dd
SP
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12898 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12899
5704bbcb
SP
12900 * stdio-common/tst-put-error.c (do_test): Add newline to the
12901 padded test to ensure flush.
12902
17aa0516
JL
129032012-12-05 Jeff Law <law@redhat.com>
12904
12905 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12906
363313b5
JM
129072012-12-05 Joseph Myers <joseph@codesourcery.com>
12908
effbd42a
JM
12909 * README: Don't refer to ports add-on as distributed separately.
12910 Mention AArch64 in list of systems supported in the ports add-on.
12911
87600365
JM
12912 * LICENSES: Add more non-FSF copyright and license notices.
12913
a0d7066a
JM
12914 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12915 ((unused)).
12916
66ca5a5b
JM
12917 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12918
363313b5
JM
12919 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12920 10000 as width of padded output.
12921
b37984ad
JM
129222012-12-04 Joseph Myers <joseph@codesourcery.com>
12923
9003570a
JM
12924 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12925
b37984ad
JM
12926 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12927 variable LX with __attribute__ ((unused)).
12928 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12929 Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12933 with __attribute__ ((unused)).
12934
c8df52ec
DM
129352012-12-04 David S. Miller <davem@abraco.davemloft.net>
12936
12937 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12938
b3b099af
JM
129392012-12-04 Joseph Myers <joseph@codesourcery.com>
12940
c33aa6e3
JM
12941 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12942 (CFLAGS-nldbl-acos.c): New variable.
12943 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12944 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12945 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12946 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12947 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12948 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12949 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12950 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12951 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12952 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12953 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12954 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12955 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12956 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12957 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12958 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12959 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12960 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12961 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12962 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12963 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12964 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12965 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12966 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12967 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12968 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12969 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12970 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12971 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12972 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12973 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12974 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12975 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12976 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12977 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12978 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12979 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12980 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12981 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12982 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12983 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12984 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12985 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12986 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12987 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12988 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12989 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12990 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12991 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12992 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12993 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12994 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12995 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12996 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12997 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12998 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12999 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13000 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13001 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13002 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13003 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13004 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13005 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13006 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13007 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13008 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13009 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13010 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13011 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13012 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13013 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13014 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13015 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13016 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13017 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13018 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13019 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13020 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13021 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13022 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13023 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13024 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13025 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13026 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13027 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13028 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13029 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13030 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13031 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13032 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13033 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13034 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13035 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13036 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13037 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13038 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13039 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13040
20f0018d
JM
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13042 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13043
b3b099af
JM
13044 [BZ #14914]
13045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13046 whole low double instead of just low 47 bits when splitting values
13047 into two parts.
13048
029264d1
AM
130492012-12-03 Allan McRae <allan@archlinux.org>
13050
13051 * manual/stdio.texi (Predefined Printf Handlers): Remove
13052 @hsep and @vsep usage.
13053
c9d6789e
MF
130542012-12-03 Mike Frysinger <vapier@gentoo.org>
13055
13056 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13057 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13058
4b7634a5
JL
130592012-12-03 Jeff Law <law@redhat.com>
13060
13061 * time/sys/time.h (settimeofday): Do not mark TV argument
13062 as __nonnull.
13063
eb6cbd24
MF
130642012-12-01 Mike Frysinger <vapier@gentoo.org>
13065
13066 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13067 when currently writing and seek to current position when not.
13068 * libio/Makefile (tests): Remove bug-fclose1.
13069 * libio/bug-fclose1.c: Delete.
13070
f638872a
JM
130712012-12-01 Joseph Myers <joseph@codesourcery.com>
13072
13073 * manual/arith.texi (feenableexcept): Fix typo.
13074 (fedisableexcept): Likewise.
13075
48085d14
RM
130762012-11-30 Roland McGrath <roland@hack.frob.com>
13077
13078 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13079 second, differently-typed declaration, rather than a cast.
13080
1a538b9f
SP
130812012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13082
13083 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13084 * include/rpc/svc.h: ... here.
13085
d07f2ff1 130862012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13087
13088 [BZ #13013]
13089 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13090 depending n and resplen2 to catch cases where answer
13091 equals answerp2.
13092
c93ec1f0
CD
130932012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13094
13095 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13096 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13097
37db69de
MF
130982012-11-29 Mike Frysinger <vapier@gentoo.org>
13099
13100 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13101
e10c4e4f
RM
131022012-11-29 Roland McGrath <roland@hack.frob.com>
13103
13104 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13105
2af1b328
JL
131062012-11-28 Jeff Law <law@redhat.com>
13107
13108 [BZ #13761]
13109 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13110 dataset_temporary. Track alloca usage into alloca_used.
13111 If dataset is large allocate and release it via malloc/free.
13112
111db5b1
FW
131132012-06-04 Florian Weimer <fweimer@redhat.com>
13114
f06cc227 13115 [BZ #14197]
111db5b1
FW
13116 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13117
dd694abd
DM
131182012-11-28 David S. Miller <davem@davemloft.net>
13119
13120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13121
9984dd01
JM
131222012-11-28 Joseph Myers <joseph@codesourcery.com>
13123
13124 [BZ #14803]
13125 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13126 of pi/2 rounded to nearest to 64 bits.
13127 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13128 nearest to 64 bits.
13129 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13130 bits.
13131
14bc93a9
JL
131322012-11-28 Jeff Law <law@redhat.com>
13133 Martin Osvald <mosvald@redhat.com>
13134
13135 [BZ #14889]
13136 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13137 * sunrpc/svc.c: Include time.h.
13138 (__svc_accept_failed): New function.
13139 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13140 any reason other than EINTR, call __svc_accept_failed.
13141 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13142 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13143
e3c6aa3a
AS
131442012-11-28 Andreas Schwab <schwab@suse.de>
13145
13146 * scripts/abilist.awk: Also handle indirect functions in .opd
13147 section.
13148
1bead169
JM
131492012-11-28 Joseph Myers <joseph@codesourcery.com>
13150
13151 [BZ #13881]
13152 * sysdeps/x86/fpu/powl_helper.c: New file.
13153 * sysdeps/x86/fpu/Makefile: Likewise.
13154 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13155 (p3): New object.
13156 (__ieee754_powl): Use __powl_helper for finite arguments except
13157 integer exponents below 8.
13158 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13159 (p3): New object.
13160 (__ieee754_powl): Use __powl_helper for finite arguments except
13161 integer exponents below 8.
13162 * math/libm-test.inc (pow_test): Add more tests and enable some
13163 previously disabled tests.
13164 * sysdeps/i386/fpu/libm-test-ulps: Update.
13165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13166
0817d63d
SP
131672012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13168 Carlos O'Donell <carlos_odonell@mentor.com>
13169
13170 * nss/makedb.c (is_prime): Assert that input is odd and greater
13171 than 4. Note that fact in a comment too.
13172 (next_prime): Add 4 to input.
13173
de2fd463
SP
131742012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13175
13176 [BZ #11741]
13177 * libio/Makefile (tests): Add test case tst-fwrite-error.
13178 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13179 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13180 * libio/tst-fwrite-error.c: New test case.
13181
c515fb51
L
131822012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13183
13184 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13185 before casting to void *.
13186 * include/libc-internal.h (__pointer_type): New macro.
13187 (__integer_if_pointer_type_sub): Likewise.
13188 (__integer_if_pointer_type): Likewise.
13189 (cast_to_integer): Likewise.
13190 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13191 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13192 before casting to atomic64_t.
13193 (atomic_exchange_acq): Likewise.
13194 (__arch_exchange_and_add_body): Likewise.
13195 (__arch_add_body): Likewise.
13196 (atomic_add_negative): Likewise.
13197 (atomic_add_zero): Likewise.
13198
4cf77aa9
JM
131992012-11-26 Joseph Myers <joseph@codesourcery.com>
13200
13201 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13202 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13203 (add_fdes): Likewise.
13204 (linear_search_fdes): Likewise.
13205 (binary_search_unencoded_fdes): Likewise.
13206
d260b3b4
AS
132072012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13208
13209 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13210
67060746
AC
132112012-11-24 Adam Conrad <adconrad@0c3.net>
13212
13213 * configure.in: Autodetect C++ header directories.
13214 * configure: Regenerated.
13215
800938a1
MF
132162012-11-23 Mike Frysinger <vapier@gentoo.org>
13217
13218 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13219
4e6e34e6
AS
132202012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13221
13222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13223
7c7feb47
JM
132242012-11-22 Joseph Myers <joseph@codesourcery.com>
13225
7184dcdf
JM
13226 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13227 LDBL_MANT_DIG == 106]: Disable some tests.
13228 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13229 Likewise.
13230 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13231 Likewise.
13232
0a42601f
JM
13233 [BZ #14871]
13234 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13235 input for small inputs. Return +/- pi/2 for large inputs.
13236 * math/libm-test.inc (atan_test): Add more tests.
13237
79c9b9fe
JM
13238 * sysdeps/generic/unwind-dw2-fde-glibc.c
13239 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13240 __attribute__ ((unused)).
13241
c60d3bf2
JM
13242 [BZ #14645]
13243 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13244 x * y if x and y are nonzero and z is zero.
13245
ef1e0867
JM
13246 [BZ #14811]
13247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13248 nonzero exponents with absolute value below 0x1p-117 to +/-
13249 0x1p-117.
13250
1468ded3
JM
13251 [BZ #14869]
13252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13253 up arguments below 2**-450, not just those below 2**-500.
13254 * math/libm-test.inc (hypot_test): Add another test.
13255
8e27e3cc
JM
13256 [BZ #14868]
13257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13258 Return a+b for ratio over 2**120, not 2**60.
13259 * math/libm-test.inc (hypot_test): Add another test.
13260
c9c0279b
JM
13261 * math/libm-test.inc (clog_test): Use
13262 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13263 (clog10_test): Likewise.
13264
7c7feb47
JM
13265 [BZ #6778]
13266 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13267
fff1530e
AS
132682012-11-22 Andreas Schwab <schwab@suse.de>
13269
13270 * sysdeps/i386/fpu/libm-test-ulps: Update.
13271
94558d30
PT
132722012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13273
13274 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13275 printf output with newline.
13276
7e1be741
L
132772012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13278
6bfea974
L
13279 [BZ #14865]
13280 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13281 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13282 -z nodlopen, -z initfirst and -z execstack support.
13283 * configure: Regenerated.
13284
7e1be741
L
13285 * elf/elf.h (DF_1_NODIRECT): New macro.
13286 (DF_1_IGNMULDEF): Likewise.
13287 (DF_1_NOKSYMS): Likewise.
13288 (DF_1_NOHDR): Likewise.
13289 (DF_1_EDITED): Likewise.
13290 (DF_1_NORELOC): Likewise.
13291 (DF_1_SYMINTPOSE): Likewise.
13292 (DF_1_GLOBAUDIT): Likewise.
13293 (DF_1_SINGLETON): Likewise.
13294 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13295 DT_1_SUPPORTED_MASK bits.
13296 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13297
105ce2ce
CD
132982012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13299
13300 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13301
123be9de
TS
133022012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13303
d072f3f7
TS
13304 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13305 macro.
13306
123be9de
TS
13307 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13308 (sendmmsg): Move declarations...
13309 * socket/sys/socket.h: ... here.
13310 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13311 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13312 include it from...
13313 * socket/recvmmsg.c: ... this new file.
13314 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13315 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13316 definition of __sendmmsg hidden.
13317 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13318 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13319 Move ENOSYS stub into and include it from...
13320 * socket/sendmmsg.c: ... this new file.
13321 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13322 (sysdep_routines): Move recvmmsg and sendmmsg...
13323 * socket/Makefile (routines): ... here.
13324 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13325 (GLIBC_PRIVATE): Add __sendmmsg.
13326 * include/sys/socket.h (__sendmmsg): Add declarations.
13327 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13328 sendmmsg.
13329
cf9a5d18
JM
133302012-11-20 Joseph Myers <joseph@codesourcery.com>
13331
13332 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13333 variable I1 with __attribute__ ((unused)).
13334 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13335
ecd4caf9
JM
133362012-11-19 Joseph Myers <joseph@codesourcery.com>
13337
be14d48f
JM
13338 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13339 DUMMY variables with __attribute__ ((unused)).
13340
ecd4caf9
JM
13341 * bits/byteswap.h: Include <bits/types.h>.
13342 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13343
986cab95
PT
133442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13345
13346 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13347 string_t. Do not manually set errno.
13348 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13349 length with __strnlen. Make sure to both set errno and return it on
13350 failure.
13351
6d33cc9d
DM
133522012-11-19 David S. Miller <davem@davemloft.net>
13353
13354 With help from Joseph Myers.
13355 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13356 very large arguments properly.
13357 * math/libm-test.inc (atan_test): New tests.
13358 (atan2_test): New tests.
13359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13361
ee663277
JM
133622012-11-19 Joseph Myers <joseph@codesourcery.com>
13363
877f2d8e
JM
13364 [BZ #14856]
13365 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13366 Define to 3.
13367
116fc08a
JM
13368 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13369 [POSIX] (EADDRNOTAVAIL): Likewise.
13370 [POSIX] (EAFNOSUPPORT): Likewise.
13371 [POSIX] (EALREADY): Likewise.
13372 [POSIX] (ECONNABORTED): Likewise.
13373 [POSIX] (ECONNREFUSED): Likewise.
13374 [POSIX] (ECONNRESET): Likewise.
13375 [POSIX] (EDESTADDRREQ): Likewise.
13376 [POSIX] (EDQUOT): Likewise.
13377 [POSIX] (EHOSTUNREACH): Likewise.
13378 [POSIX] (EIDRM): Likewise.
13379 [POSIX] (EISCONN): Likewise.
13380 [POSIX] (ELOOP): Likewise.
13381 [POSIX] (EMULTIHOP): Likewise.
13382 [POSIX] (ENETDOWN): Likewise.
13383 [POSIX] (ENETUNREACH): Likewise.
13384 [POSIX] (ENOBUFS): Likewise.
13385 [POSIX] (ENODATA): Likewise.
13386 [POSIX] (ENOLINK): Likewise.
13387 [POSIX] (ENOMSG): Likewise.
13388 [POSIX] (ENOPROTOOPT): Likewise.
13389 [POSIX] (ENOSR): Likewise.
13390 [POSIX] (ENOSTR): Likewise.
13391 [POSIX] (ENOTCONN): Likewise.
13392 [POSIX] (ENOTSOCK): Likewise.
13393 [POSIX] (EOPNOTSUPP): Likewise.
13394 [POSIX] (EOVERFLOW): Likewise.
13395 [POSIX] (EPROTO): Likewise.
13396 [POSIX] (EPROTONOSUPPORT): Likewise.
13397 [POSIX] (EPROTOTYPE): Likewise.
13398 [POSIX] (ESTALE): Likewise.
13399 [POSIX] (ETIME): Likewise.
13400 [POSIX] (ETXTBSY): Likewise.
13401 [POSIX] (EWOULDBLOCK): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13403 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13404 [POSIX] (SEEK_CUR): Likewise.
13405 [POSIX] (SEEK_END): Likewise.
13406 [POSIX || UNIX98] (mode_t): Do not require.
13407 [POSIX] (off_t): Likewise.
13408 [POSIX] (pid_t): Likewise.
13409 [POSIX] (sys/stat.h): Do not allow header.
13410 [POSIX] (unistd.h): Likewise.
13411 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13412 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13413 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13414 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13415 require.
13416 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13417 sigevent): Specify elements.
13418 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13419 entry.
13420 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13421 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13422
a483863f
JM
13423 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13424 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13425 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13426 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13427 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13428 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13429 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13430 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13432 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13433 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13434 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13435 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13436 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13437 Likewise.
13438 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13439 Likewise.
13440 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13441 Likewise.
13442 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13443 Likewise.
13444 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13445 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13446 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13447 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13449 Specify lower bound on value.
13450 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13456 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13457 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13458 value.
13459 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13460 as optional.
13461 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13477 entry.
13478 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13479 optional.
13480 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13486 Likewise.
13487 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13492 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13493 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13494 as optional.
13495 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13499 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13500 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13501 specify as optional.
13502 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13505 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13506 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13507 [XPG3] (NL_LANGMAX): Likewise.
13508 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13509 [POSIX || XPG3] (NL_NMAX): Likewise.
13510 [POSIX || XPG3] (NL_SETMAX): Likewise.
13511 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13512 [XPG3] (NZERO): Likewise.
13513 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13514 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13515 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13516 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13517 (REG_ERANGE): Expect.
13518 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13519 optional-constant.
13520 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13521 Use (void) in prototype.
13522 [POSIX] (*_t): Allow.
13523 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13524 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13525 (WRDE_BADVAL): Expect.
13526
5ba924e3
JM
13527 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13528 expect.
13529 [XPG3 || XPG4] (O_RSYNC): Likewise.
13530 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13531 Likewise.
13532 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13533 [XPG3 || XPG4] (sigqueue): Likewise.
13534 [XPG3 || XPG4] (sigtimedwait): Likewise.
13535 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13536 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13537 [XPG3 || XPG4] (vsnprintf): Likewise.
13538 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13539 Likewise.
13540 [XPG3 || XPG4] (blksize_t): Likewise.
13541 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13542 Likewise.
13543 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13544 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13545 [XPG3 || XPG4] (struct itimerspec): Likewise.
13546 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13547 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13548 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13549 [XPG3 || XPG4] (clockid_t): Likewise.
13550 [XPG3 || XPG4] (timer_t): Likewise.
13551 [XPG3 || XPG4] (clock_getres): Likewise.
13552 [XPG3 || XPG4] (clock_gettime): Likewise.
13553 [XPG3 || XPG4] (clock_settime): Likewise.
13554 [XPG3 || XPG4] (nanosleep): Likewise.
13555 [XPG3 || XPG4] (timer_create): Likewise.
13556 [XPG3 || XPG4] (timer_delete): Likewise.
13557 [XPG3 || XPG4] (timer_gettime): Likewise.
13558 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13559 [XPG3 || XPG4] (timer_settime): Likewise.
13560 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13561 [XPG3 || XPG4] (getlogin_r): Likewise.
13562 [XPG3 || XPG4] (pread): Likewise.
13563 [XPG3 || XPG4] (pthread_atfork): Likewise.
13564 [XPG3 || XPG4] (pwrite): Likewise.
13565
ee663277
JM
13566 [BZ #14835]
13567 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13568 <bits/siginfo.h>.
13569
942caa16
PT
135702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13571
e19af380
PT
13572 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13573 finalizing MALLSTREAM.
13574
942caa16
PT
13575 * sysdeps/mach/hurd/syncfs.c: New file.
13576
cfde9b46
SP
135772012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13578
13579 [BZ #14719]
13580 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13581 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13582 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13583 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13584 (_nss_dns_gethostbyname4_r): Likewise.
13585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13586 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13587
f6da27e5
PH
135882012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13589
13590 [BZ #13763]
13591 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13592
6665d4a2
SM
135932012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13594
1f51ee92
SM
13595 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13596 * elf/cache.c (print_entry): Print ",AArch64" for
13597 FLAG_AARCH64_LIB64
13598
6665d4a2
SM
13599 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13600 * elf/cache.c (print_entry): Print ",hard-float" for
13601 FLAG_ARM_LIBHF.
13602
05b227bd
DM
136032012-11-18 David S. Miller <davem@davemloft.net>
13604
13605 With help from Joseph Myers.
13606 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13607 cutoff to 2**-13.
13608 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13609 cutoff to 2**-25.
13610 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13611 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13612 small.
13613 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13614 * math/libm-test.inc (y0_test): New tests.
13615 (y1_test): New tests.
13616 * sysdeps/i386/fpu/libm-test-ulps: Update.
13617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13619
786b0b67
AS
136202012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13621
13622 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13623 64-bit targets.
13624 * configure: Regenerated.
13625
8e18b86d
DM
136262012-11-17 David S. Miller <davem@davemloft.net>
13627
13628 [BZ #14811]
13629 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13630 nonzero exponents with absolute value below 0x1p-128 to +/-
13631 0x1p-128.
13632
531f1ae0
JM
136332012-11-17 Joseph Myers <joseph@codesourcery.com>
13634
12df29e2
JM
13635 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13636
150dc1a0
JM
13637 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13638
531f1ae0
JM
13639 * posix/getconf-speclist.c: New file.
13640 * posix/posix-envs.def: Likewise.
13641 * posix/confstr.c (START_ENV_GROUP): New macro.
13642 (END_ENV_GROUP): Likewise.
13643 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13644 (KNOWN_PRESENT_ENV_STRING): Likewise.
13645 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13646 (UNKNOWN_ENVIRONMENT): Likewise.
13647 (confstr): Include posix-envs.def instead of handling
13648 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13649 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13650 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13651 (END_ENV_GROUP): Likewise.
13652 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13653 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13654 (UNKNOWN_ENVIRONMENT): Likewise.
13655 (__sysconf): Include posix-envs.def instead of handling associated
13656 cases directly here.
13657 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13658 preprocessing getconf-speclist.c rather than running getconf or
13659 generating empty file.
13660
a93f9cbc
PT
136612012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13662
13663 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13664
d64d9f87
AL
136652012-11-16 Andrej Lajovic <natrij@gmail.com>
13666
13667 [BZ #14672]
13668 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13669
447885eb
DM
136702012-11-16 David S. Miller <davem@davemloft.net>
13671
13672 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13673 smaller than LDBL_EPSILON/2.0L, just return xm1.
13674
bcbf9830
L
136752012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * elf/tst-array1.c (init): Set constructor priority to 1000.
13678 (fini): Set destructor priority to 1000.
13679 * elf/tst-array2dep.c: Likewise.
13680
2b766585
SP
136812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13682
13683 [BZ #11741]
13684 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13685 (_IO_new_file_xsputn): Also return EOF if none of the input
13686 data was written when overflow failed.
13687 * libio/iopadn.c (_IO_padn): Likewise.
13688 * libio/iowpadn.c (_IO_wpadn): Likewise.
13689 * stdio-common/tst-put-error.c: Add copyright notice.
13690 (do_test): Add case for printing padded string.
13691 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13692 _IO_padn returned error.
13693 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13694 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13695 return EOF.
13696
b1848fde
SP
136972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * libio/libioP.h: Add comment note that the references to C++
13700 bits are now obsolete.
13701
2fd89785
MS
137022012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13703
13704 * math/libm-test.inc (check_complex): Use asprintf.
13705
e3ea5409
JM
137062012-11-14 Joseph Myers <joseph@codesourcery.com>
13707
13708 * debug/pcprofiledump.c (print_version): Update copyright year.
13709 * malloc/memusagestat.c (print_version): Likewise.
13710
2e64d265
L
137112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13712
13713 [BZ #14831]
13714 * elf/Makefile (tests): Add tst-audit8.
13715 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13716 ($(objpfx)tst-audit8.out): New target.
13717 (tst-audit8-ENV): New variable.
13718 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13719 audit if l_reloc_result is NULL.
13720 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13721 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13722 * elf/tst-audit8.c: New file.
13723
c485e4d2
MS
137242012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13725
13726 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13727 * misc/Makefile (CFLAGS-select.c): Define.
13728 * posix/Makefile (CFLAGS-pause.c): Define.
13729
3a0d900a
DM
137302012-11-13 David S. Miller <davem@davemloft.net>
13731
13732 * crypt/Makefile: Move test targets after toplevel Rules
13733 inclusion. Grab any necessary sysdep routines when linking.
13734 * crypt/md5.c (md5_process_block): Remove define, we will always
13735 name it __md5_process_block.
13736 (md5_finish_ctx): Update md5_process_block call.
13737 (md5_stream): Likewise.
13738 (md5_process_bytes): Likewise.
13739 (md5_process_block): Rename to __md5_process_block and move to ...
13740 * crypt/md5-block.c: ... here.
13741 * crypt/sha256.c (sha256_process_block): Move to ...
13742 * crypt/sha256-block.c: ... here.
13743 * crypt/sha512.c (sha512_process_block): Move to ...
13744 * crypt/sha512-block.c: ... here.
13745 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13746 path.
13747 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13748 * sysdeps/sparc/sparc64/multiarch/Makefile
13749 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13750 crypt subdir.
13751 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13752 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13753 multiarch changes.
13754 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13755 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13756 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13757 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13758 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13759 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13760 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13761 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13762 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13763 file.
13764 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13765 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13766 file.
13767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13768
8ca89318
JM
137692012-11-13 Joseph Myers <joseph@codesourcery.com>
13770
e27d476a
JM
13771 * timezone/tzselect.ksh: Update from tzcode git revision
13772 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13773 * timezone/zdump.c: Likewise.
13774 * timezone/zic.c: Likewise.
13775 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13776 in TZVERSION setting, not $(PKGVERSION).
13777 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13778 REPORT_BUGS_TO settings.
13779
8ca89318
JM
13780 [BZ #14838]
13781 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13782 macro.
13783
47594329
MS
137842012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13785
13786 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13787 detection to immediately after _FP_ROUND().
13788 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13789 bits are 0.
13790
640ac3f1
DM
137912012-11-11 David S. Miller <davem@davemloft.net>
13792
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13794 inttypes.h
13795 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13796 __close rather than their public counterparts.
13797
3d2577bb
JM
137982012-11-10 Joseph Myers <joseph@codesourcery.com>
13799
13800 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13801 file.
13802 [UNIX98] (sem_timedwait): Do not expect.
13803 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13804 [XPG4 || UNIX98] (sockatmark): Do not expect.
13805 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13806 (clock_getcpuclockid): Do not expect.
13807 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13808 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13809 Do not expect.
13810 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13811 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13812 [UNIX98] (vwscanf): Likewise.
13813 [UNIX98] (vswscanf): Likewise.
13814
fb1ae1ee
JM
138152012-11-09 Joseph Myers <joseph@codesourcery.com>
13816
9ec6f8bd
JM
13817 * timezone/version.h: Remove file.
13818 * timezone/README: Do not refer to version.h.
13819 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13820 $(objpfx)version.h.
13821 ($(objpfx)zdump.o): Likewise.
c3f81911 13822 ($(objpfx)version.h): New target.
9ec6f8bd 13823
0aa8f8a1
JM
13824 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13825 2012i.
13826 * timezone/README: Don't mention modification to tzselect.ksh.
13827 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13828 work on unmodified tzselect.ksh. Substitute version numbers in
13829 tzselect.ksh.
13830
4e87147f
JM
13831 * Makefile (format-me): Remove.
13832 (INSTALL): Adjust indentation. Use commands directly instead of
13833 using $(format-me).
13834
8b748aed
JM
13835 * aclocal.m4 (ACX_PKGVERSION): New macro.
13836 (ACX_BUGURL): Likewise.
13837 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13838 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13839 (REPORT_BUGS_TO): Likewise.
13840 * configure: Regenerated.
13841 * config.h.in (PKGVERSION): New macro.
13842 (REPORT_BUGS_TO): Likewise.
13843 * config.make.in (PKGVERSION): New variable.
13844 (PKGVERSION_TEXI): Likewise.
13845 (REPORT_BUGS_TO): Likewise.
13846 (REPORT_BUGS_TEXI): Likewise.
13847 * Makefile (format-me): Use -I$(common-objpfx)manual.
13848 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13849 ($(common-objpfx)manual/%): New target.
13850 (manual/%): Remove target.
13851 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13852 (print_version): Use PKGVERSION.
13853 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13854 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13855 and REPORT_BUGS_TO.
13856 ($(objpfx)xtrace): Likewise.
13857 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13858 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13859 (print_version): Use PKGVERSION.
13860 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13861 (do_version): Use PKGVERSION.
13862 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13863 REPORT_BUGS_TO.
13864 (common-ldd-rewrite): Likewise.
13865 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13866 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13867 (print_version): Use PKGVERSION.
13868 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13869 * elf/pldd.c (argp_program_bug_address): Remove variable.
13870 (more_help): New function.
13871 (argp): Use more_help.
13872 (print_version): Use PKGVERSION.
13873 * elf/sln.c (main): Use PKGVERSION.
13874 (usage): Use REPORT_BUGS_TO.
13875 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13876 (top level): Use PKGVERSION.
13877 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13878 (print_version): Use PKGVERSION.
13879 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13880 (print_version): Use PKGVERSION.
13881 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13882 (print_version): Use PKGVERSION.
13883 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13884 (print_version): Use PKGVERSION.
13885 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13886 (print_version): Use PKGVERSION.
13887 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13888 (print_version): Use PKGVERSION.
13889 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13890 and BUGURL.
13891 ($(objpfx)memusage): Likewise.
13892 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13893 (do_version): Use PKGVERSION.
13894 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13895 (print_version): Use PKGVERSION.
13896 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13897 ($PKGVERSION): New variable.
13898 ($REPORT_BUGS_TO): Likewise.
13899 (usage): Use $REPORT_BUGS_TO.
13900 (top level): Use $PKGVERSION.
13901 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13902 ($(objpfx)pkgvers.texi): New rule.
13903 ($(objpfx)stamp-pkgvers): Likewise.
13904 * manual/install.texi: Include pkgvers.texi.
13905 (--with-pkgversion): Document new configure option.
13906 (--with-bugurl): Likewise.
13907 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13908 than necessarily for this particular distribution. Use
13909 REPORT_BUGS_TO for where to report bugs.
13910 * INSTALL: Regenerated.
13911 * manual/libc.texinfo: Include pkgvers.texi.
13912 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13913 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13914 (print_version): Use PKGVERSION.
13915 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13916 (print_version): Use PKGVERSION.
13917 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13918 (print_version): Use PKGVERSION.
13919 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13920 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13921 macro.
13922 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13923 (print_version): Use PKGVERSION.
13924 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13925 (print_version): Use PKGVERSION.
13926 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13927 and PKGVERSION.
13928
92e4b6a9
JM
13929 * timezone/checktab.awk: Update from tzcode 2012i.
13930 * timezone/ialloc.c: Likewise.
13931 * timezone/private.h: Likewise.
13932 * timezone/scheck.c: Likewise.
13933 * timezone/tzfile.h: Likewise.
13934 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13935 (TZVERSION): Hardcode tzcode version number.
13936 * timezone/zdump.c: Update from tzcode 2012i.
13937 * timezone/zic.c: Likewise.
13938 * timezone/version.h: New file.
13939 * timezone/README: Describe version.h. Update upstream location.
13940
9bde902c
JM
13941 [BZ #14824]
13942 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13943 (mktemp): Enable declaration.
13944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13948 Likewise.
13949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13950 Likewise.
13951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13952 Likewise.
13953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13954 Likewise.
13955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13956 Likewise.
13957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13958 Likewise.
13959
fb1ae1ee
JM
13960 [BZ #14821]
13961 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13962 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13963 for copies of such integer values.
13964 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13965 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13966
2c1adbcb
AJ
139672012-11-09 Andreas Jaeger <aj@suse.de>
13968
13969 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13970 definitions and declarations that are provided by
13971 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13972
d0f8457e
AK
139732012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13974
3a235abb 13975 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13976 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13977 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13978 definition.
13979
57241e26
MS
139802012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13981
13982 * elf/elf.h: Update comment before AArch64 relocations.
13983
60e8270d
DM
139842012-11-07 David S. Miller <davem@davemloft.net>
13985
13986 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13987 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13988 (__start_context): Declare.
13989 (__makecontext_ret): Delete.
13990 (__makecontext): Hook up __start_context instead of
13991 __makecontext_ret.
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13993 (sysdep_routines): Add __start_context when in stdlib.
13994
0fbb0fbc
JM
139952012-11-07 Joseph Myers <joseph@codesourcery.com>
13996
13997 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13998 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13999 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14000 hardcoded "nm".
14001 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14002 (READELF): New variable. Use it instead of hardcoded "readelf".
14003
eb48db7e
L
140042012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14007 * sysdeps/x86/Makefile: Here.
14008 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14009 * sysdeps/x86/tst-xmmymm.sh: This.
14010
05bcf62a
JM
140112012-11-07 Joseph Myers <joseph@codesourcery.com>
14012
c4b6cf53
JM
14013 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14014 expectations.
14015 [UNIX98] (pthread_barrier_t): Do not expect.
14016 [UNIX98] (pthread_barrierattr_t): Likewise.
14017 [UNIX98] (pthread_spinlock_t): Likewise.
14018 [UNIX98] (pthread_barrier_destroy): Likewise.
14019 [UNIX98] (pthread_barrier_init): Likewise.
14020 [UNIX98] (pthread_barrier_wait): Likewise.
14021 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14022 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14023 [UNIX98] (pthread_barrierattr_init): Likewise.
14024 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14025 [UNIX98] (pthread_getcpuclockid): Likewise.
14026 [UNIX98] (pthread_mutex_timedlock): Likewise.
14027 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14028 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14029 [UNIX98] (pthread_sigmask): Likewise.
14030 [UNIX98] (pthread_spin_destroy): Likewise.
14031 [UNIX98] (pthread_spin_init): Likewise.
14032 [UNIX98] (pthread_spin_lock): Likewise.
14033 [UNIX98] (pthread_spin_trylock): Likewise.
14034 [UNIX98] (pthread_spin_unlock): Likewise.
14035 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14036 Do not expect.
14037 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14039 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14040 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14041 [XPG3 || XPG4] (pthread_key_t): Likewise.
14042 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14043 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14044 [XPG3 || XPG4] (pthread_once_t): Likewise.
14045 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14046 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14047 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14048 [XPG3 || XPG4] (pthread_t): Likewise.
14049
cbe6e120
JM
14050 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14051 not expect.
14052 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14053
1b126443
JM
14054 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14055 Change function return type to int.
14056
b961a573
JM
14057 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14058 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14059 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14060 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14061 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14062 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14063 [!POSIX] (posix_madvise): Likewise.
14064 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14065 && !UNIX98].
14066 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14067 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14068 (mode_t): Likewise.
14069 (posix_mem_offset): Likewise.
14070 (posix_typed_mem_get_info): Likewise.
14071 (posix_typed_mem_open): Likewise.
14072
9e188909
JM
14073 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14074 Change condition to [XOPEN2K8].
14075
05bcf62a
JM
14076 * conform/conformtest.pl: Preprocess allow-header data with -x c
14077 instead of from stdin.
14078 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14079 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14080 [C99-based standards] (cerfc): Likewise.
14081 [C99-based standards] (cexp2): Likewise.
14082 [C99-based standards] (cexpm1): Likewise.
14083 [C99-based standards] (clog10): Likewise.
14084 [C99-based standards] (clog1p): Likewise.
14085 [C99-based standards] (clog2): Likewise.
14086 [C99-based standards] (clgamma): Likewise.
14087 [C99-based standards] (ctgamma): Likewise.
14088 [C99-based standards] (cerff): Likewise.
14089 [C99-based standards] (cerfcf): Likewise.
14090 [C99-based standards] (cexp2f): Likewise.
14091 [C99-based standards] (cexpm1f): Likewise.
14092 [C99-based standards] (clog10f): Likewise.
14093 [C99-based standards] (clog1pf): Likewise.
14094 [C99-based standards] (clog2f): Likewise.
14095 [C99-based standards] (clgammaf): Likewise.
14096 [C99-based standards] (ctgammaf): Likewise.
14097 [C99-based standards] (cerfl): Likewise.
14098 [C99-based standards] (cerfcl): Likewise.
14099 [C99-based standards] (cexp2l): Likewise.
14100 [C99-based standards] (cexpm1l): Likewise.
14101 [C99-based standards] (clog10l): Likewise.
14102 [C99-based standards] (clog1pl): Likewise.
14103 [C99-based standards] (clog2l): Likewise.
14104 [C99-based standards] (clgammal): Likewise.
14105 [C99-based standards] (ctgammal): Likewise.
14106 * conform/data/inttypes.h-data [C99-based standards]: Include
14107 stdint.h-data. Remove all expectations for stdint.h contents.
14108 [C99-based standards] (PRI*): Do not allow.
14109 [C99-based standards] (SCN*): Likewise.
14110 [C99-based standards] (*_t): Likewise.
14111 [C99-based-standards] (PRId8): Expect macro.
14112 [C99-based-standards] (PRIi8): Likewise.
14113 [C99-based-standards] (PRIo8): Likewise.
14114 [C99-based-standards] (PRIu8): Likewise.
14115 [C99-based-standards] (PRIx8): Likewise.
14116 [C99-based-standards] (PRIX8): Likewise.
14117 [C99-based-standards] (SCNd8): Likewise.
14118 [C99-based-standards] (SCNi8): Likewise.
14119 [C99-based-standards] (SCNo8): Likewise.
14120 [C99-based-standards] (SCNu8): Likewise.
14121 [C99-based-standards] (SCNx8): Likewise.
14122 [C99-based-standards] (PRIdLEAST8): Likewise.
14123 [C99-based-standards] (PRIiLEAST8): Likewise.
14124 [C99-based-standards] (PRIoLEAST8): Likewise.
14125 [C99-based-standards] (PRIuLEAST8): Likewise.
14126 [C99-based-standards] (PRIxLEAST8): Likewise.
14127 [C99-based-standards] (PRIXLEAST8): Likewise.
14128 [C99-based-standards] (SCNdLEAST8): Likewise.
14129 [C99-based-standards] (SCNiLEAST8): Likewise.
14130 [C99-based-standards] (SCNoLEAST8): Likewise.
14131 [C99-based-standards] (SCNuLEAST8): Likewise.
14132 [C99-based-standards] (SCNxLEAST8): Likewise.
14133 [C99-based-standards] (PRIdFAST8): Likewise.
14134 [C99-based-standards] (PRIiFAST8): Likewise.
14135 [C99-based-standards] (PRIoFAST8): Likewise.
14136 [C99-based-standards] (PRIuFAST8): Likewise.
14137 [C99-based-standards] (PRIxFAST8): Likewise.
14138 [C99-based-standards] (PRIXFAST8): Likewise.
14139 [C99-based-standards] (SCNdFAST8): Likewise.
14140 [C99-based-standards] (SCNiFAST8): Likewise.
14141 [C99-based-standards] (SCNoFAST8): Likewise.
14142 [C99-based-standards] (SCNuFAST8): Likewise.
14143 [C99-based-standards] (SCNxFAST8): Likewise.
14144 [C99-based-standards] (PRId16): Likewise.
14145 [C99-based-standards] (PRIi16): Likewise.
14146 [C99-based-standards] (PRIo16): Likewise.
14147 [C99-based-standards] (PRIu16): Likewise.
14148 [C99-based-standards] (PRIx16): Likewise.
14149 [C99-based-standards] (PRIX16): Likewise.
14150 [C99-based-standards] (SCNd16): Likewise.
14151 [C99-based-standards] (SCNi16): Likewise.
14152 [C99-based-standards] (SCNo16): Likewise.
14153 [C99-based-standards] (SCNu16): Likewise.
14154 [C99-based-standards] (SCNx16): Likewise.
14155 [C99-based-standards] (PRIdLEAST16): Likewise.
14156 [C99-based-standards] (PRIiLEAST16): Likewise.
14157 [C99-based-standards] (PRIoLEAST16): Likewise.
14158 [C99-based-standards] (PRIuLEAST16): Likewise.
14159 [C99-based-standards] (PRIxLEAST16): Likewise.
14160 [C99-based-standards] (PRIXLEAST16): Likewise.
14161 [C99-based-standards] (SCNdLEAST16): Likewise.
14162 [C99-based-standards] (SCNiLEAST16): Likewise.
14163 [C99-based-standards] (SCNoLEAST16): Likewise.
14164 [C99-based-standards] (SCNuLEAST16): Likewise.
14165 [C99-based-standards] (SCNxLEAST16): Likewise.
14166 [C99-based-standards] (PRIdFAST16): Likewise.
14167 [C99-based-standards] (PRIiFAST16): Likewise.
14168 [C99-based-standards] (PRIoFAST16): Likewise.
14169 [C99-based-standards] (PRIuFAST16): Likewise.
14170 [C99-based-standards] (PRIxFAST16): Likewise.
14171 [C99-based-standards] (PRIXFAST16): Likewise.
14172 [C99-based-standards] (SCNdFAST16): Likewise.
14173 [C99-based-standards] (SCNiFAST16): Likewise.
14174 [C99-based-standards] (SCNoFAST16): Likewise.
14175 [C99-based-standards] (SCNuFAST16): Likewise.
14176 [C99-based-standards] (SCNxFAST16): Likewise.
14177 [C99-based-standards] (PRId32): Likewise.
14178 [C99-based-standards] (PRIi32): Likewise.
14179 [C99-based-standards] (PRIo32): Likewise.
14180 [C99-based-standards] (PRIu32): Likewise.
14181 [C99-based-standards] (PRIx32): Likewise.
14182 [C99-based-standards] (PRIX32): Likewise.
14183 [C99-based-standards] (SCNd32): Likewise.
14184 [C99-based-standards] (SCNi32): Likewise.
14185 [C99-based-standards] (SCNo32): Likewise.
14186 [C99-based-standards] (SCNu32): Likewise.
14187 [C99-based-standards] (SCNx32): Likewise.
14188 [C99-based-standards] (PRIdLEAST32): Likewise.
14189 [C99-based-standards] (PRIiLEAST32): Likewise.
14190 [C99-based-standards] (PRIoLEAST32): Likewise.
14191 [C99-based-standards] (PRIuLEAST32): Likewise.
14192 [C99-based-standards] (PRIxLEAST32): Likewise.
14193 [C99-based-standards] (PRIXLEAST32): Likewise.
14194 [C99-based-standards] (SCNdLEAST32): Likewise.
14195 [C99-based-standards] (SCNiLEAST32): Likewise.
14196 [C99-based-standards] (SCNoLEAST32): Likewise.
14197 [C99-based-standards] (SCNuLEAST32): Likewise.
14198 [C99-based-standards] (SCNxLEAST32): Likewise.
14199 [C99-based-standards] (PRIdFAST32): Likewise.
14200 [C99-based-standards] (PRIiFAST32): Likewise.
14201 [C99-based-standards] (PRIoFAST32): Likewise.
14202 [C99-based-standards] (PRIuFAST32): Likewise.
14203 [C99-based-standards] (PRIxFAST32): Likewise.
14204 [C99-based-standards] (PRIXFAST32): Likewise.
14205 [C99-based-standards] (SCNdFAST32): Likewise.
14206 [C99-based-standards] (SCNiFAST32): Likewise.
14207 [C99-based-standards] (SCNoFAST32): Likewise.
14208 [C99-based-standards] (SCNuFAST32): Likewise.
14209 [C99-based-standards] (SCNxFAST32): Likewise.
14210 [C99-based-standards] (PRId64): Likewise.
14211 [C99-based-standards] (PRIi64): Likewise.
14212 [C99-based-standards] (PRIo64): Likewise.
14213 [C99-based-standards] (PRIu64): Likewise.
14214 [C99-based-standards] (PRIx64): Likewise.
14215 [C99-based-standards] (PRIX64): Likewise.
14216 [C99-based-standards] (SCNd64): Likewise.
14217 [C99-based-standards] (SCNi64): Likewise.
14218 [C99-based-standards] (SCNo64): Likewise.
14219 [C99-based-standards] (SCNu64): Likewise.
14220 [C99-based-standards] (SCNx64): Likewise.
14221 [C99-based-standards] (PRIdLEAST64): Likewise.
14222 [C99-based-standards] (PRIiLEAST64): Likewise.
14223 [C99-based-standards] (PRIoLEAST64): Likewise.
14224 [C99-based-standards] (PRIuLEAST64): Likewise.
14225 [C99-based-standards] (PRIxLEAST64): Likewise.
14226 [C99-based-standards] (PRIXLEAST64): Likewise.
14227 [C99-based-standards] (SCNdLEAST64): Likewise.
14228 [C99-based-standards] (SCNiLEAST64): Likewise.
14229 [C99-based-standards] (SCNoLEAST64): Likewise.
14230 [C99-based-standards] (SCNuLEAST64): Likewise.
14231 [C99-based-standards] (SCNxLEAST64): Likewise.
14232 [C99-based-standards] (PRIdFAST64): Likewise.
14233 [C99-based-standards] (PRIiFAST64): Likewise.
14234 [C99-based-standards] (PRIoFAST64): Likewise.
14235 [C99-based-standards] (PRIuFAST64): Likewise.
14236 [C99-based-standards] (PRIxFAST64): Likewise.
14237 [C99-based-standards] (PRIXFAST64): Likewise.
14238 [C99-based-standards] (SCNdFAST64): Likewise.
14239 [C99-based-standards] (SCNiFAST64): Likewise.
14240 [C99-based-standards] (SCNoFAST64): Likewise.
14241 [C99-based-standards] (SCNuFAST64): Likewise.
14242 [C99-based-standards] (SCNxFAST64): Likewise.
14243 [C99-based-standards] (PRIdMAX): Likewise.
14244 [C99-based-standards] (PRIiMAX): Likewise.
14245 [C99-based-standards] (PRIoMAX): Likewise.
14246 [C99-based-standards] (PRIuMAX): Likewise.
14247 [C99-based-standards] (PRIxMAX): Likewise.
14248 [C99-based-standards] (PRIXMAX): Likewise.
14249 [C99-based-standards] (SCNdMAX): Likewise.
14250 [C99-based-standards] (SCNiMAX): Likewise.
14251 [C99-based-standards] (SCNoMAX): Likewise.
14252 [C99-based-standards] (SCNuMAX): Likewise.
14253 [C99-based-standards] (SCNxMAX): Likewise.
14254 [C99-based-standards] (PRIdPTR): Likewise.
14255 [C99-based-standards] (PRIiPTR): Likewise.
14256 [C99-based-standards] (PRIoPTR): Likewise.
14257 [C99-based-standards] (PRIuPTR): Likewise.
14258 [C99-based-standards] (PRIxPTR): Likewise.
14259 [C99-based-standards] (PRIXPTR): Likewise.
14260 [C99-based-standards] (SCNdPTR): Likewise.
14261 [C99-based-standards] (SCNiPTR): Likewise.
14262 [C99-based-standards] (SCNoPTR): Likewise.
14263 [C99-based-standards] (SCNuPTR): Likewise.
14264 [C99-based-standards] (SCNxPTR): Likewise.
14265 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14266 allow.
14267 * conform/data/stdint.h-data: Update comments to clarify
14268 requirements.
14269 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14270 type.
14271 [C99-based standards] (INT8_MAX): Likewise.
14272 [C99-based standards] (INT16_MIN): Likewise.
14273 [C99-based standards] (INT16_MAX): Likewise.
14274 [C99-based standards] (INT32_MIN): Likewise.
14275 [C99-based standards] (INT32_MAX): Likewise.
14276 [C99-based standards] (INT64_MIN): Likewise.
14277 [C99-based standards] (INT64_MAX): Likewise.
14278 [C99-based standards] (UINT8_MAX): Likewise.
14279 [C99-based standards] (UINT16_MAX): Likewise.
14280 [C99-based standards] (UINT32_MAX): Likewise.
14281 [C99-based standards] (UINT64_MAX): Likewise.
14282 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14283 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14284 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14285 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14286 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14287 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14288 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14289 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14290 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14291 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14292 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14293 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14294 [C99-based standards] (INT_FAST8_MIN): Likewise.
14295 [C99-based standards] (INT_FAST8_MAX): Likewise.
14296 [C99-based standards] (INT_FAST16_MIN): Likewise.
14297 [C99-based standards] (INT_FAST16_MAX): Likewise.
14298 [C99-based standards] (INT_FAST32_MIN): Likewise.
14299 [C99-based standards] (INT_FAST32_MAX): Likewise.
14300 [C99-based standards] (INT_FAST64_MIN): Likewise.
14301 [C99-based standards] (INT_FAST64_MAX): Likewise.
14302 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14303 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14304 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14305 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14306 [C99-based standards] (INTPTR_MIN): Likewise.
14307 [C99-based standards] (INTPTR_MAX): Likewise.
14308 [C99-based standards] (UINTPTR_MAX): Likewise.
14309 [C99-based standards] (INTMAX_MIN): Likewise.
14310 [C99-based standards] (INTMAX_MAX): Likewise.
14311 [C99-based standards] (UINTMAX_MAX): Likewise.
14312 [C99-based standards] (PTRDIFF_MIN): Likewise.
14313 [C99-based standards] (PTRDIFF_MAX): Likewise.
14314 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14315 [C99-based standards] (SIZE_MAX): Likewise.
14316 [C99-based standards] (WCHAR_MAX): Likewise.
14317 [C99-based standards] (WINT_MAX): Likewise.
14318 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14319 constraint on value.
14320 [C99-based standards] (WCHAR_MIN): Likewise.
14321 [C99-based standards] (WINT_MIN): Likewise.
14322 [C99-based standards] (*_t): Allow.
14323 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14324 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14325 Include math.h-data and complex.h-data. Remove all expectations
14326 of math.h and complex.h contents.
14327 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14328 at end of line.
14329 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14330 (struct tm): Expect tag.
14331 [C99-based-standards] (wcstof): Expect function.
14332 [C99-based-standards] (wcstold): Likewise.
14333 [C99-based-standards] (wcstoll): Likewise.
14334 [C99-based-standards] (wcstoull): Likewise.
14335 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14336 macro-int-constant. Specify type.
14337 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14338 constraint on value.
14339 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14340 Specify type.
14341 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14342 Specify value.
14343 [ISO C standards]: Do not allow headers.
14344 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14345 wcs[abcdefghijklmnopqrstuvwxyz]*.
14346 [ISO C standards] (*_t): Do not allow.
14347 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14348 Expect function.
14349 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14350 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14351 Specify type.
14352 [ISO C standards]: Do not allow headers.
14353 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14354 is[abcdefghijklmnopqrstuvwxyz]*.
14355 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14356 to[abcdefghijklmnopqrstuvwxyz]*.
14357 [ISO C standards] (*_t): Do not allow.
14358 * conform/data/stdalign.h-data: New file.
14359 * conform/data/stdbool.h-data: Likewise.
14360 * conform/data/stdnoreturn.h-data: Likewise.
14361
7514feb8
RM
143622012-11-07 Roland McGrath <roland@hack.frob.com>
14363
14364 [BZ #14815]
14365 * manual/filesys.texi (Directory Entries): Typo fix.
14366 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14367
19b2ecfc
MS
143682012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14369
14370 * elf/elf.h (EM_AARCH64): New macro.
14371 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14372 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14373 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14374 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14375 (R_AARCH64_TLSDESC): Likewise.
14376 (NT_ARM_TLS): Likewise.
14377 (NT_ARM_HW_BREAK): Likewise.
14378 (NT_ARM_HW_WATCH): Likewise.
14379
60e235ee
JM
143802012-11-07 Joseph Myers <joseph@codesourcery.com>
14381
14382 [BZ #14811]
14383 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14384 (__ieee754_powl): Saturate nonzero exponents with absolute value
14385 below 0x1p-79 to +/- 0x1p-79.
14386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14387 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14388 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14389 nonzero exponents with absolute value below 0x1p-32 to +/-
14390 0x1p-32.
14391 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14392 (__ieee754_powl): Saturate nonzero exponents with absolute value
14393 below 0x1p-79 to +/- 0x1p-79.
14394 * math/libm-test.inc (pow_test): Add more tests.
14395
0ab234b7
AK
143962012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14397
14398 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14399 _dl_s390_cap_flags with kernel. Increase string length.
14400 (_dl_s390_platforms): Add z196 and zEC12.
14401
45832f74
JM
144022012-11-07 Joseph Myers <joseph@codesourcery.com>
14403
14404 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14405 Change XOPEN21K to XOPEN2K.
14406
19218757
MK
144072012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14408
14409 * string/memmove.c: Use memcpy when possible.
14410
c5f45721
AJ
144112012-11-06 Andreas Jaeger <aj@suse.de>
14412
14413 * po/eo.po: Update from translation team.
14414
82477c28
JM
144152012-11-06 Joseph Myers <joseph@codesourcery.com>
14416
14417 [BZ #14793]
14418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14419 exponent and small x and y exponents, scale x or y up. Increase
14420 by 2 the exponent used in scaling up.
14421 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14423 * math/libm-test.inc (fma_test): Add more tests.
14424 (fma_test_towardzero): Likewise.
14425 (fma_test_downward): Likewise.
14426 (fma_test_upward): Likewise.
14427
99252c8c
JM
144282012-11-05 Joseph Myers <joseph@codesourcery.com>
14429
acfa885f
JM
14430 [BZ #14805]
14431 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14432 fenv_t *.
14433
99252c8c
JM
14434 [BZ #14801]
14435 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14436 namespace for names of struct fields.
14437 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14438 fenv_t fields.
14439 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14440 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14441
d6d98dea
ST
144422012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14443
14444 [BZ #3665]
14445 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14446
e10bb107
TS
144472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14448
14449 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14450 PTR_DEMANGLE.
14451
14452 [BZ #5246]
14453 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14454 PTR_DEMANGLE.
14455
a0c2940d
JM
144562012-11-04 Joseph Myers <joseph@codesourcery.com>
14457
14458 [BZ #14797]
14459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14460 definitely overflow as x * y not x * y + z.
14461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14463 * math/libm-test.inc (fma_test): Add more tests.
14464 (fma_test_towardzero): Likewise.
14465 (fma_test_downward): Likewise.
14466 (fma_test_upward): Likewise.
14467
b830319d
TS
144682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14469
14470 [BZ #157]
14471
14472 * include/stub-tag.h: Remove file.
14473 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14474 '#include' of it.
14475 * manual/maint.texi (Porting): Don't reference it.
14476 * Makerules ($(objpfx)stubs): Likewise.
14477 * dirent/closedir.c: Don't include <stub-tag.h>.
14478 * dirent/dirfd.c: Likewise.
14479 * dirent/fdopendir.c: Likewise.
14480 * dirent/getdents.c: Likewise.
14481 * dirent/getdents64.c: Likewise.
14482 * dirent/opendir.c: Likewise.
14483 * dirent/readdir.c: Likewise.
14484 * dirent/readdir64.c: Likewise.
14485 * dirent/readdir64_r.c: Likewise.
14486 * dirent/readdir_r.c: Likewise.
14487 * dirent/rewinddir.c: Likewise.
14488 * dirent/seekdir.c: Likewise.
14489 * dirent/telldir.c: Likewise.
14490 * gmon/profil.c: Likewise.
14491 * grp/setgroups.c: Likewise.
14492 * inet/if_index.c: Likewise.
14493 * io/access.c: Likewise.
14494 * io/chdir.c: Likewise.
14495 * io/chmod.c: Likewise.
14496 * io/chown.c: Likewise.
14497 * io/close.c: Likewise.
14498 * io/dup.c: Likewise.
14499 * io/dup2.c: Likewise.
14500 * io/dup3.c: Likewise.
14501 * io/euidaccess.c: Likewise.
14502 * io/faccessat.c: Likewise.
14503 * io/fchdir.c: Likewise.
14504 * io/fchmod.c: Likewise.
14505 * io/fchmodat.c: Likewise.
14506 * io/fchown.c: Likewise.
14507 * io/fchownat.c: Likewise.
14508 * io/fcntl.c: Likewise.
14509 * io/flock.c: Likewise.
14510 * io/fstatfs.c: Likewise.
14511 * io/fstatfs64.c: Likewise.
14512 * io/fstatvfs.c: Likewise.
14513 * io/fstatvfs64.c: Likewise.
14514 * io/futimens.c: Likewise.
14515 * io/fxstat.c: Likewise.
14516 * io/fxstat64.c: Likewise.
14517 * io/fxstatat.c: Likewise.
14518 * io/fxstatat64.c: Likewise.
14519 * io/getcwd.c: Likewise.
14520 * io/isatty.c: Likewise.
14521 * io/lchmod.c: Likewise.
14522 * io/lchown.c: Likewise.
14523 * io/link.c: Likewise.
14524 * io/linkat.c: Likewise.
14525 * io/lseek.c: Likewise.
14526 * io/lseek64.c: Likewise.
14527 * io/lxstat64.c: Likewise.
14528 * io/mkdir.c: Likewise.
14529 * io/mkdirat.c: Likewise.
14530 * io/mkfifo.c: Likewise.
14531 * io/mkfifoat.c: Likewise.
14532 * io/open.c: Likewise.
14533 * io/open64.c: Likewise.
14534 * io/openat.c: Likewise.
14535 * io/openat64.c: Likewise.
14536 * io/pipe.c: Likewise.
14537 * io/pipe2.c: Likewise.
14538 * io/poll.c: Likewise.
14539 * io/posix_fadvise.c: Likewise.
14540 * io/posix_fadvise64.c: Likewise.
14541 * io/posix_fallocate.c: Likewise.
14542 * io/posix_fallocate64.c: Likewise.
14543 * io/read.c: Likewise.
14544 * io/readlink.c: Likewise.
14545 * io/readlinkat.c: Likewise.
14546 * io/rmdir.c: Likewise.
14547 * io/sendfile.c: Likewise.
14548 * io/sendfile64.c: Likewise.
14549 * io/statfs.c: Likewise.
14550 * io/statfs64.c: Likewise.
14551 * io/statvfs.c: Likewise.
14552 * io/statvfs64.c: Likewise.
14553 * io/symlink.c: Likewise.
14554 * io/symlinkat.c: Likewise.
14555 * io/ttyname.c: Likewise.
14556 * io/ttyname_r.c: Likewise.
14557 * io/umask.c: Likewise.
14558 * io/unlink.c: Likewise.
14559 * io/unlinkat.c: Likewise.
14560 * io/utime.c: Likewise.
14561 * io/utimensat.c: Likewise.
14562 * io/write.c: Likewise.
14563 * io/xmknod.c: Likewise.
14564 * io/xmknodat.c: Likewise.
14565 * io/xstat.c: Likewise.
14566 * io/xstat64.c: Likewise.
14567 * login/getpt.c: Likewise.
14568 * login/grantpt.c: Likewise.
14569 * login/unlockpt.c: Likewise.
14570 * math/e_acoshl.c: Likewise.
14571 * math/e_acosl.c: Likewise.
14572 * math/e_asinl.c: Likewise.
14573 * math/e_atan2l.c: Likewise.
14574 * math/e_atanhl.c: Likewise.
14575 * math/e_coshl.c: Likewise.
14576 * math/e_expl.c: Likewise.
14577 * math/e_fmodl.c: Likewise.
14578 * math/e_gammal_r.c: Likewise.
14579 * math/e_hypotl.c: Likewise.
14580 * math/e_j0l.c: Likewise.
14581 * math/e_j1l.c: Likewise.
14582 * math/e_jnl.c: Likewise.
14583 * math/e_lgammal_r.c: Likewise.
14584 * math/e_log10l.c: Likewise.
14585 * math/e_log2l.c: Likewise.
14586 * math/e_logl.c: Likewise.
14587 * math/e_powl.c: Likewise.
14588 * math/e_rem_pio2l.c: Likewise.
14589 * math/e_sinhl.c: Likewise.
14590 * math/e_sqrtl.c: Likewise.
14591 * math/fclrexcpt.c: Likewise.
14592 * math/fedisblxcpt.c: Likewise.
14593 * math/feenablxcpt.c: Likewise.
14594 * math/fegetenv.c: Likewise.
14595 * math/fegetexcept.c: Likewise.
14596 * math/fegetround.c: Likewise.
14597 * math/feholdexcpt.c: Likewise.
14598 * math/fesetenv.c: Likewise.
14599 * math/fesetround.c: Likewise.
14600 * math/feupdateenv.c: Likewise.
14601 * math/fgetexcptflg.c: Likewise.
14602 * math/fraiseexcpt.c: Likewise.
14603 * math/fsetexcptflg.c: Likewise.
14604 * math/ftestexcept.c: Likewise.
14605 * math/k_cosl.c: Likewise.
14606 * math/k_rem_pio2l.c: Likewise.
14607 * math/k_sinl.c: Likewise.
14608 * math/k_tanl.c: Likewise.
14609 * math/s_asinhl.c: Likewise.
14610 * math/s_atanl.c: Likewise.
14611 * math/s_cbrtl.c: Likewise.
14612 * math/s_erfl.c: Likewise.
14613 * math/s_expm1l.c: Likewise.
14614 * math/s_log1pl.c: Likewise.
14615 * math/s_tanhl.c: Likewise.
14616 * misc/acct.c: Likewise.
14617 * misc/brk.c: Likewise.
14618 * misc/chflags.c: Likewise.
14619 * misc/chroot.c: Likewise.
14620 * misc/fchflags.c: Likewise.
14621 * misc/fgetxattr.c: Likewise.
14622 * misc/flistxattr.c: Likewise.
14623 * misc/fremovexattr.c: Likewise.
14624 * misc/fsetxattr.c: Likewise.
14625 * misc/fsync.c: Likewise.
14626 * misc/ftruncate.c: Likewise.
14627 * misc/futimes.c: Likewise.
14628 * misc/futimesat.c: Likewise.
14629 * misc/getdomain.c: Likewise.
14630 * misc/getdtsz.c: Likewise.
14631 * misc/gethostid.c: Likewise.
14632 * misc/gethostname.c: Likewise.
14633 * misc/getloadavg.c: Likewise.
14634 * misc/getpagesize.c: Likewise.
14635 * misc/getsysstats.c: Likewise.
14636 * misc/getxattr.c: Likewise.
14637 * misc/gtty.c: Likewise.
14638 * misc/ioctl.c: Likewise.
14639 * misc/lgetxattr.c: Likewise.
14640 * misc/listxattr.c: Likewise.
14641 * misc/llistxattr.c: Likewise.
14642 * misc/lremovexattr.c: Likewise.
14643 * misc/lsetxattr.c: Likewise.
14644 * misc/lutimes.c: Likewise.
14645 * misc/madvise.c: Likewise.
14646 * misc/mincore.c: Likewise.
14647 * misc/mlock.c: Likewise.
14648 * misc/mlockall.c: Likewise.
14649 * misc/mmap.c: Likewise.
14650 * misc/mprotect.c: Likewise.
14651 * misc/msync.c: Likewise.
14652 * misc/munlock.c: Likewise.
14653 * misc/munlockall.c: Likewise.
14654 * misc/munmap.c: Likewise.
14655 * misc/preadv.c: Likewise.
14656 * misc/preadv64.c: Likewise.
14657 * misc/ptrace.c: Likewise.
14658 * misc/pwritev.c: Likewise.
14659 * misc/pwritev64.c: Likewise.
14660 * misc/readv.c: Likewise.
14661 * misc/reboot.c: Likewise.
14662 * misc/remap_file_pages.c: Likewise.
14663 * misc/removexattr.c: Likewise.
14664 * misc/revoke.c: Likewise.
14665 * misc/select.c: Likewise.
14666 * misc/setdomain.c: Likewise.
14667 * misc/setegid.c: Likewise.
14668 * misc/seteuid.c: Likewise.
14669 * misc/sethostid.c: Likewise.
14670 * misc/sethostname.c: Likewise.
14671 * misc/setregid.c: Likewise.
14672 * misc/setreuid.c: Likewise.
14673 * misc/setxattr.c: Likewise.
14674 * misc/sstk.c: Likewise.
14675 * misc/stty.c: Likewise.
14676 * misc/swapoff.c: Likewise.
14677 * misc/swapon.c: Likewise.
14678 * misc/sync.c: Likewise.
14679 * misc/syncfs.c: Likewise.
14680 * misc/syscall.c: Likewise.
14681 * misc/truncate.c: Likewise.
14682 * misc/ualarm.c: Likewise.
14683 * misc/usleep.c: Likewise.
14684 * misc/ustat.c: Likewise.
14685 * misc/utimes.c: Likewise.
14686 * misc/vhangup.c: Likewise.
14687 * misc/writev.c: Likewise.
14688 * posix/_exit.c: Likewise.
14689 * posix/alarm.c: Likewise.
14690 * posix/execve.c: Likewise.
14691 * posix/fexecve.c: Likewise.
14692 * posix/fork.c: Likewise.
14693 * posix/fpathconf.c: Likewise.
14694 * posix/getaddrinfo.c: Likewise.
14695 * posix/getegid.c: Likewise.
14696 * posix/geteuid.c: Likewise.
14697 * posix/getgid.c: Likewise.
14698 * posix/getgroups.c: Likewise.
14699 * posix/getlogin.c: Likewise.
14700 * posix/getlogin_r.c: Likewise.
14701 * posix/getpgid.c: Likewise.
14702 * posix/getpid.c: Likewise.
14703 * posix/getppid.c: Likewise.
14704 * posix/getresgid.c: Likewise.
14705 * posix/getresuid.c: Likewise.
14706 * posix/getsid.c: Likewise.
14707 * posix/getuid.c: Likewise.
14708 * posix/glob64.c: Likewise.
14709 * posix/nanosleep.c: Likewise.
14710 * posix/pathconf.c: Likewise.
14711 * posix/pause.c: Likewise.
14712 * posix/posix_madvise.c: Likewise.
14713 * posix/pread.c: Likewise.
14714 * posix/pread64.c: Likewise.
14715 * posix/pwrite.c: Likewise.
14716 * posix/pwrite64.c: Likewise.
14717 * posix/sched_getaffinity.c: Likewise.
14718 * posix/sched_getp.c: Likewise.
14719 * posix/sched_gets.c: Likewise.
14720 * posix/sched_primax.c: Likewise.
14721 * posix/sched_primin.c: Likewise.
14722 * posix/sched_rr_gi.c: Likewise.
14723 * posix/sched_setaffinity.c: Likewise.
14724 * posix/sched_setp.c: Likewise.
14725 * posix/sched_sets.c: Likewise.
14726 * posix/sched_yield.c: Likewise.
14727 * posix/setgid.c: Likewise.
14728 * posix/setlogin.c: Likewise.
14729 * posix/setpgid.c: Likewise.
14730 * posix/setresgid.c: Likewise.
14731 * posix/setresuid.c: Likewise.
14732 * posix/setsid.c: Likewise.
14733 * posix/setuid.c: Likewise.
14734 * posix/sleep.c: Likewise.
14735 * posix/spawni.c: Likewise.
14736 * posix/sysconf.c: Likewise.
14737 * posix/times.c: Likewise.
14738 * posix/wait.c: Likewise.
14739 * posix/wait3.c: Likewise.
14740 * posix/wait4.c: Likewise.
14741 * posix/waitpid.c: Likewise.
14742 * resolv/gai_sigqueue.c: Likewise.
14743 * resource/getpriority.c: Likewise.
14744 * resource/getrlimit.c: Likewise.
14745 * resource/getrusage.c: Likewise.
14746 * resource/nice.c: Likewise.
14747 * resource/setpriority.c: Likewise.
14748 * resource/setrlimit.c: Likewise.
14749 * resource/ulimit.c: Likewise.
14750 * rt/aio_cancel.c: Likewise.
14751 * rt/aio_fsync.c: Likewise.
14752 * rt/aio_read.c: Likewise.
14753 * rt/aio_sigqueue.c: Likewise.
14754 * rt/aio_suspend.c: Likewise.
14755 * rt/aio_write.c: Likewise.
14756 * rt/clock_getres.c: Likewise.
14757 * rt/clock_gettime.c: Likewise.
14758 * rt/clock_nanosleep.c: Likewise.
14759 * rt/clock_settime.c: Likewise.
14760 * rt/lio_listio.c: Likewise.
14761 * rt/mq_close.c: Likewise.
14762 * rt/mq_getattr.c: Likewise.
14763 * rt/mq_notify.c: Likewise.
14764 * rt/mq_open.c: Likewise.
14765 * rt/mq_receive.c: Likewise.
14766 * rt/mq_send.c: Likewise.
14767 * rt/mq_setattr.c: Likewise.
14768 * rt/mq_timedreceive.c: Likewise.
14769 * rt/mq_timedsend.c: Likewise.
14770 * rt/mq_unlink.c: Likewise.
14771 * rt/shm_open.c: Likewise.
14772 * rt/shm_unlink.c: Likewise.
14773 * rt/timer_create.c: Likewise.
14774 * rt/timer_delete.c: Likewise.
14775 * rt/timer_getoverr.c: Likewise.
14776 * rt/timer_gettime.c: Likewise.
14777 * rt/timer_settime.c: Likewise.
14778 * setjmp/__longjmp.c: Likewise.
14779 * setjmp/setjmp.c: Likewise.
14780 * signal/kill.c: Likewise.
14781 * signal/killpg.c: Likewise.
14782 * signal/raise.c: Likewise.
14783 * signal/sigaction.c: Likewise.
14784 * signal/sigaltstack.c: Likewise.
14785 * signal/sigblock.c: Likewise.
14786 * signal/sigignore.c: Likewise.
14787 * signal/sigintr.c: Likewise.
14788 * signal/signal.c: Likewise.
14789 * signal/sigpause.c: Likewise.
14790 * signal/sigpending.c: Likewise.
14791 * signal/sigqueue.c: Likewise.
14792 * signal/sigreturn.c: Likewise.
14793 * signal/sigset.c: Likewise.
14794 * signal/sigsetmask.c: Likewise.
14795 * signal/sigstack.c: Likewise.
14796 * signal/sigsuspend.c: Likewise.
14797 * signal/sigtimedwait.c: Likewise.
14798 * signal/sigvec.c: Likewise.
14799 * signal/sigwait.c: Likewise.
14800 * signal/sigwaitinfo.c: Likewise.
14801 * signal/sysv_signal.c: Likewise.
14802 * socket/accept.c: Likewise.
14803 * socket/accept4.c: Likewise.
14804 * socket/bind.c: Likewise.
14805 * socket/connect.c: Likewise.
14806 * socket/getpeername.c: Likewise.
14807 * socket/getsockname.c: Likewise.
14808 * socket/getsockopt.c: Likewise.
14809 * socket/isfdtype.c: Likewise.
14810 * socket/listen.c: Likewise.
14811 * socket/recv.c: Likewise.
14812 * socket/recvfrom.c: Likewise.
14813 * socket/recvmsg.c: Likewise.
14814 * socket/send.c: Likewise.
14815 * socket/sendmsg.c: Likewise.
14816 * socket/sendto.c: Likewise.
14817 * socket/setsockopt.c: Likewise.
14818 * socket/shutdown.c: Likewise.
14819 * socket/sockatmark.c: Likewise.
14820 * socket/socket.c: Likewise.
14821 * socket/socketpair.c: Likewise.
14822 * stdio-common/ctermid.c: Likewise.
14823 * stdio-common/cuserid.c: Likewise.
14824 * stdio-common/remove.c: Likewise.
14825 * stdio-common/rename.c: Likewise.
14826 * stdio-common/renameat.c: Likewise.
14827 * stdio-common/tempname.c: Likewise.
14828 * stdlib/getcontext.c: Likewise.
14829 * stdlib/makecontext.c: Likewise.
14830 * stdlib/setcontext.c: Likewise.
14831 * stdlib/swapcontext.c: Likewise.
14832 * stdlib/system.c: Likewise.
14833 * streams/fattach.c: Likewise.
14834 * streams/fdetach.c: Likewise.
14835 * streams/getmsg.c: Likewise.
14836 * streams/getpmsg.c: Likewise.
14837 * streams/putmsg.c: Likewise.
14838 * streams/putpmsg.c: Likewise.
14839 * sysdeps/unix/bsd/getpt.c: Likewise.
14840 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14841 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14842 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14844 Likewise.
14845 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14846 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14847 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14848 * sysvipc/msgctl.c: Likewise.
14849 * sysvipc/msgget.c: Likewise.
14850 * sysvipc/msgrcv.c: Likewise.
14851 * sysvipc/msgsnd.c: Likewise.
14852 * sysvipc/semctl.c: Likewise.
14853 * sysvipc/semget.c: Likewise.
14854 * sysvipc/semop.c: Likewise.
14855 * sysvipc/semtimedop.c: Likewise.
14856 * sysvipc/shmat.c: Likewise.
14857 * sysvipc/shmctl.c: Likewise.
14858 * sysvipc/shmdt.c: Likewise.
14859 * sysvipc/shmget.c: Likewise.
14860 * termios/tcdrain.c: Likewise.
14861 * termios/tcflow.c: Likewise.
14862 * termios/tcflush.c: Likewise.
14863 * termios/tcgetattr.c: Likewise.
14864 * termios/tcgetpgrp.c: Likewise.
14865 * termios/tcsendbrk.c: Likewise.
14866 * termios/tcsetattr.c: Likewise.
14867 * termios/tcsetpgrp.c: Likewise.
14868 * time/adjtime.c: Likewise.
14869 * time/clock.c: Likewise.
14870 * time/getitimer.c: Likewise.
14871 * time/gettimeofday.c: Likewise.
14872 * time/setitimer.c: Likewise.
14873 * time/settimeofday.c: Likewise.
14874 * time/stime.c: Likewise.
14875 * time/time.c: Likewise.
14876
148772012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14878
a20492cf
PT
14879 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14880 /usr/old/bin.
14881
72e182e3
PT
14882 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14883 instead of spaces.
14884 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14885
fbeafede
JM
148862012-11-03 Joseph Myers <joseph@codesourcery.com>
14887
5b5b04d6
JM
14888 [BZ #14796]
14889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14890 FE_TONEAREST before applying Dekker multiplication and Knuth
14891 addition. Clear inexact exceptions and check for exact zero
14892 results afterwards.
14893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14896 * math/libm-test.inc (fma_test): Add more tests.
14897 (fma_test_towardzero): Likewise.
14898 (fma_test_downward): Likewise.
14899 (fma_test_upward): Likewise.
14900 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14901 function.
14902 (libc_fesetround): New macro.
14903 (libc_fesetroundf): Likewise.
14904 (libc_fesetroundl): Likewise.
14905 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14906 function.
14907 (libc_fesetround_387): Likewise.
14908 (libc_fesetroundf): New macro.
14909 (libc_fesetround): Likewise.
14910 (libc_fesetroundl): Likewise.
14911 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14912 function.
14913 (libc_fesetroundf): New macro.
14914 (libc_fesetround): Likewise.
14915 (libc_fesetroundl): Likewise.
14916 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14917 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14918 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14919 libm_hidden_ver.
14920 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14921 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14922 libm_hidden_def.
14923 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14924 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14925 libm_hidden_ver.
14926 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14927 libm_hidden_def.
14928
fbeafede
JM
14929 [BZ #3439]
14930 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14931 integer constant usable in #if and use that to give value to enum
14932 constant.
14933 (FE_DIVBYZERO): Likewise.
14934 (FE_UNDERFLOW): Likewise.
14935 (FE_OVERFLOW): Likewise.
14936 (FE_INVALID): Likewise.
14937 (FE_INVALID_SNAN): Likewise.
14938 (FE_INVALID_ISI): Likewise.
14939 (FE_INVALID_IDI): Likewise.
14940 (FE_INVALID_ZDZ): Likewise.
14941 (FE_INVALID_IMZ): Likewise.
14942 (FE_INVALID_COMPARE): Likewise.
14943 (FE_INVALID_SOFTWARE): Likewise.
14944 (FE_INVALID_SQRT): Likewise.
14945 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14946 (FE_TONEAREST): Likewise.
14947 (FE_TOWARDZERO): Likewise.
14948 (FE_UPWARD): Likewise.
14949 (FE_DOWNWARD): Likewise.
14950 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14951 (FE_DIVBYZERO): Likewise.
14952 (FE_OVERFLOW): Likewise.
14953 (FE_UNDERFLOW): Likewise.
14954 (FE_INEXACT): Likewise.
14955 (FE_TONEAREST): Likewise.
14956 (FE_DOWNWARD): Likewise.
14957 (FE_UPWARD): Likewise.
14958 (FE_TOWARDZERO): Likewise.
14959 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14960 (FE_UNDERFLOW): Likewise.
14961 (FE_OVERFLOW): Likewise.
14962 (FE_DIVBYZERO): Likewise.
14963 (FE_INVALID): Likewise.
14964 (FE_TONEAREST): Likewise.
14965 (FE_TOWARDZERO): Likewise.
14966 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14967 (FE_OVERFLOW): Likewise.
14968 (FE_UNDERFLOW): Likewise.
14969 (FE_DIVBYZERO): Likewise.
14970 (FE_INEXACT): Likewise.
14971 (FE_TONEAREST): Likewise.
14972 (FE_TOWARDZERO): Likewise.
14973 (FE_UPWARD): Likewise.
14974 (FE_DOWNWARD): Likewise.
14975 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14976 (FE_DIVBYZERO): Likewise.
14977 (FE_OVERFLOW): Likewise.
14978 (FE_UNDERFLOW): Likewise.
14979 (FE_INEXACT): Likewise.
14980 (FE_TONEAREST): Likewise.
14981 (FE_DOWNWARD): Likewise.
14982 (FE_UPWARD): Likewise.
14983 (FE_TOWARDZERO): Likewise.
14984
105ca950
CM
149852012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14986
14987 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14988
a542b389
AS
149892012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14990
14991 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14992 commands. Quote $PWD.
14993 (blacklist_exports): Don't use remove_newlines. Replace "declare
14994 -x" by "export".
14995 (remove_newlines): Remove.
14996
f62c8abc
L
149972012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14998
14999 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15000 * stdlib/stdlib.h (atof): Moved to ...
15001 * include/bits/stdlib-float.h: Here. New file.
15002 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15003 * stdlib/bits/stdlib-float.h: New file.
15004 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15005 -mno-sse -mno-mmx.
15006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15007 <xmmintrin.h>.
15008
0155d5b2
JM
150092012-11-02 Joseph Myers <joseph@codesourcery.com>
15010
a68d0680
JM
15011 * conform/conformtest.pl (@headers): Add fenv.h.
15012 * conform/data/fenv.h-data: New file.
15013 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15014 include of <math/fenv.h>.
15015
caf7f573
JM
15016 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15017 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15018 && !UNIX98]. Enables tests for XOPEN2K8.
15019 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15020 POSIX2008]: Likewise.
15021
6c073ad6
JM
15022 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15023 (struct rusage): Do not expect type or its members.
15024
0155d5b2
JM
15025 [BZ #3439]
15026 * math/math.h (FP_NAN): Define macro to integer constant usable in
15027 #if and use that to give value to enum constant.
15028 (FP_INFINITE): Likewise.
15029 (FP_ZERO): Likewise.
15030 (FP_SUBNORMAL): Likewise.
15031 (FP_NORMAL): Likewise.
15032
b5dcacb4
AS
150332012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15034
15035 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15036 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15037 arguments.
15038
f7934be8
RM
150392012-11-02 Roland McGrath <roland@hack.frob.com>
15040
15041 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15042 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15043 autoconf-time if not.
15044 * configure.in: Remove AC_PREREQ.
15045
d7d08bde
TMQMF
150462012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15047
15048 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15049 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15050 of the internal implementation.
15051
dcdae19a
JM
150522012-11-02 Joseph Myers <joseph@codesourcery.com>
15053
15054 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15055 except include of <misc/sys/syslog.h>.
15056
d6cffd3e
AS
150572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15058
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15060 function returns with a NULL context exit with zero.
15061
b3563932
TMQMF
150622012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15063
15064 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15065
b288a93d
L
150662012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15067
15068 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15069 (run_program_cmd): This.
15070 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15071 (tst_langinfo): New variable. Use it.
15072
a2421a68
SAS
150732012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15074
15075 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15076 floating point opcodes.
15077
6f796e1b
TS
150782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15079
7402596b
TS
15080 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15081 variable.
15082
d0d4f868
TS
15083 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15084
6f796e1b
TS
15085 * sysdeps/mach/hurd/powerpc: Remove directory.
15086 * sysdeps/mach/powerpc: Likewise.
15087
4da224a2
AS
150882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15089
15090 * scripts/check-local-headers.sh: Ignore c++ headers.
15091
341dd673
TS
150922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15093
15094 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15095 __libc_cleanup_region_start argument.
15096
473611b2
JM
150972012-11-01 Joseph Myers <joseph@codesourcery.com>
15098
15099 [BZ #14784]
15100 [BZ #14785]
15101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15102 x * y using scaling, not as x * y + z.
15103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15105 * math/libm-test.inc (fma_test): Add more tests.
15106 (fma_test_towardzero): Likewise.
15107 (fma_test_downward): Likewise.
15108 (fma_test_upward): Likewise.
15109
4078da3d
TS
151102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15111
15112 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15113
903252aa
JM
151142012-10-31 Joseph Myers <joseph@codesourcery.com>
15115
15116 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15117 New variable.
15118
cbc818d0
TS
151192012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15120
15121 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15122
5a03cb1e
AS
151232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15124
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15126 Fix sort order.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15128 Likewise.
15129
90aff2ff
TMQMF
151302012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15131
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15133 Fix the order of the list for glibc 2.17.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15135 Likewise.
15136
1818fcb7
AS
151372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15138
15139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15140
ef82f4da
JM
151412012-10-31 Joseph Myers <joseph@codesourcery.com>
15142
16a0e2ec
JM
15143 [BZ #14610]
15144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15145 for low part of x being zero before using __atanl (y).
15146 * math/libm-test.inc (atan2_test): Add another test.
15147
0eb69512
JM
15148 * manual/install.texi (Configuring and compiling): Document
15149 general use of test-wrapper and test-wrapper-env.
15150 * INSTALL: Regenerated.
15151
ef82f4da
JM
15152 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15153 (__fma): Do not extract and scale down low bits on after-rounding
15154 systems when result rounded to normal precision would have normal
15155 exponent.
15156 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15157 (__fmal): Do not extract and scale down low bits on after-rounding
15158 systems when result rounded to normal precision would have normal
15159 exponent.
15160 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15161 (__fmal): Do not extract and scale down low bits on after-rounding
15162 systems when result rounded to normal precision would have normal
15163 exponent.
15164 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15165 macro.
15166 (fma_test): Add more tests.
15167 (fma_test_towardzero): Likewise.
15168 (fma_test_downward): Likewise.
15169 (fma_test_upward): Likewise.
15170
954ef0d9
L
151712012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15172
15173 * sysdeps/i386/tininess.h: Renamed to ...
15174 * sysdeps/x86/tininess.h: This.
15175 * sysdeps/x86_64/tininess.h: Removed.
15176
df61ffb2
JM
151772012-10-30 Joseph Myers <joseph@codesourcery.com>
15178
15179 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15180 input. Use $(build-program-cmd).
15181 ($(objpfx)tst-array1-static.out): Likewise.
15182 ($(objpfx)tst-array2.out): Likewise.
15183 ($(objpfx)tst-array3.out): Likewise.
15184 ($(objpfx)tst-array4.out): Likewise.
15185 ($(objpfx)tst-array5.out): Likewise.
15186 ($(objpfx)tst-array5-static.out): Likewise.
15187
01767843
CM
151882012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15189
47cc1490
CM
15190 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15191 if defined.
15192
01767843
CM
15193 * nss/nsswitch.h (nss_interface_function): Provide new
15194 macro for use with NSS functions.
15195 * grp/initgroups.c: Use new macro.
15196 * nss/getXXbyYY.c: Likewise.
15197 * nss/getXXbyYY_r.c: Likewise.
15198 * nss/getXXent.c: Likewise.
15199 * nss/getXXent_r.c: Likewise.
15200 * sysdeps/posix/getaddrinfo.c: Likewise.
15201
8321aa97
AJ
152022012-10-30 Andreas Jaeger <aj@suse.de>
15203
15204 * po/ru.po: Update Russion translation from translation project.
15205
2a27fd6d
JM
152062012-10-30 Joseph Myers <joseph@codesourcery.com>
15207
8627a232
JM
15208 [BZ #14152]
15209 [BZ #14783]
15210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15211 result and shift together with sticky bit instead of replicating
15212 round-to-nearest rounding.
15213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15215 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15216 missing underflow exceptions.
15217 (fma_test_towardzero): Add more tests.
15218 (fma_test_downward): Likewise.
15219 (fma_test_upward): Likewise.
15220
2a27fd6d
JM
15221 [BZ #14047]
15222 * sysdeps/generic/tininess.h: New file.
15223 * sysdeps/i386/tininess.h: Likewise.
15224 * sysdeps/sh/tininess.h: Likewise.
15225 * sysdeps/x86_64/tininess.h: Likewise.
15226 * stdlib/tst-strtod-underflow.c: Likewise.
15227 * stdlib/tst-tininess.c: Likewise.
15228 * stdlib/strtod_l.c: Include <tininess.h>.
15229 (round_and_return): Do not set errno for exact underflow cases.
15230 Force an underflow exception when setting errno for underflow.
15231 Determine underflow based on rounding to normal precision if
15232 TININESS_AFTER_ROUNDING.
15233 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15234 ERANGE for exact underflow cases.
15235 * stdlib/Makefile (tests): Add tst-tininess and
15236 tst-strtod-underflow.
15237 ($(objpfx)tst-tininess): Use $(link-libm).
15238 ($(objpfx)tst-strtod-underflow): Likewise.
15239
e7170363
AJ
152402012-10-30 Andreas Jaeger <aj@suse.de>
15241
e5088dc6
AJ
15242 [BZ#14767]
15243 * elf/Makefile (tests): Remove conditional for have-initfini-array
15244 since this is now always required and the variable does not exist
15245 anymore.
15246 (tests-static): Likewise.
15247 (modules-names): Likewise.
15248
e7170363 15249 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15250
15251 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15252 merged with constructor/destructor.
15253 (init_array): Likewise.
15254 * elf/tst-array2dep.c (fini_array): Likewise.
15255 (init_array): Likewise.
15256
60457d8a
MF
152572012-10-29 Mike Frysinger <vapier@gentoo.org>
15258
15259 * manual/message.texi: Delete @cartouche tags.
15260
8bece752
PT
152612012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15262
94ce799f
PT
15263 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15264 EOPNOTSUPP.
15265 * sysdeps/mach/hurd/fsync.c: Likewise.
15266
8bece752
PT
15267 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15268 [_POSIX_REALTIME_SIGNALS]: Change condition to
15269 [_POSIX_REALTIME_SIGNALS > 0].
15270
86ebe6b1
AJ
152712012-10-27 Andreas Jaeger <aj@suse.de>
15272
15273 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15274 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15276 [__WORDSIZE != 64]: Likewise.
15277
54399c08
L
152782012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15279
15280 * iconvdata/tst-table.sh: Remove ${SHELL}.
15281 * iconvdata/tst-tables.sh: Likewise.
15282
e2211bed
DM
152832012-10-25 David S. Miller <davem@davemloft.net>
15284
15285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15286 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15287 of strtoull.
15288
f303f97c
DM
15289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15290 ifunc-impl-list.c
15291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15292 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15293 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15294 file.
15295
1e9d84cd
RM
152962012-10-25 Roland McGrath <roland@hack.frob.com>
15297
15298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15299 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15300 __getdirentries.
15301
df381762
JM
153022012-10-25 Joseph Myers <joseph@codesourcery.com>
15303 Jim Blandy <jimb@codesourcery.com>
15304
15305 * scripts/cross-test-ssh.sh: New file.
15306 * manual/install.texi (Configuring and compiling): Document use of
15307 cross-test-ssh.sh.
15308 * INSTALL: Regenerated.
15309
bff64913
PT
153102012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15311
15312 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15313 EOPNOTSUPP.
15314
25fe8932
JM
153152012-10-25 Joseph Myers <joseph@codesourcery.com>
15316
15317 * Makeconfig (run-program-prefix): Fix comment.
15318
cc1290d0
JM
153192012-10-24 Joseph Myers <joseph@codesourcery.com>
15320 Jim Blandy <jimb@codesourcery.com>
15321
15322 * Makeconfig (test-wrapper): New variable,
15323 (test-wrapper-env): Likewise.
15324 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15325 (run-built-tests): Define to yes.
15326 (run-program-prefix): Use $(test-wrapper).
15327 (built-program-cmd): Likewise.
15328 * Rules (make-test-out): Use $(test-wrapper-env) and
15329 $(host-built-program-cmd).
15330 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15331 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15332 tst-pathopt.sh.
15333 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15334 $(test-wrapper-env) to tst-rtld-load-self.sh.
15335 ($(objpfx)order2.out): Use $(test-wrapper).
15336 ($(objpfx)tst-initorder.out): Likewise.
15337 ($(objpfx)tst-initorder2.out): Likewise.
15338 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15339 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15340 (test_wrapper_env): New variable. Use it to run ld.so.
15341 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15342 Use it to run ld.so.
15343 (test_wrapper_env): Likewise.
15344 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15345 $(test-wrapper) to run-iconv-test.sh.
15346 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15347 (ICONV): Use $test_wrapper.
15348 * posix/Makefile ($(objpfx)globtest.out): Pass
15349 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15350 globtest.sh, not $(run-program-prefix).
15351 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15352 (test_wrapper): Likewise.
15353 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15354 set together with run_via_rtld_prefix.
15355 (run_program_prefix): Define in terms of test_wrapper and
15356 run_via_rtld_prefix.
15357
6e6249d0
RM
153582012-10-24 Roland McGrath <roland@hack.frob.com>
15359
15360 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15361 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15362 Targets removed.
15363
15364 [BZ #14743]
15365 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15366 Declare __clock_getres, __clock_gettime, __clock_settime,
15367 __clock_nanosleep, and __clock_getcpuclockid.
15368 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15369 Remove librt_hidden_def (clock_gettime).
15370 * sysdeps/unix/clock_gettime.c: Likewise.
15371 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15372 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15373 * rt/clock_getres.c: Define __clock_getres as an alias.
15374 * sysdeps/posix/clock_getres.c: Likewise.
15375 * rt/clock_settime.c: Define __clock_settime as an alias.
15376 * sysdeps/unix/clock_settime.c: Likewise.
15377 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15378 * sysdeps/unix/clock_nanosleep.c: Likewise.
15379 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15380 * rt/clock-compat.c: New file.
15381 * rt/Makefile (librt-routines): Add clock-compat and move
15382 $(clock-routines) to ...
15383 (routines): ... here, new variable.
15384 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15385 Don't add get_clockfreq here.
15386 * rt/Versions (libc: GLIBC_2.17): New version set.
15387 Add clock_* symbols here.
15388 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15390 (GLIBC_2.17): Add clock_* symbols.
15391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15395 Likewise.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15397 Likewise.
15398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15402 * NEWS: Mention the move.
15403
15404 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15405 Use __open, __read, __close rather than their public counterparts.
15406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15407 (__get_clockfreq_via_cpuinfo): Likewise.
15408 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15409 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15410
15411 * config.h.in (HAVE_IFUNC): New #undef.
15412 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15413 was successful.
15414 * configure: Regenerated.
15415
0cae3f4b
MF
154162012-10-24 Mike Frysinger <vapier@gentoo.org>
15417
15418 * configure.in: Move READELF check to start of file.
15419 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15420 libc_cv_asm_gnu_indirect_function in the process.
15421 * configure: Regenerated.
15422
8175a253
MF
154232012-10-24 Mike Frysinger <vapier@gentoo.org>
15424
15425 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15426 send the output to /dev/null.
15427 (libc_cv_cc_with_libunwind): Likewise.
15428 (libc_cv_as_noexecstack): Likewise.
15429 * configure: Regenerate.
15430
0708a7d1
JM
154312012-10-24 Joseph Myers <joseph@codesourcery.com>
15432
10b40d85
JM
15433 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15434
0708a7d1
JM
15435 * posix/globtest.sh (TMPDIR): Do not set.
15436 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15437 (testout): Likewise.
15438
9fddec1a
AJ
154392012-10-24 Andreas Jaeger <aj@suse.de>
15440
3a8db22f
AJ
15441 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15442 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15443 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15444 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15445 posix_fadvise64, posix_fallocate64.
15446
9fddec1a
AJ
15447 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15448 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15449 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15450 Likewise.
15451 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15452 Likewise.
15453 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15454
15455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15456 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15457 <bits/fcntl-linux.h>.
15458 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15459
15460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15461 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15462 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15463 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15464 [__WORDSIZE != 64]: Likewise.
15465
ebfd1bbd
JM
154662012-10-23 Joseph Myers <joseph@codesourcery.com>
15467
03ac099f
JM
15468 * Makeconfig (run-built-tests): New variable.
15469 * Rules [$(cross-compiling) = yes]: Change condition to
15470 [$(run-built-tests) = no].
15471 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15472 to [$(run-built-tests) = yes].
15473 * elf/Makefile [$(cross-compiling) = no]: Likewise
15474 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15475 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15476 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15477 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15478 * io/Makefile [$(cross-compiling) = no]: Likewise.
15479 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15480 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15481 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15482 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15483 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15484 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15485 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15486 * string/Makefile [$(cross-compiling) = no]: Likewise.
15487
ebfd1bbd
JM
15488 * posix/Makefile ($(objpfx)globtest.out): Pass
15489 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15490 $(rtld-installed-name).
15491 * posix/globtest.sh (elf_objpfx): Remove variable.
15492 (rtld_installed_name): Likewise.
15493 (library_path): Likewise.
15494 (run_program_prefix): New variable. Use for running globtest
15495 binary.
15496
166bca24
JB
154972012-10-23 Jim Blandy <jimb@codesourcery.com>
15498 Joseph Myers <joseph@codesourcery.com>
15499
15500 * Makeconfig (host-built-program-cmd): New variable.
15501 * elf/Makefile (tst-stackguard1-ARGS): Use
15502 $(host-built-program-cmd).
15503 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15504 (tst-spawn-ARGS): Likewise.
15505 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15506
88866099
JM
155072012-10-23 Joseph Myers <joseph@codesourcery.com>
15508 Jim Blandy <jimb@codesourcery.com>
15509
15510 * Makeconfig (run-via-rtld-prefix): New variable.
15511 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15512 (built-program-cmd): Likewise.
15513
b4b4c296
AJ
155142012-10-22 Andreas Jaeger <aj@suse.de>
15515
15516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15517 __O_RSYNC if it exists, otherwise to O_SYNC.
15518
6fb54a22
JB
155192012-10-22 Jim Blandy <jimb@codesourcery.com>
15520 Joseph Myers <joseph@codesourcery.com>
15521
15522 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15523 /dev/null.
15524 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15525 from /dev/null
15526 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15527 /dev/null.
15528
481b90b9
AJ
155292012-10-22 Andreas Jaeger <aj@suse.de>
15530
2a0e2669
AJ
15531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15532 Define always.
15533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15534
76e38f9a
AJ
15535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15536 bits/fcntl-linux.h.
15537
7cd37b43
AJ
15538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15539 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15540
481b90b9
AJ
15541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15542 to __O_LARGEFILE.
15543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15544 to __O_LARGEFILE.
15545
aba75984
JB
155462012-10-21 Jim Blandy <jimb@codesourcery.com>
15547 Joseph Myers <joseph@codesourcery.com>
15548
15549 * config.make.in (NM): New variable.
15550
88d4247f
AJ
155512012-10-21 Andreas Jaeger <aj@suse.de>
15552
15553 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15554 definitions and declarations that are provided by
15555 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15556
f2eed205
L
155572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15558
15559 [BZ #14683]
15560 * elf/Makefile (tests-static): Add tst-leaks1-static.
15561 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15562 ($(objpfx)tst-leaks1-static): New rule.
15563 ($(objpfx)tst-leaks1-static-mem): Likewise.
15564 (tst-leaks1-static-ENV): New macro.
15565 * elf/dl-open.c (dl_open_worker): Check the main application
15566 only if SHARED is defined.
15567 * elf/tst-leaks1-static.c: New file.
15568
335e6931
AJ
155692012-10-20 Andreas Jaeger <aj@suse.de>
15570
15571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15572 generic values for Linux.
15573 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15574 and declarations that are provided by <bits/fcntl-linux.h> and
15575 include <bits/fcntl-linux.h>.
15576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15578
ac5c94d3
RM
155792012-10-20 Roland McGrath <roland@hack.frob.com>
15580
15581 * io/fcntl.h: Move include of <bits/types.h> to the top and
15582 include it unconditionally.
15583
de54b33a
L
155842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15585
228cfb01
L
15586 * wcsmbs/Makefile (tests-ifunc): New variable.
15587 (tests): Add $(tests-ifunc).
15588 * wcsmbs/test-wcschr-ifunc.c: New file.
15589 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15590 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15591 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15592 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15593 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15594
69f07e5f
L
15595 * string/Makefile (tests-ifunc): New variable.
15596 (tests): Add $(tests-ifunc).
15597 * string/test-memccpy.c (TEST_NAME): New macro.
15598 * string/test-memchr.c (TEST_NAME): Likewise.
15599 * string/test-memcmp.c (TEST_NAME): Likewise.
15600 * string/test-memcpy.c (TEST_NAME): Likewise.
15601 * string/test-memmem.c (TEST_NAME): Likewise.
15602 * string/test-memmove.c (TEST_NAME): Likewise.
15603 * string/test-memset.c (TEST_NAME): Likewise.
15604 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15605 * string/test-stpcpy.c (TEST_NAME): Likewise.
15606 * string/test-stpncpy.c (TEST_NAME): Likewise.
15607 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15608 * string/test-strcasestr.c (TEST_NAME): Likewise.
15609 * string/test-strcat.c (TEST_NAME): Likewise.
15610 * string/test-strchr.c (TEST_NAME): Likewise.
15611 * string/test-strcmp.c(TEST_NAME): Likewise.
15612 * string/test-strcpy.c (TEST_NAME): Likewise.
15613 * string/test-strcspn.c (TEST_NAME): Likewise.
15614 * string/test-strlen.c (TEST_NAME): Likewise.
15615 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15616 * string/test-strncmp.c (TEST_NAME): Likewise.
15617 * string/test-strncpy.c (TEST_NAME): Likewise.
15618 * string/test-strnlen.c (TEST_NAME): Likewise.
15619 * string/test-strpbrk.c (TEST_NAME): Likewise.
15620 * string/test-strrchr.c (TEST_NAME): Likewise.
15621 * string/test-strspn.c (TEST_NAME): Likewise.
15622 * string/test-strstr.c (TEST_NAME): Likewise.
15623 * string/test-bcopy-ifunc.c: New file.
15624 * string/test-bzero-ifunc.c: Likewise.
15625 * string/test-memccpy-ifunc.c: Likewise.
15626 * string/test-memchr-ifunc.c: Likewise.
15627 * string/test-memcmp-ifunc.c: Likewise.
15628 * string/test-memcpy-ifunc.c: Likewise.
15629 * string/test-memmem-ifunc.c: Likewise.
15630 * string/test-memmove-ifunc.c: Likewise.
15631 * string/test-mempcpy-ifunc.c: Likewise.
15632 * string/test-memset-ifunc.c: Likewise.
15633 * string/test-rawmemchr-ifunc.c: Likewise.
15634 * string/test-stpcpy-ifunc.c: Likewise.
15635 * string/test-stpncpy-ifunc.c: Likewise.
15636 * string/test-strcasecmp-ifunc.c: Likewise.
15637 * string/test-strcasestr-ifunc.c: Likewise.
15638 * string/test-strcat-ifunc.c: Likewise.
15639 * string/test-strchr-ifunc.c: Likewise.
15640 * string/test-strchrnul-ifunc.c: Likewise.
15641 * string/test-strcmp-ifunc.c: Likewise.
15642 * string/test-strcpy-ifunc.c: Likewise.
15643 * string/test-strcspn-ifunc.c: Likewise.
15644 * string/test-strlen-ifunc.c: Likewise.
15645 * string/test-strncasecmp-ifunc.c: Likewise.
15646 * string/test-strncat-ifunc.c: Likewise.
15647 * string/test-strncmp-ifunc.c: Likewise.
15648 * string/test-strncpy-ifunc.c: Likewise.
15649 * string/test-strnlen-ifunc.c: Likewise.
15650 * string/test-strpbrk-ifunc.c: Likewise.
15651 * string/test-strrchr-ifunc.c: Likewise.
15652 * string/test-strspn-ifunc.c: Likewise.
15653 * string/test-strstr-ifunc.c: Likewise.
15654
de54b33a
L
15655 * debug/Makefile (tests-ifunc): New variable.
15656 (tests): Add $(tests-ifunc).
15657 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15658 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15659 * debug/test-stpcpy_chk-ifunc.c: New file.
15660 * debug/test-strcpy_chk-ifunc.c: Likewise.
15661
88481c16
SP
156622012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15663
15664 [BZ #13601]
15665 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15666 header is not read in.
15667
135948bd
JM
156682012-10-19 Joseph Myers <joseph@codesourcery.com>
15669
89f1c388
JM
15670 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15671 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15672 directly. Pass built executable to script as
15673 $(built-program-cmd).
15674 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15675 $testprogram without using LD_LIBRARY_PATH and $ldso.
15676
e40a0d21
JM
15677 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15678 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15679 $(rtld-installed-name).
15680 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15681 (rtld_installed_name): Likewise.
15682 (library_path): Likewise.
15683 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15684 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15685 $(run-program-prefix) to tst-tables.sh.
15686 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15687 it to run tst-table-from and tst-table-to.
15688 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15689 Pass it to tst-table.sh.
15690 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15691 $(run-program-prefix) to tst-gettext.sh.
15692 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15693 tst-translit.sh.
15694 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15695 tst-gettext2.sh.
15696 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15697 to run tst-gettext.
15698 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15699 to run tst-gettext2.
15700 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15701 to run tst-translit.
15702 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15703 $(run-program-prefix) to tst-mtrace.sh.
15704 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15705 to run tst-mtrace.
15706 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15707 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15708 $(rtld-installed-name).
15709 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15710 (rtld_installed_name): Likewise.
15711 (run_program_prefix): New variable. Use it to run wordexp-test.
15712
728e272a
JM
15713 * Makeconfig (ARCH): Remove all definitions.
15714 (machine): Likewise.
15715 [ARCH]: Remove conditional code.
15716 [!objdir]: Give error.
15717 [!objdir] (objpfx): Remove.
15718 [!objdir] (common-objpfx): Likewise.
15719 [!objdir] (common-objdir): Likewise.
15720 * configure.in (config_makefile): Remove. Hardcode Makefile in
15721 AC_CONFIG_FILES call.
15722 * configure: Regenerated.
15723
d528cdcf
JM
15724 [BZ #13888]
15725 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15726 or TMPDIR.
15727 (testout): Likewise.
15728
135948bd
JM
15729 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15730 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15731 $(rtld-installed-name).
15732 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15733 (rtld_installed_name): Likwise.
15734 (runit): Remove function.
15735 (run_getconf): New variable, Use it for running getconf binary.
15736
38c78296
L
157372012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15738
15739 [BZ #14716]
15740 * string/test-memmem.c (check_result): New function.
15741 (do_one_test): Use it.
15742 (check1): New function.
15743 (test_main): Use it.
15744
d077f65f
MT
157452012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15746
15747 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15748
ced52c71
JM
157492012-10-18 Joseph Myers <joseph@codesourcery.com>
15750
15751 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15752 (_G_LSEEK64): Likewise.
15753 (_G_MMAP64): Likewise.
15754 (_G_FSTAT64): Likewise.
15755 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15756 (_G_LSEEK64): Likewise.
15757 (_G_MMAP64): Likewise.
15758 (_G_FSTAT64): Likewise.
15759 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15760 unconditional. Call __mmap64 directly.
15761 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15762 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15763 __lseek64 directly.
15764 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15765 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15766 __mmap64 directly.
15767 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15768 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15769 __lseek64 directly.
15770 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15771 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15772 __lseek64 directly.
15773 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15774 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15775 __lseek64 directly.
15776 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15777 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15778 __fxstat64 directly.
15779 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15780 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15781 unconditional.
15782 (freopen64) [!_G_OPEN64]: Remove conditional code.
15783 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15784 unconditional.
15785 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15786 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15787 unconditional.
15788 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15789 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15790 unconditional.
15791 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15792 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15793 unconditional.
15794 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15795 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15796 unconditional.
15797 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15798 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15799 unconditional.
15800 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15801 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15802 unconditional.
15803 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15804
b741de23
SP
158052012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15806
15807 [BZ #12140]
15808 * manual/memory.texi (Malloc Tunable Parameters): Add note
15809 about free list pointers overwriting some perturb bytes.
15810 Wording suggested by Roland McGrath.
15811
f9b9d9c9
JM
158122012-10-17 Joseph Myers <joseph@codesourcery.com>
15813
15814 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15815 (lgamma_test): Likewise.
15816 (tgamma_test): Likewise.
15817
172a631a
FW
158182012-10-16 Florian Weimer <fweimer@redhat.com>
15819
15820 [BZ #14700]
15821 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15822 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15823
e9f37252
MK
158242012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15825
15826 * NEWS: Mention BZ #14716.
15827 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15828 when removing AVAILABLE1_USES_J macro.
15829
d394eb74
L
158302012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15831
15832 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15833 (__bswap_64): __uint64_t for unsigned 64-bit int.
15834
ca38dc17
AS
158352012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15836
15837 * include/string.h (memmem): Declare libc hidden alias.
15838 * string/memmem.c (memmem): Define libc hidden alias.
15839 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15840 __read, __close instead of open, read, close.
15841
9a387d1f
L
158422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15843
ac49ecaf
L
15844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15845 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15846 global and hidden.
15847 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15848 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15849 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15850 Likewise.
15851 (__rawmemchr_sse2): Likewise.
15852 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15853 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15854 (__strchr_sse2): Likewise.
15855 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15856 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15857 (__strcasecmp_sse2): Likewise.
15858 (__strncasecmp_sse2): Likewise.
15859 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15860 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15861 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15862 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15863 (__strrchr_sse2): Likewise.
15864 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15865 ifunc-impl-list.c.
15866 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15867 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15868 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15870 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15872 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15873 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15874 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15875 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15876 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15877 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15878 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15879 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15880 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15881 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15882 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15883 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15884 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15885 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15886 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15887 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15888 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15889 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15890 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15891 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15892 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15893 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15894 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15895 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15896
b090e8ea
L
15897 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15898 global and hidden.
15899 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15900 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15901 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15902 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15903 Likewise.
15904 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15905 Likewise.
15906 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15907 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15908 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15909 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15910 ifunc-impl-list.c.
15911 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15912 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15913 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15914 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15915 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15916 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15917 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15918 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15919 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15920 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15921 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15922 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15923 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15924 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15925 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15926 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15927 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15928 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15929 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15930 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15931 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15932 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15933 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15934 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15936 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15937 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15938 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15939 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15940 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15941 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15942 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15943 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15944 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15951 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15952
11dd4af6
L
15953 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15954 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15955 * include/ifunc-impl-list.h: New file.
15956 * misc/ifunc-impl-list.c: Likewise.
15957 * misc/Makefile (routines): Add ifunc-impl-list.
15958 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15959 * string/test-string.h: Include <ifunc-impl-list.h>.
15960 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15961 impl_array): New variables.
15962 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15963 are defined.
15964 (test_init): Call __libc_ifunc_impl_list to initialize
15965 func_list if TEST_IFUNC and TEST_NAME are defined.
15966
9a387d1f
L
15967 * string/Makefile (strop-tests): Add bcopy and bzero.
15968 * string/test-bcopy.c: New file.
15969 * string/test-bzero.c: Likewise.
15970 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15971 defined.
15972 * string/test-memset.c: Support bzero test if TEST_BZERO is
15973 defined.
15974 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15975 __libc_memmove.
15976 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15977 __libc_memset.
15978 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15979 of memset.
15980
472371b9
JM
159812012-10-10 Joseph Myers <joseph@codesourcery.com>
15982
1e4a9536
JM
15983 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15984 * configure: Regenerated.
15985
d173d12e
JM
15986 * Makeconfig (+link-static-before-libc): Don't include
15987 $(link-static-libc).
15988
472371b9
JM
15989 * libio/libio.h (_IO_pos_t): Remove.
15990
89a3ad0b
AO
159912012-10-10 Alexandre Oliva <aoliva@redhat.com>
15992
15993 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15994 McGrath.
15995
e7451425
AO
159962012-10-10 Alexandre Oliva <aoliva@redhat.com>
15997
15998 * crypt/crypt-entry.c: Include fips-private.h.
15999 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16000 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16001 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16002 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16003
4ba74a35
AO
160042012-10-10 Alexandre Oliva <aoliva@redhat.com>
16005
16006 * crypt/crypt-private.h: Include stdbool.h.
16007 (_ufc_setup_salt_r): Return bool.
16008 * crypt/crypt-entry.c: Include errno.h.
16009 (__crypt_r): Return NULL with EINVAL for bad salt.
16010 * crypt/crypt_util.c (bad_for_salt): New.
16011 (_ufc_setup_salt_r): Check that salt is long enough and within
16012 the specified alphabet.
16013 * crypt/badsalttest.c: New file.
16014 * crypt/Makefile (tests): Add it.
16015 ($(objpfx)badsalttest): New.
16016
f96f1242
MK
160172012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16018
16019 * NEWS: Add entry for BZ #14602.
16020
0e8e0c1c
JM
160212012-10-09 Joseph Myers <joseph@codesourcery.com>
16022
16023 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16024 type-generic.
16025 * math/libm-test.inc: Update comment listing what functions and
16026 macros are tested.
16027 (isgreater_test): New function.
16028 (isgreaterequal_test): Likewise.
16029 (isless_test): Likewise.
16030 (islessequal_test): Likewise.
16031 (islessgreater_test): Likewise.
16032 (isunordered_test): Likewise.
16033 (main): Call the new functions.
16034
273edc5e
RM
160352012-10-09 Roland McGrath <roland@hack.frob.com>
16036
b8493de0
RM
16037 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16038 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16039 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16040 * sysdeps/i386/configure: Regenerated.
16041 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16042 * sysdeps/mach/configure: Regenerated.
16043 * sysdeps/mach/hurd/configure: Regenerated.
16044 * sysdeps/powerpc/configure: Regenerated.
16045 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16046 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16047 * sysdeps/s390/s390-32/configure: Regenerated.
16048 * sysdeps/s390/s390-64/configure: Regenerated.
16049 * sysdeps/sh/configure: Regenerated.
16050 * sysdeps/sparc/configure: Regenerated.
16051 * sysdeps/unix/sysv/linux/configure: Regenerated.
16052 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16053 * sysdeps/x86_64/configure: Regenerated.
16054
273edc5e
RM
16055 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16056 defined. Don't check if MAP is NULL.
16057
c8450f70
JM
160582012-10-09 Joseph Myers <joseph@codesourcery.com>
16059
16060 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16061 (_G_stat64): Likewise.
16062 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16063 (_G_stat64): Likewise.
16064 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16065 instead of struct _G_stat64.
16066 * libio/fileops.c (mmap_remap_check): Likewise.
16067 (decide_maybe_mmap): Likewise.
16068 (_IO_new_file_seekoff): Likewise.
16069 (_IO_file_stat): Likewise.
16070 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16071 _G_off64_t.
16072 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16073 instead of struct _G_stat64.
16074 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16075
57e605ba
MK
160762012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16077
16078 [BZ #14602]
16079 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16080 Replace with ...
16081 (CHECK_EOL): New macro.
16082 (two_way_short_needle): Check beginning of haystack for EOL. Use
16083 CHECK_EOL.
16084 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16085 Replace with CHECK_EOL.
16086 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16087 Replace with CHECK_EOL.
16088
ef1bb361
JM
160892012-10-08 Joseph Myers <joseph@codesourcery.com>
16090
16091 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16092 type-generic.
16093 * math/libm-test.inc: Update comment listing what functions and
16094 macros are tested.
16095 (finite_test): New function.
16096 (isinf_test): Likewise.
16097 (isnan_test): Likewise.
16098 (fpclassify_test): Test subnormal input.
16099 (isfinite_test): Likewise.
16100 (isnormal_test): Likewise.
16101 (main): Call the new functions.
16102
55f11534
JN
161032012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16104
16105 [BZ #14660]
16106 * Makerules (%.dynsym): Force C locale when running
16107 $(OBJDUMP) --dynamic-syms.
16108
1ab29350
AS
161092012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16110
16111 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16112 <stdint.h>.
16113
f1ecb7ef
DM
161142012-10-06 David S. Miller <davem@davemloft.net>
16115
16116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16117 upper 32-bits of the length value in %o2 since we use branch-on-register
16118 tests which consider the entire 64-bit register.
16119
5d41d91a
L
161202012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16121
16122 * string/test-strstr.c (check2): Add a test for page boundary.
16123
3baddb72
DM
161242012-10-05 David S. Miller <davem@davemloft.net>
16125
16126 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16127 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16128 file.
16129 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16130 sysdep_routines.
16131 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16132 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16133 and bzero when HWCAP_SPARC_CRYPTO is present.
16134
9cee5585
L
161352012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16136
d7e0dab9
L
16137 [BZ #14602]
16138 * string/test-strstr.c (check2): New function.
16139 (test_main): Call check2.
16140
03759f47
L
16141 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16142 and bug-strchr1.
16143 * string/bug-strcasestr1.c (do_test): Moved to ...
16144 * string/test-strcasestr.c (check1): Here. New function.
16145 (do_one_test): Break out result checking code into ...
16146 (check_result): This. New function.
16147 (do_one_test): Call check_result.
16148 (test_main): Call check1.
16149 * string/bug-strchr1.c (do_test): Moved to ...
16150 * string/test-strchr.c (check1): Here. New function.
16151 (do_one_test): Break out result checking code into ...
16152 (check_result): This. New function.
16153 (do_one_test): Call check_result.
16154 (test_main): Call check1.
16155 * string/bug-strstr1.c (main): Moved to ...
046f153e 16156 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16157 (do_one_test): Break out result checking code into ...
16158 (check_result): This. New function.
16159 (do_one_test): Call check_result.
16160 (test_main): Call check1.
16161 * string/bug-strcasestr1.c: Removed.
16162 * string/bug-strchr1.c: Likewise.
16163 * string/bug-strstr1.c: Likewise.
16164
53cea63e
L
16165 * elf/Makefile (dl-routines): Add hwcaps.
16166 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16167 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16168 (_dl_important_hwcaps): Moved to ...
16169 * elf/dl-hwcaps.c: Here. New file.
16170 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16171
9cee5585 16172 [BZ #14557]
bb859b06
L
16173 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16174 if IS_IN_rtld isn't defined.
16175
9cee5585
L
16176 * elf/dl-support.c (_dl_sysinfo_map): New.
16177 Include "get-dynamic-info.h" and "setup-vdso.h".
16178 (_dl_non_dynamic_init): Call setup_vdso.
16179 * elf/dynamic-link.h: Don't include <assert.h>.
16180 (elf_get_dynamic_info): Moved to ...
16181 * elf/get-dynamic-info.h: Here. New file.
16182 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16183 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16184 * elf/setup-vdso.h: Here. New file.
16185 * elf/rtld.c: Include "setup-vdso.h".
16186 (dl_main): Call setup_vdso.
16187
23c31b76
JM
161882012-10-05 Joseph Myers <joseph@codesourcery.com>
16189
28234b07
JM
16190 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16191 creal in comment listing functions tested. List finite, isinf,
16192 isnan, isless, islessequal, isgreater, isgreaterequal,
16193 islessgreater, isunordered, lgamma_r and pow10 as functions and
16194 macros not tested. Mention which functions not tested are aliases
16195 for other functions. Fix typo. Note that signs of NaNs are not
16196 tested.
16197
23c31b76
JM
16198 * scripts/config.guess: Update from config.git.
16199 * scripts/config.sub: Likewise.
16200
9043e228
RM
162012012-10-04 Roland McGrath <roland@hack.frob.com>
16202
16203 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16204 * misc/madvise.c (madvise): Renamed to __madvise.
16205 Make madvise a weak alias.
16206 * include/sys/mman.h: Declare __madvise.
16207 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16208 * sysdeps/unix/syscalls.list
16209 (madvise): Make __madvise the strong name, and madvise a weak alias.
16210 * sysdeps/unix/sysv/linux/syscalls.list
16211 (madvise, mmap): Remove redundant entries.
16212 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16213 * malloc/malloc.c (mtrim): Likewise.
16214 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16215
f57f8055
RM
162162012-10-03 Roland McGrath <roland@hack.frob.com>
16217
16218 * sysdeps/mach/hurd/dl-cache.c: File removed.
16219 * config.h.in (USE_LDCONFIG): New #undef.
16220 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16221 * configure: Regenerated.
16222 * elf/Makefile (dl-routines): Add dl-cache only under
16223 [$(use-ldconfig) = yes].
16224 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16225 cache on [USE_LDCONFIG].
16226 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16227 [USE_LDCONFIG].
16228 * elf/rtld.c (dl_main): Likewise.
16229
5bb0c10a
PT
162302012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16231
16232 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16233 _SC_LEVEL4_CACHE_LINESIZE.
16234
010188c6
RM
162352012-10-03 Roland McGrath <roland@hack.frob.com>
16236
16237 * sysdeps/unix/bsd/confstr.h: File removed.
16238
b6c5ec07
AO
162392012-10-02 Alexandre Oliva <aoliva@redhat.com>
16240
16241 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16242 sys/sdt-config.h.
16243
408223d4
RM
162442012-10-02 Roland McGrath <roland@hack.frob.com>
16245
16246 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16247 Make 'mapoff' field ElfW(Off) rather than off_t.
16248
bb9510dc
DL
162492012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16250
fc997c6e
DL
16251 * nscd/Makefile: Remove nscd-cflags and all its users.
16252 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16253 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16254
bb9510dc
DL
16255 [BZ #10631]
16256 * malloc.c (malloc_printerr): Clarify error message.
16257
05699367
L
162582012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 [BZ #14648]
16261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16262 Set bit_FMA_Usable if FMA is supported.
16263 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16264 macro.
16265 (bit_FMA4_Usable): Updated.
16266 (index_FMA_Usable): New macro.
16267 (CPUID_FMA): Likewise
16268 (HAS_FMA): Defined with bit_FMA_Usable.
16269
51367701
RM
162702012-10-01 Roland McGrath <roland@hack.frob.com>
16271
16272 * bits/types.h (__swblk_t): Type removed.
16273 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16274 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16276 (__SWBLK_T_TYPE): Likewise.
16277 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16278 (__SWBLK_T_TYPE): Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16280 (__SWBLK_T_TYPE): Likewise.
16281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16282 (__SWBLK_T_TYPE): Likewise.
16283
4d57bf63 162842012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16285 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16286
16287 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16288 (xdr_mapname): Use YPMAXMAP as maxsize.
16289 (xdr_peername): Use YPMAXPEER as maxsize.
16290 (xdr_keydat): Use YPAXRECORD as maxsize.
16291 (xdr_valdat): Use YPMAXRECORD as maxsize.
16292
93c65d43
RM
162932012-10-01 Roland McGrath <roland@hack.frob.com>
16294
497a03d6
RM
16295 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16296
93c65d43
RM
16297 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16298 * csu/init-first.c: ... here.
16299 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16300 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16302 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16303 * sysdeps/i386/init-first.c: File removed.
16304 * sysdeps/sh/init-first.c: File removed.
16305
bec749fd
JM
163062012-10-01 Joseph Myers <joseph@codesourcery.com>
16307
16308 [BZ #14645]
16309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16310 if x * y might underflow to zero and z is zero.
16311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16313 * math/libm-test.inc (min_subnorm_value): New variable.
16314 (fma_test): Add more tests.
16315 (fma_test_towardzero): Likewise.
16316 (fma_test_downward): Likewise
16317 (fma_test_upward): Likewise.
16318 (initialize): Set min_subnorm_value.
16319
8ec5b013
JM
163202012-09-29 Joseph Myers <joseph@codesourcery.com>
16321
16322 [BZ #14638]
16323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16324 0 + 0.
16325 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16326 mode for addition resulting in exact zero.
16327 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16329 exact 0 + 0.
16330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16332 * math/libm-test.inc (fma_test): Add more tests.
16333 (fma_test_towardzero): New function.
16334 (fma_test_downward): Likewise.
16335 (fma_test_upward): Likewise.
16336 (main): Call the new functions.
16337
b1fa802e
DM
163382012-09-28 David S. Miller <davem@davemloft.net>
16339
16340 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16341
d3b9fd9e
RM
163422012-09-28 Roland McGrath <roland@hack.frob.com>
16343
ea4d37b3
RM
16344 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16345 instead of SIGALRM.
16346
ac51c949
RM
16347 * sysdeps/gnu/_G_config.h: Moved to ...
16348 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16349 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16350 * sysdeps/generic/_G_config.h: ... here.
16351
28c195f7
RM
16352 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16353
848917f9
RM
16354 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16355
6bacf05b
RM
16356 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16357 Conditionalize target on [libnss_test1.so-version].
16358
91363dbb
RM
16359 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16360
cc87f7d8
RM
16361 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16362 (elfobjdir): Move out of conditionals.
16363
b1c608fe
RM
16364 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16365 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16366 (__nss_lookup_function): Conditionalize label remove_from_tree on
16367 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16368
1d9a6d96
DM
163692012-09-28 David S. Miller <davem@davemloft.net>
16370
16371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16372 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16373 file.
16374 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16375 sysdep_routines.
16376 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16378 when HWCAP_SPARC_CRYPTO is present.
16379
72581615
PT
163802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16381
16382 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16383
715a900c
JL
163842012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16385
16386 [BZ #6530]
16387 * stdio-common/vfprintf.c (process_string_arg): Revert
16388 2000-07-22 change.
16389
163902011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16391
16392 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16393 for testcase.
16394 * stdio-common/tst-sprintf.c: Include <locale.h>
16395 (main): Test sprintf's handling of incomplete multibyte
16396 characters.
16397
9bac1d86
L
163982012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 * elf/dl-runtime.c (VERSYMIDX): Removed.
16401 * elf/dl-version.c (VERSYMIDX): Likewise.
16402 * elf/do-rel.h (VERSYMIDX): Likewise.
16403 (VALIDX): Likewise.
16404 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16405 * elf/rtld.c (VALIDX): Likewise.
16406 (ADDRIDX): Likewise.
9bac1d86
L
16407 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16408 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16409 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16410 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16411 (VALIDX): Likewise.
16412 (ADDRIDX): Likewise.
9bac1d86 16413
b31606c0
PT
164142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16415
16416 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16417
11541177
JL
164182012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16419
16420 [BZ #11438]
16421 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16422 to global scope.
16423 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16424 addresses are in the same scope as 192.0.2/24.
16425 * posix/gai.conf: Document new scope table defaults.
16426
adb26fae
SP
164272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16428
16429 [BZ #5298]
16430 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16431 for ftell. Compute offsets from write pointers instead.
16432 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16433
4573c6b0
SP
164342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16435
16436 [BZ #14543]
16437 * libio/Makefile (tests): New test case tst-fseek.
16438 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16439 combination works in wide mode.
16440 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16441 state when the external buffer state changes.
16442
aa9bbfe6
DM
164432012-09-27 David S. Miller <davem@davemloft.net>
16444
16445 [BZ #14376]
16446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16447 pass reloc->r_addend in as the 'high' argument to
16448 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16449
784421e7
DM
16450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16451
c39bc8b8
PT
164522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16453
16454 * rt/tst-aio2.c: Include <pthread.h>.
16455 * rt/tst-aio3.c: Likewise.
16456
1ccc2399
SE
164572012-09-27 Steve Ellcey <sellcey@mips.com>
16458
16459 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16460
31ed4153
L
164612012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16462
25f5f885
L
16463 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16464 contents on [SHARED].
31ed4153 16465
b7bfe116
MP
164662012-09-26 Marek Polacek <polacek@redhat.com>
16467
16468 [BZ #14530]
16469 [BZ #13741]
16470 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16471 for C++ and GCC <4.3 as well as for non GCC compilers.
16472
43c4edba
MT
164732012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16474
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16476
6a1bf82f
RM
164772012-09-25 Roland McGrath <roland@hack.frob.com>
16478
16479 * Makefile.in (all, install): Declare with .PHONY.
16480 Reported by Michael Hope <michael.hope@linaro.org>.
16481
8ad11b9a
TMQMF
164822012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16483
16484 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16485 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16486 system header.
16487 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16488 Likewise.
16489 (sydep_routines): Add the new and the internal functions.
16490 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16491 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16493 (GLIBC_2.17): Add the new function.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16495 (GLIBC_2.17): Likewise.
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16497 (GLIBC_2.17): Likewise.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16499 (GLIBC_2.17): Likewise.
16500 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16501
7e2fca8d
AM
165022012-09-25 Alan Modra <amodra@gmail.com>
16503
16504 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16505 Add release barrier before setting once_control to say
16506 initialisation is done. Add hints on lwarx. Use macro in
16507 place of isync.
16508 (clear_once_control): Add release barrier.
16509
b87c4b24
JM
165102012-09-25 Joseph Myers <joseph@codesourcery.com>
16511
d032e0d2
JM
16512 [BZ #13629]
16513 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16514 specially.
16515 * math/s_clog10.c (__clog10): Likewise.
16516 * math/s_clog10f.c (__clog10f): Likewise.
16517 * math/s_clog10l.c (__clog10l): Likewise.
16518 * math/s_clogf.c (__clogf): Likewise.
16519 * math/s_clogl.c (__clogl): Likewise.
16520 * math/Makefile (libm-calls): Add x2y2m1.
16521 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16522 (__x2y2m1): Likewise.
16523 (__x2y2m1l): Likewise.
16524 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16525 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16528 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16529 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16530 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16533
b87c4b24
JM
16534 [BZ #14621]
16535 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16536 int as type of variable DEPTH.
16537 (glob): Use size_t instead of int as type of variables NEWCOUNT
16538 and OLD_PATHC.
16539
6d3bf199
LD
165402012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16541
22bf5c17
LD
16542 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16543 Add s_sincosf-sse2.
16544 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16545 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16546 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16547 macros for using routine as __sincosf_ia32.
16548 Use macro for function declaration and weak_alias.
16549 * sysdeps/i386/fpu/libm-test-ulps: Update.
16550
16551 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16553
16554 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16555 subnormal argument.
16556 * math/s_cexpf.c (__cexpf): Likewise.
16557 * math/s_csinf.c (__csinf): Likewise.
16558 * math/s_csinhf.c (__csinhf): Likewise.
16559 * math/s_ctanf.c (__ctanf): Likewise.
16560 * math/s_ctanhf.c (__ctanhf): Likewise.
16561 * math/s_ccosh.c (__ccoshf): Likewise.
16562 * math/s_cexp.c (__cexpl): Likewise.
16563 * math/s_csin.c (__csin): Likewise.
16564 * math/s_csinh.c (__csinh): Likewise.
16565 * math/s_ctan.c (__ctan): Likewise.
16566 * math/s_ctanh.c (ctanh): Likewise.
16567 * math/s_ccoshl.c (__ccoshl): Likewise.
16568 * math/s_cexpl.c (__cexpl): Likewise.
16569 * math/s_csinl.c (__csinl): Likewise.
16570 * math/s_csinhl.c (__csinhl): Likewise.
16571 * math/s_ctanl.c (__ctanl): Likewise.
16572 * math/s_ctanhl.c (__ctanhl): Likewise.
16573
203e5603
JM
165742012-09-25 Joseph Myers <joseph@codesourcery.com>
16575
16576 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16577 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16578 (_IO_off_t): Define to __off_t, not _G_off_t.
16579 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16580 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16581 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16582 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16583 type of __dummy and __dummy2 fields.
16584 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16585 (_G_ssize_t): Likewise.
16586 (_G_off_t): Likewise.
16587 (_G_pid_t): Likewise.
16588 (_G_uid_t): Likewise.
16589 (_G_wchar_t): Likewise.
16590 (_G_wint_t): Likewise.
16591 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16592 (_G_ssize_t): Likewise.
16593 (_G_off_t): Likewise.
16594 (_G_pid_t): Likewise.
16595 (_G_uid_t): Likewise.
16596 (_G_wchar_t): Likewise.
16597 (_G_wint_t): Likewise.
16598 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16599 (_G_ssize_t): Likewise.
16600 (_G_off_t): Likewise.
16601 (_G_pid_t): Likewise.
16602 (_G_uid_t): Likewise.
16603 (_G_wchar_t): Likewise.
16604 (_G_wint_t): Likewise.
16605
9fab36eb
SP
166062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16607
16608 * malloc/arena.c: Include malloc-sysdep.h.
16609 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16610 is sufficient to shrink the heap or an unmap is needed.
16611 * sysdeps/generic/malloc-sysdep.h: New file. Define
16612 new function check_may_shrink_heap.
16613 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16614 new function check_may_shrink_heap.
16615
2b4f00d1
SP
166162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16617
16618 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16619 comments.
16620
9a9028b1
DL
166212012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16622
57c69bef
DL
16623 * catgets/test-gencat.sh: Add "set -e".
16624 * elf/tst-pathopt.sh: Likewise.
16625 * grp/tst_fgetgrent.sh: Likewise.
16626 * iconvdata/run-iconv-test.sh: Likewise.
16627 * intl/tst-gettext.sh: Likewise.
16628 * intl/tst-gettext2.sh: Likewise.
16629 * intl/tst-gettext4.sh: Likewise.
16630 * intl/tst-gettext6.sh: Likewise.
16631 * intl/tst-translit.sh: Likewise.
16632 * io/ftwtest-sh: Likewise.
16633 * libio/test-freopen.sh: Likewise.
16634 * malloc/tst-mtrace.sh: Likewise.
16635 * posix/globtest.sh: Likewise.
16636 * posix/tst-getconf.sh: Likewise.
16637 * posix/wordexp-tst.sh: Likewise.
16638 * stdio-common/tst-printf.sh: Likewise.
16639 * stdio-common/tst-unbputc.sh: Likewise.
16640 * stdlib/tst-fmtmsg.sh: Likewise.
16641 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16642 * catgets/Makefile: Do not specify -e option when running
16643 testsuite shell scripts.
16644 * elf/Makefile: Likewise.
16645 * grp/Makefile: Likewise.
16646 * iconvdata/Makefile: Likewise.
16647 * intl/Makefile: Likewise.
16648 * io/Makefile: Likewise.
16649 * libio/Makefile: Likewise.
16650 * malloc/Makefile: Likewise.
16651 * posix/Makefile: Likewise.
16652 * stdio-common/Makefile: Likewise.
16653 * stdlib/Makefile: Likewise.
16654 * sysdeps/x86_64/Makefile: Likewise.
16655
9a9028b1
DL
16656 * io/ftwtest-sh: Add copyright header.
16657 * posix/globtest.sh: Likewise.
16658 * posix/tst-getconf.sh: Likewise.
16659 * posix/wordexp-tst.sh: Likewise.
16660 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16661
ced6f16e
L
166622012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16663
94b32c39
L
16664 [BZ #13679]
16665 * Makeconfig (+link): Defined as $(+link-static) if
16666 $(build-shared) isn't yes.
16667 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16668 isn't yes.
16669 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16670
189e935b
L
16671 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16672
ced6f16e
L
16673 [BZ #14562]
16674 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16675 new chunk size with MALLOC_ALIGN_MASK.
16676
a9f8e53a
JM
166772012-09-24 Joseph Myers <joseph@codesourcery.com>
16678
16679 [BZ #5044]
16680 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16681 <rounding-mode.h>.
16682 (__printf_fphex): Determine rounding using get_rounding_mode and
16683 round_away.
16684 * stdio-common/tst-printf-round.c (struct hex_test): New
16685 structure.
16686 (hex_tests): New variable.
16687 (test_hex_in_one_mode): New function.
16688 (do_test): Also run tests for hex float output.
16689
43153109
JM
166902012-09-21 Joseph Myers <joseph@codesourcery.com>
16691
16692 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16693 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16694 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16695 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16696 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16697 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16698 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16699 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16700
8a26625d
JM
167012012-09-20 Joseph Myers <joseph@codesourcery.com>
16702
16703 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16704 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16705 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16706 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16707
f3fd569c
DL
167082012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16709
16710 [BZ #14579]
16711 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16712 mode only.
16713 * elf/tst-rtld-load-self.sh: New test.
16714 * elf/Makefile: Run it.
16715
63bbedd4
JM
167162012-09-18 Joseph Myers <joseph@codesourcery.com>
16717
16718 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16719 (tst-writev-ENV): Remove.
16720 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16721
626f8b6a
CM
167222012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16723
16724 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16725
b7aaa4d6
JM
167262012-09-17 Joseph Myers <joseph@codesourcery.com>
16727
16728 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16729 unconditional.
16730 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16731 Likewise.
16732 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16733 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16735 Likewise.
16736
65513990
L
167372012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 [BZ #14587]
16740 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16741 * config.make.in (have-cpp-asm-debuginfo): Removed.
16742 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16743 * configure: Regenerated.
16744
784761be
JM
167452012-09-14 Joseph Myers <joseph@codesourcery.com>
16746
16747 [BZ #5044]
16748 * stdio-common/printf_fp.c: Include <stdbool.h> and
16749 <rounding-mode.h>.
16750 (___printf_fp): Determine rounding using get_rounding_mode and
16751 round_away.
16752 * stdio-common/tst-printf-round.c: New file.
16753 * stdio-common/Makefile (tests): Add tst-printf-round.
16754 (link-libm): New variable.
16755 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16756
9503345f
L
167572012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16758
16759 [BZ #14576]
16760 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16761 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16762 Likewise.
16763 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16764 Likewise.
16765
ad35fc00
JM
167662012-09-13 Joseph Myers <joseph@codesourcery.com>
16767
16768 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16769 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16770 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16771 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16772
6c9b0f68
JM
167732012-09-12 Joseph Myers <joseph@codesourcery.com>
16774
16775 [BZ #14518]
16776 * include/rounding-mode.h: New file.
16777 * sysdeps/generic/get-rounding-mode.h: Likewise.
16778 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16779 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16780 (MAX_VALUE): New macro.
16781 (MIN_VALUE): Likewise.
16782 (overflow_value): New function.
16783 (underflow_value): Likewise.
16784 (round_and_return): Use overflow_value and underflow_value to
16785 determine return values in overflow and underflow cases. Use
16786 round_away to determine rounding depending on rounding mode.
16787 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16788 determine return values in overflow and underflow cases.
16789 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16790 (struct test_results): New structure.
16791 (struct test): Use struct test_results to store expected results
16792 for all rounding modes.
16793 (TEST): Include expected results for all rounding modes.
16794 (test_in_one_mode): New function.
16795 (do_test): Use test_in_one_mode to compute and check results.
16796 Check results for all rounding modes.
16797 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16798 $(link-libm).
16799
19fcedd5
AM
168002012-12-09 Allan McRae <allan@archlinux.org>
16801
1e9d84cd 16802 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16803
8bbfd2f1
JM
168042012-09-11 Joseph Myers <joseph@codesourcery.com>
16805
16806 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16807 (_G_int32_t): Likewise.
16808 (_G_uint16_t): Likewise.
16809 (_G_uint32_t): Likewise.
16810 (_G_HAVE_BOOL): Likewise.
16811 (_G_HAVE_ATEXIT): Likewise.
16812 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16813 (_G_HAVE_IO_FILE_OPEN): Likewise.
16814 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16815 (_G_int32_t): Likewise.
16816 (_G_uint16_t): Likewise.
16817 (_G_uint32_t): Likewise.
16818 (_G_HAVE_BOOL): Likewise.
16819 (_G_HAVE_ATEXIT): Likewise.
16820 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16821 (_G_HAVE_IO_FILE_OPEN): Likewise.
16822 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16823 (_G_int32_t): Likewise.
16824 (_G_uint16_t): Likewise.
16825 (_G_uint32_t): Likewise.
16826 (_G_HAVE_BOOL): Likewise.
16827 (_G_HAVE_ATEXIT): Likewise.
16828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16829 (_G_HAVE_IO_FILE_OPEN): Likewise.
16830
b1dc5912
L
168312012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16832
16833 * csu/libc-tls.c: Update copyright years.
16834
0e886ef9
JM
168352012-09-10 Joseph Myers <joseph@codesourcery.com>
16836
28361c5e
JM
16837 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16838 [!_G_USING_THUNKS]: Remove conditional code.
16839 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16840 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16841
0e886ef9
JM
16842 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16843 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16844 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16845 (_G_VTABLE_LABEL_PREFIX): Likewise.
16846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16847 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16848 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16849 (_G_VTABLE_LABEL_PREFIX): Likewise.
16850 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16851 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16852 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16853 (_G_VTABLE_LABEL_PREFIX): Likewise.
16854 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16855
bcba7aa2
L
168562012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16857
16858 * libio/Makefile: Include ../Makeconfig before tests.
16859 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16860 only if $(build-shared) is yes.
16861
06585ee8
L
16862 * iconv/gconv_db.c: Update copyright years.
16863
80ccd52c
LD
168642012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16865
16866 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16867 unwind info if defined PIC. Fix special cases description.
16868 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16869
16870 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16871 DP_HI_MASK entry.
16872 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16873
691bc9c1
L
168742012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16875
3d9b46b3
L
16876 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16877
de2139a9
L
16878 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16879 is NULL.
16880
5ca78dd0
L
16881 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16882 (LDLIBS-tst-chk4): This.
16883 (LDFLAGS-tst-chk5): Renamed to ...
16884 (LDLIBS-tst-chk5): This.
16885 (LDFLAGS-tst-chk6): Renamed to ...
16886 (LDLIBS-tst-chk6): This.
16887 (LDFLAGS-tst-lfschk4): Renamed to ...
16888 (LDLIBS-tst-lfschk4): This.
16889 (LDFLAGS-tst-lfschk5): Renamed to ...
16890 (LDLIBS-tst-lfschk5): This.
16891 (LDFLAGS-tst-lfschk6): Renamed to ...
16892 (LDLIBS-tst-lfschk6): This.
16893
691bc9c1
L
16894 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16895 on $(common-objpfx)soversions.mk.
16896
65cafb1c
JM
168972012-09-07 Joseph Myers <joseph@codesourcery.com>
16898
16899 [BZ #10014]
16900 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16901 example host name.
16902
c78ab094
SP
169032012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16904
16905 * malloc/arena.c (arena_get_retry): New function that gets
16906 another arena for the caller to try its request on.
16907 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16908 current arena cannot fulfill the request.
16909 (__libc_memalign): Likewise.
16910 (__libc_memalign): Likewise.
16911 (__libc_pvalloc): Likewise.
16912 (__libc_calloc): Likewise.
16913
01f49f59
JT
169142012-09-05 John Tobey <john.tobey@gmail.com>
16915
16916 [BZ #13542]
16917 * manual/arith.texi (Operations on Complex): Fix description
16918 of carg branch cut.
16919
4c23fed5
JM
169202012-09-06 Joseph Myers <joseph@codesourcery.com>
16921
1d3c8572
JM
16922 [BZ #10014]
16923 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16924 host name.
16925
4c23fed5
JM
16926 [BZ #10038]
16927 * manual/memory.texi (Memory): Make order of menu items match
16928 order of sections.
16929
04570aaa
L
169302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16931
16932 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16933 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16934 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16935
b80af2f4
L
169362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * csu/libc-tls.c (static_dtv): Renamed to ...
16939 (_dl_static_dtv): This. Make it global.
16940 (_dl_initial_dtv): Removed.
16941 (__libc_setup_tls): Updated.
16942 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16943 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16944 DL_INITIAL_DTV.
16945
2abe9f15
PM
169462012-09-06 Petr Machata <pmachata@redhat.com>
16947
16948 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16949 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16950 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16951 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16952
0948c3af
L
169532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16954
16955 [BZ #14545]
16956 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16957 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16958 freeing dtv[-1].
16959
a5055ad1
L
169602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 [BZ #14544]
16963 * Makeconfig (link-static-before-libc): Replace $(+prector)
16964 with $(+prectorT).
16965 (link-static-after-libc): Replace $(+postctor) with
16966 $(+postctorT).
16967 (link-bounded): Replace $(+prector)/$(+postctor) with
16968 $(+prectorT)/$(+postctorT).
16969 (+prectorT): New macro.
16970 (+postctorT): Likewise.
16971
ed8c2ecd
JM
169722012-09-06 Joseph Myers <joseph@codesourcery.com>
16973
16974 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16975 (round_str): Handle values above the maximum for IBM long double
16976 as inexact.
16977 * stdlib/tst-strtod-round.c (tests): Regenerated.
16978
14c996c8
AK
169792012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16980
16981 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16982 assembler flag.
16983 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16984 zarch_nohighgprs around the zarch optimized routines.
16985 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16986 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16987 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16988 for zarch.
16989
430d6ce6
DM
169902012-09-05 David S. Miller <davem@davemloft.net>
16991
16992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16993
ff04dda4
DM
16994 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16995 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16996 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16997 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16998 entries.
16999
24d4e01b
AO
170002012-09-05 Alexandre Oliva <aoliva@redhat.com>
17001
17002 * malloc/arena.c: Fold copyright years.
17003 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17004
61d58174
AO
170052012-09-05 Alexandre Oliva <aoliva@redhat.com>
17006
17007 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17008
20196a5e
AO
170092012-09-05 Alexandre Oliva <aoliva@redhat.com>
17010
17011 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17012
5c447383
AO
170132012-09-05 Alexandre Oliva <aoliva@redhat.com>
17014
17015 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17016 change internal state upon failure.
17017
fad64255
AO
170182012-09-05 Alexandre Oliva <aoliva@redhat.com>
17019
17020 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17021 * malloc/memusage.c (mmap): Likewise.
17022 (mmap64, mremap): Likewise. Adjust name in comment.
17023
1ffb8c90
SP
170242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17025
17026 * libio/fileops.c: Fix typos in comments.
17027 * libio/oldfileops.c: Likewise.
17028 * libio/wfileops.c: Likewise.
17029
6ef9cc37
SP
170302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17031
17032 [BZ #1349]
17033 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17034 (tst-malloc-usable-ENV): Set environment for test case.
17035 * malloc/hooks.c (malloc_check_get_size): New function to get
17036 requested size.
17037 * malloc/malloc.c (musable): Use malloc_check_get_size.
17038 * malloc/tst-malloc-usable.c: New test case.
17039
4d038ae3
AS
170402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17041
17042 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17043
c4e85184
AM
170442012-09-05 Allan McRae <allan@archlinux.org>
17045
b9dafc56 17046 [BZ #13966]
c4e85184
AM
17047 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17048 determine header location.
17049 * configure: Regenerated.
17050
e1343020
AS
170512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17052
17053 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17054 float format.
17055 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17056 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17057 format.
e1343020
AS
17058 (test): Regenerate.
17059
0a9f1987
DM
170602012-09-04 David S. Miller <davem@davemloft.net>
17061
17062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17064 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17065
29237804
FW
170662012-09-04 Florian Weimer <fweimer@redhat.com>
17067
17068 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17069 failures.
17070
edb3cb88
FW
17071 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17072
60160d83
JM
170732012-09-04 Joseph Myers <joseph@codesourcery.com>
17074
17075 [BZ #9914]
17076 * libio/iogetdelim.c: Include <limits.h>.
17077 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17078 + len + 1 would overflow.
17079
bcd6c8dc
AJ
170802012-09-03 Andreas Jaeger <aj@suse.de>
17081
17082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17083 * sysdeps/i386/fpu/libm-test-ulps: Update.
17084
4ffffbd2
LD
170852012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17086
17087 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17088 Add s_sinf-sse2, s_conf-sse2.
17089
17090 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17091 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17092 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17093 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17094
17095 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17096 for using routine as __sinf_ia32.
17097 Use macro for function declaration and weak_alias.
17098 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17099 for using routine as __cosf_ia32.
17100 Use macro for function declaration and weak_alias.
17101
17102 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17103 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17104
17105 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17106 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17108
17109 * math/libm-test.inc (cos_test): Add more test cases.
17110 (sin_test): Likewise.
17111 (sincos_test): Likewise.
17112
511fa286
AK
171132012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17114
17115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17116 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17117 hidden.
17118 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17119
5f30cfec
L
171202012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 [BZ #14538]
17123 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17124 first element of the GOT.
17125 (elf_machine_load_address): Return the difference between
17126 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17127
0786794f
AM
171282012-09-01 Allan McRae <allan@archlinux.org>
17129
5f30cfec
L
17130 [BZ #13412]
17131 * configure.in (AWK): Require gawk version 3.0 or later.
17132 * configure: Regenerated.
0786794f 17133
26889eac
JM
171342012-09-01 Joseph Myers <joseph@codesourcery.com>
17135
17136 * sysdeps/unix/sysv/linux/kernel-features.h
17137 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17138 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17139 [__NR_clock_getres]: Make code unconditional.
17140 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17141 (clock_getcpuclockid): Remove code left unreachable by removal of
17142 conditionals.
17143 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17144 code unconditional.
17145 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17146 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17147 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17148 Make code unconditional.
17149 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17150 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17151 * sysdeps/unix/sysv/linux/clock_settime.c
17152 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17153 conditional code.
17154 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17155 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17156
d22e28b0
L
171572012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17158
17159 [BZ #14476]
17160 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17161 scripts/test-installation.pl.
17162
17163 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17164 and $ld_so_version if it is set.
17165
050af9c4
SP
171662012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17167
17168 [BZ #14516]
17169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17170 failure if reading from procfs failed.
17171 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17172
ad845c0b
JM
171732012-08-27 Joseph Myers <joseph@codesourcery.com>
17174
17175 * sysdeps/unix/sysv/linux/kernel-features.h
17176 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17177 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17178 Remove conditional code.
17179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17180 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17181 Remove conditional code.
17182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17183 * sysdeps/unix/sysv/linux/i386/fxstat.c
17184 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17186 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17187 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17189 * sysdeps/unix/sysv/linux/i386/lxstat.c
17190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17192 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17193 Remove conditional code.
17194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17195 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17196 Remove conditional code.
17197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17198 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17199 <kernel-features.h>.
17200 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17201 Remove.
17202 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17203 Remove conditional code.
17204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17205 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17206 Remove conditional.
17207
5dbf56af
MF
172082012-08-27 Mike Frysinger <vapier@gentoo.org>
17209
17210 [BZ #5400]
17211 * NEWS: Add fixed bug number.
17212
d6e70f43
JM
172132012-08-27 Joseph Myers <joseph@codesourcery.com>
17214
7efb4737
JM
17215 [BZ #14519]
17216 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17217 underflowing exponent in case of negative sign.
17218 * stdlib/tst-strtod-round-data: Add more tests.
17219 * stdlib/tst-strtod-round.c (tests): Regenerated.
17220
af92131a
JM
17221 [BZ #3479]
17222 * stdlib/strtod_l.c (NDIG): Remove.
17223 (HEXNDIG): Likewise.
17224 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17225 smallest representable value.
17226 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17227 lie within an exact representation of 1/2 ulp of the result.
17228 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17229 unconditionally.
17230 (TENS_P9_IDX): Define unconditionally.
17231 (TENS_P9_SIZE): Likewise.
17232 (TENS_P10_IDX): Likewise.
17233 (TENS_P10_SIZE): Likewise.
17234 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17235 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17236 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17237 entries for 10^2^13 and 10^2^14.
17238 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17239 (TENS_P13_IDX): Define.
17240 (TENS_P13_SIZE): Likewise.
17241 (TENS_P14_IDX): Likewise.
17242 (TENS_P14_SIZE): Likewise.
17243 (_fpioconst_pow10): Change array size to
17244 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17245 unconditional.
17246 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17247 1024]: Add entries for 10^2^13 and 10^2^14.
17248 [LAST_POW10 > _LAST_POW10]: Remove #error.
17249 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17250 (_fpioconst_pow10): Change array size to
17251 FPIOCONST_POW10_ARRAY_SIZE.
17252 * stdlib/gen-fpioconst.c: New file.
17253 * stdlib/gen-tst-strtod-round.c: Likewise.
17254 * stdlib/tst-strtod-round-data: Likewise.
17255 * stdlib/tst-strtod-round.c: Likewise.
17256 * stdlib/Makefile (tests): Add tst-strtod-round.
17257
d6e70f43
JM
17258 [BZ #14459]
17259 * stdlib/strtod_l.c: Include <stdint.h>.
17260 (NDEBUG): Do not define.
17261 (round_and_return): Change EXPONENT parameter to type intmax_t.
17262 Rearrange calculations to avoid internal overflow possibilities.
17263 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17264 Rearrange calculations to avoid internal overflow possibilities.
17265 Assert that number fits inside MPNSIZE limbs.
17266 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17267 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17268 calculations and add assertions to avoid internal overflow
17269 possibilities. Add casts to avoid signed/unsigned operations.
17270 * stdlib/tst-strtod-overflow.c: New file.
17271 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17272
1f529f7d
MP
172732012-08-25 Marek Polacek <polacek@redhat.com>
17274
17275 * time/time.h: Fix some typos in comments.
17276
59a629f1
RM
172772012-08-23 Roland McGrath <roland@hack.frob.com>
17278
17279 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17280 * posix/tst-rfc3484-2.c: Likewise.
17281 * posix/tst-rfc3484-3.c: Likewise.
17282
d3bafbc9
SM
172832012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17284
17285 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17286 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17287
4efcc022
JM
172882012-08-23 Joseph Myers <joseph@codesourcery.com>
17289
17290 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17291 #include of fxstatat64.c.
17292
3cc3ef96
RM
172932012-08-22 Roland McGrath <roland@hack.frob.com>
17294
f04e2132
RM
17295 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17296 * shadow/getspent_r.c: Likewise.
17297 * shadow/getspnam.c: Likewise.
17298 * shadow/getspnam_r.c: Likewise.
17299 * gshadow/getsgent.c: Likewise.
17300 * gshadow/getsgent_r.c: Likewise.
17301 * gshadow/getsgnam.c: Likewise.
17302 * gshadow/getsgnam_r.c: Likewise.
17303 * inet/getnetbyad.c: Likewise.
17304 * inet/getnetbyad_r.c: Likewise.
17305 * inet/getnetbynm.c: Likewise.
17306 * inet/getnetbynm_r.c: Likewise.
17307 * inet/getnetent.c: Likewise.
17308 * inet/getnetent_r.c: Likewise.
17309 * inet/getproto.c: Likewise.
17310 * inet/getproto_r.c: Likewise.
17311 * inet/getprtent.c: Likewise.
17312 * inet/getprtent_r.c: Likewise.
17313 * inet/getprtname.c: Likewise.
17314 * inet/getprtname_r.c: Likewise.
17315 * inet/getrpcbyname.c: Likewise.
17316 * inet/getrpcbyname_r.c: Likewise.
17317 * inet/getrpcbynumber.c: Likewise.
17318 * inet/getrpcbynumber_r.c: Likewise.
17319 * inet/getrpcent.c: Likewise.
17320 * inet/getrpcent_r.c: Likewise.
17321 * inet/getaliasent.c: Likewise.
17322 * inet/getaliasent_r.c: Likewise.
17323 * inet/getaliasname.c: Likewise.
17324 * inet/getaliasname_r.c: Likewise.
17325 * nscd/getgrgid_r.c: Likewise.
17326 * nscd/getgrnam_r.c: Likewise.
17327 * nscd/gethstbyad_r.c: Likewise.
17328 * nscd/gethstbynm3_r.c: Likewise.
17329 * nscd/getpwnam_r.c: Likewise.
17330 * nscd/getpwuid_r.c: Likewise.
17331 * nscd/getsrvbynm_r.c: Likewise.
17332 * nscd/getsrvbypt_r.c: Likewise.
17333 * nscd/gai.c: Likewise.
17334
c53d909c
RM
17335 * configure.in (build_nscd): New substituted variable, set
17336 by --disable-build-nscd and defaults to $use_nscd.
17337 * configure: Regenerated.
17338 * config.make.in (build-nscd): New substituted variable.
17339 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17340 Change conditional to require [$(build-nscd) = yes] as well.
17341 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17342
3cc3ef96
RM
17343 [BZ# 13696]
17344 * configure.in (use_nscd): New substituted variable, set by
17345 --disable-nscd. If enabled, define USE_NSCD.
17346 * configure: Regenerated.
17347 * config.h.in: Add USE_NSCD.
17348 * config.make.in (use-nscd): New substituted variable.
17349 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17350 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17351 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17352 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17353 (CFLAGS-getgrnam_r.c): Likewise.
17354 (CFLAGS-initgroups.c): Likewise.
17355 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17356 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17357 Variables removed.
17358 * inet/getnetgrent_r.c
17359 (nscd_setnetgrent): New function, broken out of ...
17360 (setnetgrent): ... here. Call it.
17361 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17362 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17363 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17364 * nscd/Makefile (routines, aux): Move definitions after include of
17365 Makeconfig. Conditionalize on [$(use-nscd) != no].
17366 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17367 Conditionalize on [USE_NSCD].
17368 (is_nscd, nscd_init_cb): Likewise.
17369 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17370 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17371 * nss/nss_db/db-init.c: Likewise.
17372 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17373 [USE_NSCD].
17374 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17375 (make_request): Use it.
17376 (cache_valid_p): New function.
17377 (__check_pf): Use it.
17378 * NEWS: Add item for --disable-nscd.
17379
07e51550
DL
173802012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17381
17382 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17383 to support sed >= 4.2.1-20-ga9bf076.
17384 * configure: Regenerated.
17385
35a5b08b
RM
173862012-08-22 Roland McGrath <roland@hack.frob.com>
17387
17388 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17389 Conditionalize whole body on [IREL].
17390
8479f23a
JL
173912012-08-22 Jeff Law <law@redhat.com>
17392
17393 [BZ #14505]
17394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17395 if the family is PF_UNSPEC.
17396
48da0b21
MF
173972012-08-22 Mike Frysinger <vapier@gentoo.org>
17398
17399 * Makerules (lib-version): Rename from V.
17400 (install-lib-nosubdir): Change V to lib-version.
17401
15d0da8c
WS
174022012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17403
17404 [BZ #14252]
17405 * powerpc32/power6/wcschr.c: New file.
17406 * powerpc32/power6/wcscpy.c: New file.
17407 * powerpc32/power6/wcsrchr.c: New file.
17408 * powerpc64/power6/wcschr.c: New file.
17409 * powerpc64/power6/wcscpy.c: New file.
17410 * powerpc64/power6/wcsrchr.c: New file.
17411
bcca0895
MK
174122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17413
17414 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17415 (two_way_short_needle): Use it.
5a4aaa33
RM
17416 * string/strstr.c (AVAILABLE1_USES_J): Define.
17417 * string/strcasestr.c: Likewise.
99677e57
MK
17418
17419 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17420 array references.
17421 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17422
400726de
MK
17423 [BZ #11607]
17424 * NEWS: Add an entry.
17425 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17426 define their defaults.
17427 (two_way_short_needle): Detect end-of-string on-the-fly.
17428 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17429 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17430 * string/bug-strcasestr1.c: New test.
17431 * string/Makefile: Run it.
17432
20a71f2c
MK
174332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17434
17435 [BZ #11607]
17436 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17437 the first character.
17438
21ad0558
RM
174392012-08-21 Roland McGrath <roland@hack.frob.com>
17440
17441 * csu/elf-init.c (__libc_csu_irel): Function removed.
17442 * csu/libc-start.c (apply_irel): New function.
17443 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17444
0e1d9911
JM
174452012-08-21 Joseph Myers <joseph@codesourcery.com>
17446
17447 * sysdeps/unix/sysv/linux/kernel-features.h
17448 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17449 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17450 <kernel-features.h>.
17451 [__NR_fadvise64_64]: Make code unconditional.
17452 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17453 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17454 !__NR_fadvise64_64)]: Likewise.
17455 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17456 !__NR_fadvise64_64))]: Likewise.
17457 [__NR_fadvise64]: Make code unconditional.
17458 [!__NR_fadvise64]: Remove conditional code.
17459 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17460 <kernel-features.h>.
17461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17462 unconditional.
17463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17464 conditional code.
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17466 not include <kernel-features.h>.
17467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17468 unconditional.
17469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17470 conditional code.
17471 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17472 include <kernel-features.h>.
17473 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17474 unconditional.
17475 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17476 conditional code.
17477
14a50c9d
WS
174782012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17479
17480 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17481 slight instruction rearrangements per scrollpipe analysis.
17482 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17483
c0f4faf0
RM
174842012-08-20 Roland McGrath <roland@hack.frob.com>
17485
696da859
RM
17486 * manual/syslog.texi (syslog; vsyslog, closelog):
17487 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17488 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17489
c0f4faf0
RM
17490 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17491 DSOCAPS to match condition on defining it.
17492
348363b2
JM
174932012-08-20 Joseph Myers <joseph@codesourcery.com>
17494
a35cbf28
JM
17495 * sysdeps/unix/sysv/linux/kernel-features.h
17496 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17498 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17499 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17501 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17502 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17506
445f7ecd
JM
17507 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17508 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17509
348363b2
JM
17510 * sysdeps/unix/sysv/linux/kernel-features.h
17511 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17512 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17513 unconditional.
17514 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17515 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17516 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17517 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17518 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17519 Make code unconditional.
17520 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17521 (__mmap64) [!__NR_mmap2]: Likewise.
17522 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17523 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17524 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17525 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17526 [__NR_mmap2]: Make code unconditional.
17527 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17528 (__mmap64) [!__NR_mmap2]: Likewise.
17529
bc5bc0e5
AK
175302012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17531
17532 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17533
88d506de
AJ
175342012-08-18 Andreas Jaeger <aj@suse.de>
17535
17536 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17537
493387d2
MF
175382012-08-18 Mike Frysinger <vapier@gentoo.org>
17539
17540 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17541 * include/unistd.h (__have_sock_cloexec): Likewise.
17542 (__have_pipe2): Likewise.
17543 (__have_dup3): Likewise.
17544
a277af22
MF
175452012-08-18 Mike Frysinger <vapier@gentoo.org>
17546
17547 [BZ #9685]
17548 * include/unistd.h (__have_pipe2): Change define into an extern int.
17549 (__have_dup3): Likewise.
17550 * socket/have_sock_cloexec.c: Include fcntl.h.
17551 (__have_pipe2): New variable.
17552 (__have_dup3): Likewise.
17553
fdab8fd3
MF
175542012-08-17 Mike Frysinger <vapier@gentoo.org>
17555
17556 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17557
31035e80
MP
175582012-08-17 Marek Polacek <polacek@redhat.com>
17559
17560 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17561 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17562
3bd9e993
RM
175632012-08-17 Roland McGrath <roland@hack.frob.com>
17564
c91c505f
RM
17565 * configure.in: Add AC_SUBST for sysheaders.
17566 * configure: Regenerated.
17567 * config.make.in (sysheaders): New substituted variable.
17568
7c6f9d53
RM
17569 * sysdeps/unix/mkfifo.c: Moved ...
17570 * sysdeps/posix/mkfifo.c: ... here.
17571 * sysdeps/unix/mkfifoat.c: Moved ...
17572 * sysdeps/posix/mkfifoat.c: ... here.
17573
17574 * sysdeps/unix/utime.c: Moved ...
17575 * sysdeps/posix/utime.c: ... here.
17576
17577 * sysdeps/unix/time.c: Moved ...
17578 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17579 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17580 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17581
17582 * sysdeps/unix/nice.c: Moved ...
17583 * sysdeps/posix/nice.c: ... here.
17584
17585 * sysdeps/unix/alarm.c: Moved ...
17586 * sysdeps/posix/alarm.c: ... here.
17587
3bd9e993
RM
17588 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17589
d1f09384
JL
175902012-08-17 Jeff Law <law@redhat.com>
17591
17592 * intl/Makefile (codeset_mo): New variable.
17593 ($(codeset_mo)): New target.
17594 (tst-codeset.out): Depend on that. Remove explicit rule.
17595 (tst-gettext3.out, tst-gettext5.out): Likewise.
17596 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17597 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17598 * intl/tst-codeset.sh: Remove.
17599 * intl/tst-gettext3.sh: Likewise.
17600 * intl/tst-gettext5.sh: Likewise.
17601
2ae1ae5c
RM
176022012-08-17 Roland McGrath <roland@hack.frob.com>
17603
c31fdb83
RM
17604 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17605 * sysdeps/unix/syscalls.list: ... here.
17606
a0844057
RM
17607 * sysdeps/posix/getaddrinfo.c
17608 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17609 (gaiconf_init, gaiconf_reload): Use them.
17610 [!_STATBUF_ST_NSEC]
17611 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17612 Define using time_t rather than struct timespec.
17613
750c1f2a
RM
17614 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17615 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17616 Macros removed.
17617 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17618 [!NO_THREADS].
17619 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17620 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17621 Likewise.
17622
2ae1ae5c
RM
17623 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17624 __libc_cleanup_push argument.
17625
e66a42f5
RM
17626 * bits/param.h: New file.
17627 * misc/sys/param.h: New file.
17628 * include/sys/param.h: New file.
17629 * misc/Makefile (headers): Add bits/param.h.
17630 * sysdeps/generic/sys/param.h: File removed.
17631 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17632 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17633 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17634 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17635
b7c08a66
RM
17636 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17637 last change.
17638
b2e1c562
RM
17639 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17640 [_IO_MTSAFE_IO].
17641 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17642 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17643 New macros.
17644
c75ccd4c
RM
17645 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17646 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17647 rather than -D_IO_MTSAFE_IO conditionally.
17648 * stdio-common/Makefile (CPPFLAGS): Likewise.
17649 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17650 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17651 Use $(libio-mtsafe).
17652 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17653 of -D_IO_MTSAFE_IO.
17654 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17655 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17656 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17657 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17658 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17659 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17660 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17661 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17662 (CFLAGS-fread_u_chk.c): Likewise.
17663 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17664 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17665 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17666 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17667 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17668 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17669 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17670 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17671 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17672
17673 * libio/Makefile: Test [$(libc-reentrant) = yes]
17674 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17675
17676 * Makeconfig
17677 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17678 * sysdeps/pthread/configure: File removed.
17679 * sysdeps/pthread/Makeconfig: New file.
17680 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17681 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17682
d9195db8
GB
176832012-08-16 Gary Benson <gbenson@redhat.com>
17684
17685 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17686 unmapping the first object in a namespace.
17687
86466cd9
RM
176882012-08-16 Roland McGrath <roland@hack.frob.com>
17689
17690 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17691 (__internal_setnetgrent): ... this. Add internal_function to
17692 definition. Add libc_hidden_def.
17693 (setnetgrent): Update caller.
17694 (internal_endnetgrent): Renamed to ...
17695 (__internal_endnetgrent): ... this. Add internal_function to
17696 definition. Add libc_hidden_def.
17697 (endnetgrent): Update caller.
17698 (internal_getnetgrent_r): Renamed to ...
17699 (__internal_getnetgrent_r): ... this. Add internal_function to
17700 definition. Add libc_hidden_def.
17701 (__getnetgrent_r): Update caller.
17702 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17703
c3c8283c
JM
177042012-08-16 Joseph Myers <joseph@codesourcery.com>
17705
17706 * stdlib/longlong.h: Update from GCC.
17707
db1ee0a8
RM
177082012-08-16 Roland McGrath <roland@hack.frob.com>
17709
17710 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17711 on _QL, which is set by umul_ppmm but never used.
17712 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17713 variables, which are set by GMP macros but never used.
17714 * stdio-common/_itowa.c (_itowa): Likewise.
17715 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17716 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17717
30f69637
CD
177182012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17719
17720 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17721 struct La_sh_regs is not constant.
17722 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17723 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17724 and struct La_sparc64_regs are not constant.
17725
93a78ac4
JM
177262012-08-16 Joseph Myers <joseph@codesourcery.com>
17727
17728 * sysdeps/unix/sysv/linux/kernel-features.h
17729 (__ASSUME_POSIX_TIMERS): Remove.
17730 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17732 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17733 Make code unconditional.
17734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17735 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17736 Make code unconditional.
17737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17738 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17739 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17741 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17742 Make code unconditional.
17743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17744 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17745 (__libc_missing_posix_timers): Remove.
17746
dd924cd7
RM
177472012-08-15 Roland McGrath <roland@hack.frob.com>
17748
4b4f2771
RM
17749 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17750 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17751
601c888b
RM
17752 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17753
176790a7
RM
17754 * elf/dl-sym.c: Include <stdlib.h>.
17755
329bc018
RM
17756 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17757 constants, which avoids warnings in 32-bit builds.
17758
e04e272d
RM
17759 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17760 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17761
952bf94a
RM
17762 * misc/lseek.c: File moved to ...
17763 * io/lseek.c: ... here.
17764
7c99b50a
RM
17765 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17766
dd924cd7
RM
17767 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17768 shifting LEN more than 31 bits at once.
17769
b3f479a8
LD
177702012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17771
17772 [BZ #14195]
8c4ae0d4
RM
17773 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17774 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17775 * string/test-strncasecmp.c (check1): Renamed to...
17776 (bz12205): ...this.
17777 (bz14195): Add new testcase for two empty input strings and N > 0.
17778 (test_main): Call new testcase, adapt for renamed function.
17779
9c55864e
AJ
177802012-08-15 Andreas Jaeger <aj@suse.de>
17781
17782 [BZ #14090]
17783 * crypt/md5test2.c: New test, based on test supplied by Serge
17784 Belyshev <belyshev@depni.sinp.msu.ru>.
17785 * crypt/Makefile (xtests): Add md5test-giant..
17786 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17787
02dcb6c5
PE
177882012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17789
17790 [BZ #14090]
17791 * crypt/md5.c (md5_process_block): Don't assume the buffer
17792 length is less than 2**32.
17793 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17794 length is less than 2**64.
17795
a3f95dcc
RM
177962012-08-15 Roland McGrath <roland@hack.frob.com>
17797
be75d758
RM
17798 * string/str-two-way.h: Include <sys/param.h>.
17799 (MAX): Macro removed.
17800
7312ca90
RM
17801 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17802 Move #define and #undef of memmove to just before and after
17803 including <string.h>.
17804
9a0a5486
RM
17805 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17806 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17807 and after including <string.h>. Move declarations of
17808 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17809 to before #include "string/memmove.c".
17810
67cc348d
RM
17811 * include/dirent.h: Declare __getdirentries.
17812
a3f95dcc
RM
17813 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17814 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17815
ca98e171
MF
178162012-08-14 Mike Frysinger <vapier@gentoo.org>
17817
17818 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17819 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17820 * sysdeps/i386/configure: Regenerated.
17821 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17822 STABS_CURRENT_FILE, and STABS_FUN.
17823 (END): Remove call to STABS_FUN_END.
17824 (STABS_CURRENT_FILE1): Delete.
17825 (STABS_CURRENT_FILE): Likewise.
17826 (STABS_FUN): Likewise.
17827 (STABS_FUN_END): Likewise.
17828 (STABS_FUN2): Likewise.
17829 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17830 * sysdeps/x86_64/configure: Regenerated.
17831
5908bf46
RM
178322012-08-14 Roland McGrath <roland@hack.frob.com>
17833
17834 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17835 * elf/dl-lookup.c: Likewise.
5908bf46 17836
f2c05b9e
JM
178372012-08-14 Joseph Myers <joseph@codesourcery.com>
17838
17839 * sysdeps/unix/sysv/linux/kernel-features.h
17840 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17841 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17842 unconditionally.
17843 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17844 unconditionally.
17845 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17846 condition on __ASSUME_CLONE_THREAD_FLAGS.
17847
e11f5155
AJ
178482012-08-14 Andreas Jaeger <aj@suse.de>
17849
17850 * sysdeps/i386/fpu/libm-test-ulps: Update.
17851
51a9ba86
MK
178522012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17853
2fdd4f78
AJ
17854 * include/atomic.h (atomic_exchange_and_add): Split into ...
17855 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17856 New atomic macros.
51a9ba86 17857
ba6cba9e
MT
178582012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17859
17860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17861
42443a47
JL
178622012-08-13 Jeff Law <law@redhat.com>
17863
17864 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17865 null byte in the output string.
17866
121dce05
JM
178672012-08-10 Joseph Myers <joseph@codesourcery.com>
17868
17869 * sysdeps/unix/sysv/linux/kernel-features.h
17870 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17871 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17872 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17874 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17875 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17876 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17877
bf51f568
JL
178782012-08-09 Jeff Law <law@redhat.com>
17879
17880 [BZ #13939]
17881 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17882 When avoid_arena is set, don't retry in the that arena. Pick the
17883 next one, whatever it might be.
17884 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17885 (arena_lock): Pass in new parameter to arena_get2.
17886 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17887 arena_get2.
17888 (__libc_malloc): Unify retrying after main arena failure with
17889 __libc_memalign version.
17890 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17891
f85fa270
L
178922012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 [BZ #14166]
17895 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17896 to __redirect_strstr.
17897 (__strstr_sse42): Use typeof __redirect_strstr.
17898 (__strstr_ia32): Likewise.
17899 (__libc_strstr): New prototype.
17900 (strstr): Renamed to ...
17901 (__libc_strstr): This.
17902 (strstr): New strong alias of __libc_strstr.
17903 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17905 __redirect_time.
17906 Include <time.h>.
17907 (__libc_time): New prototype.
17908 (time_ifunc): Replace time with __libc_time.
17909 (time): New strong alias and hidden definition of __libc_time.
17910 (__GI_time): Remove strong alias.
17911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17912 Include <stddef.h>.
17913 (memmove): Redefined to __redirect_memmove.
17914 (__memmove_sse2): Use typeof __redirect_memmove.
17915 (__memmove_ssse3): Likewise.
17916 (__memmove_ssse3_back): Likewise.
17917 (__libc_memmove): New prototype.
17918 (memmove): Renamed to ...
17919 (__libc_memmove): This.
17920 (memmove): New strong alias of __libc_memmove.
17921
33b4a91e
MS
179222012-08-08 Mark Salter <msalter@redhat.com>
17923
17924 * elf/elf.h
17925 (R_MN10300_TLS_GD): Define.
17926 (R_MN10300_TLS_LD): Likewise.
17927 (R_MN10300_TLS_LDO): Likewise.
17928 (R_MN10300_TLS_GOTIE): Likewise.
17929 (R_MN10300_TLS_IE): Likewise.
17930 (R_MN10300_TLS_LE): Likewise.
17931 (R_MN10300_TLS_DTPMOD): Likewise.
17932 (R_MN10300_TLS_DTPOFF): Likewise.
17933 (R_MN10300_TLS_TPOFF): Likewise.
17934 (R_MN10300_SYM_DIFF): Likewise.
17935 (R_MN10300_ALIGN): Likewise.
17936 (R_MN10300_NUM): Update.
17937
b36137f1
JM
179382012-08-08 Joseph Myers <joseph@codesourcery.com>
17939
17940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17941 Remove.
17942
cdd915fd
RM
179432012-08-08 Roland McGrath <roland@hack.frob.com>
17944
a2433aac
RM
17945 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17946
cdd915fd
RM
17947 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17948 sysdeps/unix -> sysdeps/posix move.
17949 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17950
bf9b740a
AM
179512012-08-07 Allan McRae <allan@archlinux.org>
17952
17953 [BZ #14303]
17954 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17955 (SUNOS_CPP): Likewise.
17956 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17957 not found.
17958 (open_input): Call CPP using execvp.
17959
93df14ee
JM
179602012-08-07 Joseph Myers <joseph@codesourcery.com>
17961
17962 * sysdeps/unix/sysv/linux/kernel-features.h
17963 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17964 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17965 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17966 (__ASSUME_WAITID_SYSCALL): Likewise.
17967 * sysdeps/unix/sysv/linux/dl-execstack.c
17968 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17969 code unconditional.
17970 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17971 conditional code.
17972 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17973 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17974 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17975 code.
17976 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17977 unconditional.
17978 [__ASSUME_WAITID_SYSCALL]: Likewise.
17979 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17980
d34689de
RM
179812012-08-07 Roland McGrath <roland@hack.frob.com>
17982
a281decc
RM
17983 * sysdeps/unix/closedir.c: Renamed to ...
17984 * sysdeps/posix/closedir.c: ... here.
17985 * sysdeps/unix/dirfd.c: Renamed to ...
17986 * sysdeps/posix/dirfd.c: ... here.
17987 * sysdeps/unix/dirstream.h: Renamed to ...
17988 * sysdeps/posix/dirstream.h: ... here.
17989 * sysdeps/unix/fdopendir.c: Renamed to ...
17990 * sysdeps/posix/fdopendir.c: ... here.
17991 * sysdeps/unix/opendir.c: Renamed to ...
17992 * sysdeps/posix/opendir.c: ... here.
17993 * sysdeps/unix/readdir.c: Renamed to ...
17994 * sysdeps/posix/readdir.c: ... here.
17995 * sysdeps/unix/readdir_r.c: Renamed to ...
17996 * sysdeps/posix/readdir_r.c: ... here.
17997 * sysdeps/unix/rewinddir.c: Renamed to ...
17998 * sysdeps/posix/rewinddir.c: ... here.
17999 * sysdeps/unix/seekdir.c: Renamed to ...
18000 * sysdeps/posix/seekdir.c: ... here.
18001 * sysdeps/unix/telldir.c: Renamed to ...
18002 * sysdeps/posix/telldir.c: ... here.
18003 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18004 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18005 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18006 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18007
22895b47
RM
18008 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18009 * bits/fcntl.h: ... here.
18010
707a53b6
RM
18011 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18012 not 0.
18013 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18014 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18015 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18016 (struct flock): Move l_start, l_len to the beginning.
18017 Use __pid_t for l_pid.
18018 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18019 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18020 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18021 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18022 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18023 [__USE_LARGEFILE64] (struct flock64): New type.
18024 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18025
f0bd3e25
RM
18026 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18027 * bits/dirent.h: ... here.
18028
d34689de
RM
18029 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18030 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18031
6dad2c06
JM
180322012-08-07 Joseph Myers <joseph@codesourcery.com>
18033
18034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18035 Change from 2.6.0 to 2.6.16.
18036 * sysdeps/unix/sysv/linux/configure: Regenerated.
18037 * sysdeps/unix/sysv/linux/kernel-features.h
18038 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18039 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18040 version.
18041 (__ASSUME_UTIMES): Likewise.
18042 (__ASSUME_CLONE_STOPPED): Remove.
18043 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18044 architectures, not kernel version.
18045 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18046 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18047 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18048 (__ASSUME_WAITID_SYSCALL): Likewise.
18049 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18050 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18051 * README: State 2.6.16 as minimum Linux kernel version. Do not
18052 refer to older versions.
18053
03af9520
RM
180542012-08-06 Roland McGrath <roland@hack.frob.com>
18055
8e49df1d
RM
18056 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18057 Define alphasort64 as an alias.
18058 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18059 Define versionsort64 as an alias.
18060 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18061 Define scandir64 as an alias.
18062 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18063 Define scandirat64 as an alias.
18064 * dirent/alphasort64.c (alphasort64):
18065 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18066 * dirent/versionsort64.c: Likewise.
18067 * dirent/scandir64.c: Likewise.
18068 * dirent/scandirat64.c: Likewise.
18069 * sysdeps/wordsize-64/alphasort.c: File removed.
18070 * sysdeps/wordsize-64/alphasort64.c: File removed.
18071 * sysdeps/wordsize-64/scandir.c: File removed.
18072 * sysdeps/wordsize-64/scandir64.c: File removed.
18073 * sysdeps/wordsize-64/scandirat.c: File removed.
18074 * sysdeps/wordsize-64/scandirat64.c: File removed.
18075 * sysdeps/wordsize-64/versionsort.c: File removed.
18076 * sysdeps/wordsize-64/versionsort64.c: File removed.
18077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18079 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18081 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18085
18086 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18088 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18090 [defined __arch64__ || defined __sparcv9]
18091 (__INO_T_MATCHES_INO64_T): New macro.
18092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18093 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18094 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18095 * sysdeps/unix/sysv/linux/bits/dirent.h
18096 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18097 (_DIRENT_MATCHES_DIRENT64): New macro.
18098
03af9520
RM
18099 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18100 Define lockf64 as an alias.
18101 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18102 Define fseeko64 as an alias.
18103 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18104 Define ftello64 as an alias.
18105 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18106 Define _IO_fgetpos64 and fgetpos64 as aliases.
18107 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18108 Define _IO_fsetpos64 and fsetpos64 as aliases.
18109 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18110 Conditionalize body on this.
18111 * libio/fseeko64.c: Likewise.
18112 * libio/ftello64.c: Likewise.
18113 * libio/iofgetpos64.c: Likewise.
18114 * libio/iofsetpos64.c: Likewise.
18115 * sysdeps/wordsize-64/lockf.c: File removed.
18116 * sysdeps/wordsize-64/lockf64.c: File removed.
18117 * sysdeps/wordsize-64/fseeko.c: File removed.
18118 * sysdeps/wordsize-64/fseeko64.c: File removed.
18119 * sysdeps/wordsize-64/ftello.c: File removed.
18120 * sysdeps/wordsize-64/ftello64.c: File removed.
18121 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18122 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18123 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18124 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18125 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18126 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18127 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18129 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18131 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18132 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18133 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18134 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18135
18136 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18138 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18140 [defined __arch64__ || defined __sparcv9]
18141 (__OFF_T_MATCHES_OFF64_T): New macro.
18142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18143 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18145 (__OFF_T_MATCHES_OFF64_T): New macro.
18146
c5757acd
L
181472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * stdlib/secure-getenv.c (__secure_getenv): Replace
18150 GLIBC_2_16 with GLIBC_2_17.
18151
3a31811e
L
181522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18155 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18156
faa2bccb
DM
181572012-08-03 David S. Miller <davem@davemloft.net>
18158
18159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18160
85fe1997
JM
181612012-08-03 Joseph Myers <joseph@codesourcery.com>
18162
18163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18164 Remove.
18165 (__ASSUME_CORRECT_SI_PID): Likewise.
18166 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18167 (__ASSUME_TMPFS_NAME): Likewise.
18168 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18169 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18170 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18171 (HAVE_AUX_SECURE): Make definition unconditional.
18172 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18173 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18174
4f75b7a0
RM
181752012-08-03 Roland McGrath <roland@hack.frob.com>
18176
18177 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18178 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18179 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18180 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18181 __eloop_threshold instead of SYMLOOP_MAX.
18182
18183 * sysdeps/generic/eloop-threshold.h: New file.
18184 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18185 of MAXSYMLINKS.
18186 * elf/chroot_canon.c (chroot_canon): Likewise.
18187
7aab07e4
JM
181882012-08-03 Joseph Myers <joseph@codesourcery.com>
18189
18190 [BZ #13717]
18191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18192 Change to 2.6.0 everywhere.
18193 * sysdeps/unix/sysv/linux/configure: Regenerated.
18194 * sysdeps/unix/sysv/linux/kernel-features.h
18195 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18196 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18197 kernel versions.
18198 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18199 (__ASSUME_FUTEX_REQUEUE): Remove.
18200 (__ASSUME_STATFS64): Define unconditionally.
18201 (__ASSUME_AT_SECURE): Likewise.
18202 (__ASSUME_CORRECT_SI_PID): Likewise.
18203 (__ASSUME_TGKILL): Define without depending on kernel version for
18204 i386.
18205 (__ASSUME_UTIMES): Likewise.
18206 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18207 kernel version.
18208 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18209 (__ASSUME_TMPFS_NAME): Likewise.
18210 * README: Update reference to Linux kernel versions.
18211
b67e9372
MP
182122012-08-02 Marek Polacek <polacek@redhat.com>
18213
1f529f7d 18214 [BZ# 14150]
b67e9372
MP
18215 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18216 libc_cv_asm_type_prefix with %.
18217 * configure: Regenerated.
d2441631
RM
18218 * include/libc-symbols.h: Remove comment about
18219 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18220 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18221 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18222 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18223 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18224 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18225 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18226 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18227 * elf/tst-unique2mod1.c: Likewise.
18228 * elf/tst-unique1mod2.c: Likewise.
18229 * elf/tst-unique1mod1.c: Likewise.
18230 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18231 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18232 Replace ASM_TYPE_DIRECTIVE with .type.
18233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18234 * sysdeps/i386/sysdep.h: Likewise.
18235 * sysdeps/x86_64/sysdep.h: Likewise.
18236 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18238 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18239 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18240 * sysdeps/powerpc/powerpc32/sysdep.h:
18241 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18242 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18243 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18244 * sysdeps/i386/fpu/e_powf.S: Likewise.
18245 * sysdeps/i386/fpu/e_expl.S: Likewise.
18246 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18247 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18248 * sysdeps/i386/fpu/e_pow.S: Likewise.
18249 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18250 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18251 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18252 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18253 * sysdeps/i386/fpu/e_log2.S: Likewise.
18254 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18255 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18256 * sysdeps/i386/fpu/e_powl.S: Likewise.
18257 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18258 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18259 * sysdeps/i386/fpu/e_logl.S: Likewise.
18260 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18261 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18262 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18263 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18264 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18265 * sysdeps/i386/fpu/e_log.S: Likewise.
18266 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18267 * sysdeps/i386/fpu/e_logf.S: Likewise.
18268 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18269 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18270 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18271 * sysdeps/i386/fpu/e_log10.S: Likewise.
18272 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18274 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18275 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18278 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18279 * sysdeps/i386/i686/strtok.S: Likewise.
18280 * sysdeps/i386/i386-mcount.S: Likewise.
18281 * sysdeps/i386/strtok.S: Likewise.
18282 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18283 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18286 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18288 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18289 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18291 * sysdeps/x86_64/_mcount.S: Likewise.
18292 * sysdeps/x86_64/strtok.S: Likewise.
18293 * sysdeps/sh/_mcount.S: Likewise.
18294
2747bf9a
RM
182952012-08-01 Roland McGrath <roland@hack.frob.com>
18296
18297 * libio/iofopen.c: Include <fcntl.h>.
18298 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18299 (_IO_fopen64, fopen64): Define as aliases.
18300 * libio/iofopen64.c: Include <fcntl.h>.
18301 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18302 Conditionalize body on this.
18303 * sysdeps/wordsize-64/iofopen.c: File removed.
18304 * sysdeps/wordsize-64/iofopen64.c: File removed.
18305
3fb791b8
MP
183062012-08-01 Marek Polacek <polacek@redhat.com>
18307
18308 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18309 Use dlfcn directly instead of a variable.
18310 (binfmt-subdir): Do not define.
18311 (dlfcn): Likewise.
18312
a9f1039f
JM
183132012-08-01 Joseph Myers <joseph@codesourcery.com>
18314
23bddc06
JM
18315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18316 Remove all definitions.
18317 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18318 <kernel-features.h>.
18319 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18320 (miss_F_GETOWN_EX): Remove all definitions.
18321 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18322 macro definition.
18323 [!__ASSUME_FCNTL64]: Remove conditional code.
18324 [__ASSUME_FCNTL64]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18326 <kernel-features.h>.
18327 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18328 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18329 (lockf64) [__NR_fcntl64]: Make code unconditional.
18330 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18331
a9f1039f
JM
18332 * sysdeps/unix/sysv/linux/kernel-features.h
18333 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18334 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18335 Make code unconditional.
18336 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18337 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18339 [__NR_vfork]: Make code unconditional.
18340 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18341 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18343 [__NR_vfork]: Make code unconditional.
18344 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18345 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18346
09c0ee5f
RM
183472012-08-01 Roland McGrath <roland@hack.frob.com>
18348
48aec5b9
RM
18349 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18350 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18351
cd97c966
RM
18352 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18353 Define mkstemp64 as an alias.
3f55550c
RM
18354 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18355 Define mkstemps64 as an alias.
cd97c966
RM
18356 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18357 Define mkostemp64 as an alias.
b8625cfc
RM
18358 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18359 Define mkostemps64 as an alias.
cd97c966
RM
18360 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18361 Conditionalize body on this.
18362 * misc/mkostemp64.c: Likewise.
b8625cfc 18363 * misc/mkostemps64.c: Likewise.
3f55550c 18364 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18365 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18366 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18367 * sysdeps/wordsize-64/mkostemp.c: File removed.
18368 * sysdeps/wordsize-64/mkstemp.c: File removed.
18369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18373
09c0ee5f
RM
18374 [BZ #14138]
18375 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18376 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18377 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18378 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18379
18380 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18381 compat_symbol macros from <shlib-compat.h> rather than the underlying
18382 default_symbol_version and symbol_version macros, so that DEFAULT
18383 lines in shlib-versions are respected.
18384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18385
7e66ee51
FW
183862012-08-01 Florian Weimer <fweimer@redhat.com>
18387
18388 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18389 Declare with warn_unused_result.
18390 (setgid, setregid, setegid, setresgid): Likewise.
18391 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18392 Likewise.
18393 * WUR-REPORT: Remove set*id functions.
18394
d2a54255
PT
183952012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18396
18397 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18398
7ecdb005
RM
183992012-07-31 Roland McGrath <roland@hack.frob.com>
18400
b4180a5e 18401 [BZ #10191]
789bd351
RM
18402 * include/sys/socket.h (__libc_accept, __libc_accept4):
18403 Add attribute_hidden.
18404 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18405
40ce302d
RM
18406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18407 use of PTR_MANGLE.
18408 * inet/getnetgrent_r.c (setup): Likewise.
18409
7ecdb005
RM
18410 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18411
e2eabb2c
DM
184122012-07-31 David S. Miller <davem@davemloft.net>
18413
18414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18415
d0419dbf
JM
184162012-07-31 Joseph Myers <joseph@codesourcery.com>
18417
18418 [BZ #13629]
18419 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18420 value between 1.0 and 2.0 and smaller part has absolute value less
18421 than 1.0.
18422 * math/s_clog10.c (__clog10): Likewise.
18423 * math/s_clog10f.c (__clog10f): Likewise.
18424 * math/s_clog10l.c (__clog10l): Likewise.
18425 * math/s_clogf.c (__clogf): Likewise.
18426 * math/s_clogl.c (__clogl): Likewise.
18427 * math/libm-test.inc (clog_test): Add more tests.
18428 (clog10_test): Likewise.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
2bc13872
FW
184322012-07-31 Florian Weimer <fweimer@redhat.com>
18433
18434 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18435 Exit with zero in case no suitable GID is found, and write a
18436 message to standard error.
18437
bea9b193
RM
184382012-07-30 Roland McGrath <roland@hack.frob.com>
18439
18440 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18441 rather than to 1.
18442 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18443 (MAXPATHLEN): Removed.
18444 (NOGROUP, NODEV): New macros.
18445 (setbit, clrbit, isset, isclr): New macros.
18446 (howmany, roundup, powerof2): New macros.
18447 (DEV_BSIZE): New macro.
18448
18449 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18450 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18451
18452 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18453 definition on [!__NO_LONG_DOUBLE_MATH].
18454
18455 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18456 PTR_MANGLE and PTR_DEMANGLE.
18457
18458 * socket/accept4.c (accept4): Rename to __libc_accept4.
18459 Define accept4 as a weak alias.
18460
18461 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18462 on [_DIRENT_HAVE_D_TYPE].
18463 * io/ftw.c (ftw_dir): Likewise.
18464
18465 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18466
18467 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18468
18469 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18470 Use the BSD numbers rather than the arbitrary ones we had.
18471 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18472 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18473 (SIGXCPU, SIGXFSZ): New macros.
18474 (_NSIG): Now 32.
18475
18476 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18477 initializer on [_LIBC_REENTRANT].
18478
18479 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18480 definitions inside [_POSIX_MAPPED_FILES].
18481
18482 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18483
18484 * dirent/opendir.c: Include <fcntl.h>.
18485
18486 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18487 (__libc_getspecific): Likewise.
18488 (__libc_key_create): Likewise.
18489
18490 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18491 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18492 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18493 (tmpfile64): Define as alias.
18494 * sysdeps/wordsize-64/tmpfile.c: File removed.
18495 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18498
18499 * stdio-common/vfscanf.c: Include <stdbool.h>.
18500 * nss/makedb.c: Likewise.
18501 * stdio-common/_i18n_number.h: Likewise.
18502 * argp/argp-help.c: Likewise.
18503 * posix/wordexp.c: Likewise.
18504 * sysdeps/posix/spawni.c: Likewise.
18505 * nss/nss_files/files-initgroups.c: Likewise.
18506 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18507 * nss/nss_files/files-initgroups.c: Likewise.
18508 * nss/nss_db/db-netgrp.c: Likewise.
18509 * nss/nss_db/db-initgroups.c: Likewise.
18510 * io/fchmodat.c: Include <sys/stat.h>.
18511
18512 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18513 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18514
18515 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18516 [HAVE_MMAP].
18517
18518 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18519 Add multiple inclusion protection.
18520
e5abc686
DM
185212012-07-27 David S. Miller <davem@davemloft.net>
18522
18523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18524
815e6fa3
GB
185252012-07-27 Gary Benson <gbenson@redhat.com>
18526
18527 [BZ #14298]
18528 * elf/rtld.c: Include <stap-probe.h>.
18529 (dl_main): Added static probes "init_start" and "init_complete".
18530 * elf/dl-load.c: Include <stap-probe.h>.
18531 (lose): Take new parameter "nsid".
18532 Added static probe "map_failed".
18533 (_dl_map_object_from_fd): Pass namespace id to lose.
18534 Added static probe "map_start".
18535 (open_verify): Pass namespace id to lose.
18536 * elf/dl-open.c: Include <stap-probe.h>.
18537 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18538 and "reloc_complete".
18539 * elf/dl-close.c: Include <stap-probe.h>.
18540 (_dl_close_worker): Added static probes "unmap_start" and
18541 "unmap_complete".
18542 * elf/rtld-debugger-interface.txt: New file documenting the above.
18543
9f98c16c
RM
185442012-07-26 Roland McGrath <roland@hack.frob.com>
18545
18546 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18547 rather than a string variable.
18548 * sunrpc/rpc_main.c (h_output): Likewise.
18549 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18550
f3c22df3
PT
185512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18552
18553 * inet/check_native.c: New file.
18554
3129cfc6
JM
185552012-07-26 Joseph Myers <joseph@codesourcery.com>
18556
da865e95
JM
18557 [BZ #13629]
18558 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18559 if larger part has absolute value 1.0.
18560 * math/s_clog10.c (__clog10): Likewise.
18561 * math/s_clog10f.c (__clog10f): Likewise.
18562 * math/s_clog10l.c (__clog10l): Likewise.
18563 * math/s_clogf.c (__clogf): Likewise.
18564 * math/s_clogl.c (__clogl): Likewise.
18565 * math/libm-test.inc (clog_test): Add more tests.
18566 (clog10_test): Likewise.
18567 * sysdeps/i386/fpu/libm-test-ulps: Update.
18568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569
3129cfc6
JM
18570 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18571 (pltexit): Likewise.
18572 (La_regs): Likewise.
18573 (La_retval): Likewise.
18574 (int_retval): Likewise.
18575 Update #error for removed macros to refer only to definitions in
18576 tst-audit.h.
18577 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18578 macro.
18579 (pltexit): Likewise.
18580 (La_regs): Likewise.
18581 (La_retval): Likewise.
18582 (int_retval): Likewise.
18583 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18584 macro.
18585 (pltexit): Likewise.
18586 (La_regs): Likewise.
18587 (La_retval): Likewise.
18588 (int_retval): Likewise.
18589 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18590 macro.
18591 (pltexit): Likewise.
18592 (La_regs): Likewise.
18593 (La_retval): Likewise.
18594 (int_retval): Likewise.
18595 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18596 macro.
18597 (pltexit): Likewise.
18598 (La_regs): Likewise.
18599 (La_retval): Likewise.
18600 (int_retval): Likewise.
18601 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18602 macro.
18603 (pltexit): Likewise.
18604 (La_regs): Likewise.
18605 (La_retval): Likewise.
18606 (int_retval): Likewise.
18607 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18608 macro.
18609 (pltexit): Likewise.
18610 (La_regs): Likewise.
18611 (La_retval): Likewise.
18612 (int_retval): Likewise.
18613 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18614 macro definitions in tst-audit.h.
18615 * sysdeps/i386/tst-audit.h: New file.
18616 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18617 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18618 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18619 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18620 * sysdeps/sh/tst-audit.h: Likewise.
18621 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18622 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18623 * sysdeps/x86_64/tst-audit.h: Likewise.
18624
bfc07087
AJ
186252012-07-26 Andreas Jaeger <aj@suse.de>
18626
b1b2aaf8
AJ
18627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18628 ptrace.
18629
18630 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18631 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18632 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18633 PTRACE_O_MASK.
18634 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18635 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18637
bfc07087
AJ
18638 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18639 value.
18640
18641 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18642 _sigsys.
18643 (si_call_addr, si_syscall, si_arch): Define new macro.
18644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18645 _sigsys.
18646 (si_call_addr, si_syscall, si_arch): Define new marcro.
18647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18648 _sigsys.
18649 (si_call_addr, si_syscall, si_arch): Define new macro.
18650 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18651 _sigsys.
18652 (si_call_addr, si_syscall, si_arch): Define new macro.
18653
89b4b02f
JM
186542012-07-25 Joseph Myers <joseph@codesourcery.com>
18655
18656 [BZ #13717]
18657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18658 Change to 2.4.21 where previously 2.4.1.
18659 * sysdeps/unix/sysv/linux/configure: Regenerated.
18660 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18661 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18662 Linux kernel version.
18663 (__ASSUME_STD_AUXV): Remove.
18664 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18665 kernel version.
18666 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18667 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18668 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18669 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18670 (__ASSUME_NETLINK_SUPPORT): Likewise.
18671 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18672 (__no_netlink_support): Remove conditional definition.
18673 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18674 Remove.
18675 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18676 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18677 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18678 (if_nameindex_ioctl): Remove.
18679 (if_nameindex_netlink): Do not handle __no_netlink_support.
18680 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18681 code.
18682 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18683 Remove conditional code.
18684 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18685 code.
18686 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18687 unconditional.
18688 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18689 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18690 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18691 Remove.
18692 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18693 [!__ASSUME_STD_AUXV]: Remove conditional code.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18695 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18696 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18698 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18699 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18700 code.
18701 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18703 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18704 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18705 conditional code.
18706 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18708 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18709 code.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18711 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18712 conditional code.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18714 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18715 code unconditional.
18716 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18717 conditional code.
18718 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18719 unconditional.
18720 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18721 conditional code.
18722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18723 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18724 unconditional.
18725 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18726 conditional code.
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18728 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18729 code unconditional.
18730 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18731 conditional code.
18732 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18733 unconditional.
18734 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18735 conditional code.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18737 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18738 code unconditional.
18739 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18740 conditional code.
18741 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18742 unconditional.
18743 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18744 conditional code.
18745
842a39cd
AS
187462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18747
18748 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18750 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18751 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18752 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18753 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18754 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18755 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18756 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18757 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18758 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18759 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18760 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18761 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18763 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18764 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18766 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18771
84b3fd84
FW
187722012-07-25 Florian Weimer <fweimer@redhat.com>
18773
18774 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18775 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18776 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18777 Introduce __libc_secure_getenv.
0c7936d5
FW
18778 * stdlib/Versions (2.17): Add secure_getenv
18779 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18780 * stdlib/secure-getenv.c: Rename __secure_getenv to
18781 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18782 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18783 * stdlib/tst-secure-getenv.c: New.
18784 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18785 * manual/startup.texi (Environment Access): Document
18786 secure_getenv.
84b3fd84
FW
18787 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18788 __libc_secure_getenv.
18789 * inet/ruserpass.c (ruserpass): Likewise.
18790 * malloc/mtrace.c (mtrace): Likewise.
18791 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18792 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18793 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18794 * sysdeps/posix/tempname.c: Likewise. Evaluate
18795 HAVE_SECURE_GETENV.
18796 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18797 __secure_getenv to __libc_secure_getenv.
84b3fd84 18798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18800 Likewise.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18802 Likewise.
18803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18810
56e49b71
JM
188112012-07-25 Joseph Myers <joseph@codesourcery.com>
18812
18813 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18814 (struct La_i86_retval): Likewise.
18815 (struct La_x86_64_regs): Likewise.
18816 (struct La_x86_64_retval): Likewise.
18817 (struct La_x32_regs): Likewise.
18818 (struct La_x32_retval): Likewise.
18819 (struct La_ppc32_regs): Likewise.
18820 (struct La_ppc32_retval): Likewise.
18821 (struct La_ppc64_regs): Likewise.
18822 (struct La_ppc64_retval): Likewise.
18823 (struct La_sh_regs): Likewise.
18824 (struct La_sh_retval): Likewise.
18825 (struct La_s390_32_regs): Likewise.
18826 (struct La_s390_32_retval): Likewise.
18827 (struct La_s390_64_regs): Likewise.
18828 (struct La_s390_64_retval): Likewise.
18829 (struct La_sparc32_regs): Likewise.
18830 (struct La_sparc32_retval): Likewise.
18831 (struct La_sparc64_regs): Likewise.
18832 (struct La_sparc64_retval): Likewise.
18833 (struct audit_ifaces): Remove architecture-specific pltenter and
18834 pltexit members.
18835 * sysdeps/i386/ldsodefs.h: New file.
18836 * sysdeps/powerpc/ldsodefs.h: Likewise.
18837 * sysdeps/s390/ldsodefs.h: Likewise.
18838 * sysdeps/sh/ldsodefs.h: Likewise.
18839 * sysdeps/sparc/ldsodefs.h: Likewise.
18840 * sysdeps/x86_64/ldsodefs.h: Likewise.
18841
354691b7
MP
188422012-07-25 Marek Polacek <polacek@redhat.com>
18843
18844 [BZ #6808]
18845 * math/libm-test.inc (yn_test): Add another test.
18846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18847 to ERANGE when the result is +-Inf.
18848 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18849 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18851 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18852
bf9e2071
JM
188532012-07-24 Joseph Myers <joseph@codesourcery.com>
18854
18855 * conform/data/time.h-data (NULL): Use macro-constant. Require
18856 equal to 0.
18857 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18858 clock_t.
18859 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18860
57633811
TS
188612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18862
18863 * configure.in <sysdeps resolving>: Correct printing
18864 Implies_before.
18865 * configure: Regenerate.
18866
c23c33b0
TS
188672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18868
18869 * math/w_ilogb.c: Include <limits.h>.
18870 * math/w_ilogbl.c: Likewise.
18871
b5982523
JM
188722012-07-20 Joseph Myers <joseph@codesourcery.com>
18873
18874 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18875 va_copy. Document allowing for unavailable va_copy only as
18876 pre-C99 compatibility.
18877 * manual/string.texi (Copying and Concatenation): Use va_copy
18878 instead of __va_copy in concat example.
18879
ac4ea442
PT
188802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18881
18882 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18883 (__sendto): Use create_address_port. Initialize APORT and deallocate
18884 it if not null.
18885
f98eafbd
PT
18886 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18887 with O_NOLINK passed to __file_name_lookup.
18888
898c7aab
PT
18889 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18890 with O_NOLINK passed to __file_name_lookup.
18891
0ced335a
PT
18892 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18893 negative N or less than NGIDS.
18894
b3404dbd
PT
18895 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18896 type to string_t. Set ERANGE as errno and return it if NAME is not big
18897 enough. Use memcpy instead of strncpy.
18898
0f48659e
JM
188992012-07-20 Joseph Myers <joseph@codesourcery.com>
18900
18901 * elf/Makefile (check-data): Remove.
18902 (localplt.data): New vpath directive.
18903 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18904 instead of $(check-data).
18905 * scripts/data/localplt-generic.data: Move to ...
18906 * sysdeps/generic/localplt.data: ... here.
18907 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18908 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18909 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18911 ... here.
18912 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18914 ... here.
18915 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18917 ... here.
18918 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18920 ... here.
18921 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18923 ... here.
18924 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18926 ... here.
18927
d37cbdaa
AZ
189282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18929
18930 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18931 PPC32 and PPC64 files.
18932 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18933 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18934
46f85fc2
AK
189352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18936
18937 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18938 __makecontext_ret to ...
18939 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18940 ... here and call exit if uc_link is NULL. New file.
18941 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18942 __makecontext_ret.S.
18943 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18944 __makecontext_ret to ...
18945 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18946 ... here and call exit if uc_link is NULL. New file.
18947 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18948 __makecontext_ret.S.
18949
08f43f9b
AK
189502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18951
18952 * elf/elf.h (R_390_IRELATIVE): New definition.
18953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18954 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18955 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18956 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18957 (elf_machine_lazy_rel): Likewise.
18958 * sysdeps/s390/dl-irel.h: New file.
18959 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18960 * sysdeps/s390/s390-64/memset.S: New asm code.
18961 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18962 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18963 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18964 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18965 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18966 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18967 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18968 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18969 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18970 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18971 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18972 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18973 * sysdeps/s390/s390-32/memset.S: New asm code.
18974 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18975
3b05db33
MP
189762012-07-17 Marek Polacek <polacek@redhat.com>
18977
18978 [BZ #14349]
18979 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18980 * sysdeps/s390/s390-64/configure.in: Likewise.
18981 * sysdeps/sparc/configure.in: Likewise.
18982 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18983 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18984 * sysdeps/i386/configure.in: Likewise.
18985 * sysdeps/x86_64/configure.in: Likewise.
18986 * sysdeps/sh/configure.in: Likewise.
18987 * sysdeps/s390/s390-32/configure: Regenerated.
18988 * sysdeps/s390/s390-64/configure: Likewise.
18989 * sysdeps/x86_64/configure: Likewise.
18990 * sysdeps/sh/configure: Likewise.
18991 * sysdeps/powerpc/powerpc64/configure: Likewise.
18992 * sysdeps/powerpc/powerpc32/configure: Likewise.
18993 * sysdeps/sparc/configure: Likwise.
18994 * sysdeps/i386/configure: Likewise.
18995
a66877c6
MP
18996 * elf/dl-open.c: Comment fixes.
18997
cfc82fd8
JM
189982012-07-17 Joseph Myers <joseph@codesourcery.com>
18999
bd29910a
JM
19000 * Makefile [CXX] (check-data): Remove.
19001 [CXX] (c++-types.data): New vpath directive.
19002 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19003 vpath. Do not allow for C++ type data being missing.
19004 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19005 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19006 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19007 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19008 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19009 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19010 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19012 ... here.
19013 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19015 ... here.
19016 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19018 ... here.
19019 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19021 ... here.
19022 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19024 ... here.
19025 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19027 ... here.
19028 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19030 ... here.
19031 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19033
cfc82fd8
JM
19034 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19035 definitions to architecture-specific files.
19036 (TLS_IE): Likewise.
19037 (TLS_LD): Likewise.
19038 (TLS_GD): Likewise.
19039 * sysdeps/i386/tls-macros.h: New file.
19040 * sysdeps/powerpc/tls-macros.h: Likewise.
19041 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19042 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19043 * sysdeps/sh/tls-macros.h: Likewise.
19044 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19045 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19046 * sysdeps/x86_64/tls-macros.h: Likewise.
19047
f7db3170
TS
190482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19049
07cbfc23
TS
19050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19051 zero value for regular exit case.
19052
f7db3170
TS
19053 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19054 (__start_context): Preserve zero value for regular exit case.
19055
dc97c227
TS
190562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19057 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19058
19059 * manual/setjmp.texi (setcontext): Clarify normal process
19060 termination when uc_link is the null pointer.
19061 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19062 exit call.
19063
d0cd7d02
AS
190642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19065
19066 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19067 preprocessor. Test for each exception mask separately.
19068
dd318934
AJ
190692012-07-16 Andreas Jaeger <aj@suse.de>
19070
19071 * po/ru.po: Update from translation team.
19072
8048311a
JM
190732012-07-15 Joseph Myers <joseph@codesourcery.com>
19074
19075 * conform/data/string.h-data (NULL): Use macro-constant. Require
19076 equal to 0.
19077 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19078 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19079 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19080 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19082
b637d46e
AJ
190832012-07-13 Andreas Jaeger <aj@suse.de>
19084
19085 * po/fr.po: Update from translation team.
19086
541428fe
MP
190872012-07-12 Marek Polacek <polacek@redhat.com>
19088
19089 [BZ #14173]
19090 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19092 loop condition.
19093
ec332e94
JM
190942012-07-12 Joseph Myers <joseph@codesourcery.com>
19095
19096 [BZ #13717]
19097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19098 Change to 2.4.1 where previously 2.4.0.
19099 * sysdeps/unix/sysv/linux/configure: Regenerated.
19100 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19101 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19102 version.
19103 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19104 (__ASSUME_AT_CLKTCK): Remove.
19105 (__ASSUME_AT_PAGESIZE): Likewise.
19106 (__ASSUME_AT_XID): Likewise.
19107 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19108 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19109 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19110 unconditionally.
19111 (HAVE_AUX_PAGESIZE): Likewise.
19112 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19113 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19114 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19115
7b6e99be
JB
191162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19117
19118 [BZ #14307]
19119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19120 the temporary buffer used to invoke __gethostbyname2_r,
19121 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19122 host_data / struct gaih_addrtuple.
19123 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19124 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19125 header file nss/nsswitch.h.
19126 * nss/nsswitch.h (global scope): Add definition of implementation
19127 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19128 resolv/nss_dns/dns-host.c).
19129
608404eb
AJ
191302012-07-11 Andreas Jaeger <aj@suse.de>
19131
19132 * po/fr.po: Update from translation team.
19133
71220aca
AJ
19134 * po/sv.po: Update from translation team
19135 * po/fr.po: Another update from translation team.
19136
28cfe843
AZ
191372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19138
19139 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19140 for subnormals or multiply small sinh result by itself.
19141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19143
6b90f981
DM
191442012-07-11 David S. Miller <davem@davemloft.net>
19145
19146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19147
c6825772
AS
191482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19149
19150 [BZ #14347]
19151 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19152 (INTERNAL_MARK): Shift it here.
19153
7b8e0d49
MP
191542012-07-10 Marek Polacek <polacek@redhat.com>
19155
19156 [BZ #14151]
19157 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19158 libc_cv_asm_global_directive with .globl.
19159 * configure: Regenerated.
19160 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19161 with .globl.
19162 * sysdeps/i386/configure: Regenerated.
19163 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19164 with .globl.
19165 * sysdeps/x86_64/configure: Regenerated.
19166 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19167 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19168 * elf/tst-unique2mod2.c: Likewise.
19169 * elf/tst-unique2mod1.c: Likewise.
19170 * elf/tst-unique1mod2.c: Likewise.
19171 * elf/tst-unique1mod1.c: Likewise.
19172 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19173 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19175 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19176 * sysdeps/mach/sysdep.h: Likewise.
19177 * sysdeps/i386/sysdep.h: Likewise.
19178 * sysdeps/i386/i386-mcount.S: Likewise.
19179 * sysdeps/x86_64/_mcount.S: Likewise.
19180 * sysdeps/x86_64/sysdep.h: Likewise.
19181 * sysdeps/sh/_mcount.S: Likewise.
19182 * sysdeps/sh/sysdep.h: Likewise.
19183 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19184 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19185 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19187 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19188 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19189 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19190 * locale/localeinfo.h: Likewise.
19191 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19192 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19193
6c55cda3
RM
191942012-07-09 Roland McGrath <roland@hack.frob.com>
19195
19196 [BZ #14336]
19197 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19198 system".
19199 * manual/message.texi (The Uniforum approach): Likewise.
19200 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19201 (glibc iconv Implementation): Likewise.
19202
638a572e
JM
192032012-07-09 Joseph Myers <joseph@codesourcery.com>
19204
19205 [BZ #14337]
19206 * math/s_clog.c (__clog): Avoid scaling a value down where that
19207 could result in underflow.
19208 * math/s_clog10.c (__clog10): Likewise.
19209 * math/s_clog10f.c (__clog10f): Likewise.
19210 * math/s_clog10l.c (__clog10l): Likewise.
19211 * math/s_clogf.c (__clogf): Likewise.
19212 * math/s_clogl.c (__clogl): Likewise.
19213 * math/libm-test.inc (clog_test): Add more tests.
19214 (clog10_test): Likewise.
19215 * sysdeps/i386/fpu/libm-test-ulps: Update.
19216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217
261f4859
AS
192182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19219
0abaf3e4
AS
19220 [BZ #14283]
19221 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19222 by 7 not 8 to examine high bit of fractional part.
19223
261f4859
AS
19224 [BZ #14042]
19225 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19226 for call to __mcount_internal.
19227 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19228 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19229 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19230
f17ac40d
JM
192312012-07-06 Joseph Myers <joseph@codesourcery.com>
19232
9ad63c23
JM
19233 [BZ #14154]
19234 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19235 approximation for values within 0x1p-13f of an odd multiple of
19236 pi/4.
19237 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19238 exception. Add more tests.
19239 * sysdeps/i386/fpu/libm-test-ulps: Update.
19240
f17ac40d
JM
19241 [BZ #6778]
19242 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19243 inputs and return -1 for them. Do not check for +Inf in case not
19244 reachable for +Inf.
19245 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19246 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19248 and return -1 for them. Do not check for +Inf in case not
19249 reachable for +Inf.
19250 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19251 define.
19252 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19253 and return -1 for them. Do not check for +Inf in case not
19254 reachable for +Inf.
19255 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19256 spurious underflow.
19257 * sysdeps/i386/fpu/libm-test-ulps: Update.
19258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19259
fb21f89b
MF
192602012-07-06 Mike Frysinger <vapier@gentoo.org>
19261
19262 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19263
cdfe2c5e
JM
192642012-07-05 Joseph Myers <joseph@codesourcery.com>
19265
19266 [BZ #14157]
19267 [BZ #14331]
19268 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19269 could result in spurious underflow. Scale down values above
19270 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19271 * math/s_csqrtf.c (__csqrtf): Likewise.
19272 * math/s_csqrtl.c (__csqrtl): Likewise.
19273 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19274 spurious underflow.
19275 * sysdeps/i386/fpu/libm-test-ulps: Update.
19276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277
70d35b67
AS
192782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19279
704bc459
AS
19280 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19281 xopen-msg.sed.
19282 * catgets/xopen-msg.awk: New file.
19283 * catgets/xopen-msg.sed: Removed.
19284
70d35b67
AS
19285 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19286 po2text.sed.
19287 * intl/po2test.awk: New file.
19288 * intl/po2test.sed: Removed.
19289
ca61cf32
JM
192902012-07-04 Joseph Myers <joseph@codesourcery.com>
19291
19292 [BZ #14328]
19293 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19294 or multiply small sinh result by itself.
19295 * math/s_ctanf.c (__ctanf): Likewise.
19296 * math/s_ctanh.c (__ctanh): Likewise.
19297 * math/s_ctanhf.c (__ctanhf): Likewise.
19298 * math/s_ctanhl.c (__ctanhl): Likewise.
19299 * math/s_ctanl.c (__ctanl): Likewise.
19300 * math/libm-test.inc (ctan_test_tonearest): New function.
19301 (ctan_test_towardzero): Likewise.
19302 (ctan_test_downward): Likewise.
19303 (ctan_test_upward): Likewise.
19304 (ctanh_test_tonearest): Likewise.
19305 (ctanh_test_towardzero): Likewise.
19306 (ctanh_test_downward): Likewise.
19307 (ctanh_test_upward): Likewise.
19308 (main): Call these new functions.
19309 * sysdeps/i386/fpu/libm-test-ulps: Update.
19310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19311
ca48a46a
MF
193122012-07-03 Mike Frysinger <vapier@gentoo.org>
19313
19314 * .gitignore: Delete /ports entry.
19315
9d63d37d
AJ
193162012-07-03 Andreas Jaeger <aj@suse.de>
19317
19318 * po/bg.po: Update from translation team.
19319 * po/cs.po: Likewise.
19320 * po/de.po: Likewise.
19321 * po/hr.po: Likewise.
19322 * po/nl.pl: Likewise.
19323 * po/pl.po: Likewise.
19324 * po/vi.po: Likewise.
19325
370ca3d2
JM
193262012-07-03 Joseph Myers <joseph@codesourcery.com>
19327
95f5a9a8
JM
19328 * Makeconfig [!+link] (+link-before-libc): New variable.
19329 [!+link] (+link-after-libc): Likewise.
19330 [!+link] (+link-tests): Likewise.
19331 [!+link] (+link): Define in terms of $(+link-before-libc) and
19332 $(+link-after-libc).
19333 [!+link-static] (+link-static-before-libc): New variable.
19334 [!+link-static] (+link-static-after-libc): Likewise.
19335 [!+link-static] (+link-static-tests): Likewise.
19336 [!+link-static] (+link-static): Define in terms of
19337 $(+link-static-before-libc) and $(+link-static-after-libc).
19338 [build-shared] (link-libc-before-gnulib): New variable.
19339 [build-shared] (link-libc-tests): Likewise.
19340 [build-shared] (link-libc): Define in terms of
19341 $(link-libc-before-gnulib).
19342 [!build-shared] (link-libc-tests): New variable.
19343 (link-libc-static-tests): New variable.
19344 [!gnulib] (gnulib-arch): New variable.
19345 [!gnulib] (gnulib-tests): Likewise.
19346 [!gnulib] (static-gnulib-arch): Likewise.
19347 [!gnulib] (static-gnulib-tests): Likewise.
19348 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19349 Define with "=" instead of ":=".
19350 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19351 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19352 * Rules (binaries-all-notests): New variable.
19353 (binaries-all-tests): Likewise.
19354 (binaries-static-notests): Likewise.
19355 (binaries-static-tests): Likewise.
19356 (binaries-all): Define using $(binaries-all-notests) and
19357 $(binaries-all-tests).
19358 (binaries-static): Define using $(binaries-static-notests) and
19359 $(binaries-static-tests).
19360 (binaries-shared-tests): New variable.
19361 (binaries-shared-notests): Likewise.
19362 (binaries-shared): Remove variable.
19363 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19364 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19365 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19366 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19367 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19368 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19369 * elf/Makefile (sln-modules): New variable.
19370 (extra-objs): Add $(sln-modules:=.o).
19371 (ldconfig-modules): Add static-stubs.
19372 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19373 * elf/static-stubs.c: New file.
19374
7a845b2c
JM
19375 [BZ #14283]
19376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19377 by 7 not 8 to examine high bit of fractional part. Use volatile
19378 variables when splitting into final array of floats if
19379 __FLT_EVAL_METHOD__ != 0.
19380 * math/libm-test.inc (cos_test): Add another test.
19381 (sin_test): Likewise.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383
e2283f38
JM
19384 [BZ #14273]
19385 * math/libm-test.inc (cosh_test): Add more tests.
19386
370ca3d2
JM
19387 * version.h (RELEASE): Set to "development".
19388 (VERSION): Set to "2.16.90".
19389
ee9247c3
CD
193902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19391
19392 * NEWS: Update copyright. Remove last-updated date.
19393 Mention math library bug fixes and timezone data changes.
19394 * README: Mention GNU/Hurd, x32, and HPPA support status.
19395
4648c381
TS
193962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19397
19398 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19399
aac78a43
AJ
194002012-06-27 Andreas Jaeger <aj@suse.de>
19401
19402 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19403
ed3dbfad
AJ
194042012-06-25 Andreas Jaeger <aj@suse.de>
19405
19406 * sysdeps/s390/fpu/libm-test-ulps: Update.
19407
4d0ee855
AS
194082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19409 Thomas Schwinge <thomas@codesourcery.com>
19410
19411 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19412 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19414 fanotify_mark.
19415
af1bce34
TS
194162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19417
a9fa33ba
TS
19418 * sysdeps/mach/start.c: Remove file.
19419 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19420 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19421 * sysdeps/sh/init-first.c: Likewise.
19422
58f902b8
TS
19423 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19424 registers for frame unwinding purposes, add CFI directives.
19425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19426 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19427 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19428 Likewise.
19429
1518f58b
TS
19430 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19431 __fortify_fail returning.
19432 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19433
db9b5059
TS
19434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19435 sysdeps/sh/____longjmp_chk.S.
19436 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19437 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19438 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19439 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19440
967705fe
TS
19441 * sysdeps/sh/abort-instr.h: New file.
19442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19443 process in case exit returns.
19444
a9def8c4
TS
19445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19446 initialize the GOT register before use.
19447
2a649725
TS
19448 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19449 calculation of ARGC > 4.
19450
af1bce34
TS
19451 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19452 meaningful names to some local labels.
19453
d230f50a
KK
194542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19455 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19456
19457 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19458 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19459 (__arch_compare_and_exchange_val_16_acq): Likewise.
19460 (__arch_compare_and_exchange_val_32_acq): Likewise.
19461 (atomic_exchange_and_add): Fix gUSA sequence.
19462 (atomic_add): Likewise.
19463 (atomic_add_negative): Likewise.
19464 (atomic_add_zero): Likewise.
19465 (atomic_bit_test_set): Likewise.
19466
0479b305
AS
194672012-06-22 Andreas Schwab <schwab@redhat.com>
19468
19469 [BZ #13579]
19470 * include/link.h (struct link_map): Add l_free_initfini.
19471 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19472 l_initfini.
19473 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19474 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19475 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19476 set.
19477
0e3933b9
CD
194782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19479
19480 * configure.in: Use AC_LANG_SOURCE.
19481 * configure: Regenerate.
19482
4248b1b1
RM
194832012-06-22 Roland McGrath <roland@hack.frob.com>
19484
19485 * configure.in (libc_cv_localstatedir): New substituted variable.
19486 * configure: Regenerated.
19487 * config.make.in (localstatedir): New variable, substituted from
19488 libc_cv_localstatedir.
19489 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19490 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19491 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19492 * sysdeps/gnu/configure: Regenerated.
19493
006dd861
JL
194942012-06-21 Jeff Law <law@redhat.com>
19495
19496 [BZ #14277]
19497 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19498 free. Simplify list management for _LIBC case.
19499
79662d42
JM
195002012-06-21 Joseph Myers <joseph@codesourcery.com>
19501
b7abb4bf
JM
19502 [BZ #14273]
19503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19504 Clear sign bit of 64-bit integer value before comparing against
19505 overflow value.
19506
79662d42
JM
19507 * sysdeps/mach/configure: Regenerated.
19508
1f150908
L
195092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19510
19511 [BZ #14278]
19512 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19513
28363bbf
JL
195142012-06-21 Jeff Law <law@redhat.com>
19515
19516 [BZ #13882]
19517 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19518 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19519 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19520 * elf/dl-open.c (dl_open_worker): Likewise.
19521
09615db4
CD
195222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19523
19524 * scripts/list-sources.sh: Scan PORTS for translations.
19525 * po/libc.pot: Regenerated.
19526
2174c6dd
AJ
195272012-06-21 Andreas Jaeger <aj@suse.de>
19528
19529 [BZ #12194]
19530 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19531 warning.
19532 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19533 * bits/byteswap-16.h (__bswap_16): Likewise.
19534 * bits/byteswap.h (__bswap_constant_16): Likewise.
19535
3ee947b1
L
195362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19537
19538 [BZ #14117]
a2f34833
L
19539 * sysdeps/i386/fpu_control.h: Removed.
19540 * sysdeps/x86_64/fpu_control.h: Moved to ...
19541 * sysdeps/x86/fpu_control.h: Here.
19542
3ee947b1
L
19543 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19544 (_FPU_SETCW): Likewise.
19545
ed1825f8
L
195462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19547
25f1282a
L
19548 [BZ #14117]
19549 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19550 * sysdeps/x86/fpu/bits/mathinline.h: This.
19551 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19552
ed1825f8
L
19553 [BZ #14050]
19554 [BZ #14117]
19555 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19556 functions if __x86_64__ is defined.
19557
36d54b74
CLT
195582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19559
19560 * string/endian.h: Add !__ASSEMBLER__ condition for including
19561 conversion interfaces.
19562
10285c21
JM
195632012-06-15 Joseph Myers <joseph@codesourcery.com>
19564
19565 [BZ #14241]
19566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19567 of ABS(x) in calculating zero to negative powers other than odd
19568 integers.
19569 * math/libm-test.inc (pow_test): Add more tests.
19570
06c5abbd
AJ
195712012-06-15 Andreas Jaeger <aj@suse.de>
19572
19573 * manual/contrib.texi (Contributors): Update entry of Liubov
19574 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19575 Machado Filho.
19576
a3aeac40
CH
195772012-06-15 Cyril Hrubis <metan@ucw.cz>
19578
19579 * string/string.h: Add __wur to GNU version of strerror_r.
19580
49bdf4c1
L
195812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19582
19583 [BZ #14229]
19584 * string/Makefile (tests): Add tst-strtok_r.
19585 * string/tst-strtok_r.c: New file.
19586 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19587 RAX_LP/RDX_LP on SAVE_PTR.
19588
834f9b8d
RM
195892012-06-14 Roland McGrath <roland@hack.frob.com>
19590
19591 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19592
75fa1921
JM
195932012-06-14 Joseph Myers <joseph@codesourcery.com>
19594
19595 * libm_test.inc (csqrt_test): Allow more spurious underflow
19596 exceptions.
19597 (j0_test): Likewise.
19598 (j1_test): Likewise.
19599 (y0_test): Likewise.
19600 (y1_test): Likewise.
19601
771766df
CD
196022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19603
19604 * po/Makefile (libc.pot): Use UTF-8 charset.
19605
ceb9e56b
PP
196062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19607
19608 [BZ #14210]
19609 Suppress sign-conversion warning from FD_SET.
19610 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19611 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19612 not unsigned long int.
19613 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19614
ddb28975
L
196152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19616
19617 [BZ #14050]
19618 [BZ #14117]
19619 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19620 __extern_always_inline instead of __extern_inline.
19621 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19622 (__signbit): Likewise.
19623 (__signbitl): Support C++ namespace.
19624 (lrintf): New inline function.
19625 (lrint): Likewise.
19626 (llrintf): Likewise.
19627 (llrint): Likewise.
19628 (fmaxf): Likewise.
19629 (fmax): Likewise.
19630 (fminf): Likewise.
19631 (fmin): Likewise.
19632 (rint): Likewise.
19633 (rintf): Likewise.
19634 (ceil): Likewise.
19635 (ceilf): Likewise.
19636 (floor): Likewise.
19637 (floorf): Likewise.
19638 (nearbyint): Likewise.
19639 (nearbyintf): Likewise.
19640
d7b4fb26
TS
196412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19642
19643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19644 non-default versions.
19645
eb55f5c2
RM
196462012-06-11 Roland McGrath <roland@hack.frob.com>
19647
19648 [BZ #14218]
19649 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19650
366af02c
TS
196512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19652
99ff6e5c
TS
19653 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19654 (FE_UPWARD, FE_DOWNWARD): Don't define.
19655 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19656 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19657
366af02c
TS
19658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19659 reading it.
19660 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19661 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19662
793ea851
KK
196632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19664
19665 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19667 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19668 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19669
a728a38f
L
196702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 [BZ #14117]
c08010c7
L
19673 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19674 * sysdeps/i386/fpu/Implies: New file.
19675 * sysdeps/x86_64/fpu/Implies: Likewise.
19676 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19677 * sysdeps/x86/fpu/bits/fenv.h: This.
19678
a728a38f
L
19679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19680 __SSE_MATH__.
19681
6e230d11
SP
196822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19683
19684 [BZ #14134]
19685 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19686 character 0xffff that matches the last element of the
19687 conversion table.
19688
1b671feb
AZ
196892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690
19691 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19692 fmodl commit.
19693
6043738b
AZ
196942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19695
19696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19697 values higher than 25.6283.
19698
34ae0b32
AZ
196992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19700
19701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19702 subnormal exponent extraction and add some __builtin_expect.
19703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19704 Fix for subnormal mantissa calculation.
19705
1214ec8f
MF
197062012-06-04 Mike Frysinger <vapier@gentoo.org>
19707
19708 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19709 cpu2 is -1 and errno is not ENOSYS.
19710
f3d1f93c
L
197112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19712
19713 [BZ #14117]
0e4a3cd7
L
19714 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19715 * sysdeps/x86/bits/string.h: This.
19716 * sysdeps/x86_64/bits/string.h: Removed.
19717
6704c645
L
19718 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19719 if not compiling for x86-64, but compiling for >= i486.
19720
48495318
L
19721 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19722 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19723
14adcbfc
L
19724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19725 New macro from Linux kernel 3.4.0.
19726 (FP_XSTATE_MAGIC2): Likewise.
19727 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19728 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19729 (struct _fpx_sw_bytes): New struct.
19730 (struct _xsave_hdr): Likewise.
19731 (struct _ymmh_state): Likewise.
19732 (struct _xstate): Likewise.
19733
68e408ab
L
19734 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19735 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19737 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19738 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19739 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19740
f3d1f93c
L
19741 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19742 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19743 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19744 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19745 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19746 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19747
d9dc34cd
TMQMF
197482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19749
19750 [BZ #13743]
19751 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19752 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19753 (sysdep_headers): Include sys/platform/ppc.h.
19754 * sysdeps/powerpc/test-gettimebase.c: Test for
19755 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19756 * manual/Makefile (appendices): Include platform.texi.
19757 * manual/contrib.texi (Contributors): Update @node pointers.
19758 * manual/maint.texi (Maintenance): Likewise.
19759 (Platform): New node.
19760 * manual/platform.texi: New file. Document the new features.
19761
4af3879c
SP
197622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19763 Jakub Jelinek <jakub@redhat.com>
19764
19765 [BZ #14188]
19766 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19767 where __builtin_expect is unavailable.
19768
2fd6ff13
DM
197692012-06-03 David S. Miller <davem@davemloft.net>
19770
19771 * stdlib/longlong.h: Updated from GCC.
19772
173f7220
AS
197732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19774
19775 [BZ #14042]
19776 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19777 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19778 __mcount_internal.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19780 (GLIBC_2.16): Likewise.
19781
f34a1c6f
L
197822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19783
19784 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19785
88a4576f
JM
197862012-06-01 Joseph Myers <joseph@codesourcery.com>
19787
ea32bcdd
JM
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19789 (default-abi): New variable.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19791 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19792 variable.
19793 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19794 Likewise.
19795 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19796 Likewise.
19797 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19798 Likewise.
19799
88a4576f
JM
19800 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19801 definition. Document in comment.
19802
402fe938
DM
198032012-06-01 David S. Miller <davem@davemloft.net>
19804
19805 * stdlib/longlong.h: Updated from GCC.
19806
3553723f
L
198072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19808
19809 [BZ #14117]
3bd872c4
L
19810 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19811 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19812 sys/debugreg.h sys/io.h here.
19813 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19814 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19815 sys/io.h.
19816 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19817 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19818 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19819 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19820 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19821 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19822
3553723f
L
19823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19824 Define only if __x86_64__ is defined.
19825
4842e4fe
JM
198262012-06-01 Joseph Myers <joseph@codesourcery.com>
19827
c5bfe3d5
JM
19828 [BZ #14048]
19829 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19830 Use int64_t for variable i.
19831 * math/libm-test.inc (fmod_test): Add more tests.
19832
4842e4fe
JM
19833 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19834 z computation is not scheduled after fetestexcept.
19835 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19836 Use math_force_eval instead of asm to ensure calculation scheduled
19837 before exception test.
19838 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19839 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19840
efb73488
AJ
198412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19842
19843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19844 computation is not scheduled after fetestexcept.
19845
29bcce7c
L
198462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19847
19848 [BZ #14117]
19849 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19850 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19851
73a68f94
AZ
198522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19853
19854 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19856
67b6df78
L
198572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19858
edf2933a 19859 [BZ #14117]
ebc64a18
L
19860 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19861 <bits/wordsize.h>.
19862 (__WCHAR_MIN): Support __WORDSIZE == 64.
19863 (__WCHAR_MAX): Likewise.
19864
edf2933a
L
19865 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19867
57c6cf40
L
19868 [BZ #14183]
19869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19870 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19871
67b6df78 19872 [BZ #14117]
8eb6281e
L
19873 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19875
aac639f4
L
19876 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19877 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19878
67b6df78
L
19879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19880 Defined to 1 if __x86_64__ isn't defined.
19881 (_STAT_VER_LINUX_OLD): New.
19882 (st_atime): Remove duplicate.
19883 (st_mtime): Likewise.
19884 (st_ctime): Likewise.
19885
1c2cfe81
DM
198862012-05-31 David S. Miller <davem@davemloft.net>
19887
19888 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19889 entries.
19890
5be8418c
AS
198912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19892
e7725326
AS
19893 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19894 gen-libm-test.pl.
19895
5be8418c
AS
19896 [BZ #14132]
19897 * elf/dl-reloc.c: Include <_itoa.h>.
19898 (_dl_reloc_bad_type): Remove use of INTUSE.
19899 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19900 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19901 * stdio-common/psiginfo.c (psiginfo): Likewise.
19902 * stdio-common/psignal.c (psignal): Likewise.
19903 * string/strsignal.c (strsignal): Likewise.
19904 * include/signal.h (_sys_siglist): Declare hidden proto.
19905 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19906 INTVARDEF with libc_hidden_data_def.
19907 * stdio-common/itoa-udigits.c: Likewise.
19908 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19909 (_itoa_lower_digits_internal): Remove declaration.
19910 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19911 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19912 (_sys_sigabbrev_internal): Remove aliases.
19913 (_sys_siglist): Define hidden alias.
19914
507352f1
MT
199152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19916
19917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19918 bits/sysctl.h.
19919
42bbb1c3
L
199202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19921
19922 [BZ #14117]
6bd784b6
L
19923 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19924 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19925
8bca20f0
L
19926 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19927 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19928 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19929 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19930 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19931 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19932
f9e890a9
L
19933 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19935 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19936
471101a1
L
19937 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19938 with __addr.
19939 (insw): Likewise.
19940 (insl): Likewise.
19941 (outsb): Likewise.
19942 (outsw): Likewise.
19943 (outsl): Likewise.
19944
6451c862
L
19945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19947 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19948
a254b8c9
L
19949 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19950 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19952 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19953 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19954 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19955
b8dfdd92
L
19956 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19957 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19958
578cd270
L
19959 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19960 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19961
de662f5f
L
19962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19964 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19965
25653439
L
19966 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19967 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19968 to ...
19969 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19970
6bad24a0
L
19971 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19972 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19973 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19974
42bbb1c3
L
19975 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19976 for x86-64.
19977 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19978
2d10d547
JM
199792012-05-31 Joseph Myers <joseph@codesourcery.com>
19980
19981 * math/math.h (M_El): Use two more decimal places.
19982 (M_LOG2El): Likewise.
19983 (M_LOG10El): Likewise.
19984 (M_LN2l): Likewise.
19985 (M_LN10l): Likewise.
19986 (M_PIl): Likewise.
19987 (M_PI_2l): Likewise.
19988 (M_PI_4l): Likewise.
19989 (M_1_PIl): Likewise.
19990 (M_2_PIl): Likewise.
19991 (M_2_SQRTPIl): Likewise.
19992 (M_SQRT2l): Likewise.
19993 (M_SQRT1_2l): Likewise.
19994
f230c29b
DM
199952012-05-31 David S. Miller <davem@davemloft.net>
19996
19997 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19998 values between float registers.
19999 * sysdeps/sparc/sparc64/memset.S: Likewise.
20000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20001
fed806c3
MF
200022012-05-31 Mike Frysinger <vapier@gentoo.org>
20003
20004 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20005 -D_FORTIFY_SOURCE=1.
20006 (CPPFLAGS-tst-longjmp_chk.c): Define.
20007 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20008 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20009 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20010 CFLAGS-tst-wchar-h.c.
20011
30917259
MP
200122012-05-31 Marek Polacek <polacek@redhat.com>
20013
20014 [BZ #14132]
20015 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20016 __endmntent_internal): Remove declaration.
20017 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20018 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20019 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20020
1c58d5dc
DM
200212012-05-30 David S. Miller <davem@davemloft.net>
20022
20023 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20024 (___Q_simulate_exceptions): Use real FP ops rather than writing
20025 into the %fsr.
20026 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20027 Likewise.
20028
7dc00e0d
L
200292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20030
20031 [BZ #14117]
0bd53985
L
20032 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20033 * sysdeps/x86/bits/xtitypes.h: This.
20034
3a257e66
L
20035 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20036 * sysdeps/x86/bits/wordsize.h: This.
20037
62f62904
L
20038 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20039 * sysdeps/x86/bits/huge_vall.h: This.
20040
404fe9d9
L
20041 * sysdeps/i386/bits/select.h: Removed.
20042 * sysdeps/x86_64/bits/select.h: Renamed to ...
20043 * sysdeps/x86/bits/select.h: This.
20044
d48d0446
L
20045 * sysdeps/i386/bits/setjmp.h: Removed.
20046 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20047 * sysdeps/x86/bits/setjmp.h: This.
20048
7dc00e0d
L
20049 * sysdeps/i386/bits/mathdef.h: Removed.
20050 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20051 * sysdeps/x86/bits/mathdef.h: This.
20052
03277f8f
AS
200532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20054
20055 [BZ #14132]
20056 * include/sys/socket.h (__connect_internal)
20057 (__libc_sa_len_internal): Remove declaration.
20058 (__connect, __libc_sa_len): Declare hidden_proto.
20059 (SA_LEN): Remove use of INTUSE.
20060 * socket/connect.c: Add libc_hidden_def.
20061 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20062 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20063 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20064 alias.
20065 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20067 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20068 of adding _internal alias.
20069
13764867
L
200702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20071
20072 [BZ #14117]
6bd97696
L
20073 * sysdeps/i386/bits/link.h: Removed.
20074 * sysdeps/i386/bits/linkmap.h: Likewise.
20075 * sysdeps/x86_64/bits/link.h: Renamed to ...
20076 * sysdeps/x86/bits/link.h: This.
20077 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20078 * sysdeps/x86/bits/linkmap.h: This.
20079
f726f0bb
L
20080 * sysdeps/i386/bits/endian.h: Removed.
20081 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20082 * sysdeps/x86/bits/endian.h: This.
20083
13764867
L
20084 * sysdeps/i386/bits/byteswap.h: Removed.
20085 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20086 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20087 * sysdeps/x86/bits/byteswap.h: This.
20088 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20089 * sysdeps/x86/bits/byteswap-16.h: This.
20090 * sysdeps/i386/Implies: Add x86.
20091 * sysdeps/x86_64/Implies: Likewise.
20092
ae251b0b
DM
200932012-05-30 David S. Miller <davem@davemloft.net>
20094
20095 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20096 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20097 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20098 (FP_TRAPPING_EXCEPTIONS): Define.
20099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20100 (FP_TRAPPING_EXCEPTIONS): Define.
20101 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20102 subnormals only when inexact has been signalled or underflow
20103 exceptions are enabled.
20104 (_FP_PACK_CANONICAL): Likewise.
20105
d5c90867
L
201062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20107
20108 [BZ #14183]
20109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20110 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20111
63f1549e
RH
201122012-05-30 Richard Henderson <rth@twiddle.net>
20113
8d8f2279
RH
20114 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20115 with #ifndef NOT_IN_libc.
20116
63f1549e
RH
20117 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20118 marked to avoid plt entry.
20119
0ab0291b
L
201202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20121
20122 [BZ #14112]
20123 * Makeconfig (default-abi): New macro.
20124 (abi-includes): Likewise.
20125 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20126 $(abi-$(default-abi)-lib-soname) for soname if defined.
20127 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20128 abi-variants.
20129 * Makefile (installed-stubs): Likewise.
20130 * include/stubs-biarch.h: Removed.
20131 * scripts/lib-names.awk: Only handle one library at a time.
20132 * scripts/soversions.awk: Remove WORDSIZE support.
20133 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20134 entries.
20135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20136 Removed.
20137 (syscall-list-default-condition): Likewise.
20138 (syscall-list-default-condition): Likewise.
20139 (syscall-list-includes): Likewise.
20140 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20141 syscall-list-* with abi-*. Handle undefined abi-variants.
20142 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20143 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20144 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20145 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20146 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20147 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20148 Removed.
20149 (syscall-list-32-options): Likewise.
20150 (syscall-list-32-condition): Likewise.
20151 (syscall-list-64-options): Likewise.
20152 (syscall-list-64-condition): Likewise.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20154 macro.
20155 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20156 Renamed to ...
20157 (abi-*): This.
20158 (abi-64-ld-soname): New macro.
20159 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20160 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20161 Renamed to ...
20162 (abi-*): This.
20163 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20164 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20165
4da0431d
JM
201662012-05-30 Joseph Myers <joseph@codesourcery.com>
20167
3a85279c
JM
20168 * sysdeps/unix/sysv/linux/kernel-features.h
20169 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20170 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20171 include <kernel-features.h>.
20172 [!__NR_ftruncate64]: Remove conditional code.
20173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20174 [__NR_ftruncate64]: Make code unconditional.
20175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20176 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20177 include <kernel-features.h>.
20178 [!__NR_ftruncate64]: Remove conditional code.
20179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20180 [__NR_ftruncate64]: Make code unconditional.
20181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20183 include <kernel-features.h>.
20184 [!__NR_ftruncate64]: Remove conditional code.
20185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20186 [__NR_ftruncate64]: Make code unconditional.
20187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20189 include <kernel-features.h>.
20190 [!__NR_ftruncate64]: Remove conditional code.
20191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20192 [__NR_ftruncate64]: Make code unconditional.
20193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20194
4da0431d
JM
20195 * configure.in (libc_cv_fpie): Weaken to a compile test using
20196 LIBC_TRY_CC_OPTION.
20197 * configure: Regenerated.
20198
11ef492c
AK
201992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20200
20201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20205 Refreshed.
20206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20212 Refreshed.
20213
d66ef399
DM
202142012-05-27 David S. Miller <davem@davemloft.net>
20215
20216 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20217 (___Q_zero): New.
20218 (__Q_simulate_exceptions): Return void. Change to simulate
20219 exceptions by writing into the %fsr.
20220 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20221 (__Qp_handle_exceptions): Likewise.
20222 (numbers): Delete.
20223 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20224 __Qp_handle_exceptions.
20225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20226 __Qp_handle_exceptions.
20227 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20228 as unused and give dummy FP_RND_NEAREST initializer.
20229 (FP_INHIBIT_RESULTS): Define.
20230 (___Q_simulate_exceptions): Update declaration.
20231 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20232 formatting.
20233 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20234 as unused and give dummy FP_RND_NEAREST initializer.
20235 (__Qp_handle_exceptions): Update declaration.
20236 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20237 formatting.
20238
04fb54b5
TS
202392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20240
20241 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20242 the temporary FPU control word.
20243 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20244 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20245 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20248 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20249 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20251 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20252 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20253 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20254
3f99608f
KK
202552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20256
20257 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20258 fields.
20259
65a4de4e
CLT
202602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20261
20262 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20263 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20264 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20265 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20266 Likewise.
20267 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20268 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20269 Likewise.
20270
15749d40
UD
202712012-05-27 Ulrich Drepper <drepper@gmail.com>
20272
20273 * po/h.po: Update from translation team.
20274
25dbcb27
AS
202752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20276
3d3f8e55
AS
20277 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20278
25dbcb27
AS
20279 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20280 handling of denormals.
20281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20282 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20283 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20284 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20288 Likewise.
20289
7ad47a80 202902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20291
20292 [BZ #14152]
20293 * math/libm-test.inc (fma_test): Don't always expect underflow
20294 exception.
20295
9c6ea9fa
SP
202962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20297
20298 [BZ #12416]
20299 * elf/tst-execstack.c: Include stackinfo.h.
20300 (do_test): Adjust test case to ensure that pthread_getattr_np
20301 behaviour remains the same after marking stack executable.
20302
a8239222
JM
203032012-05-25 Joseph Myers <joseph@codesourcery.com>
20304
20305 * sysdeps/unix/sysv/linux/kernel-features.h
20306 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20307 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20308 kernel-features.h.
20309 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20310 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20311 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20312 kernel-features.h.
20313 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20314 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20315
918b5606
L
203162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 * configure.in: Define the default includes to being none.
20319 * configure: Regenerated.
20320
3a097cc7
RM
203212012-05-25 Roland McGrath <roland@hack.frob.com>
20322
8422c9a5
RM
20323 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20324 * sysdeps/x86_64/setjmp.S: Likewise.
20325 * sysdeps/i386/bsd-setjmp.S: Likewise.
20326 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20327 * sysdeps/i386/setjmp.S: Likewise.
20328 * sysdeps/i386/__longjmp.S: Likewise.
20329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20330 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20331
3a097cc7
RM
20332 * include/stap-probe.h: New file.
20333 * configure.in: Handle --enable-systemtap.
20334 * configure: Regenerated.
20335 * config.h.in (USE_STAP_PROBE): New #undef.
20336 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20337 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20338 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20339
21708942
JM
203402012-05-25 Joseph Myers <joseph@codesourcery.com>
20341
20342 [BZ #13717]
20343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20344 to 2.4.0 where earlier.
20345 * sysdeps/unix/sysv/linux/configure: Regenerated.
20346 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20347 <kernel-features.h>.
20348 [__ASSUME_32BITUIDS]: Make code unconditional.
20349 [!__ASSUME_32BITUIDS]: Remove conditional code.
20350 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20351 <kernel-features.h>.
20352 [__ASSUME_32BITUIDS]: Make code unconditional.
20353 [!__ASSUME_32BITUIDS]: Remove conditional code.
20354 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20355 [__ASSUME_32BITUIDS]: Make code unconditional.
20356 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20357 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20358 <kernel-features.h>.
20359 [__ASSUME_32BITUIDS]: Make code unconditional.
20360 [!__ASSUME_32BITUIDS]: Remove conditional code.
20361 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20362 <kernel-features.h>.
20363 [__ASSUME_32BITUIDS]: Make code unconditional.
20364 [!__ASSUME_32BITUIDS]: Remove conditional code.
20365 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20366 <kernel-features.h>.
20367 [__ASSUME_32BITUIDS]: Make code unconditional.
20368 [!__ASSUME_32BITUIDS]: Remove conditional code.
20369 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20370 <kernel-features.h>.
20371 [__ASSUME_32BITUIDS]: Make code unconditional.
20372 [!__ASSUME_32BITUIDS]: Remove conditional code.
20373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20374 <kernel-features.h>.
20375 [__ASSUME_32BITUIDS]: Make code unconditional.
20376 [!__ASSUME_32BITUIDS]: Remove conditional code.
20377 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20378 <kernel-features.h>.
20379 [__ASSUME_32BITUIDS]: Make code unconditional.
20380 [!__ASSUME_32BITUIDS]: Remove conditional code.
20381 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20382 <kernel-features.h>.
20383 [__ASSUME_32BITUIDS]: Make code unconditional.
20384 [!__ASSUME_32BITUIDS]: Remove conditional code.
20385 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20386 <kernel-features.h>.
20387 [__ASSUME_32BITUIDS]: Make code unconditional.
20388 [!__ASSUME_32BITUIDS]: Remove conditional code.
20389 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20390 <kernel-features.h>.
20391 [__ASSUME_32BITUIDS]: Make code unconditional.
20392 [!__ASSUME_32BITUIDS]: Remove conditional code.
20393 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20394 <kernel-features.h>.
20395 [__ASSUME_32BITUIDS]: Make code unconditional.
20396 [!__ASSUME_32BITUIDS]: Remove conditional code.
20397 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20398 <kernel-features.h>.
20399 [__NR_setresgid] (__setresgid): Do not declare.
20400 [__ASSUME_32BITUIDS]: Make code unconditional.
20401 [!__ASSUME_32BITUIDS]: Remove conditional code.
20402 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20403 <kernel-features.h>.
20404 [__NR_setresuid] (__setresuid): Do not declare.
20405 [__ASSUME_32BITUIDS]: Make code unconditional.
20406 [!__ASSUME_32BITUIDS]: Remove conditional code.
20407 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20408 <kernel-features.h>.
20409 [__ASSUME_32BITUIDS]: Make code unconditional.
20410 [!__ASSUME_32BITUIDS]: Remove conditional code.
20411 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20412 <kernel-features.h>.
20413 [__ASSUME_32BITUIDS]: Make code unconditional.
20414 [!__ASSUME_32BITUIDS]: Remove conditional code.
20415 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20416 <kernel-features.h>.
20417 [__ASSUME_32BITUIDS]: Make code unconditional.
20418 [!__ASSUME_32BITUIDS]: Remove conditional code.
20419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20420 <kernel-features.h>.
20421 [__ASSUME_32BITUIDS]: Make code unconditional.
20422 [!__ASSUME_32BITUIDS]: Remove conditional code.
20423 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20424 <kernel-features.h>.
20425 [__ASSUME_32BITUIDS]: Make code unconditional.
20426 [!__ASSUME_32BITUIDS]: Remove conditional code.
20427 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20428 <kernel-features.h>.
20429 [__ASSUME_32BITUIDS]: Make code unconditional.
20430 [!__ASSUME_32BITUIDS]: Remove conditional code.
20431 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20432 <kernel-features.h>.
20433 [__ASSUME_32BITUIDS]: Make code unconditional.
20434 [!__ASSUME_32BITUIDS]: Remove conditional code.
20435 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20436 <kernel-features.h>.
20437 [__ASSUME_32BITUIDS]: Make code unconditional.
20438 [!__ASSUME_32BITUIDS]: Remove conditional code.
20439 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20440 <kernel-features.h>.
20441 [__ASSUME_32BITUIDS]: Make code unconditional.
20442 [!__ASSUME_32BITUIDS]: Remove conditional code.
20443 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20444 <kernel-features.h>.
20445 [__ASSUME_32BITUIDS]: Make code unconditional.
20446 [!__ASSUME_32BITUIDS]: Remove conditional code.
20447 * sysdeps/unix/sysv/linux/kernel-features.h
20448 (__ASSUME_SETRESUID_SYSCALL): Remove.
20449 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20450 (__ASSUME_32BITUIDS): Likewise.
20451 (__ASSUME_LDT_WORKS): Likewise.
20452 (__ASSUME_O_DIRECTORY): Likewise.
20453 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20454 architecture but not kernel version.
20455 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20456 (__ASSUME_MMAP2_SYSCALL): Likewise.
20457 (__ASSUME_STAT64_SYSCALL): Likewise.
20458 (__ASSUME_IPC64): Likewise.
20459 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20460 <kernel-features.h>.
20461 [__ASSUME_32BITUIDS]: Make code unconditional.
20462 [!__ASSUME_32BITUIDS]: Remove conditional code.
20463 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20464 <kernel-features.h>.
20465 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20466 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20467 132096]: Remove conditional code.
20468 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20469 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20470 <kernel-features.h>.
20471 [__ASSUME_32BITUIDS]: Make code unconditional.
20472 [!__ASSUME_32BITUIDS]: Remove conditional code.
20473 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20474 <kernel-features.h>.
20475 [__ASSUME_32BITUIDS]: Make code unconditional.
20476 [!__ASSUME_32BITUIDS]: Remove conditional code.
20477 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20478 <kernel-features.h>.
20479 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20480 unconditional.
20481 (__setresgid): Do not declare.
20482 [__ASSUME_32BITUIDS]: Make code unconditional.
20483 [!__ASSUME_32BITUIDS]: Remove conditional code.
20484 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20485 <kernel-features.h>.
20486 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20487 unconditional.
20488 (__setresuid): Do not declare.
20489 [__ASSUME_32BITUIDS]: Make code unconditional.
20490 [!__ASSUME_32BITUIDS]: Remove conditional code.
20491 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20492 <kernel-features.h>.
20493 [__ASSUME_32BITUIDS]: Make code unconditional.
20494 [!__ASSUME_32BITUIDS]: Remove conditional code.
20495 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20496 <kernel-features.h>.
20497 [__ASSUME_32BITUIDS]: Make code unconditional.
20498 [!__ASSUME_32BITUIDS]: Remove conditional code.
20499
a386f1cc
RH
205002012-05-25 Richard Henderson <rth@twiddle.net>
20501
20502 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20503 dl_hwcap to ifunc resolver.
20504 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20505 elf_ifunc_invoke.
20506 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20507 dl_hwcap to ifunc resolver.
20508 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20509
b6550497
JM
205102012-05-24 Joseph Myers <joseph@codesourcery.com>
20511
20512 [BZ #14153]
20513 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20514 for |x| <= 2**-26, not 2**-57.
20515 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20516 exception.
20517
b0bc23a1
JL
205182012-05-24 Jeff Law <law@redhat.com>
20519
20520 * stdio-common/Makefile (tests): Add bug25.
20521 * stdio-common/bug25.c: New test.
20522
347c92e9
L
205232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20524
20525 [BZ #13576]
20526 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20527 multiple of MALLOC_ALIGNMENT in size.
20528 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20529
6bcc8b3f
JM
205302012-05-24 Joseph Myers <joseph@codesourcery.com>
20531
20532 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20533 Require >= 256.
20534 (FILENAME_MAX): Use macro-int-constant.
20535 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20536 (_IOFBF): Use macro-int-constant.
20537 (_IOLBF): Likewise.
20538 (_IONBF): Likewise.
20539 (SEEK_CUR): Likewise.
20540 (SEEK_END): Likewise.
20541 (SEEK_SET): Likewise.
20542 (TMP_MAX): Likewise.
20543 (EOF): Use macro-int-constant. Require < 0.
20544 (NULL): Use macro-constant. Require == 0.
20545 (stdin): Require type to be FILE *.
20546 (stdout): Likewise.
20547 (stderr): Likewise.
20548 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20549 macro-int-constant.
20550 (EXIT_SUCCESS): Likewise.
20551 (NULL): Use macro-constant. Require == 0.
20552 (RAND_MAX): Use macro-int-constant.
20553 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20554 [C99-based standards] (strtof): Require function.
20555 [C99-based standards] (strtold): Likewise.
20556 [C99-based standards] (strtoll): Likewise.
20557 [C99-based standards] (strtoull): Likewise.
20558 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20559 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20560 [ISO || ISO99 || ISO11] (math.h): Likewise.
20561 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20562 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20564
d18ea0c5
AS
205652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20566
20567 [BZ #14132]
56d25bb8
AS
20568 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20569 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20570 * intl/dgettext.c (DCGETTEXT): Likewise.
20571 * intl/gettext.c (DCGETTEXT): Likewise.
20572 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20573 * posix/regex_internal.h (gettext): Likewise.
20574 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20575 Remove declaration.
20576 * include/argz.h (__argz_count_internal)
20577 (__argz_stringify_internal): Remove declaration.
20578 (__argz_count, __argz_stringify): Declare hidden proto.
20579 * intl/dcgettext.c: Remove use of INTDEF.
20580 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20581 * string/argz-stringify.c: Likewise.
20582 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20583 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20584 Declare hidden proto.
d18ea0c5
AS
20585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20587 Declare hidden proto.
20588 * include/stdio.h (__asprintf_internal): Don't declare.
20589 (__asprintf): Don't define as macro. Declare hidden proto.
20590 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20591 (__fsetlocking): Declare hidden proto.
20592 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20593 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20594 hidden proto.
20595 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20596 (_IO_setlinebuf): Remove use of INTUSE.
20597 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20598 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20599 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20600 Remove declaration.
20601 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20602 (_IO_do_flush): Remove use of INTUSE.
20603 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20604 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20605 (_IO_adjust_column, _IO_least_wmarker)
20606 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20607 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20608 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20609 (_IO_default_doallocate, _IO_wdefault_doallocate)
20610 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20611 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20612 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20613 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20614 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20615 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20616 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20617 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20618 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20619 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20620 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20621 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20622 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20623 proto.
20624 (_IO_flush_all_internal, _IO_adjust_column_internal)
20625 (_IO_default_uflow_internal, _IO_default_finish_internal)
20626 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20627 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20628 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20629 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20630 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20631 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20632 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20633 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20634 (_IO_file_close_internal, _IO_file_close_it_internal)
20635 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20636 (_IO_file_init_internal, _IO_file_attach_internal)
20637 (_IO_file_fopen_internal, _IO_file_read_internal)
20638 (_IO_file_sync_internal, _IO_file_seek_internal)
20639 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20640 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20641 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20642 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20643 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20644 (_IO_list_all_internal, _IO_link_in_internal)
20645 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20646 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20647 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20648 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20649 (_IO_do_write_internal, _IO_padn_internal)
20650 (_IO_getline_info_internal, _IO_getline_internal)
20651 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20652 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20653 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20654 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20655 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20656 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20657 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20658 with libc_hidden_ver, remove use of INTUSE.
20659 * libio/genops.c: Likewise.
20660 * libio/freopen.c: Likewise.
20661 * libio/freopen64.c: Likewise.
20662 * libio/iofclose.c: Likewise.
20663 * libio/iofdopen.c: Likewise.
20664 * libio/iofflush.c: Likewise.
20665 * libio/iofflush_u.c: Likewise.
20666 * libio/iofgets.c: Likewise.
20667 * libio/iofgets_u.c: Likewise.
20668 * libio/iofopen.c: Likewise.
20669 * libio/iofopncook.c: Likewise.
20670 * libio/iofread.c: Likewise.
20671 * libio/iofread_u.c: Likewise.
20672 * libio/ioftell.c: Likewise.
20673 * libio/iofwrite.c: Likewise.
20674 * libio/iogetline.c: Likewise.
20675 * libio/iogets.c: Likewise.
20676 * libio/iogetwline.c: Likewise.
20677 * libio/iopadn.c: Likewise.
20678 * libio/iopopen.c: Likewise.
20679 * libio/ioseekoff.c: Likewise.
20680 * libio/ioseekpos.c: Likewise.
20681 * libio/iosetbuffer.c: Likewise.
20682 * libio/iosetvbuf.c: Likewise.
20683 * libio/ioungetc.c: Likewise.
20684 * libio/ioungetwc.c: Likewise.
20685 * libio/iovdprintf.c: Likewise.
20686 * libio/iovsprintf.c: Likewise.
20687 * libio/iovsscanf.c: Likewise.
20688 * libio/memstream.c: Likewise.
20689 * libio/obprintf.c: Likewise.
20690 * libio/oldfileops.c: Likewise.
20691 * libio/oldiofclose.c: Likewise.
20692 * libio/oldiofdopen.c: Likewise.
20693 * libio/oldiofopen.c: Likewise.
20694 * libio/oldiopopen.c: Likewise.
20695 * libio/oldstdfiles.c: Likewise.
20696 * libio/putc.c: Likewise.
20697 * libio/setbuf.c: Likewise.
20698 * libio/setlinebuf.c: Likewise.
20699 * libio/stdfiles.c: Likewise.
20700 * libio/strops.c: Likewise.
20701 * libio/vasprintf.c: Likewise.
20702 * libio/vscanf.c: Likewise.
20703 * libio/vsnprintf.c: Likewise.
20704 * libio/vswprintf.c: Likewise.
20705 * libio/wfiledoalloc.c: Likewise.
20706 * libio/wfileops.c: Likewise.
20707 * libio/wgenops.c: Likewise.
20708 * libio/wmemstream.c: Likewise.
20709 * libio/wstrops.c: Likewise.
20710 * libio/__fpurge.c: Likewise.
20711 * libio/__fsetlocking.c: Likewise.
20712 * assert/assert.c: Likewise.
20713 * debug/fgets_chk.c: Likewise.
20714 * debug/fgets_u_chk.c: Likewise.
20715 * debug/fread_chk.c: Likewise.
20716 * debug/fread_u_chk.c: Likewise.
20717 * debug/gets_chk.c: Likewise.
20718 * debug/obprintf_chk.c: Likewise.
20719 * debug/vasprintf_chk.c: Likewise.
20720 * debug/vdprintf_chk.c: Likewise.
20721 * debug/vsnprintf_chk.c: Likewise.
20722 * debug/vsprintf_chk.c: Likewise.
20723 * malloc/mtrace.c: Likewise.
20724 * misc/error.c: Likewise.
20725 * misc/syslog.c: Likewise.
20726 * stdio-common/asprintf.c: Likewise.
20727 * stdio-common/fxprintf.c: Likewise.
20728 * stdio-common/getw.c: Likewise.
20729 * stdio-common/isoc99_fscanf.c: Likewise.
20730 * stdio-common/isoc99_scanf.c: Likewise.
20731 * stdio-common/isoc99_vfscanf.c: Likewise.
20732 * stdio-common/isoc99_vscanf.c: Likewise.
20733 * stdio-common/isoc99_vsscanf.c: Likewise.
20734 * stdio-common/printf-prs.c: Likewise.
20735 * stdio-common/printf_fp.c: Likewise.
20736 * stdio-common/printf_fphex.c: Likewise.
20737 * stdio-common/printf_size.c: Likewise.
20738 * stdio-common/putw.c: Likewise.
20739 * stdio-common/scanf.c: Likewise.
20740 * stdio-common/sprintf.c: Likewise.
20741 * stdio-common/tmpfile.c: Likewise.
20742 * stdio-common/vfprintf.c: Likewise.
20743 * stdio-common/vfscanf.c: Likewise.
20744 * stdlib/strfmon_l.c: Likewise.
20745 * sunrpc/openchild.c: Likewise.
20746 * sunrpc/xdr_stdio.c: Likewise.
20747 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20748 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20749
d6c33fda
RM
207502012-05-24 Roland McGrath <roland@hack.frob.com>
20751
c1487492
RM
20752 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20753
20754 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20755 in the third column, to generate for the shared library an IFUNC
20756 that uses _dl_vdso_vsym.
20757 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20758 * Makeconfig (object-suffixes-noshared): New variable.
20759
20760 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20761 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20762 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20763 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20764
d6c33fda
RM
20765 [BZ #14132]
20766 * include/sys/time.h (__gettimeofday): Remove macro.
20767 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20768 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20769 Remove INTDEF.
20770 (__gettimeofday): Add libc_hidden_def.
20771 (gettimeofday): Add libc_hidden_weak.
20772 * sysdeps/mach/gettimeofday.c: Likewise.
20773 * sysdeps/posix/gettimeofday.c: Likewise.
20774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20775 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20777 (__gettimeofday_internal): Remove strong_alias.
20778 (__gettimeofday): Add libc_hidden_def.
20779 (gettimeofday): Add libc_hidden_weak.
20780 * sysdeps/unix/syscalls.list (gettimeofday):
20781 Remove __gettimeofday_internal alias.
20782
b5a2bbe6
L
207832012-05-24 Daniel Jacobowitz <drow@false.org>
20784 H.J. Lu <hongjiu.lu@intel.com>
20785
20786 [BZ #12495]
20787 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20788 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20789 (largebin_index_32_big): New.
20790 (largebin_index): Use it for 16-byte alignment.
20791 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20792 correction with front_misalign.
20793
cfba4fda
L
207942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20795
7f907421
L
20796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20798 Likewise.
20799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20800 Likewise.
20801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20802 Likewise.
20803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20804 Likewise.
20805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20806 Likewise.
20807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20808 Likewise.
20809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20810 Likewise.
20811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20812 Likewise.
20813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20814 Likewise.
20815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20816 Likewise.
20817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20818 Likewise.
20819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20820 Likewise.
20821
cfba4fda
L
20822 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20823 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20824
80bad0cc
JM
208252012-05-24 Joseph Myers <joseph@codesourcery.com>
20826
7a25eb06
JM
20827 [BZ #10846]
20828 [BZ #14036]
20829 * math/libm-test.inc (exp_test): Add test from bug 14036.
20830 (pow_test): Add test from bug 10846.
20831
795405f9
JM
20832 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20833 and other flags.
20834 (special_function): Do not include flags in test name.
20835 (parse_args): Likewise.
20836 * sysdeps/i386/fpu/libm-test-ulps: Update.
20837 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20838 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20839 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20841
80bad0cc
JM
20842 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20843 exceptions.
20844 * math/libm-test.inc ("Philosophy"): Update comment about
20845 exception testing.
20846 (UNDERFLOW_EXCEPTION): New macro.
20847 (UNDERFLOW_EXCEPTION_OK): Likewise.
20848 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20849 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20850 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20851 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20852 (INVALID_EXCEPTION_OK): Update value.
20853 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20854 (OVERFLOW_EXCEPTION_OK): Likewise.
20855 (IGNORE_ZERO_INF_SIGN): Likewise.
20856 (test_exceptions): Handle underflow exceptions.
20857 (acos_test): Update for underflow exception expectations.
20858 (cexp_test): Likewise.
20859 (clog_test): Likewise.
20860 (clog10_test): Likewise.
20861 (csqrt_test): Likewise.
20862 (ctan_test): Likewise.
20863 (ctanh_test): Likewise.
20864 (exp_test): Likewise.
20865 (exp10_test): Likewise.
20866 (exp2_test): Likewise.
20867 (expm1_test): Likewise.
20868 (fma_test): Likewise.
20869 (j0_test): Likewise.
20870 (jn_test): Likewise.
20871 (nexttoward_test): Likewise.
20872 (pow_test): Likewise.
20873 (scalbn_test): Likewise.
20874 (scalbln_test): Likewise.
20875 (tan_test): Likewise.
20876 (y1_test): Likewise.
20877 * sysdeps/i386/fpu/libm-test-ulps: Update.
20878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879
9e0e3d0b
DM
208802012-05-23 David S. Miller <davem@davemloft.net>
20881
20882 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20883 (__libc_sigaction): Remove unused local variables.
20884
ccd0a08f
L
208852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20886
20887 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20888
62bdf9a6
PE
208892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20890
f8591f80
PE
20891 mktime: avoid signed integer overflow
20892 * time/mktime.c (__mktime_internal): Do not mishandle the case
20893 where diff == INT_MIN.
20894
94c7d826
PE
20895 mktime: simplify computation of average
20896 * time/mktime.c (ranged_convert): Use new time_t_avg function
20897 instead of rolling our own (probably-slower) code.
20898
ce73d683
PE
20899 mktime: do not assume signed right shift propagates sign bit
20900 * time/mktime.c (isdst_differ): New static function.
20901 (__mktime_internal): No need to normalize tm_isdst now.
20902 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20903 tm_isdst values.
20904
72a22e59
PE
20905 mktime: merge another wrapv change from gnulib
20906 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20907 from some compilers.
20908
68605433
PE
20909 mktime: remove incorrect attempt at unusual arithmetics
20910 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20911 The code didn't really work on such machines anyway.
20912 (TYPE_MINIMUM): Assume two's complement.
20913 (twos_complement_arithmetic): Verify that long_int and time_t
20914 are two's complement (or unsigned, in the latter case).
20915
03cf7fe3
PE
20916 mktime: check signed shifts on long_int and time_t, too
20917 * time/mktime.c (SHR): Check that shifts work as desired
20918 on the types long_int and time_t too, as SHR is used on
20919 such types.
20920
f04dfbc2
PE
20921 mktime: do not assume 'long' is wide enough
20922 * time/mktime.c (verify): Move decl up.
20923 (long_int): New type.
20924 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20925 to remove assumption in the code that 'long' is wide enough to
20926 store year values. This assumption is not true on x32 and on
20927 some non-glibc platforms.
20928
62bdf9a6
PE
20929 mktime: merge wrapv change from gnulib
20930 * time/mktime.c (WRAPV): New macro.
20931 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20932 (guess_time_tm, __mktime_internal): Do not assume that signed
20933 integer overflow wraps around; modern compilers generate code
20934 where this assumption is no longer valid.
20935
5e292e4f
L
209362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20937
20938 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20939 Replace "jmp L(pseudo_end)" with "ret".
20940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20941 Likewise.
20942
8caf8c87
AJ
209432012-05-23 Andreas Jaeger <aj@suse.de>
20944
20945 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20946 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20947
1a09dc56
AJ
209482012-05-23 Andreas Jaeger <aj@suse.de>
20949 Maximilian Attems <max@stro.at>
20950
20951 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20952 New macros.
20953
1c87aba0
L
209542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20955
20956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20957 code so that pseudo_end is just ret and the stack pointer is
20958 correct also for static library in error case.
20959
40e45bd5
JM
209602012-05-23 Joseph Myers <joseph@codesourcery.com>
20961
c2670533
JM
20962 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20963 move to syscalls.list.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20968
40e45bd5
JM
20969 * manual/install.texi (Running make install): Do not mention Linux
20970 kernel version for which pt_chown is not needed.
20971 (Linux): Do not mention problems with nscd with 2.0 kernels.
20972 * INSTALL: Regenerated.
20973
be08eda5
AJ
209742012-05-23 Andreas Jaeger <aj@suse.de>
20975
20976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20977 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20978 macro.
20979 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20981 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20983 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20989 * sysdeps/unix/sysv/linux/bits/in.h
20990 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20991
a6a056bb
RM
209922012-05-22 Roland McGrath <roland@hack.frob.com>
20993
20994 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20995 (PREPARE_VERSION): Just use assert instead, it will be elided
20996 under [NDEBUG] anyway.
20997
c9009328
L
209982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20999
21000 * sysdeps/unix/sysv/linux/Makefile: Include
21001 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21002 (sysdep_routines): Remove sysctl.
c9009328
L
21003 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21004 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21005 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21006 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21007 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21008
73338355
AJ
210092012-05-22 Andreas Jaeger <aj@suse.de>
21010
21011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21012 that pseudo_end is just ret and the stack pointer is correct also
21013 for static library in error case.
21014
d44638b0
PP
210152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21016
21017 [BZ #14122]
21018 * nss/nsswitch.c (defconfig_entries): New variable.
21019 (__nss_database_lookup): Don't leak defconfig entries.
21020 (nss_parse_service_list): Don't leak on error paths.
21021 (free_database_entries): New function.
21022 (free_defconfig): New function.
21023 (free_mem): Move common code to free_database_entries.
21024
31a39bd8
L
210252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21026
da0331a8
L
21027 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21028 Add arch_prctl.
21029 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21030
31a39bd8
L
21031 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21032 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21034 New macro.
21035 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21036 (INTERNAL_SYSCALL_TYPES): Likewise.
21037 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21038 (LOAD_REGS_TYPES_[1-6]): Likewise.
21039 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21040 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21041
45470df3
AZ
210422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21043
21044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21045 copysignl for GLIBC_2_0.
21046 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21047 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21049 logbl for GLIBC_2_0.
21050 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21051 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21052
98a61bcb
L
210532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21054
a4f6e481
L
21055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21057
f63d5db6
L
21058 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21059 Use "neg %eax".
21060
98a61bcb
L
21061 * time/mktime.c: Update copyright years.
21062
95770f14
PE
210632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21064
6226efbd
PE
21065 mktime: merge comment-quoting-style change from gnulib
21066 * time/mktime.c: Quote 'like this' in comments.
21067 The GNU coding standards suggest that we no longer quote `like this',
21068 as "`" and "'" are typically rendered asymmetrically nowadays.
21069 The typical gnulib style is to quote 'like this' when quoting
21070 code, and "like this" when quoting English.
21071
b99e4f78
PE
21072 * time/mktime.c (compile-command): Add "-I.".
21073
643e01e6
PE
21074 mktime: merge mktime-internal.h change from gnulib
21075 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21076
2554247d
PE
21077 mktime: merge time_r change from gnulib
21078 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21079
826dd0ab
PE
21080 mktime: merge DEBUG change from gnulib
21081 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21082 case system <time.h> has a #define.
21083
bd83aabe
PE
21084 mktime: merge <sys/types.h> change from gnulib
21085 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21086 since <time.t> is now guaranteed to define time_t.
21087
95770f14
PE
21088 mktime: merge HAVE_CONFIG_H change from gnulib
21089 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21090
5e1a27a9
L
210912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21092
0e44a77e
L
21093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21094 Use "neg %eax".
21095
5e1a27a9
L
21096 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21097 __rlim_t cast.
21098 (struct rusage): Use anonymous union to pad each field to
21099 __syscall_slong_t.
21100
46259bec
DM
211012012-05-21 David S. Miller <davem@davemloft.net>
21102
21103 * Makefules (o-iterator): Remove .s cases.
21104 (compile-command.s): Delete.
21105 (COMPILE.s): Delete.
21106 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21107
59f0c22e
JM
211082012-05-21 Joseph Myers <joseph@codesourcery.com>
21109
21110 * configure.in (libc_cv_predef_stack_protector): Only consider
21111 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21112 * configure: Regenerated.
21113
20c07380
L
211142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21115
bbb3154b
L
21116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21117 New macro. Use R*LP on int and pointer.
21118 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21119 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21120 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21121 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21122
20c07380
L
21123 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21124 [__WORDSIZE_TIME64_COMPAT32] instead of
21125 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21126 (struct utmp): Likewise.
21127 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21128 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21129 Renamed to ...
21130 (__WORDSIZE_TIME64_COMPAT32): This.
21131 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21132 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21133 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21134 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21135 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21136 (__WORDSIZE_TIME64_COMPAT32): New macro.
21137
d8d1017e
AJ
211382012-05-21 Andreas Jaeger <aj@suse.de>
21139
21140 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21141 only if [SHARED]. Add prototype for __wcschr_ia32.
21142
6c7fb145
RM
211432012-05-21 Roland McGrath <roland@hack.frob.com>
21144
21145 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21146 of %rbp unmolested in the jmp_buf while mangling the low bits.
21147 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21148 unmolested high bits of %rbp while demangling the low bits.
21149 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21150
66274218
AJ
211512012-05-21 Andreas Jaeger <aj@suse.de>
21152
07c58f8f
AJ
21153 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21154 * sunrpc/svc_simple.c: Use it for registerrpc.
21155 * sunrpc/xcrypt.c: Use it for passwd2des.
21156
66274218
AJ
21157 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21158
61f65140
L
211592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21160
21161 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21162 Don't define if [__SYSCALL_WORDSIZE != 32].
21163 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21164 New macro.
21165
5fefb436
AJ
211662012-05-21 Bruno Haible <bruno@clisp.org>
21167 Andreas Jaeger <aj@suse.de>
21168
21169 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21170 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21171 inptr and inend for must_buffer_ch.
21172 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21173 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21174 * stdio-common/Makefile (tests): Remove bug15.
21175 (bug15-ENV): Remove macro.
21176 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21177 anymore.
21178
d8e272ab
AJ
211792012-05-19 Andreas Jaeger <aj@suse.de>
21180 Roland McGrath <roland@hack.frob.com>
21181
21182 * manual/contrib.texi: Completely rewritten. It contains now an
21183 alphabetical list of contributors and their contributions.
21184
4a56a162
RH
211852012-05-21 Richard Henderson <rth@twiddle.net>
21186
21187 * misc/getauxval.c (__getauxval): Use unsigned long int.
21188 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21189 (getauxval): Use unsigned long int.
21190
d024d23c
L
211912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21192
21193 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21194
cbc00a03
RM
211952012-05-21 Roland McGrath <roland@hack.frob.com>
21196
21197 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21198 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21199 __alignof__ (long double).
21200
478143fa
AZ
212012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21202
21203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21204
c7683a6d
RH
212052012-05-20 Richard Henderson <rth@twiddle.net>
21206
21207 * misc/getauxval.c: New file.
21208 * misc/sys/auxv.h: New file.
21209 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21210 (routines): Add getauxval.
21211 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21212 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21213 * elf/dl-sysdep.c (_dl_auxv): Remove.
21214 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21215 * elf/dl-support.c (_dl_auxv): New variable.
21216 (_dl_aux_init): Initialize it.
21217 * manual/startup.texi (Auxiliary Vector): New node.
21218 * sysdeps/generic/bits/hwcap.h: New file.
21219 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21220 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21221 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21222 * sysdeps/sparc/sysdep.h: ... here. Include it.
21223 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21224 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21226 Update.
c7683a6d
RH
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21235
a6f1845d
AZ
212362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21239
cbcbe830
DM
212402012-05-19 David S. Miller <davem@davemloft.net>
21241
21242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21243
e0b16cc2
JM
212442012-05-19 Joseph Myers <joseph@codesourcery.com>
21245
21246 [BZ #14123]
21247 * math/s_ccosh.c: Include <float.h>
21248 (__ccosh): Avoid internal overflow calculating sinh and cosh
21249 values before multiplying by sin and cos values.
21250 * math/s_ccoshf.c: Likewise.
21251 * math/s_ccoshl.c: Likewise.
21252 * math/s_csin.c: Likewise.
21253 * math/s_csinf.c: Likewise.
21254 * math/s_csinl.c: Likewise.
21255 * math/s_csinh.c: Likewise.
21256 * math/s_csinhf.c: Likewise.
21257 * math/s_csinhl.c: Likewise.
21258 * math/libm-test.inc (ccos_test): Add more tests.
21259 (ccosh_test): Likewise.
21260 (csin_test): Likewise.
21261 (csinh_test): Likewise.
21262 * sysdeps/i386/fpu/libm-test-ulps: Update.
21263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264
6ad13e08
L
212652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21266
f66f0ce8
L
21267 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21268 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21269
6ad13e08
L
21270 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21271
b1d072a7
JM
212722012-05-19 Joseph Myers <joseph@codesourcery.com>
21273
21274 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21275 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21276 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21277 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21278 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21279 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21280 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21281 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21282 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21283 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21284 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21285 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21286 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21287 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21288 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21289 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21290 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21291 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21292 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21293 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21294 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21295 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21296 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21297 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21298 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21299 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21300 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21301 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21302 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21303 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21304 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21305
9eae47cb
AJ
213062012-05-18 Andreas Jaeger <aj@suse.de>
21307
21308 * csu/.gitignore: Delete.
21309
bb07f69f
L
213102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21311
21312 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21313 (timex): Use __syscall_slong_t.
21314
e6bdb741
AJ
213152012-05-18 Andreas Jaeger <aj@suse.de>
21316 Carlos O'Donell <carlos_odonell@mentor.com>
21317
21318 * manual/install.texi (Configuring and compiling): Update
21319 description about files modified in the source directory.
d6c33fda 21320 * INSTALL: Regenerated.
e6bdb741 21321
1b74487e
L
213222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21323
21324 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21325 value. Use "or" to set return value to -1.
21326 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21327 negate return value.
21328
a88b64b9
TMQMF
213292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21330
21331 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21332 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21333 failure if the compiler has Graphite support disabled.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21335 Likewise.
21336 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21337 CFLAGS-memmove.c): Likewise.
21338 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21339 Likewise.
21340
3707636e
L
213412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21342
610b8622
L
21343 * sysdeps/x86_64/x32/_itoa.h: New file.
21344
7cd195df
L
21345 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21346 getdents system call only if kernel and user dirents have the
21347 same d_ino and d_off.
21348
94b07d20
L
21349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21350 LLONG_MAX != LONG_MAX.
21351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21352 (_fitoa_word): Likewise.
21353
18298070
L
21354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21355 years.
21356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21359
553c7ea4
L
21360 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21361 include <bits/wordsize.h>. Check __x86_64__ instead of
21362 __WORDSIZE.
21363 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21364 if __x86_64__ is defined. Use anonymous union on fpstate.
21365
3707636e
L
21366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21367 anonymous union.
21368
b53ef01a
AS
213692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21370
37fb1dc0
AS
21371 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21372 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21374 Refer to _rtld_local_ro instead of _rtld_global_ro.
21375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21376 Likewise.
21377 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21378 Likewise.
21379 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21380 Likewise.
21381 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21382 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21383 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21384
b53ef01a
AS
21385 * sysdeps/powerpc/powerpc32/dl-machine.c
21386 (__elf_machine_runtime_setup) [PROF]: Don't reference
21387 _dl_prof_resolve.
21388
7a185db2
AJ
213892012-05-18 Andreas Jaeger <aj@suse.de>
21390
21391 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21392 function only available for GCCs before 3.4 since GCC 3.4
21393 introduced a builtin.
21394 (lrint): Likewise.
21395 (llrintf): Likewise.
21396 (llrint): Likewise.
21397 (fmaxf): Likewise.
21398 (fmax): Likewise.
21399 (fminf): Likewise.
21400 (fmin): Likewise.
21401 (rint): Likewise.
21402 (rintf): Likewise.
21403 (nearbyint): Likewise.
21404 (nearbyintf): Likewise.
21405 (ceil): Likewise.
21406 (ceilf): Likewise.
21407 (floor): Likewise.
21408 (floorf): Likewise.
21409
3e5aef87
L
214102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21411
428bd707
L
21412 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21413 on both fields and cast pointer to __syscall_ulong_t.
21414
3e5aef87
L
21415 * bits/types.h (__fsword_t): New type.
21416 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21417 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21419 (__FSWORD_T_TYPE): Likewise.
21420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21421 (__FSWORD_T_TYPE): Likewise.
21422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21423 (__FSWORD_T_TYPE): Likewise.
21424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21425 (__FSWORD_T_TYPE): Likewise.
21426 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21427 __SWORD_TYPE with __fsword_t.
21428 (statfs64): Likewise.
21429
1ba7c3dc
DM
214302012-05-17 David S. Miller <davem@davemloft.net>
21431
21432 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21433
59910343
AJ
214342012-05-17 Andreas Jaeger <aj@suse.de>
21435
21436 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21437 warning.
21438
2e4c1e9e
L
214392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21440
21441 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21442
de7f5ce7
AJ
214432012-05-17 Andreas Jaeger <aj@suse.de>
21444
21445 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21446 when it is used.
21447
286abc3d
CM
214482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21449
21450 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21451
477cc68e
L
214522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21453
21454 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21455 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21456
1a0994f5
CD
214572012-05-17 Andreas Jaeger <aj@suse.de>
21458 Carlos O'Donell <carlos_odonell@mentor.com>
21459
21460 [BZ #14059]
21461 * sysdeps/x86_64/multiarch/init-arch.h
21462 (bit_YMM_Usable): Rename to...
21463 (bit_AVX_Usable): ... this.
21464 (bit_FMA4_Usable): New macro.
21465 (bit_XMM_state): New macro.
21466 (bit_YMM_state): New macro.
21467 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21468 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21469 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21470 (CPUID_OSXSAVE): New macro.
21471 (CPUID_AVX): New macro.
21472 (CPUID_FMA4): New macro.
21473 (index_YMM_Usable): Rename to...
21474 (index_AVX_Usable): ... this.
21475 (HAS_AVX): Use HAS_ARCH_FEATURE.
21476 (HAS_FMA4): Likewise.
21477 (HAS_YMM_USABLE): Remove.
21478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21479 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21480 are present.
21481 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21482 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21483 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21484 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21485 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21486
0af797de
CM
214872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21488
21489 * math/libm-test.c: Support platforms without multiple rounding modes.
21490 * math/bug-nextafter.c: Support platforms without FP exceptions.
21491 * math/bug-nexttoward.c: Likewise.
21492 * math/test-fenv.c: Likewise.
21493 * math/test-misc.c: Likewise.
21494 * stdlib/bug-getcontext.c: Likewise.
21495
e39745ff
AJ
214962012-05-17 Andreas Jaeger <aj@suse.de>
21497
21498 * manual/examples/search.c (critter_cmp): Change signature to
21499 avoid warnings.
21500 * manual/string.texi (Collation Functions): Likewise.
21501
48970aba
L
215022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * bits/types.h: Fold copyright years.
21505 * bits/typesizes.h: Likewise.
21506 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21510 * time/time.h: Likewise.
21511
bedee953
PP
215122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21513
21514 [BZ #208]
21515 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21516 in instead of returning them. Return void.
21517 (__libc_mallinfo): Accumulate over all arenas.
21518 (__malloc_stats): Adjust for change in int_mallinfo interface.
21519
61653dfb
RM
215202012-05-16 Roland McGrath <roland@hack.frob.com>
21521
30b99d79
RM
21522 [BZ #10375]
21523 * configure.in (NM): Add AC_CHECK_TOOL for it.
21524 (libc_extra_cflags): New substituted variable.
21525 Check for -fstack-protector being used implicitly.
21526 * configure: Regenerated.
21527 * config.make.in (config-extra-cflags): New variable,
21528 gets @libc_extra_cflags@.
21529 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21530
61653dfb
RM
21531 [BZ #10375]
21532 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21533 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21534 * configure: Regenerated.
21535 * config.make.in (CPPUNDEFS): New substituted variable.
21536 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21537 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21538 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21539
661768bb
L
215402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21541
21542 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21543 (mq_attr): Use __syscall_slong_t.
21544
d4261567
L
215452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21546
21547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21548 Check __x86_64__ instead of __WORDSIZE.
21549 (_STAT_VER_LINUX): Likewise.
21550 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21551 __syscall_ulong_t and __syscall_slong_t.
21552 (stat64): Likewise.
21553
cf3ff365
L
215542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21555
21556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21557
76cf3e4d
L
215582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21559
21560 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21561
a637753a
L
215622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21565 __syscall_ulong_t.
21566
d5e05119
L
21567 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21568 include <bits/wordsize.h>. Check __x86_64__ instead of
21569 __WORDSIZE.
21570 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21571 defined.
21572 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21573
f62ee380
L
21574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21575 include <bits/wordsize.h>. Check __x86_64__ instead of
21576 __WORDSIZE.
21577 (user_regs_struct): Use "__extension__ unsigned long long"
21578 instead of "unsigned long" if __x86_64__ is defined.
21579 (user): Likewise. Pad after pointer field if __ILP32__ is
21580 defined.
21581
4e124ced
JM
215822012-05-16 Joseph Myers <joseph@codesourcery.com>
21583
6a3951a0
JM
21584 * configure.in (makeinfo): Require version 4.5 or later. Allow
21585 versions 5 to 9.
21586 * configure: Regenerated.
21587 * manual/install.texi (texinfo): Increase version requirement to
21588 4.5 or later.
21589 * INSTALL: Regenerated.
21590
4e124ced
JM
21591 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21592
953ca31a
L
215932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21596
617aca05
L
21597 * sysdeps/x86_64/x32/ffs.c: New file.
21598
5762f7ae
L
21599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21600 __syscall_ulong_t.
21601 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21602 defined. Use __syscall_ulong_t.
21603 (shminfo): Use __syscall_ulong_t.
21604 (shm_info): Likewise.
21605
a26b6856
L
21606 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21607 __syscall_ulong_t.
21608
cb2b9ef7
L
21609 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21610 <bits/wordsize.h>.
21611 (msgqnum_t): Use __syscall_ulong_t.
21612 (msglen_t): Likewise.
21613 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21614 __syscall_ulong_t.
21615
34683bb0
L
21616 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21618
84a68786
L
21619 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21620
48baa5f1
L
21621 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21622 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21623
180be88b
L
21624 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21625 __syscall_slong_t.
21626
5e90c8ad
L
21627 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21628 include <bits/wordsize.h>. Check __x86_64__ instead of
21629 __WORDSIZE.
21630
23dfb58b
L
21631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21632 "unsigned long long int" if __x86_64__ is defined.
21633 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21634
ce5d54b0
L
21635 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21636 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21637 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21638
13dc9eac
L
21639 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21640 <stdint.h>.
21641 (GET_PC): Cast to uintptr_t first.
21642 (GET_FRAME): Likewise.
21643 (GET_STACK): Likewise.
21644
a7895d15
L
21645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21646 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21647 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21648 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21649 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21650 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21651 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21653 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21655 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21657 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21658 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21659 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21662 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21664 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21672 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21673 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21674
656416c9
AS
216752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21676
5bd66283
AS
21677 * Makerules (+depfiles): Also collect depfiles from .oS in
21678 $(extra-objs).
21679 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21680 .oS, $(libnldbl-routines)).
21681
656416c9
AS
21682 * Makerules (native-compile-mkdep-flags): Define.
21683 * sunrpc/Makefile (extra-objs): Add $(addprefix
21684 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21685 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21686 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21687 calling $(make-target-directory).
21688
a46f2169
L
216892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21690
21691 * bits/types.h (__snseconds_t): Removed.
21692 * time/time.h (struct timespec): Replace __snseconds_t with
21693 __syscall_slong_t.
21694 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21695 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21696 Likewise.
21697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21698 (__SNSECONDS_T_TYPE): Likewise.
21699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21700 (__SNSECONDS_T_TYPE): Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21702 (__SNSECONDS_T_TYPE): Likewise.
21703
6af6528b
L
217042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21705
21706 * sysdeps/mach/hurd/bits/typesizes.h
21707 (__SYSCALL_SLONG_TYPE): New macro.
21708 (__SYSCALL_ULONG_TYPE): Likewise.
21709
de986b56
L
217102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21711
21712 * bits/types.h (__syscall_slong_t): New type.
21713 (__syscall_ulong_t): Likewise.
21714
21715 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21716 (__SYSCALL_ULONG_TYPE): Likewise.
21717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21718 (__SYSCALL_SLONG_TYPE): Likewise.
21719 (__SYSCALL_ULONG_TYPE): Likewise.
21720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21721 (__SYSCALL_SLONG_TYPE): Likewise.
21722 (__SYSCALL_ULONG_TYPE): Likewise.
21723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21724 (__SYSCALL_SLONG_TYPE): Likewise.
21725 (__SYSCALL_ULONG_TYPE): Likewise.
21726
85736dc7
L
217272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21728
21729 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21730 Add sigaltstack-offsets.sym.
21731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21732 <sigaltstack-offsets.h>.
21733 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21734 longjmp_msg pointer.
21735 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21736 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21737 signal stack.
21738 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21739
cc03b296
JM
217402012-05-15 Joseph Myers <joseph@codesourcery.com>
21741
a9538892
JM
21742 * elf/stackguard-macros.h: Remove file.
21743 * sysdeps/generic/stackguard-macros.h: New file.
21744 * sysdeps/i386/stackguard-macros.h: Likewise.
21745 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21746 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21747 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21748 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21749 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21750 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21751 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21752 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21753 <elf/stackguard-macros.h>.
21754
cc03b296
JM
21755 [BZ #14109]
21756 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21757 __aligned__ in attribute.
21758 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21759 (gregset_t): Likewise.
21760
93171016
L
217612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21762
21763 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21764 * sysdeps/x86_64/64/Implies-after: Here. New file.
21765 * sysdeps/x86_64/x32/Implies-after: New file.
21766
d86813a0
L
217672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21768
21769 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21770 and access return value for _dl_profile_fixup. Use R10_LP to
21771 load frame size.
21772
2953ec75
L
217732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21774
21775 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21776
3b550e9e
L
217772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21780 * sysdeps/x86_64/x32/sysdep.h: New file.
21781
eda41706
L
217822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21783
21784 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21785 * sysdeps/x86_64/setjmp.S: Likewise.
21786
9ea01d93
AZ
217872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21788
21789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21790 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21791 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21793 remove unused global constant.
21794
02a91938
CM
217952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21796
21797 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21798 include of <not-cancel.h>.
21799
6540185f
RM
218002012-05-15 Roland McGrath <roland@hack.frob.com>
21801
21802 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21803
509072a0
AJ
218042012-05-15 Jeff Law <law@redhat.com>
21805 Andreas Jaeger <aj@suse.de>
21806
21807 [BZ #13594]
21808 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21809 out from...
21810 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21811 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21812 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21813 code changing __hst_map_handle.map.
21814
ba75122d
RM
218152012-05-15 Roland McGrath <roland@hack.frob.com>
21816
21817 * configure.in (sysnames): Look for Implies-before and Implies-after
21818 files.
21819 * configure: Regenerated.
21820
890d8bd8
L
218212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21822
21823 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21824 8-byte data alignment with LP_SIZE alignment.
21825
f6ee6623
L
218262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21827
21828 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21829 into R10_LP.
21830
ea2626f6
L
218312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21832
21833 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21834
085f715e
L
218352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21836
21837 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21838 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21839 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21840 Likewise.
21841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21842
be8498fc
L
218432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21844
21845 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21846 (stackinfo_sub_sp): Likewise.
21847
70bc83b9
L
218482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21849
21850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21851 RAX_LP.
21852
9bc0b730
L
218532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21854
21855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21856 into R*_LP.
21857
6d2850e7
L
218582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21859
21860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21861 sizes into R*_LP.
21862
3cb84561
L
218632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21864
21865 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21866
54e2ed81
L
218672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21868
21869 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21870 into R11_LP and load __x86_64_shared_cache_size_half into
21871 R8_LP.
21872
8a17f349
L
218732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21876 R8_LP.
21877
777b1eea
AZ
218782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21879
21880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21881 logb for POWER7.
21882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21883 logbf for POWER7.
21884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21885 logbl for POWER7.
21886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21887 powerpc32/power7/fpu/s_logb.c via #include.
21888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21889 powerpc32/power7/fpu/s_logbf.c via #include.
21890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21891 powerpc32/power7/fpu/s_logbl.c via #include.
21892
d20d4ac2
JM
218932012-05-15 Joseph Myers <joseph@codesourcery.com>
21894
21895 * README.libm: Remove file.
21896
6cdef1ab
L
218972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21900 count for x32. Use R*_LP and omit operand-size suffix.
21901
0b254d8f
L
219022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21905 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21906 * sysdeps/x86_64/x32/shlib-versions: New file.
21907
ceb809dc
RM
219082012-05-14 Roland McGrath <roland@hack.frob.com>
21909
21910 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21911 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21912 Use _dl_fatal_printf instead.
21913
37f1abd4
JM
219142012-05-14 Joseph Myers <joseph@codesourcery.com>
21915
21916 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21917 set if not set by the user. Do not allow for being unset.
21918 * sysdeps/unix/sysv/linux/configure: Regenerated.
21919
11de3a33
L
219202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21923 the `q' suffix from lea and replace .quad with ASM_ADDR.
21924
e02f153a
L
219252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21926
21927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21928 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21929 instead of $17.
21930 (PTR_DEMANGLE): Likewise.
21931
520ae0fd
L
219322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21933
21934 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21935 (LP_OP): Likewise.
21936 (ASM_ADDR): Likewise.
21937 (RAX_LP): Likewise.
21938 (RBP_LP): Likewise.
21939 (RBX_LP): Likewise.
21940 (RCX_LP): Likewise.
21941 (RDI_LP): Likewise.
21942 (RSI_LP): Likewise.
21943 (RSP_LP): Likewise.
21944 (R8_LP): Likewise.
21945 (R9_LP): Likewise.
21946 (R10_LP): Likewise.
21947 (R10_LP): Likewise.
21948 (R11_LP): Likewise.
21949 (R12_LP): Likewise.
21950 (R13_LP): Likewise.
21951 (R14_LP): Likewise.
21952 (R15_LP): Likewise.
21953
b985be81
L
219542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * sysdeps/x86_64/x32/dl-machine.h: New file.
21957
6a4888ff
AJ
219582012-05-14 Andreas Jaeger <aj@suse.de>
21959
21960 * manual/Makefile (subdir): Remove export of subdir.
21961 (all): Remove target.
21962 (.PHONY): Remove all from list.
21963 (mkinstalldirs): Remove.
21964 (.PHONY): Remove installdirs from list.
21965 ($(inst_infodir)/libc.info): Use make-target-directory.
21966 (installdirs): Remove.
21967 (subdir_%): Remove.
21968 (glibc-targets): Remove.
21969 (lib): Remove.
21970 (stubs): Remove.
21971 ($(objpfx)stubs ../po/manual.pot): Remove.
21972 ($(objpfx)stamp%): Remove.
21973 (make-target-directory): Remove.
21974 (subdir_install): Remove.
21975 (routines): Remove.
21976 (aux): Remove.
21977 (sources): Remove.
21978 (objects): Remove.
21979 (headers): Remove.
21980
21981 [BZ #13750]
21982 * manual/.gitignore: Remove, it's not needed anymore.
21983 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21984 all files in it.
21985 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21986 directory.
21987 (texis): Renamed to $(objpfx)texis.
21988 (texis-path): New, contains path to generated files.
21989 (chapters.%): Use texis-path for complete path, add extra argument
21990 libc-texinfo.sh.
21991 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21992 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21993 (summary,texi, stamp-summary): Use complete path of
21994 files. Generate files in build dir.
21995 (dir-add.texi): Build in build dir.
21996 (libm-err.texi,stamp-libm-err): Likewise.
21997 (version.texi, stamp-version): Likewise.
21998 (.%c.texi): Likewise.
21999 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22000 (mostlyclean): Remove target.
22001 (realclean): Remove target.
22002 (generated): Add new variable with contents from mostlyclean and
22003 realclean, remove entries duplicated in common-mostlyclean, add
22004 stamp-libm-err and stamp-version.
22005 (generated-dirs): Add libc directory.
22006 ($(inst_infodir)/libc.info): Install files from build dir.
22007
22008 * manual/install.texi (Configuring and compiling): Adjust since
22009 the info files are not part of the tar ball anymore.
22010
7ac77294
AJ
220112012-05-14 Andreas Jaeger <aj@suse.de>
22012
22013 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22014 variable.
22015
ffb7875d
JM
220162012-05-14 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #13717]
22019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22020 to 2.2.0 where earlier.
22021 * sysdeps/unix/sysv/linux/configure: Regenerated.
22022 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22023 Remove conditional code.
22024 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22025 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22026 Remove conditional code.
22027 [!__NR_lchown]: Likewise.
22028 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22029 [__NR_lchown]: Likewise.
22030 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22031 comment referencing __ASSUME_LCHOWN_SYSCALL.
22032 * sysdeps/unix/sysv/linux/i386/sigaction.c
22033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22035 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22036 Remove conditional code.
22037 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22038 (__protocol_available): Remove #if 0 code.
22039 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22040 conditional code.
22041 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22042 * sysdeps/unix/sysv/linux/kernel-features.h
22043 (__ASSUME_GETCWD_SYSCALL): Don't define.
22044 (__ASSUME_REALTIME_SIGNALS): Likewise.
22045 (__ASSUME_PREAD_SYSCALL): Likewise.
22046 (__ASSUME_PWRITE_SYSCALL): Likewise.
22047 (__ASSUME_POLL_SYSCALL): Likewise.
22048 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22049 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22050 non-SPARC.
22051 (__ASSUME_SIOCGIFNAME): Don't define.
22052 (__ASSUME_MSG_NOSIGNAL): Likewise.
22053 (__ASSUME_SENDFILE): Define unconditionally.
22054 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22055 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22056 conditional code.
22057 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22058 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22059 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22060 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22061 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22063 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22065 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22088 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22089 Remove conditional code.
22090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22091 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22092 Remove conditional code.
22093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22094 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22095 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22096 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22097 Remove conditional code.
22098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22099 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22100 Remove conditional code.
22101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22102 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22103 Remove conditional code.
22104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22105 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22106 Remove conditional code.
22107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22108 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22109 Remove conditional code.
22110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22111 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22114 * sysdeps/unix/sysv/linux/sigaction.c
22115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22117 * sysdeps/unix/sysv/linux/sigpending.c
22118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22120 * sysdeps/unix/sysv/linux/sigprocmask.c
22121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22123 * sysdeps/unix/sysv/linux/sigsuspend.c
22124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22126 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22127 (__libc_missing_rt_sigs): Remove.
22128 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22129 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22130 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22131 Remove conditional code.
22132 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22133 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22134 return 1.
22135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22136 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22137 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22138 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22139
1bfb7291
AJ
221402012-05-14 Andreas Jaeger <aj@suse.de>
22141
caae5a81
AJ
22142 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22143 it's not used in glibc.
22144 (__coshm1): Likewise.
22145 (__acosh1p): Likewise.
22146 (__sgn): Likewise.
22147
1bfb7291
AJ
22148 * manual/string.texi (Copying and Concatenation): Add missing
22149 variable in concat example.
22150 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22151
c044d724
L
221522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22153
144c5467 22154 [BZ #14103]
c044d724
L
22155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22156 __builtin_clzl with __builtin_clzll.
22157
2523c62b
L
221582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 [BZ #14104]
22161 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22162 libc_freeres_ptr.
22163
d7bb4c42
LD
221642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22165
22166 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22167 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22168 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22169 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22170
9dc4e1fb
MF
221712012-05-14 Mike Frysinger <vapier@gentoo.org>
22172
22173 * NEWS: Update ia64 info.
22174
c7df0112
AS
221752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22176
22177 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22178 used as bcopy.
22179
dc70356c
TS
221802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22181
22182 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22183 * sysdeps/unix/syscalls.list (dup3): Likewise.
22184 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22185 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22186
9fb1a21f
L
221872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22190 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22191
4822a2a5
L
221922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22193
22194 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22195 thread pointer.
22196 (TLS_IE): Use mov/add instead of movq/addq to load thread
22197 pointer.
22198 (TLS_GD_PREFIX): New.
22199 (TLS_GD): Use it.
22200
842b81d6
DM
222012012-05-11 David S. Miller <davem@davemloft.net>
22202
22203 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22204 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22205 (_FPU_SETCW): Likewise.
22206
1cf463cd
L
222072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22208
22209 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22210 is 32-byte aligned.
22211
60cc4a18
AS
222122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22213
22214 [BZ #11837]
22215 * iconvdata/gb18030.c: Update tables.
22216 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22217 characters specially.
22218 (BODY for TO_LOOP): Add encoding of missing ranges.
22219
febb44a4
TS
222202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22221
22222 [BZ #13673]
22223 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22224 * sysdeps/mach/hurd/dup3.c: Likewise.
22225 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22226 * sysdeps/powerpc/memmove.c:: Likewise.
22227
0a10fb9e
L
222282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22229
22230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22231 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22232
df8a552f
L
222332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22234
22235 * elf/elf.h (R_X86_64_RELATIVE64): New.
22236 (R_X86_64_NUM): Updated.
22237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22238 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22239 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22240 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22241 tst-quad1pie tst-quad2pie
22242 (modules-names): Add tst-quadmod1 tst-quadmod2.
22243 ($(objpfx)tst-quad1): New dependency.
22244 ($(objpfx)tst-quad2): Likewise.
22245 ($(objpfx)tst-quad1pie): Likewise.
22246 ($(objpfx)tst-quad2pie): Likewise.
22247 * sysdeps/x86_64/tst-quad1.c: New file.
22248 * sysdeps/x86_64/tst-quad1pie.c: New file.
22249 * sysdeps/x86_64/tst-quad2.c: Likewise.
22250 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22251 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22252 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22253 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22254 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22255
f34d6f84
ST
222562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22257
f42d41d1
ST
22258 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22259 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22260 * streams/stropts.h (t_scalar_t): Define type.
22261
3c3571fc
ST
22262 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22263 (_PATH_PRESERVE): Set to "/var/lib".
22264 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22265
61f06bd3
ST
22266 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22267 instead of int.
22268
918d4d71
ST
22269 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22270 if __dir_mkfile succeeded.
22271
f34d6f84
ST
22272 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22273 checking for _hurd_dtablesize. Unlock it right after having
22274 finished _hurd_dtable allocation.
22275
10589b4a
TS
222762012-05-10 Thomas Schwinge <thomas@schwinge.name>
22277
674cdbc7
TS
22278 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22279 * sysdeps/mach/hurd/configure: Regenerated.
22280 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22281 special-casing to...
22282 * sysdeps/gnu/configure.in: ... this new file.
22283 * sysdeps/unix/sysv/linux/configure: Regenerated.
22284 * sysdeps/gnu/configure: New generated file.
22285
8e41b99f
TS
22286 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22287 for Linux: use nsec instead of usec, as well as:
22288 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22289 members of type struct timespec.
22290 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22291 New macros.
22292 (struct stat64): Likewise.
22293 (_STATBUF_ST_NSEC): New macro.
22294 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22295
10589b4a
TS
22296 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22297 __strtoul_internal rather than strtoul.
22298
63643c85
PT
222992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22300
22301 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22302 and reject them.
22303
3faebe6a
ST
223042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22305
22306 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22307 which preserves existing values.
22308 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22309
c6474b07
PT
223102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22311
22312 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22313 TIMEOUT values. Return EINVAL for NFDS values either negative or
22314 greater than FD_SETSIZE.
22315
1043890b
ST
223162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22317
22318 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22319 allocated, call __vm_protect to finish enabling the existing space, and
22320 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22321 allocate the remainder.
22322
37ed8b9b
PT
223232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22324
22325 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22326 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22327
db653660
ST
223282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22329
37ed8b9b
PT
22330 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22331 sysdeps/mach/hurd/readlink.c.
b29d4053 22332
db653660
ST
22333 * posix/tst-sysconf.c (posix_options): Only use
22334 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22335 _POSIX_SYNCHRONIZED_IO when they are defined
22336 * sysdeps/mach/hurd/bits/posix_opt.h:
22337 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22338 (_XOPEN_REALTIME): Undefine macro.
22339 (_XOPEN_REALTIME_THREADS): Undefine macro.
22340 (_XOPEN_SHM): Undefine macro.
22341 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22342 macro to -1.
22343 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22344 macro to -1.
22345 (_POSIX_ASYNC_IO): Undefine macro.
22346 (_POSIX_PRIORITIZED_IO): Undefine macro.
22347 (_POSIX_SPIN_LOCKS): Define macro to -1.
22348
ee16e894
ST
22349 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22350 SA_NODEFER, SA_RESETHAND.
22351 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22352 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22353 F_DUPFD_CLOEXEC.
22354
6103ae3b
TS
223552012-05-10 Thomas Schwinge <thomas@schwinge.name>
22356
22357 * elf/Makefile (pldd-modules): Define unconditionally.
22358
80b4e5f3
TS
223592012-05-10 Thomas Schwinge <thomas@schwinge.name>
22360
22361 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22362
edadcbd6
ST
223632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22364
22365 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22366 Return ENOENT when name is empty.
22367 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22368
80694780
TS
223692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22370
1792c087
TS
22371 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22372
80694780
TS
22373 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22374
6b645f0d
ST
223752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22376
80694780
TS
22377 Fix mlock in all cases except non-readable pages.
22378 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22379 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22380
6b645f0d
ST
22381 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22382 (__mkdir): When path is `/', just fail with EEXIST.
22383 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22384
e468f8a3
TS
223852012-05-10 Thomas Schwinge <thomas@schwinge.name>
22386
22387 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22388 <sys/uio.h> (for writev).
22389 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22390 and <sys/param.h> (for MIN).
22391
a4186cff
PT
223922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22393
22394 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22395 REQUESTED_TIME. Properly set the remaining time and return EINTR
22396 if interrupted.
22397
510bbf14
TS
223982012-05-10 Thomas Schwinge <thomas@schwinge.name>
22399
22400 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22401 Depend on against $(link-rpcuserlibs).
22402
5d5722e8
ST
224032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22404
a4186cff
PT
22405 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22406 (__libc_stack_end): Do not use attribute_relro.
22407 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22408 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22409 to libthread-provided value.
a4186cff
PT
22410 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22411 attribute_relro.
5d5722e8 22412
37233df9
TS
224132012-05-10 Thomas Schwinge <thomas@schwinge.name>
22414
be971a2b
TS
22415 [BZ #3748]
22416 * bits/libc-lock.h (__libc_once_get): New macro.
22417 * sysdeps/mach/bits/libc-lock.h: Likewise.
22418 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22420 instead of using implementation details.
22421
37233df9
TS
22422 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22423 * libio/freopen.c: Likewise.
22424 * libio/freopen64.c: Likewise.
22425 * misc/syslog.c: Likewise.
22426 * nscd/connections.c: Likewise.
22427 * nscd/netgroupcache.c: Likewise.
22428 * sysdeps/posix/getcwd.c: Likewise.
22429
38de94a5
RM
224302012-05-10 Roland McGrath <roland@hack.frob.com>
22431
22432 * math/w_ilogbf.c: Add #include <limits.h>.
22433
67530489
ST
224342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22435
a4186cff 22436 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22437 path instead of returning without unlocking.
22438
67530489
ST
22439 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22440 immediate-write ioctls.
22441 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22442
5aa3a74a
TS
224432012-05-10 Thomas Schwinge <thomas@schwinge.name>
22444
18bad2ae
TS
22445 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22446 __builtin_frame_address instead of making assumptions about the
22447 location of the return address relative to DATA. Force early load of
22448 the return address.
22449 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22450 __builtin_frame_address.
22451
5aa3a74a
TS
22452 dup3 for GNU Hurd.
22453 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22454 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22455 implement dup3 and do some further code clean-ups.
22456 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22457 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22458
ecd0de9a
ST
224592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22460
cd9fa985
ST
22461 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22462
a4186cff
PT
22463 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22464 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22465 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22466 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22467 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22468 d->port.lock.
802ca5a5 22469
a4186cff
PT
22470 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22471 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22472 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22473
bcf55240
TS
224742012-05-10 Thomas Schwinge <thomas@schwinge.name>
22475
6960eb42
TS
22476 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22477 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22478 definitions.
22479
eb43375f
TS
22480 accept4 for GNU Hurd.
22481 * include/sys/socket.h (__libc_accept4): New prototype.
22482 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22483 to implement __libc_accept4.
22484 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22485 __libc_accept4.
22486 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22487
bcf55240
TS
22488 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22489 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22490 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22491 signal-defines.sym.
22492
6178c55b
ST
224932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22494
a4186cff 22495 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22496
6f080c2f
TS
224972012-05-10 Thomas Schwinge <thomas@schwinge.name>
22498
22499 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22500 assertion on O_CLOEXEC flag.
22501 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22502 * hurd/intern-fd.c: Likewise.
22503 * hurd/port2fd.c: Likewise.
22504
bcfe3a54
ST
225052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22506
22507 [BZ #3906]
22508 * bits/in.h (IPV6_PKTINFO): Define new macro.
22509 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22510
89c9aa49
AZ
225112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22512
22513 [BZ #13954]
22514 [BZ #13955]
22515 [BZ #13956]
22516 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22518 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22519 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22521 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22522 * math/libm-test.inc (logb_test) : Additional logb tests.
22523
021db4be
AJ
225242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22525 Andreas Jaeger <aj@suse.de>
22526
22527 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22528 * configure: Regenerated.
22529 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22530 * config.make.in (link-obsolete-rpc): New substituted variable.
22531 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22532 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22533 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22534 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22535 so that libc.a contains the symbols.
22536 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22537 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22538 * sunrpc/auth_none.c: Likewise.
22539 * sunrpc/auth_unix.c: Likewise.
22540 * sunrpc/authdes_prot.c: Likewise.
22541 * sunrpc/authuxprot.c: Likewise.
22542 * sunrpc/clnt_gen.c: Likewise.
22543 * sunrpc/clnt_perr.c: Likewise.
22544 * sunrpc/clnt_raw.c: Likewise.
22545 * sunrpc/clnt_simp.c: Likewise.
22546 * sunrpc/clnt_tcp.c: Likewise.
22547 * sunrpc/clnt_udp.c: Likewise.
22548 * sunrpc/clnt_unix.c: Likewise.
22549 * sunrpc/des_crypt.c: Likewise.
22550 * sunrpc/des_soft.c: Likewise.
22551 * sunrpc/get_myaddr.c: Likewise.
22552 * sunrpc/key_call.c: Likewise.
22553 * sunrpc/key_prot.c: Likewise.
22554 * sunrpc/netname.c: Likewise.
22555 * sunrpc/pm_getmaps.c: Likewise.
22556 * sunrpc/pm_getport.c: Likewise.
22557 * sunrpc/pmap_clnt.c: Likewise.
22558 * sunrpc/pmap_prot.c: Likewise.
22559 * sunrpc/pmap_prot2.c: Likewise.
22560 * sunrpc/pmap_rmt.c: Likewise.
22561 * sunrpc/publickey.c: Likewise.
22562 * sunrpc/rpc_cmsg.c: Likewise.
22563 * sunrpc/rpc_common.c: Likewise.
22564 * sunrpc/rpc_dtable.c: Likewise.
22565 * sunrpc/rpc_prot.c: Likewise.
22566 * sunrpc/rpc_thread.c: Likewise.
22567 * sunrpc/rtime.c: Likewise.
22568 * sunrpc/svc.c: Likewise.
22569 * sunrpc/svc_auth.c: Likewise.
22570 * sunrpc/svc_raw.c: Likewise.
22571 * sunrpc/svc_run.c: Likewise.
22572 * sunrpc/svc_tcp.c: Likewise.
22573 * sunrpc/svc_udp.c: Likewise.
22574 * sunrpc/svc_unix.c: Likewise.
22575 * sunrpc/svcauth_des.c: Likewise.
22576 * sunrpc/xcrypt.c: Likewise.
22577 * sunrpc/xdr.c: Likewise.
22578 * sunrpc/xdr_array.c: Likewise.
22579 * sunrpc/xdr_float.c: Likewise.
22580 * sunrpc/xdr_intXX_t.c: Likewise.
22581 * sunrpc/xdr_mem.c: Likewise.
22582 * sunrpc/xdr_rec.c: Likewise.
22583 * sunrpc/xdr_ref.c: Likewise.
22584 * sunrpc/xdr_sizeof.c: Likewise.
22585 * sunrpc/xdr_stdio.c: Likewise.
22586
b5c086a2
RM
225872012-05-10 Roland McGrath <roland@hack.frob.com>
22588
22589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22590 change. Update copyright years.
22591
6d74dd09
JM
225922012-05-10 Joseph Myers <joseph@codesourcery.com>
22593
22594 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22595
28e72501
MK
225962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22597 Joseph Myers <joseph@codesourcery.com>
22598 Paul Pluzhnikov <ppluzhnikov@google.com>
22599
22600 [BZ #14012]
22601 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22602 requiring rpcgen.
22603 [cross-compiling] (extra-libs): Likewise.
22604 [cross-compiling] (extra-libs-others): Likewise.
22605 [cross-compiling] (librpcsvc-routines): Likewise.
22606 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22607 [cross-compiling] (omit-deps): Likewise.
22608 (sunrpc-CPPFLAGS): New variable.
22609 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22610 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22611 (cross-rpcgen-objs): New variable.
22612 (extra-objs): Append $(cross-rpcgen-objs).
22613 ($(cross-rpcgen-objs)): New rule.
22614 ($(objpfx)cross-rpcgen): Likewise.
22615 (rpcgen-cmd): Define to use $(built-program-file). Expand
22616 comment.
22617 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22618 ($(objpfx)x%.stmp): Likewise.
22619 * sunrpc/proto.h [IS_IN_build] (_): Define.
22620 [IS_IN_build] (_libc_intl_domainname): Likewise.
22621
c8c59454
L
226222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22625 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22626 and R_X86_64_TPOFF64.
22627
6f27cd16
JM
226282012-05-10 Joseph Myers <joseph@codesourcery.com>
22629
22630 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22631 sysdeps/unix/sysv/syscalls.list.
22632 (stime): Likewise.
22633 (utime): Likewise.
22634 * sysdeps/unix/sysv/syscalls.list: Remove file.
22635
02467e1c
PE
226362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22637
22638 [BZ #3440]
22639 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22640 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22641 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22642 (__LC_IDENTIFICATION): Make these macros useful in #if
22643 expressions, as required by C99.
22644
da392631
AS
226452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22646
22647 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22648 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22649 after this.
22650
8115f29b
L
226512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22652
22653 * stdlib/longlong.h: Updated from GCC.
22654
bdd74070
AJ
226552012-05-09 Andreas Jaeger <aj@suse.de>
22656
edfe0dbe
AJ
22657 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22658 default is first entry.
22659 (run_mode): Set type.
22660 (main): Remove informal message about syslog.
22661 (options): Fix typo.
22662
bcfe3a54
ST
22663 [BZ #14053]
22664 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22665 to asm.
bcfe3a54
ST
22666 (lrint): Likewise.
22667 (llrintf): Likewise.
22668 (llrint): Likewise.
22669 (rint): Likewise.
22670 (rintf): Likewise.
22671 (nearbyint): Likewise.
22672 (nearbyintf): Likewise.
bdd74070 22673
91d8d69e
AJ
226742012-05-09 Andreas Jaeger <aj@suse.de>
22675 Pedro Alves <palves@redhat.com>
22676
22677 * nscd/nscd.c (run_mode): Use enum.
22678 (main): Cleanup coding style issue.
22679
bb90b80b
AJ
226802012-05-09 Alexandre Oliva <aoliva@redhat.com>
22681 Andreas Jaeger <aj@suse.de>
22682
bcfe3a54
ST
22683 * nscd/nscd.c (go_background): Replaced with...
22684 (run_mode): ... this.
bb90b80b 22685 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22686 (options): Add -F --foreground.
22687 (main): Implement it.
22688 (parse_opt): Parse it.
bb90b80b 22689
1a4b75a1
AJ
226902012-05-09 Andreas Jaeger <aj@suse.de>
22691
22692 [BZ #14083]
22693 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22694 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22695 -Wconversion warning.
22696 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22697 Likewise.
22698
b1cc2472
JM
226992012-05-09 Joseph Myers <joseph@codesourcery.com>
22700
22701 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22702 == 0.
22703 (LC_ALL): Use macro-int-constant.
22704 (LC_COLLATE): Likewise.
22705 (LC_CTYPE): Likewise.
22706 (LC_MESSAGES): Likewise.
22707 (LC_MONETARY): Likewise.
22708 (LC_NUMERIC): Likewise.
22709 (LC_TIME): Likewise.
22710 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22711 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22713 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22714 Specify type.
22715 [C99-based standards] (float_t): Expect type.
22716 [C99-based standards] (double_t): Expect type.
22717 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22718 type.
22719 [C99-based standards] (HUGE_VALL): Likewise.
22720 [C99-based standards] (INFINITY): Likewise.
22721 [C99-based standards] (NAN): Likewise.
22722 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22723 [C99-based standards] (FP_NAN): Likewise.
22724 [C99-based standards] (FP_NORMAL): Likewise.
22725 [C99-based standards] (FP_SUBNORMAL): Likewise.
22726 [C99-based standards] (FP_ZERO): Likewise.
22727 [C99-based standards] (FP_FAST_FMA): Use
22728 optional-macro-int-constant. Specify type. Require == 1.
22729 [C99-based standards] (FP_FAST_FMAF): Likewise.
22730 [C99-based standards] (FP_FAST_FMAL): Likewise.
22731 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22732 [C99-based standards] (FP_ILOGBNAN): Likewise.
22733 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22734 Specify type.
22735 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22736 [C99-based standards] (math_errhandling): Specify type.
22737 [ISO99 || ISO11] (signgam): Do not allow.
22738 [non-C99-based standards] (copysignf): Do not allow.
22739 [non-C99-based standards] (exp2f): Likewise.
22740 [non-C99-based standards] (log2f): Likewise.
22741 [non-C99-based standards] (modff): Allow.
22742 [non-C99-based standards] (erff): Do not allow.
22743 [non-C99-based standards] (erfcf): Likewise.
22744 [non-C99-based standards] (gammaf): Likewise.
22745 [non-C99-based standards] (hypotf): Likewise.
22746 [non-C99-based standards] (j0f): Likewise.
22747 [non-C99-based standards] (j1f): Likewise.
22748 [non-C99-based standards] (jnf): Likewise.
22749 [non-C99-based standards] (lgammaf): Likewise.
22750 [non-C99-based standards] (tgammaf): Likewise.
22751 [non-C99-based standards] (y0f): Likewise.
22752 [non-C99-based standards] (y1f): Likewise.
22753 [non-C99-based standards] (ynf): Likewise.
22754 [non-C99-based standards] (isnanf): Likewise.
22755 [non-C99-based standards] (acoshf): Likewise.
22756 [non-C99-based standards] (asinhf): Likewise.
22757 [non-C99-based standards] (atanhf): Likewise.
22758 [non-C99-based standards] (cbrtf): Likewise.
22759 [non-C99-based standards] (expm1f): Likewise.
22760 [non-C99-based standards] (ilogbf): Likewise.
22761 [non-C99-based standards] (log1pf): Likewise.
22762 [non-C99-based standards] (logbf): Likewise.
22763 [non-C99-based standards] (nextafterf): Likewise.
22764 [non-C99-based standards] (remainderf): Likewise.
22765 [non-C99-based standards] (rintf): Likewise.
22766 [non-C99-based standards] (scalbf): Likewise.
22767 [non-C99-based standards] (copysignl): Likewise.
22768 [non-C99-based standards] (exp2l): Likewise.
22769 [non-C99-based standards] (log2l): Likewise.
22770 [non-C99-based standards] (modfl): Allow.
22771 [non-C99-based standards] (erfl): Do not allow.
22772 [non-C99-based standards] (erfcl): Likewise.
22773 [non-C99-based standards] (gammal): Likewise.
22774 [non-C99-based standards] (hypotl): Likewise.
22775 [non-C99-based standards] (j0l): Likewise.
22776 [non-C99-based standards] (j1l): Likewise.
22777 [non-C99-based standards] (jnl): Likewise.
22778 [non-C99-based standards] (lgammal): Likewise.
22779 [non-C99-based standards] (tgammal): Likewise.
22780 [non-C99-based standards] (y0l): Likewise.
22781 [non-C99-based standards] (y1l): Likewise.
22782 [non-C99-based standards] (ynl): Likewise.
22783 [non-C99-based standards] (isnanl): Likewise.
22784 [non-C99-based standards] (acoshl): Likewise.
22785 [non-C99-based standards] (asinhl): Likewise.
22786 [non-C99-based standards] (atanhl): Likewise.
22787 [non-C99-based standards] (cbrtl): Likewise.
22788 [non-C99-based standards] (expm1l): Likewise.
22789 [non-C99-based standards] (ilogbl): Likewise.
22790 [non-C99-based standards] (log1pl): Likewise.
22791 [non-C99-based standards] (logbl): Likewise.
22792 [non-C99-based standards] (nextafterl): Likewise.
22793 [non-C99-based standards] (remainderl): Likewise.
22794 [non-C99-based standards] (rintl): Likewise.
22795 [non-C99-based standards] (scalbl): Likewise.
22796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22797 [non-C99-based standards] (FP_*): Do not allow.
22798 [C99-based standards] (FP_*): Change to
22799 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22800 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22801 allow.
22802 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22803 (SIG_ERR): Likewise.
22804 [X/Open-based standards] (SIG_HOLD): Likewise.
22805 (SIG_IGN): Likewise.
22806 (SIGABRT): Use macro-int-constant. Specify type. Require
22807 positive value.
22808 (SIGFPE): Likewise.
22809 (SIGILL): Likewise.
22810 (SIGINT): Likewise.
22811 (SIGSEGV): Likewise.
22812 (SIGTER): Likewise.
22813 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22814 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22815 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22816 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22817 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22818 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22819 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22820 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22821 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22822 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22823 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22824 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22825 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22826 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22827 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22828 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22829 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22830 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22831 [X/Open-based standards] (SIGTRAP): Likewise.
22832 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22833 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22834 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22835 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22836 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22837 allow.
22838
b9f1922d
IW
228392012-05-08 Ian Wienand <ianw@vmware.com>
22840
22841 [BZ #14080]
22842 * time/tzset.c (__tzset_parse_tz): Update default rules for
22843 daylight time changes in the Energy Policy Act of 2005.
22844
1db86e88
AJ
228452012-05-09 Andreas Jaeger <aj@suse.de>
22846
22847 [BZ #13983]
22848 * elf/ldconfig.c (parse_conf): Change string to make clear that
22849 ldconfig only issued a warning if ld.so.conf does not exist.
22850
dee4a4e3
DM
228512012-05-08 David S. Miller <davem@davemloft.net>
22852
ee0db190
DM
22853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22854 movxtod instead of popping the value on the stack.
22855
dee4a4e3
DM
22856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22857
6a43ec98
CD
228582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22859
22860 * config.h.in: Add HAVE_ARM_PCS_VFP.
22861
05c2c961
RMG
228622012-05-08 Roland Mc Grath <roland@hack.frob.com>
22863
bcfe3a54
ST
22864 [BZ #13979]
22865 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22866 checking but the checks are disabled for any reason.
05c2c961 22867
4b30f61a
L
228682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22869
22870 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22871 and ELF64_R_TYPE with ELFW(R_TYPE).
22872
eee2bc67
JM
228732012-05-08 Joseph Myers <joseph@codesourcery.com>
22874
7ea5391a
JM
22875 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22876 (ulimit): Likewise.
22877
eee2bc67
JM
22878 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22879 (settimeofday): Likewise.
22880
abb66a67
MF
228812012-05-08 Mike Frysinger <vapier@gentoo.org>
22882
22883 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22884 a struct th_u2 inside the union, and move tu_block/tu_code into
22885 a new th_u3 union of tu_block/tu_code inside of that. Move
22886 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22887 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22888 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22889 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22890 (th_stuff): Change to th_u1.tu_stuff.
22891 (th_data): Define.
22892 (th_msg): Change to th_u1.th_u2.tu_data.
22893
7f18b530
DM
228942012-05-07 David S. Miller <davem@davemloft.net>
22895
05760585
DM
22896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22897
7f18b530
DM
22898 [BZ #14074]
22899 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22900 (SETUP_PIC_REG): Use it.
22901 (SETUP_PIC_REG_LEAF): Use it.
22902
495fd99f
JM
229032012-05-07 Joseph Myers <joseph@codesourcery.com>
22904
22905 [BZ #13885]
22906 [BZ #13923]
22907 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22908 USE_AS_EXPM1L.
22909 (EXPL_FINITE): Likewise.
22910 (FLDLOG): Likewise.
22911 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22912 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22913 e_expl.S.
22914 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22915 USE_AS_EXPM1L.
22916 (EXPL_FINITE): Likewise.
22917 (FLDLOG): Likewise.
22918 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22919 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22920 e_expl.S.
22921 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22922 test of -max_value argument for long double.
22923 * sysdeps/i386/fpu/libm-test-ulps: Update.
22924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925
6693d694
DM
229262012-05-06 David S. Miller <davem@davemloft.net>
22927
22928 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22929 quad soft-float symbols whose references which are compiler
22930 generated.
22931 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22932
6c23e11c
JM
229332012-05-06 Joseph Myers <joseph@codesourcery.com>
22934
d8b82cad
JM
22935 [BZ #13884]
22936 [BZ #13914]
22937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22938 USE_AS_EXP10L.
22939 (EXPL_FINITE): Likewise.
22940 (FLDLOG): Likewise.
22941 (c0): Likewise.
22942 (c1): Likewise.
22943 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22944 Adjust comments for base varying.
22945 (__expl_finite): Change alias to EXPL_FINITE.
22946 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22947 e_expl.S.
22948 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22949 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22951 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22952 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22953 USE_AS_EXP10L.
22954 (EXPL_FINITE): Likewise.
22955 (FLDLOG): Likewise.
22956 (c0): Likewise.
22957 (c1): Likewise.
22958 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22959 Adjust comments for base varying.
22960 (__expl_finite): Change alias to EXPL_FINITE.
22961 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22962 tests for bugs.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22964
6c23e11c
JM
22965 [BZ #14064]
22966 * math/libm-test.inc (check_float_internal): Correct ulp
22967 calculation for subnormal expected results.
22968
29ba805c
AJ
229692012-05-06 Andreas Jaeger <aj@suse.de>
22970
22971 * Makeconfig (+math-flags): New, set to -frounding-math.
22972 (+cflags): Add +math-flags so that all of glibc gets compiled with
22973 it.
22974
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22976
7b17aeda
JM
229772012-05-05 Joseph Myers <joseph@codesourcery.com>
22978
5779f134
JM
22979 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22980 Disable one test.
22981
41498f4d
JM
22982 [BZ #13787]
22983 [BZ #13922]
22984 [BZ #14036]
22985 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22986 (__ieee754_expl): Allow for and saturate large arguments.
22987 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22988 (u_threshold): Likewise.
22989 (__exp): Call __ieee754_exp before checking for overflow and
22990 underflow.
22991 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22992 (u_threshold): Likewise.
22993 (__expf): Call __ieee754_expf before checking for overflow and
22994 underflow.
22995 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22996 (u_threshold): Likewise.
22997 (__expl): Call __ieee754_expl before checking for overflow and
22998 underflow.
22999 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23000 (__ieee754_expl): Allow for and saturate large arguments.
23001 * math/libm-test.inc (exp_test): Add another test. Do not allow
23002 missing overflow exception on overflow.
23003 (expm1_test): Do not allow missing overflow exception on overflow.
23004
6698b8bf
JM
23005 * sysdeps/i386/fpu/e_expl.c: Move to ...
23006 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23007 rather than using inline asm.
23008 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23009 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23010 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23011
7b17aeda
JM
23012 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23013 (nice): Likewise.
23014 (poll): Likewise.
23015 (signal): Likewise.
23016 (time): Likewise.
23017 (times): Likewise.
23018
f7c85819
JM
230192012-05-04 Joseph Myers <joseph@codesourcery.com>
23020
23021 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23022 sysdeps/unix/common/syscalls.list.
23023 (fchmod): Likewise.
23024 (fchown): Likewise.
23025 (ftruncate): Likewise.
23026 (getrusage): Likewise.
23027 (gettimeofday): Likewise.
23028 (setpgid): Likewise.
23029 (setregid): Likewise.
23030 (setreuid): Likewise.
23031 (sigaction): Likewise.
23032 (truncate): Likewise.
23033 (vhangup): Likewise.
23034 * sysdeps/unix/common/syscalls.list: Remove file.
23035 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23036 * sysdeps/unix/sysv/linux/Implies: Likewise.
23037
336270d0
L
230382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23039
23040 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23042 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23043 Moved to ...
23044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23045 Here.
23046 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23047 to ...
23048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23049 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23050 to ...
23051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23052 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23053 to ...
23054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23055 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23056 to ...
23057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23058 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23059 to ...
23060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23061 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23062 to ...
23063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23064 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23065 to ...
23066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23067 Here.
23068 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23069 to ...
23070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23071 Here.
23072 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23073 to ...
23074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23075 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23076 Moved to ...
23077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23078 Here.
23079 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23080 to ...
23081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23082
d128e450
JM
230832012-05-04 Joseph Myers <joseph@codesourcery.com>
23084
fa8ee516
JM
23085 * sysdeps/unix/common/bits/dirent.h: Remove file.
23086 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23087
d128e450
JM
23088 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23089 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23090 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23091 * sysdeps/unix/bsd/isatty.c: Likewise.
23092 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23093 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23094 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23095
ff8faaf0 230962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23097
62881be4 23098 [BZ #13563]
31dc8730
AZ
23099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23100 long double comparison inaccuracies.
23101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23103
6fef930c
AS
231042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23105
23106 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23107 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23108
8f203e6c
JM
231092012-05-04 Joseph Myers <joseph@codesourcery.com>
23110
23111 [BZ #14049]
23112 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23113 nonzero digits before rounding a hex value.
23114 * stdlib/tst-strtod.c (tests): Add another test.
23115
5197d9c2
AK
231162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23117
23118 * sysdeps/s390/fpu/libm-test-ulps: Update.
23119
f0c1dedf
AJ
231202012-05-03 Andreas Jaeger <aj@suse.de>
23121
23122 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23123 does not get optimized out.
23124 (malloc_opt_barrier): New.
23125
a65ef2ae 231262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23127 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23128
2b942cb7 23129 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23130 intermediate file deletion.
2b942cb7 23131 (generated): Add .symlist files.
a65ef2ae 23132
54b71e02
JM
231332012-05-03 Joseph Myers <joseph@codesourcery.com>
23134
23135 [BZ #13775]
23136 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23137 Redirect under this condition.
23138 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23139 [__USE_GNU] (__dprintf_chk): Not under this condition.
23140 [__USE_GNU] (__vdprintf_chk): Likewise.
23141 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23142 under this condition.
23143 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23144 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23145 [__USE_XOPEN2K8] (vdprintf): Likewise.
23146 [__USE_GNU] (__dprintf_chk): Not under this condition.
23147 [__USE_GNU] (__vdprintf_chk): Likewise.
23148 [__USE_GNU] (dprintf): Likewise.
23149 [__USE_GNU] (vdprintf): Likewise.
23150
d3dfcc41
RM
231512012-05-03 Roland McGrath <roland@hack.frob.com>
23152
23153 * elf/Makefile (common-generated): Set this instead of generated for
23154 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23155 $(all-built-dso)-derived lists.
23156
7ac30cc5
AJ
231572012-05-03 Andreas Jaeger <aj@suse.de>
23158
0c51e550
AJ
23159 * sysdeps/i386/fpu/libm-test-ulps: Update.
23160
7ac30cc5
AJ
23161 * FAQ: Removed.
23162 * FAQ.in: Likewise.
23163 * scripts/gen-FAQ.pl: Likewise.
23164 * manual/install.texi (Installation): Point to online location of
23165 FAQ.
23166 * Makefile (files-for-dist): Remove FAQ.
23167 (FAQ): Remove.
23168
d4c2917f
AM
231692012-05-02 Allan McRae <allan@archlinux.org>
23170
23171 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23172 (LDFLAGS-reldepmod5.so): Likewise.
23173 (LDFLAGS-reldep6mod1.so): Likewise.
23174 (LDFLAGS-reldep6mod4.so): Likewise.
23175 (LDFLAGS-reldep8mod3.so): Likewise.
23176 (LDFLAGS-unload4mod1.so): Likewise.
23177 (LDFLAGS-unload4mod2.so): Likewise.
23178 (LDFLAGS-tst-initorder): Likewise.
23179 (LDFLAGS-tst-initordera2.so): Likewise.
23180 (LDFLAGS-tst-initordera3.so): Likewise.
23181 (LDFLAGS-tst-initordera4.so): Likewise.
23182 (LDFLAGS-tst-initorderb2.so): Likewise.
23183 (LDFLAGS-noload): Likewise.
23184 (LDFLAGS-next): Likewise.
23185 (LDFLAGS-order2mod1.so): Likewise.
23186 (LDFLAGS-order2mod2.so): Likewise.
23187 (LDFLAGS-tst-initorder2): Likewise.
23188 (LDFLAGS-tst-initorder2a.so): Likewise.
23189 (LDFLAGS-tst-initorder2b.so): Likewise.
23190 (LDFLAGS-tst-initorder2c.so): Likewise.
23191 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23192
d77f993f
DM
231932012-05-02 David S. Miller <davem@davemloft.net>
23194
23195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23196
171a70b4
PP
231972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23198
23199 [BZ #14055]
23200 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23201
0be196ad
AJ
232022012-05-02 Andreas Jaeger <aj@suse.de>
23203
23204 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23205 since we manipulate rounding mode.
23206 (CPPFLAGS-test-idouble.c): Likewise.
23207 (CPPFLAGS-test-ifloat.c): Likewise.
23208 (CFLAGS-test-ldouble.c): Likewise.
23209 (CFLAGS-test-double.c): Likewise.
23210 (CFLAGS-test-float.c): Likewise.
23211 (CFLAGS-test-misc.c): Likewise.
23212 (CFLAGS-test-test-fenv.c): Likewise.
23213
4f9d04aa
AZ
232142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23215
2b942cb7
RM
23216 [BZ #2550]
23217 [BZ #2570]
23218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23219 comparisons to determine direction to adjust input.
4f9d04aa 23220
82a79e7d
RM
232212012-05-01 Roland McGrath <roland@hack.frob.com>
23222
f5a01ca9
RM
23223 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23224 output to the target.
23225
90fe4186
RM
23226 * scripts/localplt.awk: New file.
23227 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23228 (check-localplt-CFLAGS): Variable removed.
23229 ($(all-built-dso:=.jmprel)): New static pattern rule.
23230 (generated): Add those targets.
23231 (localplt-built-dso): New variable.
23232 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23233
23234 * elf/check-localplt.c: File removed.
23235
82397ed6
RM
23236 * scripts/check-execstack.awk: New file.
23237 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23238 (check-execstack-CFLAGS): Variable removed.
23239 ($(objpfx)check-execstack.h): Target removed.
23240 ($(objpfx)execstack-default): New target.
23241 (generated): Add that instead of check-execstack.h.
23242 ($(all-built-dso:=.phdr)): New static pattern rule.
23243 (generated): Add those targets.
23244 * elf/check-execstack.c: File removed.
23245
82a79e7d
RM
23246 * scripts/check-textrel.awk: New file.
23247 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23248 (check-textrel-CFLAGS): Variable removed.
23249 (all-built-dso): Use := to define.o
23250 ($(all-built-dso:=.dyn)): New static pattern rule.
23251 (generated): Add those targets.
23252 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23253 * config.make.in (READELF): New substituted variable.
23254 * elf/check-textrel.c: File removed.
23255
62fde54f 232562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23257
615605c9
JM
23258 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23259 allow.
23260 * conform/data/ctype.h-data [C99-based standards] (isblank):
23261 Expect function.
23262 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23263 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23265 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23266 Specify type. Require positive value.
23267 (EILSEQ): Likewise.
23268 (ERANGE): Likewise.
23269 [ISO || POSIX] (EILSEQ): Do not expect.
23270 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23271 Specify type. Require positive value.
23272 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23273 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23274 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23275 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23276 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23277 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23278 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23279 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23280 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23281 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23282 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23283 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23284 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23285 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23286 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23287 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23288 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23289 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23290 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23291 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23292 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23293 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23294 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23295 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23296 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23297 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23298 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23299 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23300 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23301 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23302 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23303 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23304 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23305 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23306 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23307 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23308 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23309 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23310 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23311 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23312 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23313 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23314 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23315 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23316 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23317 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23318 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23319 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23320 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23321 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23322 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23323 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23324 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23325 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23326 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23327 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23328 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23329 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23330 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23331 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23332 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23333 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23334 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23335 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23336 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23337 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23338 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23339 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23340 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23341 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23342 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23343 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23344 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23345 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23346 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23347 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23348 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23349 Require >= 2.
23350 (FLT_ROUNDS): Expect as macro, not constant.
23351 (FLT_MANT_DIG): Use macro-int-constant.
23352 (DBL_MANT_DIG): Likewise.
23353 (LDBL_MANT_DIG): Likewise.
23354 (FLT_DIG): Likewise.
23355 (DBL_DIG): Likewise.
23356 (LDBL_DIG): Likewise.
23357 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23358 (DBL_MIN_EXP): Likewise.
23359 (LDBL_MIN_EXP): Likewise.
23360 (FLT_MAX_EXP): Use macro-int-constant.
23361 (DBL_MAX_EXP): Likewise.
23362 (LDBL_MAX_EXP): Likewise.
23363 (FLT_MAX_10_EXP): Likewise.
23364 (DBL_MAX_10_EXP): Likewise.
23365 (LDBL_MAX_10_EXP): Likewise.
23366 (FLT_MAX): Use macro-constant.
23367 (DBL_MAX): Likewise.
23368 (LDBL_MAX): Likewise.
23369 (FLT_EPSILON): Use macro-constant. Give upper bound.
23370 (DBL_EPSILON): Likewise.
23371 (LDBL_EPSILON): Likewise.
23372 (FLT_MIN): Likewise.
23373 (DBL_MIN): Likewise.
23374 (LDBL_MIN): Likewise.
23375 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23376 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23377 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23378 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23379 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23380 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23381 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23382 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23383 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23384 [ISO11] (FLT_TRUE_MIN): Likewise.
23385 [ISO11] (LDBL_TRUE_MIN): Likewise.
23386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23387 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23388 (SCHAR_MIN): Use macro-int-constant. Specify type.
23389 (SCHAR_MAX): Likewise.
23390 (UCHAR_MAX): Likewise.
23391 (CHAR_MIN): Likewise.
23392 (CHAR_MAX): Likewise.
23393 (MB_LEN_MAX): Use macro-int-constant.
23394 (SHRT_MIN): Use macro-int-constant. Specify type.
23395 (SHRT_MAX): Likewise.
23396 (USHRT_MAX): Likewise.
23397 (INT_MAX): Likewise.
23398 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23399 bound negative.
23400 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23401 bound with "U".
23402 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23403 bound with "L".
23404 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23405 bound negative. Suffix upper bound with "L".
23406 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23407 bound with "UL".
23408 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23409 Specify type.
23410 [C99-based standards] (LLONG_MAX): Likewise.
23411 [C99-based standards] (ULLONG_MAX): Likewise.
23412 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23413 == 0.
23414 [ISO11] (max_align_t): Require type.
23415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23416
c9140a62
JM
23417 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23418 from $CFLAGS, without defining away __attribute__ calls.
23419 (checknamespace): Use $CFLAGS_namespace.
23420
9af0bf29
JM
23421 * conform/conformtest.pl (@keywords): Only include C99 keywords
23422 for standards based on C99 or C11.
23423
343222a2
JM
23424 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23425 Disable tests.
23426 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23427 UNIX98]: Likewise.
23428
661f8cf0
JM
23429 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23430 usability of symbols in #if.
23431
ee74b9cb
JM
23432 * conform/conformtest.pl: If macro or constant types start
23433 "promoted:", expect the symbol to be of the following type
23434 promoted by the integer promotions.
62fde54f 23435
aafc49b3
JM
23436 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23437 in one place. Also handle "macro-constant".
23438
fefdf574
JM
23439 * conform/conformtest.pl: Only accept expected macro values with
23440 "==". Parse all "macro" lines in one place.
23441 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23442
f2d922fe
JM
23443 * conform/conformtest.pl: Handle braced types on "constant" lines
23444 instead of handling "typed-constant".
23445 * conform/data/signal.h-data: Use "constant" instead of
23446 "typed-constant".
23447
d22956c9
JM
23448 * conform/conformtest.pl: Handle "optional-" at start of lines in
23449 one place rather than duplicating several cases. Handle each
23450 format of "macro" line with initial "optional-".
23451
028e2e38
JM
23452 * conform/conformtest.pl: Only accept expected constant or
23453 optional-constant values with "==". Parse all "constant" lines in
23454 one place. Parse all "optional-constant" lines in one place.
23455 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23456 * conform/data/fmtmsg.h-data: Likewise.
23457 * conform/data/netinet/in.h-data: Likewise.
23458 * conform/data/tar.h-data: Likewise.
23459 * conform/data/limits.h-data: Use "==" form on "constant" and
23460 "optional-constant" lines.
23461
1b8f2850
JM
23462 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23463 Use -std=c99 for XOPEN2K.
23464 (@knownproblems): Remove.
23465 (newtoken): Don't check %isknown.
23466
a05a144b
JM
23467 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23468 Do not expect macro.
23469 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23470 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23471 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23472 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23473 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23474 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23475 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23476 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23477 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23478 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23479 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23480 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23481 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23482 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23483 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23484 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23485 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23486 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23487 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23488 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23489 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23490 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23491 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23492 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23493 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23494 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23495 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23496 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23497 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23498 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23499 [XPG3] (acosh): Likewise.
23500 [XPG3] (asinh): Likewise.
23501 [XPG3] (atanh): Likewise.
23502 [XPG3] (cbrt): Likewise.
23503 [XPG3] (expm1): Likewise.
23504 [XPG3] (ilogb): Likewise.
23505 [XPG3] (log1p): Likewise.
23506 [XPG3] (logb): Likewise.
23507 [XPG3] (nextafter): Likewise.
23508 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23509 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23510 [XPG3] (remainder): Likewise.
23511 [XPG3] (rint): Likewise.
23512 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23513 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23514 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23515 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23516 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23517 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23518 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23519 [UNIX98 || XOPEN2K] (scalb): Expect.
23520 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23521 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23522 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23523 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23524 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23525 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23526 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23527 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23528 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23529 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23530 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23531 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23532 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23533 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23534 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23535 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23536 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23537 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23538 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23539 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23540 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23541 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23542 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23543 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23544 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23545 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23546 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23547 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23548 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23549 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23550 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23551 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23552 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23553 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23554 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23555 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23556 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23557 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23558 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23559 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23560 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23561 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23562 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23563 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23564 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23565 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23566 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23567 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23568 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23569 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23570 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23571 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23572 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23573 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23574 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23586 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23587 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23604 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23605 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23606 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23607 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23608 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23609 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23610 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23611 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23612 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23615 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23616 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23624 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23625 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23626 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23648 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23649 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23652 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23653 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23654 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23657
73c5ebe3
JM
23658 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23659 _XOPEN_SOURCE_EXTENDED for XPG4.
23660
39c33b6c
JM
23661 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23662
62fde54f
JM
23663 * Makeconfig (localtime): Remove variable.
23664 (inst_localtime-file): Likewise.
23665
0741d64c
AS
236662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23667
23668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23669 Update.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23671 Update.
23672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23673 Update.
23674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23675 Update.
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23677 Update.
23678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23679 Update.
23680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23681 Update.
23682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23683 Update.
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23685 Update.
23686
7cb029ee
JM
236872012-05-01 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #2550]
23690 [BZ #2570]
23691 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23692 comparisons to determine direction to adjust input.
23693 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23694 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23696 Likewise.
23697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23698 Likewise.
23699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23700 Likewise.
23701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23703 Likewise.
23704 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23705 Likewise.
23706 * math/libm-test.inc (nexttoward_test): Add more tests.
23707
412bd966
AS
237082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23709
23710 [BZ #14040]
23711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23712 in version GLIBC_2.1, not GLIBC_2.0.
23713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23714 Likewise.
23715
9568c0c2
JM
237162012-04-30 Joseph Myers <joseph@codesourcery.com>
23717
adfbc8ac
JM
23718 [BZ #13942]
23719 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23720 (1 - x) * (1 + x).
23721 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23722 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23723 * math/libm-test.inc (acos_test): Add more tests.
23724 (asin_test): Likewise.
23725 * sysdeps/i386/fpu/libm-test-ulps: Update.
23726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23727
5ba3cc69
JM
23728 [BZ #14034]
23729 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23730 of square root.
23731 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23732 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23733 * math/libm-test.inc (acos_test_tonearest): New function.
23734 (acos_test_towardzero): Likewise.
23735 (acos_test_downward): Likewise.
23736 (acos_test_upward): Likewise.
23737 (asin_test_tonearest): Likewise.
23738 (asin_test_towardzero): Likewise.
23739 (asin_test_downward): Likewise.
23740 (asin_test_upward): Likewise.
23741 (main): Call the new functions.
23742 * sysdeps/i386/fpu/libm-test-ulps: Update.
23743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23744
9568c0c2
JM
23745 [BZ #13884]
23746 [BZ #13924]
23747 * math/e_exp10.c: Include <float.h>.
23748 (__ieee754_exp10): Handle underflow here rather than multiplying
23749 large negative argument by M_LN10.
23750 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23751 of __ieee754_expf.
23752 * math/e_exp10l.c: Include <float.h>.
23753 (__ieee754_exp10l): Handle underflow here rather than multiplying
23754 large negative argument by M_LN10l.
23755 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23756 spurious overflow exception on underflow.
23757
5ac3ea17
MP
237582012-04-29 Marek Polacek <polacek@redhat.com>
23759
23760 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23761 (__fortify_function): New macro.
23762 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23763 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23764 __extern_always_inline.
23765 * libio/bits/stdio2.h: Likewise.
23766 * libio/bits/stdio.h: Likewise.
23767 * string/string.h: Likewise.
23768 * string/bits/string3.h: Likewise.
23769 * include/stdio.h: Likewise.
23770 * stdlib/bits/stdlib.h: Likewise.
23771 * stdlib/stdlib.h: Likewise.
23772 * rt/bits/mqueue2.h: Likewise.
23773 * rt/mqueue.h: Likewise.
23774 * posix/bits/unistd.h: Likewise.
23775 * posix/unistd.h: Likewise.
23776 * io/bits/poll2.h: Likewise.
23777 * io/bits/fcntl2.h: Likewise.
23778 * io/fcntl.h: Likewise.
23779 * io/sys/poll.h: Likewise.
23780 * misc/bits/syslog.h: Likewise.
23781 * misc/bits/syslog-ldbl.h: Likewise.
23782 * misc/sys/syslog.h: Likewise.
23783 * socket/bits/socket2.h: Likewise.
23784 * socket/sys/socket.h: Likewise.
23785 * debug/tst-chk1.c: Likewise.
23786 * wcsmbs/bits/wchar2.h: Likewise.
23787 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23788 * wcsmbs/wchar.h: Likewise.
23789
ecf0ebfb
AJ
237902012-04-29 Andreas Jaeger <aj@suse.de>
23791
23792 * Makerules (tests): Remove enable-check-abi protection.
23793 (check-abi-warn): Remove.
23794 (check-abi-%): Remove check-abi-warn usage.
23795
23796 * configure.in: Remove check-abi configure option.
23797 * configure: Regenerated.
23798 * config.make.in (enable-check-abi): Remove.
23799
6d5c57fa
AS
238002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23801
24c5d07e 23802 [BZ #14033]
ded5180a
AS
23803 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23804 double functions to double *_finite functions.
23805
7e0d315d
AS
23806 [BZ #13941]
23807 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23808 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23809 LDBL_MIN_EXP.
23810 * stdio-common/Makefile (tests): Add tst-sprintf3.
23811 * stdio-common/tst-sprintf3.c: New file.
23812
6d5c57fa
AS
23813 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23814 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23815
0749ff8b
JM
238162012-04-28 Joseph Myers <joseph@codesourcery.com>
23817
23818 * conform/conformtest.pl: Remove duplicate typed-constant
23819 handling.
23820
8dbd5d7b
DM
238212012-04-28 David S. Miller <davem@davemloft.net>
23822
23823 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23824 (check-abi-%): Remove AWK script prerequisite and explicit
23825 abilist directory.
23826 (check-abi): Rewrite to just diff the symlist with the abilist.
23827 (config-tls, config-abi-config): Delete, no longer used.
23828 (update-abi-%): Remove AWK script and explicit abilist directory.
23829 (update-abi): Rewrite to simply compare and conditionally copy the
23830 symlist and the sysdep abilist file. Remove update-abi-config
23831 checks.
23832 * abilist/ld.abilist: Remove.
23833 * abilist/libBrokenLocale.abilist: Remove.
23834 * abilist/libanl.abilist: Remove.
23835 * abilist/libcrypt.abilist: Remove.
23836 * abilist/libdl.abilist: Remove.
23837 * abilist/librt.abilist: Remove.
23838 * abilist/libthread_db.abilist: Remove.
23839 * abilist/libutil.abilist: Remove.
23840 * scripts/extract-abilist.awk: Remove.
23841 * scripts/merge-abilist.awk: Remove.
23842 * sysdeps/generic/libcidn.abilist: New file.
23843 * sysdeps/generic/libnss_compat.abilist: New file.
23844 * sysdeps/generic/libnss_db.abilist: New file.
23845 * sysdeps/generic/libnss_dns.abilist: New file.
23846 * sysdeps/generic/libnss_files.abilist: New file.
23847 * sysdeps/generic/libnss_hesiod.abilist: New file.
23848 * sysdeps/generic/libnss_nis.abilist: New file.
23849 * sysdeps/generic/libnss_nisplus.abilist: New file.
23850 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23851 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23852 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23853 file.
23854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23855 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23856 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23857 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23858 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23859 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23860 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23861 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23862 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23863 file.
23864 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23865 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23866 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23867 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23868 file.
23869 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23870 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23871 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23872 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23873 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23874 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23875 file.
23876 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23877 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23878 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23879 file.
23880 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23882 New file.
23883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23884 New file.
23885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23886 New file.
23887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23888 New file.
23889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23890 New file.
23891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23892 New file.
23893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23894 New file.
23895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23896 New file.
23897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23898 New file.
23899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23900 New file.
23901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23902 New file.
23903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23904 New file.
23905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23906 New file.
23907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23908 file.
23909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23910 New file.
23911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23912 New file.
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23914 file.
23915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23916 New file.
23917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23918 New file.
23919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23920 file.
23921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23922 New file.
23923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23924 New file.
23925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23926 New file.
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23928 New file.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23930 New file.
23931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23932 New file.
23933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23935 file.
23936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23937 New file.
23938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23939 file.
23940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23941 file.
23942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23943 file.
23944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23945 file.
23946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23947 file.
23948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23949 New file.
23950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23951 file.
23952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23953 file.
23954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23955 New file.
23956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23957 file.
23958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23960 file.
23961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23962 New file.
23963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23964 file.
23965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23966 file.
23967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23968 file.
23969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23970 file.
23971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23972 file.
23973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23974 New file.
23975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23976 file.
23977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23978 file.
23979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23980 New file.
23981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23982 file.
23983 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23984 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23985 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23986 file.
23987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23988 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23989 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23990 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23991 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23992 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23993 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23994 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23995 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23996 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23999 file.
24000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24001 New file.
24002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24003 file.
24004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24005 file.
24006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24007 file.
24008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24009 file.
24010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24011 file.
24012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24013 New file.
24014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24015 New file.
24016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24017 file.
24018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24019 New file.
24020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24021 file.
24022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24024 file.
24025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24026 New file.
24027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24028 file.
24029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24030 file.
24031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24032 file.
24033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24034 file.
24035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24036 file.
24037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24038 New file.
24039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24040 New file.
24041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24042 file.
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24044 New file.
24045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24046 file.
24047
41d73a1b
JM
240482012-04-28 Joseph Myers <joseph@codesourcery.com>
24049
24050 * conform/conformtest.pl: Fix typo in handling typed-constant from
24051 allow-header.
24052
28aeeda4
JM
240532012-04-27 Joseph Myers <joseph@codesourcery.com>
24054
adae8f5e
JM
24055 * README: Cut down references to pre-2.6 Linux kernels and
24056 Linuxthreads. Update lists of configurations in libc and ports
24057 and sort alphabetically. Say "or newer" with Linux kernel version
24058 requirements.
24059
28aeeda4
JM
24060 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24061
a462cb63
RA
240622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24063
24064 [BZ #887]
24065 * math/libm-test.inc (logb_test_downward): New test to expose
24066 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24067 rounding mode.
24068
6ad3493e
JM
240692012-04-27 Joseph Myers <joseph@codesourcery.com>
24070
24071 [BZ #14027]
24072 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24073 to be done.
24074 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24075 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24076
2ce4f015
JM
240772012-04-26 Joseph Myers <joseph@codesourcery.com>
24078
5aeb141a
JM
24079 * sysdeps/unix/i386/brk.S: Remove file.
24080 * sysdeps/unix/i386/dl-brk.S: Likewise.
24081 * sysdeps/unix/i386/pipe.S: Likewise.
24082 * sysdeps/unix/i386/sigreturn.S: Likewise.
24083 * sysdeps/unix/i386/syscall.S: Likewise.
24084 * sysdeps/unix/i386/vfork.S: Likewise.
24085 * sysdeps/unix/i386/wait.S: Likewise.
24086
7143acae
JM
24087 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24088 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24089
2ce4f015
JM
24090 * configure.in (arm*-none*): Do not allow without
24091 --enable-hacker-mode.
24092 (netbsd*): Remove case setting base_os.
24093 (386bsd*): Likewise.
24094 (freebsd*): Likewise.
24095 (bsdi*): Likewise.
24096 (osf*): Likewise.
24097 (sunos*): Likewise.
24098 (ultrix*): Likewise.
24099 (newsos*): Likewise.
24100 (dynix*): Likewise.
24101 (*bsd*): Likewise.
24102 (sysv*): Likewise.
24103 (isc*): Likewise.
24104 (esix*): Likewise.
24105 (sco*): Likewise.
24106 (minix*): Likewise.
24107 (irix4*): Likewise.
24108 (irix6*): Likewise.
24109 (solaris[2-9]*): Likewise.
24110 (none): Likewise.
24111 * configure: Regenerated.
24112
0ac229c8
AZ
241132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24114
24115 [BZ #11521]
24116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24117 overflow or cancellation in calculating denominator.
24118 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24120 down expression to avoid unexpected rounding in newer GCCs.
24121 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24122
33f244f4
DM
241232012-04-26 David S. Miller <davem@davemloft.net>
24124
24125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24126 long-double compat symbols.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24140
cfa1f3e8
DM
241412012-04-25 David S. Miller <davem@davemloft.net>
24142
24143 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24144 HWCAP_* values only after the memory barriers have been defined.
24145 (atomic_full_barrier): Define.
24146 (atomic_read_barrier): Define.
24147 (atomic_write_barrier): Define.
24148
6e236b92
SP
241492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24150
24151 * shlib-versions: Add libgcc_s version information.
24152 * sysdeps/generic/libgcc_s.h: Remove.
24153 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24154 libgcc_s.h.
24155 * sysdeps/gnu/unwind-resume.c: Likewise.
24156 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24157
aab39a09
DM
241582012-04-25 David S. Miller <davem@davemloft.net>
24159
24160 * sysdeps/unix/sparc/brk.S: Delete.
24161 * sysdeps/unix/sparc/dl-brk.S: Delete.
24162 * sysdeps/unix/sparc/pipe.S: Delete.
24163 * sysdeps/unix/sparc/sysdep.S: Delete.
24164 * sysdeps/unix/sparc/sysdep.h: Delete.
24165 * sysdeps/unix/sparc/vfork.S: Delete.
24166 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24167 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24169 ret_ERRVAL, r0, r1, MOVE): Define.
24170 (JUMPTARGET): Remove.
24171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24172 sysdeps/unix/sparc/sysdep.h
24173 (ENTRY, END): Remove.
24174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24175
a3cc4f48
JM
241762012-04-25 Joseph Myers <joseph@codesourcery.com>
24177
2ed8cda2
JM
24178 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24179 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24180 -DIS_IN_build.
24181
35d76d59
JM
24182 * timezone/README: Update upstream location and email address for
24183 tzcode and tzdata.
24184 * timezone/zdump.c: Update from tzcode 2012b.
24185 * timezone/zic.c: Likewise.
24186
a3cc4f48
JM
24187 * configure.in (libc_cv_as_needed): Remove test.
24188 * configure: Regenerated.
24189 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24190 conditional definition.
24191 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24192 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24193 * config.make.in (have-as-needed): Remove variable.
24194
ceab42c3
SP
241952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24196 Paul Pluzhnikov <ppluzhnikov@google.com>
24197
24198 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24199 strings correctly.
24200
3ce2865f
CLT
242012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24202
24203 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24204 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24205 * sysdeps/sh/strlen.S: Likewise.
24206
f37e0d68
JM
242072012-04-24 Joseph Myers <joseph@codesourcery.com>
24208
ae186e9a
JM
24209 * sysdeps/unix/fork.S: Remove file.
24210 * sysdeps/unix/i386/fork.S: Likewise.
24211 * sysdeps/unix/sparc/fork.S: Likewise.
24212
b96914af
JM
24213 * sysdeps/unix/system.c: Remove file.
24214 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24215
f37e0d68
JM
24216 * sysdeps/unix/getegid.S: Remove file.
24217 * sysdeps/unix/geteuid.S: Likewise.
24218
87ef29ca
RM
242192012-04-24 Roland McGrath <roland@hack.frob.com>
24220
83bcd236
RM
24221 * scripts/check-localplt.awk: New file.
24222 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24223 of diff.
24224 * scripts/data/localplt-generic.data: Add a comment.
24225
87ef29ca
RM
24226 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24227 NODE when __dir_mkfile failed.
24228 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24229 Reported by Ludovic Courtès <ludo@gnu.org>.
24230
e5a6e567
AJ
242312012-04-24 Andreas Jaeger <aj@suse.de>
24232
24233 * Makerules (common-clean): Also remove gen-as-const-headers
24234 files.
24235
c1820385
JM
242362012-04-24 Joseph Myers <joseph@codesourcery.com>
24237
24238 * Makerules (native-compile): Do not change working directory for
24239 build. Use $(OUTPUT_OPTION) in command.
24240 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24241
94e02fc4
AZ
242422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24243
24244 [BZ #13886]
24245 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24246 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24247 * math/libm-test.inc (floor_test): Add more tests.
24248 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24249
3a533ca3
JM
242502012-04-24 Joseph Myers <joseph@codesourcery.com>
24251
940ab4b3
JM
24252 * sysdeps/unix/getdents.c: Remove file.
24253 * sysdeps/unix/sysv/getdents.c: Likewise.
24254 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24255
90e037bd
JM
24256 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24257 sysdeps/unix/mman/syscalls.list.
24258 (mmap): Likewise.
24259 (mprotect): Likewise.
24260 (msync): Likewise.
24261 (munmap): Likewise.
24262 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24263 * sysdeps/unix/mman/syscalls.list: Remove.
24264 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24265
3a533ca3
JM
24266 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24267 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24268 * configure: Regenerated.
24269 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24270 $(libgcc_s_suffix).
24271 * config.make.in (libgcc_s_suffix): Remove variable.
24272
1ad743de
JM
242732012-04-23 Joseph Myers <joseph@codesourcery.com>
24274
4ad451e2
JM
24275 * sysdeps/unix/sysv/gethostname.c: Move to ...
24276 * sysdeps/posix/gethostname.c: ... here.
24277
5e37ce39
JM
24278 * sysdeps/unix/execve.S: Remove file.
24279
1ad743de
JM
24280 * sysdeps/unix/_exit.S: Remove file.
24281
4e681b5b
AJ
242822012-04-23 Andreas Jaeger <aj@suse.de>
24283
24284 [BZ #13739]
24285 * manual/Makefile: Remove make dist support, there's no
24286 need for a stand-alone documentation tar ball.
24287 (TEXI2DVI): Define always, it's not in Makeconfig.
24288 (dist): Removed.
24289 (tar-it): Removed.
24290 (edition): Removed.
24291 (glibc-doc-$(edition).tar): Removed
24292 (%.Z): Removed.
24293 (%.gz): Removed.
24294 (%.uu): Removed.
24295 (ETAGS): Remove, it's in Makeconfig.
24296 (move-if-change): Remove, it's in Makeconfig.
24297
38686a03 242982012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24299
24300 [BZ #13970]
24301 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24302 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24303 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24304 (strtod_l, strtof_l, strtold_l): Remove __wur.
24305 It is not necessarily an error to ignore strtol's return value.
24306 One can reliably look at the stored endptr to decide whether
24307 the number had valid syntax.
24308
7c0616fa
AJ
243092012-04-21 Andreas Jaeger <aj@suse.de>
24310
803cb6b7 24311 [BZ #13739]
7c0616fa
AJ
24312 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24313
b0fe253f
JM
243142012-04-21 Joseph Myers <joseph@codesourcery.com>
24315
24316 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24317 * sysdeps/unix/sysv/Versions: Remove file.
24318
8280f22d
MT
243192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24320
24321 [BZ #13927]
24322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24323
75ce411f 243242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24325
24326 [BZ #7064]
24327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24328 version from __vm86.
24329
097d59fa
JM
243302012-04-20 Joseph Myers <joseph@codesourcery.com>
24331
a90f3bcb
JM
24332 * sysdeps/unix/common/lxstat.c: Remove file.
24333 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24334
edc7ea78
JM
24335 * sysdeps/unix/sysv/Makefile: Remove file.
24336
cb78c221
JM
24337 * sysdeps/unix/sysv/direct.h: Remove file.
24338
efa6a45f
JM
24339 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24340 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24341 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24342 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24343 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24344 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24345 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24346
9c9f2d0c
JM
24347 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24348
4541c83b
JM
24349 * sysdeps/unix/xmknod.c: Remove file.
24350 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24351
f5d153a0
JM
24352 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24353
aa746595
JM
24354 * sysdeps/unix/sysv/i386/time.S: Remove file.
24355
cce5905e
JM
24356 * sysdeps/unix/fxstat.c: Remove file.
24357 * sysdeps/unix/xstat.c: Likewise.
24358 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24359
37fa3841
JM
24360 * sysdeps/unix/sysv/sigaction.c: Remove file.
24361
ff1962a3
JM
24362 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24363 (sysdep_headers): Remove variable.
24364 [termio.h not in sysdep_headers] (generated): Likewise.
24365 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24366 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24367 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24368 * sysdeps/unix/sysv/tcflow.c: Likewise.
24369 * sysdeps/unix/sysv/tcflush.c: Likewise.
24370 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24371 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24372 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24373 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24374 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24375
e7740d31
JM
24376 * sysdeps/unix/siglist.c: Remove file.
24377
ee06f18b
JM
24378 * sysdeps/unix/getppid.S: Remove file.
24379
097d59fa
JM
24380 * sysdeps/unix/mkdir.c: Remove file.
24381 * sysdeps/unix/rmdir.c: Likewise.
24382
ff3d51ec
AS
243832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24384
24385 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24386 ERR_MAX value.
24387 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24388 errlist-compat value.
24389
50f81fd7
DM
243902012-04-18 David S. Miller <davem@davemloft.net>
24391
24392 * sysdeps/generic/memcopy.h (reg_char): Delete.
24393 * debug/strcat_chk.c: Use char, not reg_char.
24394 * debug/strcpy_chk.c: Likewise.
24395 * debug/strncat_chk.c: Likewise.
24396 * debug/strncpy_chk.c: Likewise.
24397 * string/memchr.c: Likewise.
24398 * string/memrchr.c: Likewise.
24399 * string/rawmemchr.c: Likewise.
24400 * string/strcat.c: Likewise.
24401 * string/strchr.c: Likewise.
24402 * string/strchrnul.c: Likewise.
24403 * string/strcmp.c: Likewise.
24404 * string/strcpy.c: Likewise.
24405 * string/strncat.c: Likewise.
24406 * string/strncmp.c: Likewise.
24407 * string/strncpy.c: Likewise.
24408
8ff41c46
WS
244092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24410
24411 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24412 __builtin_memcopy is called when src and dest ranges are known to not
24413 overlap.
24414
6b652f46
WS
244152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24416
24417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24418 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24419 fwd_align_merge macro call.
24420 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24421 bwd_align_merge macro call.
24422 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24423
b282631e
WS
244242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24425
24426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24427 bwd_align_merge macros.
24428 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24429 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24431
95aa737c
DM
244322012-04-18 David S. Miller <davem@davemloft.net>
24433
24434 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24435
7a99a614
AJ
244362012-04-18 Andreas Jaeger <aj@suse.de>
24437
24438 [BZ# 6794]
24439 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24440 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24441 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24442
24443 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24444 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24446
24447 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24448 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24449 Adjust for changed ldbl-128 files.
24450
24451 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24452 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24453 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24454
e5270c23
DM
244552012-04-17 David S. Miller <davem@davemloft.net>
24456
24457 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24458
fb5e92c9
AS
244592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24460
24461 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24462 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24463 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24464 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24465 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24466 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24467
76da7265
AZ
244682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24469
24470 [BZ #6794]
24471 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24472 * math/libm-test.inc: Add ilogb errno and exception tests.
24473 * math/w_ilogb.c: New file: ilogb wrapper.
24474 * math/w_ilogbf.c: New file: ilogbf wrapper.
24475 * math/w_ilogbl.c: New file: ilogbl wrapper.
24476 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24477 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24478 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24479 exception being thrown with 0.0 as argument.
24480 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24481 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24482 exception being thrown with 0.0 as argument.
24483 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24484 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24485 exception being thrown with 0.0 as argument.
24486 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24487 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24488 exception being thrown with 0.0 as argument.
24489 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24490 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24492 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24494 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24495 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24496 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24497 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24498
0396e69d
PB
244992012-04-17 Petr Baudis <pasky@ucw.cz>
24500
24501 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24502 with altivec.
24503
750b5926
MP
245042012-04-16 Marek Polacek <polacek@redhat.com>
24505
24506 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24507
751728a1
MP
245082012-04-16 Marek Polacek <polacek@redhat.com>
24509
24510 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24511 operands of fdivp instruction.
24512
34a27407
L
245132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24516 * elf/tst-auditmod3b.c: Likewise.
24517 * elf/tst-auditmod4b.c: Likewise.
24518 * elf/tst-auditmod5b.c: Likewise.
24519 * elf/tst-auditmod6b.c: Likewise.
24520 * elf/tst-auditmod6c.c: Likewise.
24521 * elf/tst-auditmod7b.c: Likewise.
24522 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24523 * sysdeps/x86_64/preconfigure.in: Likewise.
24524 * sysdeps/x86_64/preconfigure: Regenerated.
24525
7e73e17d
L
245262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24527
24528 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24529 __ILP32__.
24530
c7a6ab72
AB
245312012-04-13 Antoine Balestrat <merkil33@gmail.com>
24532
24533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24534 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24535
a9e8e0e0
CL
245362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24537
24538 [BZ #13973]
24539 * locale/iso-639.def: Fix gl language name. Spotted by
24540 Yaron Shahrabani.
24541
ec98af7d
RM
245422012-04-12 Roland McGrath <roland@hack.frob.com>
24543
24544 [BZ #2074]
24545 * libio/libio.h (__io_write_fn): Update comment.
24546
247c3ede
PB
245472012-04-12 Petr Baudis <pasky@ucw.cz>
24548
24549 [BZ #2074]
24550 * stdio.texi (Hook Functions): The user provided writer function
24551 is not allowed to return -1.
24552
55939d6d
DM
245532012-04-11 David S. Miller <davem@davemloft.net>
24554
24555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24556
90020f5a
MF
245572012-04-11 Mike Frysinger <vapier@gentoo.org>
24558
24559 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24560 Add a leading slash to rtkaio.
24561
288f9098
JM
245622012-04-11 Jim Meyering <meyering@redhat.com>
24563
90020f5a
MF
24564 [BZ #11959]
24565 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24566 It is not necessarily an error to ignore fwrite's return
24567 value. One can reliably use ferror to test for errors after
24568 the fact.
288f9098 24569
4be2b570
L
245702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24571
24572 * bits/types.h (__snseconds_t): New type.
24573 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24574
24575 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24577 (__SNSECONDS_T_TYPE): Likewise.
24578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24579 (__SNSECONDS_T_TYPE): Likewise.
24580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24581 (__SNSECONDS_T_TYPE): Likewise.
24582
288f9098 245832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24584
24585 [BZ #2636]
24586 * manual/time.texi (Processor Time): Return type of times is
24587 elapsed real time since an arbitrary point in the past.
24588 (CPU Time): Move CLK_TCK from here...
24589 (Processor Time): ...to here. Correct description.
24590 * manual/conf.texi (Constants for Sysconf): Correct description of
24591 _SC_CLK_TCK.
24592
d7dd4413
DM
245932012-04-10 David S. Miller <davem@davemloft.net>
24594
24595 [BZ #13967]
24596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24597 where the is a gap between DT_REL(A) and DT_JMPREL.
24598
b46068fc
L
245992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24600
24601 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24602 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24603 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24604
73d65cc3
SP
246052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24606
24607 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24608 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24609 (dl_main): Handle --inhibit-cache.
24610 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24611 _dl_inhibit_cache.
24612 * elf/dl-load.c (_dl_map_object): Use it.
24613 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24614
bcc8d661
JM
246152012-04-09 Joseph Myers <joseph@codesourcery.com>
24616
8f9a2fae
JM
24617 [BZ #13872]
24618 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24619 (__ieee754_powl): Saturate large exponents rather than testing for
24620 overflow of y*log2(x).
24621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24622 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24623 exceptions.
24624
bcc8d661
JM
24625 [BZ #11521]
24626 * math/s_ctan.c: Include <float.h>.
24627 (__ctan): Avoid internal overflow or cancellation in calculating
24628 denominator.
24629 * math/s_ctanf.c: Likewise.
24630 * math/s_ctanl.c: Likewise.
24631 * math/s_ctanh.c: Likewise.
24632 * math/s_ctanhf.c: Likewise.
24633 * math/s_ctanhl.c: Likewise.
24634 * math/libm-test.inc (ctan_test): Add more tests.
24635 (ctanh_test): Likewise.
24636 * sysdeps/i386/fpu/libm-test-ulps: Update.
24637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24638
823fbbb4
AJ
246392012-04-09 Andreas Jaeger <aj@suse.de>
24640
03879793
AJ
24641 [BZ #6894]
24642 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24643 is an optional BSD extension.
24644
823fbbb4
AJ
24645 [BZ #10254]
24646 * manual/stdio.texi (Opening Streams): Document additional fopen
24647 parameters.
24648
8de131cb
RM
246492012-04-09 Roland McGrath <roland@hack.frob.com>
24650
24651 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24652 %eax without telling the compiler.
24653
c0ed9d7d
CD
246542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24655
24656 [BZ # 13963]
24657 * manual/install.texi: Use sourceware.org.
24658
c483f6b4
JM
246592012-04-09 Joseph Myers <joseph@codesourcery.com>
24660
d7dd9453
JM
24661 [BZ #13873]
24662 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24663 (__ieee754_pow): Generate overflow and underflow using huge*huge
24664 and tiny*tiny rather than just returning constant infinity or zero
24665 for large exponents.
24666 * math/libm-test.inc (pow_test): Require overflow exceptions for
24667 applicable cases of large exponents.
24668
c483f6b4
JM
24669 [BZ #706]
24670 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24671 (__ieee754_pow): Use iterative multiplication algorithm only for
24672 integer exponents with absolute value below 1024. Check for odd
24673 integer exponents when using algorithm for real exponents.
24674 * math/libm-test.inc (pow_test): Add more tests.
24675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24676
d2de7579
JM
246772012-04-08 Joseph Myers <joseph@codesourcery.com>
24678
24679 [BZ #13705]
24680 * math/libm-test.inc (exp_test): Do not allow overflow exception
24681 on underflow test.
24682
f77f1232
AJ
246832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24684
24685 [BZ #13705]
24686 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24687 instead of __kernel_standard_f.
24688
3884932b
MF
246892012-04-08 Mike Frysinger <vapier@gentoo.org>
24690
24691 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24692 * sysdeps/x86_64/memset_chk.S: Likewise.
24693
54472e9c
AJ
246942012-04-08 Andreas Jaeger <aj@suse.de>
24695
6ab0fbfc
AJ
24696 [BZ #10153]
24697 * manual/startup.texi (Environment Access): Describe return value
24698 for putenv and setenv.
24699
61efba8c
AJ
24700 [BZ #6895]
24701 * manual/filesys.texi (Directory Entries): Add description for
24702 DT_LNK.
24703
95c3f29a
AJ
24704 [BZ #6890]
24705 * manual/filesys.texi (Directory Entries): Clarify that it's file
24706 system not operating system in the description of DT_UNKNOWN.
24707
54472e9c
AJ
24708 [BZ #6578]
24709 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24710
624254b1
SC
247112012-04-08 Stephen Compall <s11@member.fsf.org>
24712
24713 [BZ #6649]
24714 * manual/llio.texi (Opening and Closing Files): Add cross
24715 reference to explain mode argument.
24716
1e4920e0
MF
247172012-04-07 Mike Frysinger <vapier@gentoo.org>
24718
24719 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24720 * sysdeps/x86_64/memset_chk.S: Likewise.
24721
5ed848f3
DM
247222012-04-07 David S. Miller <davem@davemloft.net>
24723
24724 * elf/elf.h (R_SPARC_WDISP10): Define.
24725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24726 R_SPARC_SIZE32.
24727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24728 R_SPARC_SIZE64 and R_SPARC_H34.
24729
96154cd8
CD
247302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24731
24732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24733 conditions and remove no longer applicable assertion.
24734
9904dc47
L
247352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24736
24737 * bits/byteswap.h: Include <features.h>.
24738 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24739 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24740
f8887d0a
L
247412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 * bits/byteswap.h (__bswap_16): Removed.
24744 Include <bits/byteswap-16.h> to get __bswap_16.
24745 * sysdeps/i386/bits/byteswap.h: Likewise.
24746 * sysdeps/s390/bits/byteswap.h: Likewise.
24747 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24748 * bits/byteswap-16.h: New file.
24749 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24750 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24751 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24752 * string/Makefile (headers): Add bits/byteswap-16.h.
24753
62470f60
PP
247542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24755
24756 [BZ #13895]
24757 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24758 extra indirection.
24759 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24760 * nss/tst-nss-static.c: New.
24761
4dad7bab
RM
247622012-04-06 Robert Millan <rmh@gnu.org>
24763
24764 [BZ #6486]
24765 * manual/llio.texi (File Position Primitive): lseek
24766 refers to WHENCE when it really means OFFSET.
24767
e9142a17
AJ
247682012-04-06 Andreas Jaeger <aj@suse.de>
24769
2c040eff
AJ
24770 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24771 strncmp declarations.
24772
e9142a17
AJ
24773 * abilist/libc.abilist: Add __poll and __ppoll.
24774
ff9f1c5f
DM
247752012-04-05 David S. Miller <davem@davemloft.net>
24776
dcd2ae90
DM
24777 * scripts/check-local-headers.sh: Accept a host triplet in the
24778 path matched by the exclude regexp.
24779
993eb054
DM
24780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24781 definition.
24782 * sysdeps/powerpc/powerpc32/dl-machine.h
24783 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24784 * sysdeps/s390/s390-32/dl-machine.h
24785 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24786 * sysdeps/sparc/sparc32/dl-machine.h
24787 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24788 * sysdeps/sparc/sparc64/dl-machine.h
24789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24790
ff9f1c5f
DM
24791 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24792 lazy binding.
48e2e132 24793 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24794 undefined symbol errors.
24795
48e2e132 24796 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24797 DT_NEEDED entries.
24798
e80d6f94
MM
247992012-04-05 Michael Matz <matz@suse.de>
24800
24801 [BZ #13592]
24802 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24803
349fa79f
AJ
248042012-04-05 Andreas Jaeger <aj@suse.de>
24805
24806 [BZ #13908]
24807 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24808 comment.
24809
f402708f
KK
248102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24811
24812 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24813 which ROUND is no valid rounding mode.
24814
2ecccfc9
KK
248152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24816
24817 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24818 read again.
24819 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24820
8a53f50f
KK
248212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24822
24823 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24824 an exception using FPU order intentionally.
24825
248262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24827
24828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24829 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24830 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24831 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24832
d653abb7
SJ
248332012-04-05 Simon Josefsson <simon@josefsson.org>
24834
24835 [BZ #12340]
24836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24837 EINVAL when BUFLEN is too smal.
24838
c3b1bf7d
TS
248392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24840
24841 [BZ #13553]
24842 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24843 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24844
b1aa60f3
AJ
248452012-04-03 Andreas Jaeger <aj@suse.de>
24846
c3b1bf7d 24847 [BZ #13938]
67f60a26
AJ
24848 * manual/setjmp.texi (System V contexts): Fix sentence.
24849
b1aa60f3
AJ
24850 [BZ #13926]
24851 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24852 New macro for this case.
24853 [!__GNUC__] (__bswap_64): New inline function for this case.
24854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24855 * bits/byteswap.h: Likewise.
24856 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24857 ull, guard with __GLIBC_HAVE_LONG_LONG.
24858
24859 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24860 __GLIBC_HAVE_LONG_LONG.
24861
24862 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24863 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24864
39c59c35
TMQMF
248652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24866
24867 [BZ #13691]
24868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24869 inptr and inend, rather than using last_ch.
24870
135ffda8
DM
248712012-04-02 David S. Miller <davem@davemloft.net>
24872
24873 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24874 * stdio-common/printf-parse.h (read_int): Change return type to
24875 'int', return -1 on INT_MAX overflow.
24876 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24877 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24878 overflows INT_MAX. Check for overflow of in-format-string precision
24879 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24880 SIZE_MAX not INT_MAX for integer overflow test.
24881 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24882 skip the construct in the format string but do not record anything.
24883 * stdio-common/bug22.c: Adjust to test both width/prevision
24884 INT_MAX overflow as well as total length INT_MAX overflow. Check
24885 explicitly for proper errno values.
24886
228c019e
TS
248872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24888
302cadd3
TS
24889 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24890 CHAR_MAX.
24891 * string/test-strcmp.c [! WIDE]: Likewise.
24892 * time/tst-mktime2.c: Likewise for INT_MAX.
24893 * string/test-string.h: #include <sys/param.h> for MIN.
24894
228c019e
TS
24895 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24896 * sysdeps/i386/init-first.c (init): Likewise.
24897 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24898 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24899 * sysdeps/sh/init-first.c (init): Likewise.
24900
cfa633f5
UD
249012012-04-01 Ulrich Drepper <drepper@gmail.com>
24902
24903 * po/ru.po: Update from translation team.
d1635ef8 24904 * po/vi.po: Likewise.
cfa633f5 24905
6cd0a5ea
SP
249062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24907
24908 * resolv/nss_dns/dns-host.c: Merge copyright years.
24909
4b43400f
LD
249102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24911
24912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24913 Optimize memcpy with prefetch if
24914 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24915 src, dst pointers have unequal 16 byte alignments.
24916
48c41d04
SP
249172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24918
24919 [BZ #13928]
24920 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24921 from a CNAME entry and return the minimum ttl for the query.
24922 (gaih_getanswer_slice): Likewise.
24923
b8dc394d
JL
249242012-03-30 Jeff Law <law@redhat.com>
24925
24926 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24927 due to long keys.
24928 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24929 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24930
2f5a5ed0
JL
24931 * resolv/nss_dns/dns-host.c: Update copyright year.
24932
1d39e359
UD
249332012-03-30 Ulrich Drepper <drepper@gmail.com>
24934
c030f70c 24935 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24936 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24937
1d39e359
UD
24938 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24939 comments for sendmmsg.
24940
249412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24942
24943 [BZ #13691]
24944 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24945 with only 1 character between 0x0041 and 0x01b0.
24946 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24947 * wcsmbs/tst-mbsnrtowcs.c: New file.
24948
20fde227
DM
249492012-03-29 David S. Miller <davem@davemloft.net>
24950
24951 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24952 small copies by hand.
24953
984a4237
JL
249542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24955
24956 [BZ #13761]
24957 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24958 _nss_compat_initgroups_dyn): Fall back to malloc/free
24959 for large group memberships.
24960
18c9d62b
DM
249612012-03-28 David S. Miller <davem@davemloft.net>
24962
88d85d4f
DM
24963 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24964 that branches into memcpy.
24965 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24968 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24970 bits.
24971 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24972 implementation too.
24973 * sysdeps/sparc/mempcpy.S: New file.
24974
e5aa83e1
DM
24975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24976 the IFUNC routine in the libc case.
24977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24978
88570753
DM
24979 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24980 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24981 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24982 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24983 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24984 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24985 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24986 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24987
249d7567
DM
24988 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24989 loop to 256 bytes instead of 64 bytes and fix test signedness.
24990
18c9d62b
DM
24991 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24992 * sysdeps/sparc/sparc32/Makefile: rather than here...
24993 * sysdeps/sparc/sparc64/Makefile: and here.
24994
05f3d1f6
UD
249952012-03-28 Ulrich Drepper <drepper@gmail.com>
24996
24997 * malloc/mallocbug.c: Avoid warnings about unused variables.
24998
86ae07a8
JL
249992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25000
25001 [BZ #13760]
25002 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25003 in the right place. Discard and retry query if response is
25004 larger than input buffer size.
25005
41bf21a1
JM
250062012-03-28 Joseph Myers <joseph@codesourcery.com>
25007
d6270972
JM
25008 [BZ #369]
25009 [BZ #2678]
25010 [BZ #3866]
25011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25012 x for large integer exponent.
25013 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25014 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25015 sign of result as needed afterwards.
25016 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25018 result for underflowing pow the same as for overflow.
25019 (__kernel_standard_l): Handle powl overflow and underflow here
25020 rather than calling __kernel_standard.
25021 * math/libm-test.inc (pow_test): Add more tests.
25022
414fca03 25023 [BZ #3868]
41bf21a1
JM
25024 [BZ #13879]
25025 [BZ #13910]
25026 [BZ #13911]
25027 [BZ #13912]
25028 [BZ #13913]
25029 [BZ #13915]
25030 [BZ #13916]
25031 [BZ #13917]
25032 [BZ #13918]
25033 [BZ #13919]
25034 [BZ #13920]
25035 [BZ #13921]
25036 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25037 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25038 (__kernel_standard_l): New function.
25039 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25040 __kernel_standard.
25041 * math/w_acosl.c (__acosl): Likewise.
25042 * math/w_asinl.c (__asinl): Likewise.
25043 * math/w_atan2l.c (__atan2l): Likewise.
25044 * math/w_atanhl.c (__atanhl): Likewise.
25045 * math/w_coshl.c (__coshl): Likewise.
25046 * math/w_exp10l.c (__exp10l): Likewise.
25047 * math/w_exp2l.c (__exp2l): Likewise.
25048 * math/w_fmodl.c (__fmodl): Likewise.
25049 * math/w_hypotl.c (__hypotl): Likewise.
25050 * math/w_j0l.c (__j0l, __y0l): Likewise.
25051 * math/w_j1l.c (__j1l, __y1l): Likewise.
25052 * math/w_jnl.c (__jnl, __ynl): Likewise.
25053 * math/w_lgammal.c (__lgammal): Likewise.
25054 * math/w_log10l.c (__log10l): Likewise.
25055 * math/w_log2l.c (__log2l): Likewise.
25056 * math/w_logl.c (__logl): Likewise.
25057 * math/w_powl.c (__powl): Likewise.
25058 * math/w_remainderl.c (__remainderl): Likewise.
25059 * math/w_scalbl.c (sysv_scalbl): Likewise.
25060 * math/w_sinhl.c (__sinhl): Likewise.
25061 * math/w_sqrtl.c (__sqrtl): Likewise.
25062 * math/w_tgammal.c (__tgammal): Likewise.
25063 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25064 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25065 * math/libm-test.inc (acos_test): Add more tests.
25066 (acosh_test): Likewise.
25067 (asin_test): Likewise.
25068 (atanh_test): Likewise.
25069 (exp_test): Likewise.
25070 (exp10_test): Likewise.
25071 (exp2_test): Likewise.
25072 (expm1_test): Likewise.
25073 (lgamma_test): Likewise.
25074 (log_test): Likewise.
25075 (log10_test): Likewise.
25076 (log1p_test): Likewise.
25077 (log2_test): Likewise.
25078 (pow_test): Do not allow some spurious overflow exceptions.
25079 (sqrt_test): Add more tests.
25080 (tgamma_test): Likewise.
25081 (y0_test): Likewise.
25082 (y1_test): Likewise.
25083 (yn_test): Likewise.
25084
dd62fda6
AB
250852012-03-27 Anton Blanchard <anton@samba.org>
25086
25087 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25088 MAP_HUGETLB.
25089 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25090 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25092
1e3cdfda
AJ
250932012-03-27 David S. Miller <davem@davemloft.net>
25094
b855ab85
DM
25095 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25096
1e3cdfda
AJ
25097 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25098 have-as-vis3 check.
25099
251002012-03-27 Andreas Jaeger <aj@suse.de>
25101
25102 * sysdeps/x86_64/elf/configure.in: Moved to ...
25103 * sysdeps/x86_64/configure.in: ... here.
25104 * sysdeps/x86_64/elf/start.S: Moved to ...
25105 * sysdeps/x86_64/start.S: ... here.
25106 * sysdeps/x86_64/elf/configure: Delete.
25107
25108 * sysdeps/x86_64/configure.in: Merge contents from
25109 sysdeps/i386/configure.in (without i686 check).
25110
25111 * sysdeps/i386/elf/Versions: Merge into ...
25112 * sysdeps/i386/Versions: ... this.
25113 * sysdeps/i386/elf/Versions: Delete file.
25114 * sysdeps/i386/elf/start.S: Moved to ...
25115 * sysdeps/i386/start.S: ...here.
25116 * sysdeps/i386/elf/configure.in: Merge into...
25117 * sysdeps/i386/configure.in: ...here.
25118 * sysdeps/i386/elf/configure.in: Delete file.
25119 * sysdeps/i386/elf/configure: Delete file.
25120
25121 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25122 * debug/backtracesyms.c: ... here.
25123 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25124 * debug/backtracesymsfd.c: ... here.
25125 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25126 * sysdeps/generic/ifunc-sel.h: ... here.
25127
25128 * sysdeps/unix/i386/start.c: Delete file.
25129 * sysdeps/unix/sparc/start.c: Delete file.
25130 * sysdeps/unix/start.c: Delete file.
25131
25132 * sysdeps/sh/elf/configure.in: Moved to ...
25133 * sysdeps/sh/configure.in: ... here.
25134 * sysdeps/sh/elf/start.S: Moved to ...
25135 * sysdeps/sh/start.S: ... here.
25136 * sysdeps/sh/elf/configure: Delete file.
25137
25138 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25139 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25140 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25141 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25142 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25143 * sysdeps/powerpc/powerpc64/start.S: here.
25144 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25145 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25146 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25147 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25148 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25149
25150 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25151 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25152 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25153 * sysdeps/powerpc/powerpc32/start.S: ... here.
25154 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25155 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25156 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25157
25158 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25159 * sysdeps/powerpc/ifunc-sel.h: ... here.
25160 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25161 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25162
25163 * sysdeps/sparc/elf/configure.in: Moved to ...
25164 * sysdeps/sparc/configure.in: ... here.
25165 * sysdeps/sparc/elf/configure: Delete file.
25166 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25167 * sysdeps/sparc/sparc32/start.S: ... here.
25168 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25169 * sysdeps/sparc/sparc64/start.S: ... here.
25170 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25171 * sysdeps/sparc/sparc32/Makefile: ... this.
25172 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25173 * sysdeps/sparc/sparc64/Makefile: ... this.
25174
25175 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25176 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25177 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25178 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25179 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25180 * sysdeps/s390/s390-32/setjmp.S: ... here.
25181 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25182 * sysdeps/s390/s390-32/configure.in: ... here.
25183 * sysdeps/s390/s390-32/elf/configure: Delete file.
25184 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25185 * sysdeps/s390/s390-32/start.S: ... here.
25186
25187 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25188 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25189 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25190 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25191 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25192 * sysdeps/s390/s390-64/setjmp.S: ... here.
25193 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25194 * sysdeps/s390/s390-64/configure.in: ... here
25195 * sysdeps/s390/s390-64/elf/configure: Delete file.
25196 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25197 * sysdeps/s390/s390-64/start.S: ... here.
25198 * sysdeps/s390/s390-64/elf/configure: Delete.
25199
25200 * configure.in: Remove support for elf directories in sysdeps.
25201
25202 * configure: Regenerated.
25203 * sysdeps/i386/configure: Regenerated.
25204 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25205 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25206 * sysdeps/s390/s390-32/configure: Regenerated.
25207 * sysdeps/s390/s390-64/configure: Regenerated.
25208 * sysdeps/sh/configure: Regenerated.
25209 * sysdeps/sparc/configure: Regenerated.
25210 * sysdeps/x86_64/configure: Regenerated.
25211
a3f61311
AS
252122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25213
c876e002
AS
25214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25215
a3f61311
AS
25216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25217 denormal result into account.
25218
ac4c54f0
RM
252192012-03-25 Roland McGrath <roland@hack.frob.com>
25220
25221 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25222 Reported by Allan McRae <allan@archlinux.org>.
25223
6a9b9c02
JL
252242012-03-23 Jeff Law <law@redhat.com>
25225
25226 * nss/getnssent.c (__nss_getent): Fix typo.
25227
4c42a0c1
DM
252282012-03-23 David S. Miller <davem@davemloft.net>
25229
25230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25231
1532c7ac
L
252322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25233
25234 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25235 to pad to uint64_t for each field.
25236 (dl_tls_index): Replace unsigned long with uint64_t.
25237
3ff42526
PP
252382012-03-23 Daniel Jacobowitz <dmj@google.com>
25239 Paul Pluzhnikov <ppluzhnikov@google.com>
25240
25241 [BZ #6528]
25242 * grp/Makefile (otherlibs): Don't set it.
25243 * inet/Makefile (otherlibs): Likewise.
25244 * login/Makefile (otherlibs): Likewise.
25245 * nscd/Makefile (otherlibs): Likewise.
25246 * posix/Makefile (otherlibs): Likewise.
25247 * pwd/Makefile (otherlibs): Likewise.
25248 * rt/Makefile (otherlibs): Likewise.
25249 * sunrpc/Makefile (otherlibs): Likewise.
25250 * nss/Makefile (otherlibs): Likewise.
25251 Add libnss_files to routines and static-only-routines.
25252 ($(objpfx)getent): Remove rule.
25253 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25254 static-only-routines.
25255
7c69cd14
JM
252562012-03-22 Joseph Myers <joseph@codesourcery.com>
25257
25258 [BZ #13892]
25259 * math/s_cexp.c: Include <float.h>.
25260 (__cexp): Handle exp result overflowing not necessarily
25261 overflowing both real and imaginary parts of result.
25262 * math/s_cexpf.c: Likewise.
25263 * math/s_cexpl.c: Likewise.
25264 * math/libm-test.inc (cexp_test): Add more tests.
25265 * sysdeps/i386/fpu/libm-test-ulps: Update.
25266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25267
81b035fe
L
252682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * include/link.h (ELFW): New macro.
25271 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25272 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25273
1da7940c
L
252742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25275
25276 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25277 with uint64_t.
25278
b749dbb9
L
252792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25282 declaration.
25283 (struct La_x32_retval): Likewise.
25284
2ff87f3f
L
252852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25286
25287 * sysdeps/x86_64/preconfigure.in: New file.
25288 * sysdeps/x86_64/preconfigure: New generated file.
25289
c0df8e69
JM
252902012-03-22 Joseph Myers <joseph@codesourcery.com>
25291
48e44791
JM
25292 [BZ #13824]
25293 * math/e_exp2l.c: Include <float.h>.
25294 (__ieee754_exp2l): Handle overflow and underflow cases
25295 separately. Only pass fractional part of argument to
25296 __ieee754_expl.
25297 * math/libm-test.inc (exp2_test): Add more tests.
25298
c0df8e69
JM
25299 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25300 negating x to take absolute value.
25301 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25302 Likewise.
25303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25305 Likewise.
25306 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25307 computing low part if x was negated.
25308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25309
c8e43ba7
L
253102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25311
25312 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25313 la_x32_gnu_pltexit.
25314 (pltexit): Cast int_retval to ptrdiff_t.
25315 * elf/tst-auditmod3b.c: Likewise.
25316 * elf/tst-auditmod4b.c: Likewise.
25317 * elf/tst-auditmod5b.c: Likewise.
25318 * elf/tst-auditmod6b.c: Likewise.
25319 * elf/tst-auditmod6c.c: Likewise.
25320 * elf/tst-auditmod7b.c: Likewise.
25321
25322 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25323 and x32_gnu_pltexit.
25324
25325 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25326 __ELF_NATIVE_CLASS.
25327 (La_x32_regs): New macro.
25328 (La_x32_retval): Likewise.
25329 (la_x32_gnu_pltenter): New function prototype.
25330 (la_x32_gnu_pltexit): Likewise.
25331
7998fa78
AS
253322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25333
dcb33988
AS
25334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25335 exponent.
25336
233fc563
AS
25337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25338
7998fa78
AS
25339 * configure.in (libc_cv_cc_nofma): Check for option to disable
25340 generation of FMA instructions.
25341 * configure: Regenerate.
25342 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25343 * sysdeps/ieee754/dbl-64/Makefile: New file.
25344 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25345 Remove brandred-fma4.
25346 (CFLAGS-brandred-fma4.c): Remove.
25347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25348 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25349 define.
25350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25351 define.
25352
8e95c99a
L
253532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25354
25355 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25356 LLONG_MAX != LONG_MAX.
25357 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25358 (_fitoa_word): Likewise.
25359 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25360 LLONG_MAX != LONG_MAX.
25361 * stdio-common/_itowa.h: Include <_itoa.h>.
25362 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25363 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25364 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25365 only if not defined.
25366 (_ITOA_WORD_TYPE): Likewise.
25367 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25368 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25369
6f4db457
DM
253702012-03-21 David S. Miller <davem@davemloft.net>
25371
25372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25373
7785fe5a
L
253742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25375
25376 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25377 of x86_64 when setting libc_cv_slibdir, libdir and
25378 libc_cv_localedir.
25379 * sysdeps/unix/sysv/linux/configure: Regenerated.
25380
4535cd55
JM
253812012-03-21 Joseph Myers <joseph@codesourcery.com>
25382
25383 * manual/lang.texi (Old Varargs): Remove section.
25384 (How Variadic): Update menu.
25385 (va_start): Do not mention varargs.h.
25386
17228132
TS
253872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25388 Joseph Myers <joseph@codesourcery.com>
25389
25390 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25391 link test.
25392 * configure: Regenerated.
25393
8149f976
TS
253942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25395
05f3d1f6
UD
25396 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25397 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25398 conformtest.pl
8149f976 25399
1a4ac776
JM
254002012-03-21 Joseph Myers <joseph@codesourcery.com>
25401
be22ce65
JM
25402 * NOTES: Remove.
25403 * Makefile (files-for-dist): Remove NOTES.
25404 (NOTES): Remove rule.
25405 * README: Don't refer to NOTES.
25406 * manual/creature.texi: Don't include macros.texi.
25407 * manual/intro.texi (creature.texi): Remove comment referring to
25408 NOTES.
25409
40b601fb
JM
25410 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25411 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25412 * configure: Regenerated.
25413 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25414 LIBC_TRY_CC_OPTION.
25415 (libc_cv_as_i686): Likewise.
25416 (libc_cv_cc_avx): Likewise.
25417 (libc_cv_cc_sse2avx): Likewise.
25418 (libc_cv_cc_fma4): Likewise.
25419 (libc_cv_cc_novzeroupper): Likewise.
25420 * sysdeps/i386/configure: Regenerated.
25421
1a4ac776
JM
25422 [BZ #13883]
25423 * sysdeps/i386/fpu/s_cexp.S: Remove.
25424 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25426 * math/libm-test.inc (cexp_test): Add more tests.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429
a458e7fe
AM
254302012-03-21 Allan McRae <allan@archlinux.org>
25431
25432 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25433
0cb7efc5
JM
254342012-03-21 Joseph Myers <joseph@codesourcery.com>
25435
25436 [BZ #13871]
25437 * math/w_exp2.c: Do not include <float.h>.
25438 (o_threshold, u_threshold): Remove.
25439 (__exp2): Calculate result before checking finiteness and calling
25440 __kernel_standard.
25441 * math/w_exp2f.c: Likewise.
25442 * math/w_exp2l.c: Likewise.
25443 * math/libm-test.inc (exp2_test): Require overflow exception for
25444 1e6 input.
2460d3aa
JM
25445
25446 [BZ #3866]
25447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25448 range of signed 64-bit integers before using fistpll. Remove
25449 checks for whether integers fit in mantissa bits.
25450 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25451 the range of signed 32-bit integers before using fistpl. Remove
25452 checks for whether integers fit in mantissa bits.
25453 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25454 (__ieee754_powl): Test for y outside the range of signed 64-bit
25455 integers before using fistpll. Reduce 64-bit values to 63-bit
25456 ones as needed.
25457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25458 divide-by-zero is raised for zero to large negative powers.
25459 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25460 (__ieee754_powl): Test for y outside the range of signed 64-bit
25461 integers before using fistpll. Reduce 64-bit values to 63-bit
25462 ones as needed.
25463 * math/libm-test.inc (pow_test): Add more tests.
25464
eb96ffb0
L
254652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25468 <stdio-common/_itoa.h>.
25469 * debug/segfault.c: Likewise.
25470 * elf/dl-cache.c: Likewise.
25471 * elf/dl-minimal.c: Likewise.
25472 * elf/dl-misc.c: Likewise.
25473 * elf/dl-sysdep.c: Likewise.
25474 * elf/dl-version.c: Likewise.
25475 * elf/rtld.c: Likewise.
25476 * hurd/hurdsock.c: Likewise.
25477 * hurd/lookup-retry.c: Likewise.
25478 * malloc/malloc.c: Likewise.
25479 * malloc/mtrace.c: Likewise.
25480 * nscd/nscd_getgr_r.c: Likewise.
25481 * nscd/nscd_getpw_r.c: Likewise.
25482 * nscd/nscd_getserv_r.c: Likewise.
25483 * posix/getopt_init.c: Likewise.
25484 * posix/wordexp.c: Likewise.
25485 * stdio-common/_itoa.c: Likewise.
25486 * stdio-common/printf_fphex.c: Likewise.
25487 * stdio-common/vfprintf.c: Likewise.
25488 * string/_strerror.c: Likewise.
25489 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25490 * sysdeps/i386/i686/hp-timing.h: Likewise.
25491 * sysdeps/mach/_strerror.c: Likewise.
25492 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25493 * sysdeps/mach/hurd/sethostid.c: Likewise.
25494 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25495 * sysdeps/mach/xpg-strerror.c: Likewise.
25496 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25498 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25499 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25501 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25502 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25503 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25504 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25505 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25506 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25507 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25508 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25509 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25510 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25511 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25512 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25513 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25514 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25515 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25516 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25517
25518 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25519
25520 * stdio-common/_itoa.h: Moved to ...
25521 * sysdeps/generic/_itoa.h: Here.
25522
25523 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25524
25525 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25526 instead of "_itoa.h" and "_itowa.h".
25527 * stdio-common/vfprintf.: Likewise.
25528
d1af992d
L
255292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25532 <bits/wordsize.h>.
25533 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25534 (__signbit): Likwise.
25535 (llrintf): Likwise.
25536 (llrint): Likwise.
25537
114883e0
L
255382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25539
25540 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25541 __WORDSIZE != 64.
25542
c135cc1b
JM
255432012-03-20 Joseph Myers <joseph@codesourcery.com>
25544
25545 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25546 OVERFLOW_EXCEPTION_OK.
25547 * math/libm-test.inc ("Philosophy"): Update comment about
25548 exception testing.
25549 (OVERFLOW_EXCEPTION): Define.
25550 (OVERFLOW_EXCEPTION_OK): Likewise.
25551 (INVALID_EXCEPTION_OK): Renumber.
25552 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25553 (IGNORE_ZERO_INF_SIGN): Likewise.
25554 (test_exceptions): Handle FE_OVERFLOW.
25555 (exp10_test): Expect overflow exceptions.
25556 (exp2_test): Likewise.
25557 (expm1_test): Likewise.
25558 (nextafter_test): Likewise.
25559 (pow_test): Likewise.
25560 (scalbn_test): Likewise.
25561 (scalbln_test): Likewise.
25562
95443d88
L
255632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25564
25565 * sysdeps/x86_64/bits/atomic.h
25566 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25567 64bit integer.
25568 (atomic_exchange_acq): Likewise.
25569 (__arch_exchange_and_add_body): Likewise.
25570 (__arch_add_body): Likewise.
25571 (atomic_add_negative): Likewise.
25572 (atomic_add_zero): Likewise.
25573
490df6c4
L
255742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25575
c2722551 25576 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25577 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25578
5e52b189
L
255792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25580
25581 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25582 Check __x86_64__ instead of __WORDSIZE.
25583
a9879d4c
L
255842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25587
5df98260
DM
255882012-03-19 David S. Miller <davem@davemloft.net>
25589
e1497744
DM
25590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25591
5df98260
DM
25592 * sysdeps/sparc/fpu/fenv_private.h: New file.
25593 * sysdeps/sparc/fpu/math_private.h: Use it.
25594 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25595 Remove.
25596 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25597 (libc_feholdexcept_setroundl): Remove.
25598 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25599 Remove.
25600 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25601 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25602
b4c35121
L
256032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25606 int64_t instead of long int.
25607 (INSERT_WORDS64): Likwise.
25608
56965fd7
L
256092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25612 _Unwind_GetCFA return to _Unwind_Ptr first.
25613
83d1aec8
JM
256142012-03-19 Joseph Myers <joseph@codesourcery.com>
25615
1897ad44
JM
25616 [BZ #13629]
25617 * math/s_clog.c: Include <float.h>.
25618 (__clog): Scale large or subnormal inputs.
25619 * math/s_clogf.c: Likewise.
25620 * math/s_clogl.c: Likewise.
25621 * math/s_clog10.c: Include <float.h>.
25622 (M_LOG10_2): Define.
25623 (__clog10): Scale large or subnormal inputs.
25624 * math/s_clog10f.c: Likewise.
25625 * math/s_clog10l.c: Likewise.
25626 * math/libm-test.inc (clog_test): Add more tests.
25627 (clog10_test): Likewise.
25628 * sysdeps/i386/fpu/libm-test-ulps: Update.
25629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25630
7726d6a9
JM
25631 [BZ #11451]
25632 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25633 x and y.
25634 * math/libm-test.inc (atan2_test): Add another test.
25635
83d1aec8
JM
25636 * Makerules (common-objdir-compile): Remove.
25637 * sysdeps/unix/Makefile (config-generated): Do not add
25638 $(unix-generated) to variable.
25639 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25640 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25641 Remove rule.
25642 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25643 Likewise.
25644 [generic bits/local_lim.h] (before-compile): Do not append to
25645 variable.
25646 [generic bits/local_lim.h] (common-generated): Likewise.
25647 [generic sys/param.h] (before-compile): Do not append to variable.
25648 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25649 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25650 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25651 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25652 include.
25653 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25654 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25655 [generic sys/param.h] ($(addprefix
25656 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25657 [generic sys/param.h] (common-generated): Do not append to
25658 variable.
25659 [generic sys/param.h] (sysdep_headers): Likewise.
25660 [generic bits/errno.h] (before-compile): Do not append to
25661 variable.
25662 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25663 rule.
25664 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25665 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25666 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25667 [generic bits/errno.h] (common-generated): Do not append to
25668 variable.
25669 [generic bits/ioctls.h] (before-compile): Do not append to
25670 variable.
25671 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25672 rule.
25673 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25674 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25675 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25676 rule.
25677 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25678 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25679 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25680 [generic bits/ioctls.h] (common-generated): Do not append to
25681 variable.
25682 [generic sys/syscall.h] (syscall.h): Remove variable.
25683 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25684 rule.
25685 [generic sys/syscall.h] (before-compile): Do not append to
25686 variable.
25687 [generic sys/syscall.h] (common-generated): Likewise.
25688 * sysdeps/unix/errnos-tmpl.c: Remove file.
25689 * sysdeps/unix/errnos.awk: Likewise.
25690 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25691 * sysdeps/unix/ioctls.awk: Likewise.
25692 * sysdeps/unix/mk-local_lim.c: Likewise.
25693 * sysdeps/unix/snarf-ioctls: Likewise.
25694
4851a949
RH
256952012-03-19 Richard Henderson <rth@twiddle.net>
25696
bd37f2ee
RH
25697 * sysdeps/i386/fpu/fenv_private.h: New file.
25698 * sysdeps/i386/fpu/math_private.h: Use it.
25699 (math_opt_barrier, math_force_eval): Remove.
25700 (libc_feholdexcept_setround_53bit): Remove.
25701 (libc_feupdateenv_53bit): Remove.
25702 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25703 (math_opt_barrier, math_force_eval): Remove.
25704 (libc_feholdexcept): Remove.
25705 (libc_feholdexcept_setround): Remove.
25706 (libc_fetestexcept, libc_fesetenv): Remove.
25707 (libc_feupdateenv_test): Remove.
25708 (libc_feupdateenv, libc_feholdsetround): Remove.
25709 (libc_feresetround): Remove.
25710
d0adc922
RH
25711 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25712 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25713
0fe0f1f8
RH
25714 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25715 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25716 (libc_feupdateenv_testl): New.
25717 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25718 (libc_feupdateenv_testf): New.
25719 (libc_feupdateenv): Use libc_feupdateenv_test.
25720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25722
eb92c487
RH
25723 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25724 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25725 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25726 (libc_feresetround_noex): New.
25727 (libc_feresetround_noexf): New.
25728 (libc_feresetround_noexl): New.
25729 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25730 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25731 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25733 SET_RESTORE_ROUND.
25734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25735 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25736 (__cos): Likewise.
25737 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25738 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25739 SET_RESTORE_ROUND_NOEX.
25740 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25741 SET_RESTORE_ROUND_NOEXF.
25742 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25743 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25744 (libc_feholdsetroundf): New.
25745 (libc_feresetround, libc_feresetroundf): New.
25746
7d2e8012
RH
25747 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25748 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25749 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25750
b4dabbb4
RH
25751 * sysdeps/generic/math_private.h: Include <fenv.h>.
25752 (default_libc_feholdexcept): New.
25753 (default_libc_feholdexcept_setround): New.
25754 (default_libc_fesetenv, default_libc_feupdateenv): New.
25755 (libc_feholdexcept): Only define if undefined.
25756 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25757 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25758 (libc_feholdexcept_setroundl): Likewise.
25759 (libc_feholdexcept_setround_53bit): Likewise.
25760 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25761 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25762 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25763 (libc_feupdateenv_53bit): Likewise.
25764 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25765 (libc_feholdexcept): Convert from macro to inline function.
25766 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25767 (libc_fesetenv, libc_feupdateenv): Likewise.
25768
4851a949
RH
25769 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25770 not previously defined.
25771 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25772 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25773 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25774 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25775 * sysdeps/ieee754/flt-32/math_private.h: New file.
25776 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25777 math_private.h below SET_FLOAT_WORD.
25778 (__isnan, __isinf_ns, __finite): Remove.
25779 (__isnanf, __isinf_nsf, __finitef): Remove.
25780
e79d442e
AS
257812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25782
25783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25784
90b80344
DM
257852012-03-17 David S. Miller <davem@davemloft.net>
25786
25787 [BZ #6471]
25788 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25789 for 2.16.
25790
edc21804
DM
257912012-03-16 David S. Miller <davem@davemloft.net>
25792
77e927af
DM
25793 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25794 warnings.
25795
374976dd
DM
25796 [BZ #6471]
25797 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25798 properly.
25799 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25800 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25801 sysdep_routines when subdir is sysvipc.
25802 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25803 __getshmlba helper.
25804
edc21804
DM
25805 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25806
473c3ef3
L
258072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25808
25809 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25810 [__LP64__].
25811
eb0f39b6
L
258122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25813
25814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25815 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25816 (__lround): Renamed to ...
25817 (__llround): This. Replace long int with long long int.
25818 Define lround functions as aliases of llround functions.
25819 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25820
6b6cd74b
L
258212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25822
25823 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25824 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25825 adresses to uintptr_t. Replace "long int" and "unsigned long
25826 int" with "greg_t" on va_arg.
25827
f1a77b01
L
258282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25829
25830 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25831 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25832
25833 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25834 Move e_machine check before EI_CLASS check. Handle x32
25835 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25836 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25837 SKIP_EM_IA_64 and include
25838 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25839
25840 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25841 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25842 (add_system_dir): New macro.
25843
25844 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25845 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25846
11b90b9f
JM
258472012-03-16 Joseph Myers <joseph@codesourcery.com>
25848
c36e1d23
JM
25849 [BZ #2551]
25850 [BZ #2552]
25851 [BZ #2553]
25852 [BZ #2554]
25853 [BZ #2562]
25854 [BZ #2563]
25855 [BZ #2565]
25856 [BZ #2566]
25857 [BZ #2576]
25858 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25859 (y0): Likewise.
25860 * math/w_j0f.c (j0f): Likewise.
25861 (y0f): Likewise.
25862 * math/w_j0l.c (__j0l): Likewise.
25863 (__y0l): Likewise.
25864 * math/w_j1.c (j1): Likewise.
25865 (y1): Likewise.
25866 * math/w_j1f.c (j1f): Likewise.
25867 (y1f): Likewise.
25868 * math/w_j1l.c (__j1l): Likewise.
25869 (__y1l): Likewise.
25870 * math/w_jn.c (jn): Likewise.
25871 (yn): Likewise.
25872 * math/w_jnf.c (jnf): Likewise.
25873 (ynf): Likewise.
25874 * math/w_jnl.c (__jnl): Likewise.
25875 (__ynl): Likewise.
25876 * math/libm-test.inc (j0_test): Add more tests.
25877 (j1_test): Likewise.
25878 (jn_test): Likewise. Add trailing semicolon to existing test.
25879 (y0_test): Likewise.
25880 (y1_test): Likewise.
25881 * sysdeps/i386/fpu/libm-test-ulps: Update.
25882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883
11b90b9f
JM
25884 [BZ #13851]
25885 [BZ #13854]
25886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25887 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25888 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25889 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25890 (__tanl): Set errno for infinite argument.
25891 * sysdeps/i386/fpu/mptan.c: Remove.
25892 * sysdeps/i386/fpu/s_tan.S: Likewise.
25893 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25894 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25895 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25896 * math/libm-test.inc (tan_test): Add more tests and enable more
25897 tests for double and long double.
25898 * sysdeps/i386/fpu/libm-test-ulps: Update.
25899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25900
6a1bd2a1
JK
259012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25902
25903 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25904 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25905
10a803e0
RM
259062012-03-16 Roland McGrath <roland@hack.frob.com>
25907
25908 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25909 * configure.in: Use it for both main tree and add-ons.
25910 * configure: Regenerated.
25911
f196c7f7
L
259122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25915
8848d99d
JM
259162012-03-16 Joseph Myers <joseph@codesourcery.com>
25917
96cbe7f4
JM
25918 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25919 in comment.
25920
8848d99d
JM
25921 [BZ #13851]
25922 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25923 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25927 infinite argument.
25928 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25930 != 0 for prec == 2.
25931 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25932 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25933 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25934 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25935 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25936 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25937 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25938 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25939 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25940 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25941 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25942 * math/libm-test.inc (cos_test): Add more tests and enable more
25943 tests for long double.
25944 (sin_test): Likewise.
25945 (sincos_test): Likewise.
25946 * sysdeps/i386/fpu/libm-test-ulps: Update.
25947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25948
dd7f4703
DM
259492012-03-16 David S. Miller <davem@davemloft.net>
25950
25951 * sysdeps/sparc/fpu/math_private.h: New file.
25952
006f1daa
DM
259532012-03-15 David S. Miller <davem@davemloft.net>
25954
c0c83bc8
DM
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25956 file.
e6a62e18 25957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25959 file.
e6a62e18
DM
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25966 sysdep routines.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25968
88cb87d9
DM
25969 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25970 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25971
006f1daa 25972 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25974 sparc-ifunc.h
006f1daa 25975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25977 Likewise.
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25979 Likewise.
006f1daa
DM
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25984 Likewise.
006f1daa
DM
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25990 Likewise.
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25992 Likewise.
006f1daa
DM
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26017
11e0098e
AS
260182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26019
26020 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26021 scaling.
26022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26023
e85b09d0
AJ
260242012-03-15 Andreas Jaeger <aj@suse.de>
26025
26026 [BZ #13852]
26027 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26028 ieee754/flt-32 implementation for sin, cos and sincos.
26029 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26030 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26031 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26032 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26033 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26034 ieee754/flt-32 implementation for tan.
26035
26036 * math/libm-test.inc (cos_test): Enable some large input tests for
26037 float as well
26038 (sin_test): Likewise.
26039 (sincos_test): Likewise.
26040 (tan_test): Add tests for large input.
26041
26042 * sysdeps/i386/fpu/libm-test-ulps: Update.
26043
81c64153
AJ
260442012-03-15 Andreas Jaeger <aj@suse.de>
26045
26046 [BZ #13658]
26047 * math/libm-test.inc (cos_test): Add more test cases.
26048 (sin_test): Likewise.
26049 (sincos_test): Likewise.
26050
7bbfa5c6
AJ
260512012-03-15 Andreas Jaeger <aj@suse.de>
26052
26053 [BZ #13837]
26054 * math/libm-test.inc (cos_test): Add a test case for large input
26055 value.
26056 (sin_test): Likewise.
26057 (sincos_test): Likewise.
26058
260592012-03-15 Andreas Jaeger <aj@suse.de>,
26060 Joseph Myers <joseph@codesourcery.com>
26061
26062 [BZ #13658]
0671f479 26063 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26064 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26065 * sysdeps/i386/fpu/branred.c: Likewise.
26066 * sysdeps/i386/fpu/dosincos.c: Likewise.
26067 * sysdeps/i386/fpu/mpa.c: Likewise.
26068 * sysdeps/i386/fpu/s_cos.S: Likewise.
26069 * sysdeps/i386/fpu/s_sin.S: Likewise.
26070 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26071 * sysdeps/i386/fpu/sincos32.c: Likewise.
26072
26073 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26074 Define.
26075 (libc_feupdateenv_53bit): Define.
26076 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26077 Define.
26078 (libc_feupdateenv_53bit): Define.
26079
26080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26081 53 bit (without extend i386 double precision).
26082
26083 * math/libm-test.inc (sincos_test): Add tests for large input.
26084 (sin): Likewise.
26085 (cos): Likewise.
26086
26087 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26088
9cad04ea
AS
260892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26090
26091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26092
f7062b9a
DM
260932012-03-15 David S. Miller <davem@davemloft.net>
26094
26095 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26098 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26111 file.
f7062b9a 26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26114 file.
f7062b9a 26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26117 file.
f7062b9a 26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26120 file.
f7062b9a
DM
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26123 fmin/fmax sysdep routines.
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26125
7bd951ff
DM
261262012-03-14 David S. Miller <davem@davemloft.net>
26127
559398ab
DM
26128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26153 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26157 routines.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26159 file.
559398ab 26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26162 file.
559398ab 26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26165 file.
559398ab 26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26168 file.
559398ab 26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26171 file.
559398ab 26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26174 file.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26176 file.
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26178 file.
26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26180 file.
26181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26182 New file.
26183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26184 file.
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26186 file.
559398ab 26187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26189 file.
559398ab 26190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26192 file.
559398ab 26193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26195 file.
559398ab 26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26198 VIS3 routines.
559398ab
DM
26199
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26201 New file.
26202
5a1c1e32
DM
26203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26204
eae47a36
DM
26205 * sysdeps/sparc/configure.in: New file.
26206 * sysdeps/sparc/configure: Generate.
26207 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26208 * configure: Regenerate.
26209 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26210 * config.make.in (have-as-vis3): New.
26211 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26212 available use -Av9d instead of -Av9a.
26213 * sysdeps/sparc/sparc64/Makefile: Likewise.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26216 New file.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26218 file.
26219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26220 New file.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26222 file.
eae47a36
DM
26223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26228
c0c83bc8
DM
26229 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26230 fzeros/fnegs to load 0x80000000 into a float register instead of
26231 using the stack.
7bd951ff
DM
26232 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26233
bd951ccb
JM
262342012-03-14 Joseph Myers <joseph@codesourcery.com>
26235
26236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26237 bits/syscall.h.
26238 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26239 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26240 ($(inst_includedir)/bits/syscall.h): Remove rule.
26241 ($(objpfx)bits/syscall.d): Include instead of
26242 $(objpfx)syscall-list.d.
26243 (generated): Change syscall-list.h and syscall-list.d to
26244 bits/syscall.h and bits/syscall.d.
26245
bb4e6db2
RM
262462012-03-14 Roland McGrath <roland@hack.frob.com>
26247
26248 [BZ #13846]
26249 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26250
aa4a2ae1
JM
262512012-03-14 Joseph Myers <joseph@codesourcery.com>
26252
e456826d
JM
26253 [BZ #13841]
26254 * math/s_csqrt.c: Include <float.h>.
26255 (__csqrt): Scale large or subnormal inputs.
26256 * math/s_csqrtf.c: Likewise.
26257 * math/s_csqrtl.c: Likewise.
26258 * math/libm-test.inc (csqrt_test): Add more tests.
26259 * sysdeps/i386/fpu/libm-test-ulps: Update.
26260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26261
aa4a2ae1
JM
26262 [BZ #13840]
26263 * math/libm-test.inc (hypot_test): Add more tests.
26264
7c10fd35
DM
262652012-03-13 David S. Miller <davem@davemloft.net>
26266
26267 [BZ #13840]
26268 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26269 double-precision for the calculation instead of scaling.
26270
f453b98b
JM
262712012-03-13 Joseph Myers <joseph@codesourcery.com>
26272
26273 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26274 manipulate bits before adding and subtracting TWO52[sx].
26275 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26277 Likewise.
26278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26279
09a3453f
DM
262802012-03-13 David S. Miller <davem@davemloft.net>
26281
8e59da90
DM
26282 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26283 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26285 rtld-global-offsets.h
26286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26287
2a8ab7f2
DM
26288 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26289 large parameters.
26290
10f62770
DM
26291 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26292
5f0bdb18
DM
26293 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26294 'err' in the ifdef scope in which it is actually used.
26295
09a3453f
DM
26296 * nss/nss_db/db-init.c: Include string.h
26297
b4b2eb5e
DM
262982012-03-12 David S. Miller <davem@davemloft.net>
26299
98bb2f1c
DM
26300 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26301 masking out of the most significant byte of random value used.
26302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26303 Fix coding style in previous change.
26304
b4b2eb5e
DM
26305 * sysdeps/unix/sysv/linux/kernel-features.h
26306 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26307 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26308 expression.
26309 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26310 later.
26311
6e226b09
DM
263122012-03-11 David S. Miller <davem@davemloft.net>
26313
a1bcbd40
DM
26314 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26315 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26317 for 'resultvar' otherwise things get truncated on 64-bit.
26318
cb9d6174
DM
26319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26320 Fix masking out of the most significant byte of random value used.
26321
6e226b09
DM
26322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26323
058c132d
AS
263242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26325
26326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26327
2d2cd515
DM
263282012-03-09 David S. Miller <davem@davemloft.net>
26329
26330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26331 variables with appropriate CPP guards.
26332 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26333 frame pointer, not the stack pointer. Correct layout comments. Fix test
26334 on resulting framesize and the management of the outregs buffer for pltexit.
26335 Preserve floating point return values across _dl_call_pltexit call.
26336 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26337 framesize and the management of the outregs buffer for pltexit.
26338 Preserve floating point return values across _dl_call_pltexit
26339 call.
26340 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26341 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26342 (print_exit): Fix format string for return register value.
26343
9a07f9d0
JM
263442012-03-10 Joseph Myers <joseph@codesourcery.com>
26345
26346 * sunrpc/Makefile (others): Add rpcgen.
26347 ($(objpfx)rpcgen): Remove special build rule and dependency on
26348 libc.
26349 * sunrpc/rpcgen.c: New file.
26350
547b5e30
PE
263512012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26352
c524201a
PE
26353 [BZ #13673]
26354 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26355 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26356 * sysdeps/i386/crti.S: Likewise.
26357 * sysdeps/i386/crtn.S: Likewise.
26358 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26360 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26361 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26362 * sysdeps/sh/crti.S: Likewise.
26363 * sysdeps/sh/crtn.S: Likewise.
26364 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26365
7b6235f2
PE
26366 [BZ #13673]
26367 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26368 with URL.
26369 * locale/programs/locfile-kw.gperf: Likewise.
26370 * locale/programs/charmap-kw.h: Regenerated.
26371 * locale/programs/locfile-kw.h: Likewise.
26372
547b5e30
PE
26373 [BZ #13673]
26374 * intl/plural.y: Replace FSF snail mail address with URL.
26375 * intl/plural.c: Regenerated.
26376
5f0a5dae
RH
263772012-03-09 Richard Henderson <rth@twiddle.net>
26378
26379 * include/math_private.h: Remove file.
26380 * math/math_private.h: Move file ...
26381 * sysdeps/generic/math_private.h: ... here.
26382
b8c03620
RH
26383 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26384 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26385 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26386
4e234f5d 26387 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26388 and <math_private.h>.
26389 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26390 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26391 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26392 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26393 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26468 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26469 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26477 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26478 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26479 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26480 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26482 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26483 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26484 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26485 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26486 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26489 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26490 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26491 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26493 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26494 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26495 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26496 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26501 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26509 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26510 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26512 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26516 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26518 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26519 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26520 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26521 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26523 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26525 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26526 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26528 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26530 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26531 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26532 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26533 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26537 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26538 * sysdeps/ieee754/k_standard.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26658 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26661 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26666 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26688 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26699 * sysdeps/ieee754/s_lib_version.c: Likewise.
26700 * sysdeps/ieee754/s_matherr.c: Likewise.
26701 * sysdeps/ieee754/s_signgam.c: Likewise.
26702 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26703 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26704 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26705 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26706 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26707 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26708 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26709 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26710 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26711 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26712 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26713 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26714 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26715 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26716 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26717 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26719 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26720 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26722 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26723
1991fa03
JM
267242012-03-09 Joseph Myers <joseph@codesourcery.com>
26725
26726 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26727 * sunrpc/rpc_main.c: Likewise.
26728 * sunrpc/rpc_svcout.c: Likewise.
26729
60d6f5a6
DM
267302012-03-09 David S. Miller <davem@davemloft.net>
26731
26732 * include/math_private.h: New file.
26733
4962050e
JM
267342012-03-09 Joseph Myers <joseph@codesourcery.com>
26735
02a6f887
JM
26736 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26737 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26738 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26739 from <bits/socket_type.h>.
26740 (enum __socket_type): Don't define here.
26741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26743 bits/socket_type.h.
26744
c6e013c1
JM
26745 [BZ #13566]
26746 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26747 checking __USE_GNU.
26748
4962050e
JM
26749 * Makerules ($(inst_includedir)/%.h): New rule.
26750 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26751 (install-others): Remove variable setting.
26752 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26753
38842f45
RH
267542012-03-08 Richard Henderson <rth@twiddle.net>
26755
67bb6da6
RH
26756 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26757 from macro to inline function; merge with the
26758 !__LIBC_INTERNAL_MATH_INLINES version.
26759 (__ieee754_sqrtf): Likewise.
26760
15194b4b
RH
26761 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26762 to inline function.
26763 (__rintf, __floor, __floorf): Likewise.
26764
64e21ede
RH
26765 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26766 macro to inline function.
26767 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26768
38842f45
RH
26769 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26770 not <math/math_private.h>.
26771
c64bf5fe
DM
267722012-03-08 David S. Miller <davem@davemloft.net>
26773
26774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26775 copyright year.
26776 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26777
82d86f28
TS
267782012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26779
26780 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26781 normalization.
26782 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26783 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26784
aea5d727
UD
267852012-03-08 Ulrich Drepper <drepper@gmail.com>
26786
26787 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26788 be defined individually, they must be defined as a block. Define
26789 S for printing a string instead of hidint the different by using a
26790 macro for adding the 'l'.
26791 * stdio-common/tst-fphex-wide.c: Adjust.
26792
70bca0a3
MP
267932012-03-07 Marek Polacek <polacek@redhat.com>
26794
26795 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26796
65b81130
MP
267972012-03-08 Marek Polacek <polacek@redhat.com>
26798
26799 [BZ #13806]
26800 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26801 * stdio-common/tst-fphex.c: Define a few macros to make the
26802 test reusable. Use them.
26803 * stdio-common/tst-fphex-wide.c: New file.
26804
07037eeb
JM
268052012-03-08 Joseph Myers <joseph@codesourcery.com>
26806
a7a93d50
JM
26807 [BZ #6911]
26808 * manual/macros.texi (gnusystems): New macro.
26809 (nongnusystems): Likewise.
26810 (gnulinuxhurdsystems): Likewise.
26811 (gnuhurdsystems): Likewise..
26812 (gnulinuxsystems): Likewise.
26813 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26814 variants of the GNU system, not "GNU system".
26815 * manual/conf.texi: Likewise.
26816 * manual/errno.texi: Likewise. Update example of errno macro
26817 expansion.
26818 * manual/filesys.texi: Likewise.
26819 (getumask): Document as specific to GNU/Hurd.
26820 * manual/install.texi: Likewise. Reword some references to
26821 GNU/Linux.
26822 * manual/intro.texi: Likewise.
26823 * manual/io.texi: Likewise.
26824 (File Name Portability): Detail which constraints are inapplicable
26825 to all GNU systems and which are only inapplicable to GNU/Hurd.
26826 * manual/job.texi: Likewise.
26827 * manual/llio.texi: Likewise.
26828 (O_NOCTTY): Document as present on GNU/Linux.
26829 * manual/maint.texi: Likewise.
26830 * manual/memory.texi: Likewise.
26831 * manual/pattern.texi: Likewise.
26832 * manual/pipe.texi: Likewise.
26833 * manual/process.texi: Likewise.
26834 * manual/resource.texi: Likewise.
26835 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26836 child on GNU/Hurd.
26837 * manual/setjmp.texi: Likewise.
26838 * manual/signal.texi: Likewise.
26839 * manual/startup.texi: Likewise.
26840 * manual/stdio.texi: Likewise.
26841 * manual/terminal.texi: Likewise.
26842 (ONLCR): Document as POSIX.
26843 (OXTABS): Document availability on GNU/Linux as XTABS.
26844 (ONOEOT): Document availability separately from other bits.
26845 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26846 * manual/time.texi: Likewise.
26847 * manual/users.texi: Likewise.
26848 * INSTALL: Regenerated.
26849 * sysdeps/gnu/errlist.c: Regenerated.
26850
07037eeb
JM
26851 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26852 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26853 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26854 puts.
26855 * configure: Regenerated.
26856
d1d3431a
JM
268572012-03-07 Joseph Myers <joseph@codesourcery.com>
26858
af6a1e37
JM
26859 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26860 default includes instead of AC_HEADER_CHECK.
26861 * sysdeps/i386/configure: Regenerated.
26862
d1d3431a
JM
26863 [BZ #10716]
26864 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26865 * math/s_cacoshf.c (__cacoshf): Likewise.
26866 * math/s_cacoshl.c (__cacoshl): Likewise.
26867 * math/s_casinh.c (__casinh): Set signs of result from argument.
26868 * math/s_casinhf.c (__casinhf): Likewise.
26869 * math/s_casinhl.c (__casinhl): Likewise.
26870 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26871 (casinh_test): Add more tests.
26872 * sysdeps/i386/fpu/libm-test-ulps: Update.
26873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26874
482ff4da
UD
268752012-03-07 Ulrich Drepper <drepper@gmail.com>
26876
872fda05
UD
26877 * po/zh_TW.po: Update from translation team.
26878
a4300c7a
UD
26879 * login/Makefile (distribute): Remove variable.
26880 * catgets/Makefile: Likewise.
26881 * mach/Makefile: Likewise.
26882 * malloc/Makefile: Likewise.
26883 * misc/Makefile: Likewise.
26884 * iconv/Makefile: Likewise.
26885 * nscd/Makefile: Likewise.
26886 * hurd/Makefile: Likewise.
26887 * manual/Makefile: Likewise.
26888 * locale/Makefile: Likewise.
26889 * intl/Makefile: Likewise.
26890 * conform/Makefile: Likewise.
26891 * nss/Makefile: Likewise.
26892 * time/Makefile: Likewise.
26893 * soft-fp/Makefile: Likewise.
26894 * dirent/Makefile: Likewise.
26895 * gmon/Makefile: Likewise.
26896 * po/Makefile: Likewise.
26897 * rt/Makefile: Likewise.
26898 * socket/Makefile: Likewise.
26899 * math/Makefile: Likewise.
26900 * signal/Makefile: Likewise.
26901 * debug/Makefile: Likewise.
26902 * elf/Makefile: Likewise.
26903 * timezone/Makefile: Likewise.
26904 * stdlib/Makefile: Likewise.
26905 * iconvdata/Makefile: Likewise.
26906 * sunrpc/Makefile: Likewise.
26907 * io/Makefile: Likewise.
26908 * argp/Makefile: Likewise.
26909 * inet/Makefile: Likewise.
26910 * hesiod/Makefile: Likewise.
26911 * grp/Makefile: Likewise.
26912 * csu/Makefile: Likewise.
26913 * wctype/Makefile: Likewise.
26914 * crypt/Makefile: Likewise.
26915 * libio/Makefile: Likewise.
26916 * string/Makefile: Likewise.
26917 * nis/Makefile: Likewise.
26918 * resolv/Makefile: Likewise.
26919 * stdio-common/Makefile: Likewise.
26920 * wcsmbs/Makefile: Likewise.
26921 * dlfcn/Makefile: Likewise.
26922 * posix/Makefile: Likewise.
26923
3b7c4e74 26924 [BZ #6959]
482ff4da
UD
26925 * timezone/Makefile: Don't install timezone files, just the programs
26926 and scripts.
26927
f72ed77d
UD
269282012-03-06 Ulrich Drepper <drepper@gmail.com>
26929
a000466f
UD
26930 * nss/databases.def: Add missing gshadow entry.
26931
f72ed77d
UD
26932 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26933
a53b7a4e
MP
269342012-03-06 Marek Polacek <polacek@redhat.com>
26935
26936 [BZ #13726]
26937 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26938 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26939 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26940 * stdio-common/tst-long-dbl-fphex.c: New file.
26941
e9258400
DM
269422012-03-06 David S. Miller <davem@davemloft.net>
26943
26944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26945 (set_obp_int): New function.
26946 (get_obp_int): New function.
26947 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26948 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26949 Avoid unused variable warnings on 'val' and use builtin_expect.
26950 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26951 __builtin_expect.
e9258400
DM
26952 (INLINE_CLONE_SYSCALL): Likewise.
26953
3bd2c723
DM
269542012-03-05 David S. Miller <davem@davemloft.net>
26955
26956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26957
bbb78d03
AS
269582012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26959
884c5db4
AS
26960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26961
bbb78d03
AS
26962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26963 only for |x| >= 40.
26964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26965
1c9f702a 269662012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26967
26968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26969 Replace gettimeofday with __vdso_gettimeofday.
26970
7be16f82
RM
26971 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26972 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26973 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26974
26975 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26976 time with __vdso_time.
26977
ed58a00f
JM
269782012-03-05 Joseph Myers <joseph@codesourcery.com>
26979
26980 * manual/lang.texi (size_t): Note types to which size_t may be
26981 equivalent with the GNU C Library, but do not describe when
26982 differences between them are significant.
26983
30ee4ced
AJ
269842012-03-05 Andreas Jaeger <aj@suse.de>
26985
26986 * sysdeps/i386/fpu/libm-test-ulps: Update.
26987
b7cd39e8
JM
269882012-03-05 Joseph Myers <joseph@codesourcery.com>
26989
26990 [BZ #3976]
26991 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26992 (__ieee754_pow): Save and restore rounding mode and use
26993 round-to-nearest for main computations.
26994 * math/libm-test.inc (pow_test_tonearest): New function.
26995 (pow_test_towardzero): Likewise.
26996 (pow_test_downward): Likewise.
26997 (pow_test_upward): Likewise.
26998 (main): Call the new functions.
26999 * sysdeps/i386/fpu/libm-test-ulps: Update.
27000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27001
27002 [BZ #3976]
27003 * math/libm-test.inc (cosh_test_tonearest): New function.
27004 (cosh_test_towardzero): Likewise.
27005 (cosh_test_downward): Likewise.
27006 (cosh_test_upward): Likewise.
27007 (sinh_test_tonearest): Likewise.
27008 (sinh_test_towardzero): Likewise.
27009 (sinh_test_downward): Likewise.
27010 (sinh_test_upward): Likewise.
27011 (main): Call the new functions.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27014
6c6a98c9
TV
270152012-03-05 Tom de Vries <tom@codesourcery.com>
27016
27017 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27018 default stack guard is set in last bytes.
27019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27020
21bb2d2e 270212012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27022
21bb2d2e 27023 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27024
21bb2d2e
AJ
27025 [BZ #13656]
27026 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27027 possibly allocate from heap instead of stack.
27028 * stdio-common/bug-vfprintf-nargs.c: New file.
27029 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27030
c6922934
AS
270312012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27032
27033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27034
bc957d53
MP
270352012-03-03 Marek Polacek <polacek@redhat.com>
27036
27037 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27038 * math/math_private.h: Likewise.
27039 * stdlib/tst-strtod.c: Likewise.
27040 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27041 * sysdeps/x86_64/bits/atomic.h: Likewise.
27042
6358490d
DM
270432012-03-02 David S. Miller <davem@davemloft.net>
27044
27045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27049 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27050 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27051 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27052 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27053
01ae168d
RM
270542012-03-02 Roland McGrath <roland@hack.frob.com>
27055
d9a17c07
RM
27056 [BZ #13792]
27057 * manual/examples/README: New file, says the example source files
27058 can be used under GPL>=2.
27059 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27060 line containing just "*/".
27061 * manual/examples/add.c: Add copyright header (GPL>=2).
27062 * manual/examples/argp-ex1.c: Likewise.
27063 * manual/examples/argp-ex2.c: Likewise.
27064 * manual/examples/argp-ex3.c: Likewise.
27065 * manual/examples/argp-ex4.c: Likewise.
27066 * manual/examples/atexit.c: Likewise.
27067 * manual/examples/db.c: Likewise.
27068 * manual/examples/dir.c: Likewise.
27069 * manual/examples/dir2.c: Likewise.
27070 * manual/examples/execinfo.c: Likewise.
27071 * manual/examples/filecli.c: Likewise.
27072 * manual/examples/filesrv.c: Likewise.
27073 * manual/examples/fmtmsgexpl.c: Likewise.
27074 * manual/examples/genpass.c: Likewise.
27075 * manual/examples/inetcli.c: Likewise.
27076 * manual/examples/inetsrv.c: Likewise.
27077 * manual/examples/isockad.c: Likewise.
27078 * manual/examples/longopt.c: Likewise.
27079 * manual/examples/memopen.c: Likewise.
27080 * manual/examples/memstrm.c: Likewise.
27081 * manual/examples/mkfsock.c: Likewise.
27082 * manual/examples/mkisock.c: Likewise.
27083 * manual/examples/mygetpass.c: Likewise.
27084 * manual/examples/pipe.c: Likewise.
27085 * manual/examples/popen.c: Likewise.
27086 * manual/examples/rprintf.c: Likewise.
27087 * manual/examples/search.c: Likewise.
27088 * manual/examples/select.c: Likewise.
27089 * manual/examples/setjmp.c: Likewise.
27090 * manual/examples/sigh1.c: Likewise.
27091 * manual/examples/sigusr.c: Likewise.
27092 * manual/examples/stpcpy.c: Likewise.
27093 * manual/examples/strdupa.c: Likewise.
27094 * manual/examples/strftim.c: Likewise.
27095 * manual/examples/strncat.c: Likewise.
27096 * manual/examples/subopt.c: Likewise.
27097 * manual/examples/swapcontext.c: Likewise.
27098 * manual/examples/termios.c: Likewise.
27099 * manual/examples/testopt.c: Likewise.
27100 * manual/examples/testpass.c: Likewise.
27101 * manual/examples/timeval_subtract.c: Likewise.
27102
01ae168d
RM
27103 [BZ #13792]
27104 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27105 function to ...
27106 * manual/timeval_subtract.c.texi: ... here, new file.
27107
49efa33d
DM
271082012-03-02 David S. Miller <davem@davemloft.net>
27109
27110 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27111
28afd92d
JM
271122012-03-02 Joseph Myers <joseph@codesourcery.com>
27113
804360ed
JM
27114 [BZ #3976]
27115 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27116 (__sin): Save and restore rounding mode and use round-to-nearest
27117 for all computations.
27118 (__cos): Save and restore rounding mode and use round-to-nearest
27119 for all computations.
27120 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27121 <fenv.h>.
27122 (tan): Save and restore rounding mode and use round-to-nearest for
27123 all computations.
27124 * math/libm-test.inc (cos_test_tonearest): New function.
27125 (cos_test_towardzero): Likewise.
27126 (cos_test_downward): Likewise.
27127 (cos_test_upward): Likewise.
27128 (sin_test_tonearest): Likewise.
27129 (sin_test_towardzero): Likewise.
27130 (sin_test_downward): Likewise.
27131 (sin_test_upward): Likewise.
27132 (tan_test_tonearest): Likewise.
27133 (tan_test_towardzero): Likewise.
27134 (tan_test_downward): Likewise.
27135 (tan_test_upward): Likewise.
27136 (main): Call the new functions.
27137 * sysdeps/i386/fpu/libm-test-ulps: Update.
27138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27139
a6d06d7b
JM
27140 [BZ #10135]
27141 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27142 small n, then large n, before computing and testing k+n.
27143 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27144 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27145 Likewise.
27146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27147 Likewise.
27148 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27149 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27150 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27151 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27154 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27156 * math/libm-test.inc (scalbn_test): Add more tests.
27157 (scalbln_test): Likewise.
27158
07e12bb3
JM
27159 * manual/filesys.texi (mode_t): Describe constraints on size and
27160 signedness, not exact equivalence to a particular type.
27161 (ino_t): Likewise.
27162 (ino64_t): Likewise.
27163 (dev_t): Likewise.
27164 (nlink_t): Likewise.
27165 (blkcnt_t): Likewise.
27166 (blkcnt64_t): Likewise.
27167 * manual/llio.texi (off_t): Likewise.
27168
28afd92d
JM
27169 [BZ #3976]
27170 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27171 (__ieee754_exp): Save and restore rounding mode and use
27172 round-to-nearest for all computations.
27173 * math/libm-test.inc (exp_test_tonearest): New function.
27174 (exp_test_towardzero): Likewise.
27175 (exp_test_downward): Likewise.
27176 (exp_test_upward): Likewise.
27177 (main): Call the new functions.
27178 * sysdeps/i386/fpu/libm-test-ulps: Update.
27179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27180
b1eeb65d
CD
271812012-03-01 Chris Demetriou <cgd@google.com>
27182
27183 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27184 have predictable order.
27185
53362a4b
DM
271862012-03-01 David S. Miller <davem@davemloft.net>
27187
3c969083
DM
27188 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27189
759707de
DM
27190 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27191 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27193 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27194
dfdb8ff2
DM
27195 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27196 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27197 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27199 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27200 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27201 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27202 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27203 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27204
ead89f96
DM
27205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27206
7f66bd07
DM
27207 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27208 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27209 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27210
53362a4b
DM
27211 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27212 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27213 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27214 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27215 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27218 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27219 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27220 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27221 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27222 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27224 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27225 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27227 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27228 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27229 * sysdeps/sparc/elf/configure: Regenerated.
27230
7b1902cb
JM
272312012-03-01 Joseph Myers <joseph@codesourcery.com>
27232
bec039bc
JM
27233 * configure.in (AS, LD): Require binutils 2.20 or later.
27234 * configure: Regenerated.
27235 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27236 as required minimum version.
27237 * INSTALL: Regenerated.
27238
7b1902cb
JM
27239 [BZ #2541]
27240 [BZ #4108]
27241 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27242 before squaring exponent.
27243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27244 bottom long double and 27 bits of top long double before squaring
27245 exponent.
27246 * math/libm-test.inc (erfc_test): Add more tests.
27247 * sysdeps/i386/fpu/libm-test-ulps: Update.
27248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27250
f775c276
KT
272512012-03-01 Kai Tietz <ktietz@redhat.com>
27252
27253 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27254 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27255 containing bit-fields.
27256 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27257 * soft-fp/single.h (_FP_UNION_S): Likewise.
27258 * soft-fp/double.h (_FP_UNION_D): Likewise.
27259
5b8a4d4a
JM
272602012-02-29 Joseph Myers <joseph@codesourcery.com>
27261
0bab47b6
JM
27262 [BZ #13786]
27263 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27264 not include ../strcmp.S.
27265 [USE_AS_STRNCASECMP_L]: Likewise.
27266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27267 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27268 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27269 (__strncasecmp_l_ia32): Define as alias to
27270 __strncasecmp_l_nonascii.
27271
0fcad3e2
JM
27272 [BZ #5794]
27273 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27274 * sysdeps/i386/fpu/libm-test-ulps: Update.
27275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27276
5b8a4d4a
JM
27277 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27279
8fdceb2e
JL
272802012-02-29 Jeff Law <law@redhat.com>
27281
27282 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27283 out of bounds read.
27284
1f393a11
MP
272852012-02-29 Marek Polacek <polacek@redhat.com>
27286
27287 [BZ #13706]
27288 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27289 * elf/Makefile: Add rules to run tst-unused-dep.out.
27290
8847f037
DM
272912012-02-28 David S. Miller <davem@davemloft.net>
27292
27293 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27294 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27299
169d7f11
JM
273002012-02-29 Joseph Myers <joseph@codesourcery.com>
27301
27302 * math/libm-test.inc (llround_test): Move one test from
27303 lround_test. Use TEST_f_L in moved test.
27304 (lround_test): Move misplaced test to llround_test. Add testcase
27305 from bug 2561.
27306
39adf059
UD
273072012-02-28 Ulrich Drepper <drepper@gmail.com>
27308
27309 * sysdeps/x86_64/fpu/e_expf.S: New file.
27310 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27311
71b5d1c5
SB
273122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27313
27314 [BZ #13637]
27315 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27316 of remain_len that may cause incomplete multi-byte character and
27317 false match.
27318 * posix/bug-regex33.c: New file.
27319 * posix/Makefile (tests): Add bug-regex33.
27320
1f77f049
JM
273212012-02-28 Joseph Myers <joseph@codesourcery.com>
27322
27323 * manual/macros.texi: New file.
27324 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27325 * manual/libc.texinfo: Include macros.texi.
27326 * manual/creatute.texi: Likewise.
27327 * manual/install.texi: Likewise.
27328 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27329 @glibcadj{} in references to the GNU C Library.
27330 * manual/charset.texi: Likewise.
27331 * manual/conf.texi: Likewise.
27332 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27333 when not using those macros.
27334 * manual/creature.texi: Likewise.
27335 * manual/crypt.texi: Likewise.
27336 * manual/errno.texi: Likewise.
27337 * manual/filesys.texi: Likewise.
27338 * manual/header.texi: Likewise.
27339 * manual/install.texi: Likewise.
27340 * manual/intro.texi: Likewise.
27341 * manual/io.texi: Likewise.
27342 * manual/job.texi: Likewise.
27343 * manual/lang.texi: Likewise.
27344 * manual/libc.texiinfo: Likewise.
27345 * manual/llio.texi: Likewise.
27346 * manual/locale.texi: Likewise.
27347 * manual/maint.texi: Likewise.
27348 * manual/math.texi: Likewise.
27349 * manual/memory.texi: Likewise.
27350 * manual/message.texi: Likewise.
27351 * manual/nss.texi: Likewise.
27352 * manual/pattern.texi: Likewise.
27353 * manual/process.texi: Likewise.
27354 * manual/resource.texi: Likewise.
27355 * manual/search.texi: Likewise.
27356 * manual/setjmp.texi: Likewise.
27357 * manual/signal.texi: Likewise.
27358 * manual/socket.texi: Likewise.
27359 * manual/startup.texi: Likewise.
27360 * manual/stdio.texi: Likewise.
27361 * manual/string.texi: Likewise.
27362 * manual/sysinfo.texi: Likewise.
27363 * manual/syslog.texi: Likewise.
27364 * manual/terminal.texi: Likewise.
27365 * manual/time.texi: Likewise.
27366 * manual/users.texi: Likewise.
27367 * INSTALL: Regenerated.
27368 * NOTES: Regenerated.
d40c5d54 27369 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27370
450bf206
AS
273712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27372
27373 * include/dirent.h: Include <dirstream.h> before
27374 <dirent/dirent.h>.
27375
741a235b
DM
273762012-02-28 David S. Miller <davem@davemloft.net>
27377
27378 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27379 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27380 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27381 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27382
d6b5aa58
DM
273832012-02-27 David S. Miller <davem@davemloft.net>
27384
1aff59a3
DM
27385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27387 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27388 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27389
d6b5aa58
DM
27390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27391 frame pointer instead of stack pointer relative arg slot.
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27393 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27394 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27395
433f48bf
CD
273962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27397
27398 [BZ #3992]
27399 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27400
d674b76d
DM
274012012-02-27 David S. Miller <davem@davemloft.net>
27402
27403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27409 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27410 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27411
0e7727f7
JM
274122012-02-27 Joseph Myers <joseph@codesourcery.com>
27413
27414 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27415 later. Allow versions 5-9.
43be4ca2 27416 * configure: Regenerated.
0e7727f7
JM
27417 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27418 required minimum version and 4.6 as recommended version. Do not
27419 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27420 * INSTALL: Regenerated.
0e7727f7 27421
a78bc654
DM
274222012-02-27 David S. Miller <davem@davemloft.net>
27423
428d5830
DM
27424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27430 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27431 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27432
a78bc654
DM
27433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27434 manipulate bits before adding and subtracting TWO112[sx].
27435 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27436
4579f81c
RM
274372012-02-27 Roland McGrath <roland@hack.frob.com>
27438
36c8acb4
RM
27439 [BZ #13775]
27440 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27441 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27442 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27443 being in POSIX, because they are in 1003.1-2008.
27444
84ad622b
RM
27445 * rt/tst-aio.c: Include <fcntl.h>.
27446 * rt/tst-aio7.c: Likewise.
27447 * rt/tst-aio64.c: Likewise.
27448
4579f81c
RM
27449 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27450
abd923db
JM
274512012-02-27 Joseph Myers <joseph@codesourcery.com>
27452
27453 * manual/install.texi (--with-headers): Describe headers as
27454 interface headers, not private headers.
27455 (Specific advice for GNU/Linux systems): Describe use of headers
27456 from "make headers_install", not private headers from older
27457 kernels.
43be4ca2 27458 * INSTALL: Regenerated.
abd923db
JM
27459 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27460 Change to 2.6.19.
27461 * sysdeps/unix/sysv/linux/configure: Regenerated.
27462
6664049b
JM
27463 * manual/llio.texi (fclean): Remove documentation.
27464
bb8b6697
JM
27465 * manual/Makefile (libc-texi-generated): New variable. Include
27466 version.texi.
27467 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27468 $(libc-texi-generated), not duplicated list of files.
27469 (version.texi, stamp-version): New rules.
27470 (realclean): Remove $(libc-texi-generated), not individual files
27471 from that list. Do not remove dir-add.texinfo.
27472 * manual/libc.texinfo: Comment out uses of edition numbers and
27473 references to printed manual. Remove last-updated dates.
27474 (EDITION): Comment out.
27475 (ISBN): Likewise.
27476 (VERSION, UPDATED): Remove.
27477 (version.texi): Include.
27478
12e5c3b9
AS
274792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27480
27481 * sysdeps/posix/spawni.c: Include <signal.h>.
27482 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27483 * sysdeps/pthread/aio_fsync.c: Likewise.
27484
4efeffc1 274852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27486
ba63ba08
UD
27487 * conform/Makefile (tests): Run only when not cross-compiling and
27488 when fast-check is not defined.
27489
d94a4670
UD
27490 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27491 * conform/data/limits.h-data: Fixes for POSIX2008.
27492 * conform/run-conformtest.sh: Run all tests.
27493 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27494 headers.
27495 * include/bits/dlfcn.h: Likewise.
27496 * include/langinfo.h: Likewise.
27497 * include/monetary.h: Likewise.
27498 * include/sys/poll.h: Likewise.
27499
27500 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27501 for __USE_GNU.
27502 * posix/spawn.h: Define __need_sigset_t.
27503 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27504 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27505 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27506 to get sigevent_t only.
27507 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27508 only for __USE_GNU.
27509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27510 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27511 process_vm_writev only for __USE_GNU.
27512 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27513
27514 * conform/Makefile: For now ignore errors from run-conformtest.
27515 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27516 POSIX to avoid namespace pollution. Don't prepend headers.
27517 * conform/data/aio.h-data: Fixes for POSIX testing.
27518 * conform/data/fcntl.h-data: Likewise.
27519 * conform/data/glob.h-data: Likewise.
27520 * conform/data/grp.h-data: Likewise.
27521 * conform/data/pthread.h-data: Likewise.
27522 * conform/data/pwd.h-data: Likewise.
27523 * conform/data/signal.h-data: Likewise.
27524 * conform/data/spawn.h-data: Likewise.
27525 * conform/data/stdio.h-data: Likewise.
27526 * conform/data/stdlib.h-data: Likewise.
27527 * conform/data/stropts.h-data: Likewise.
27528 * conform/data/sys/mman.h-data: Likewise.
27529 * conform/data/sys/stat.h-data: Likewise.
27530 * conform/data/sys/types.h-data: Likewise.
27531 * conform/data/sys/wait.h-data: Likewise.
27532 * conform/data/time.h-data: Likewise.
27533 * conform/data/unistd.h-data: Likewise.
27534 * conform/data/utime.h-data: Likewise.
27535
27536 * io/sys/stat.h: fchmod was always in POSIX.
27537 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27538 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27539 * rt/aio.h: Define __need_timespec before including <time.h>.
27540 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27541 struct. Add forward declaration of pthread_attr_t and use it in
27542 sigevent.
27543 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27545 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27546 always remove CLK_TCK definition.
27547
c20105c3
AS
275482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27549
27550 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27551
7a270350
UD
275522012-02-25 Ulrich Drepper <drepper@gmail.com>
27553
31341567
UD
27554 * conform/run-conformtest.sh: New file.
27555 * conform/Makefile: Run run-conformtest for tests.
27556 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27557 support.
27558
27559 * conform/data/uchar.h-data: New file.
27560 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27561 * conform/data/arpa/inet.h-data: Likewise.
27562 * conform/data/assert.h-data: Likewise.
27563 * conform/data/complex.h-data: Likewise.
27564 * conform/data/cpio.h-data: Likewise.
27565 * conform/data/ctype.h-data: Likewise.
27566 * conform/data/dirent.h-data: Likewise.
27567 * conform/data/dlfcn.h-data: Likewise.
27568 * conform/data/errno.h-data: Likewise.
27569 * conform/data/fcntl.h-data: Likewise.
27570 * conform/data/float.h-data: Likewise.
27571 * conform/data/fmtmsg.h-data: Likewise.
27572 * conform/data/fnmatch.h-data: Likewise.
27573 * conform/data/ftw.h-data: Likewise.
27574 * conform/data/glob.h-data: Likewise.
27575 * conform/data/grp.h-data: Likewise.
27576 * conform/data/iconv.h-data: Likewise.
27577 * conform/data/inttypes.h-data: Likewise.
27578 * conform/data/langinfo.h-data: Likewise.
27579 * conform/data/libgen.h-data: Likewise.
27580 * conform/data/limits.h-data: Likewise.
27581 * conform/data/locale.h-data: Likewise.
27582 * conform/data/math.h-data: Likewise.
27583 * conform/data/monetary.h-data: Likewise.
27584 * conform/data/mqueue.h-data: Likewise.
27585 * conform/data/ndbm.h-data: Likewise.
27586 * conform/data/net/if.h-data: Likewise.
27587 * conform/data/netdb.h-data: Likewise.
27588 * conform/data/netinet/in.h-data: Likewise.
27589 * conform/data/nl_types.h-data: Likewise.
27590 * conform/data/poll.h-data: Likewise.
27591 * conform/data/pthread.h-data: Likewise.
27592 * conform/data/pwd.h-data: Likewise.
27593 * conform/data/regex.h-data: Likewise.
27594 * conform/data/sched.h-data: Likewise.
27595 * conform/data/search.h-data: Likewise.
27596 * conform/data/semaphore.h-data: Likewise.
27597 * conform/data/setjmp.h-data: Likewise.
27598 * conform/data/signal.h-data: Likewise.
27599 * conform/data/spawn.h-data: Likewise.
27600 * conform/data/stdarg.h-data: Likewise.
27601 * conform/data/stdio.h-data: Likewise.
27602 * conform/data/stdlib.h-data: Likewise.
27603 * conform/data/string.h-data: Likewise.
27604 * conform/data/strings.h-data: Likewise.
27605 * conform/data/stropts.h-data: Likewise.
27606 * conform/data/sys/ipc.h-data: Likewise.
27607 * conform/data/sys/mman.h-data: Likewise.
27608 * conform/data/sys/msg.h-data: Likewise.
27609 * conform/data/sys/resource.h-data: Likewise.
27610 * conform/data/sys/select.h-data: Likewise.
27611 * conform/data/sys/sem.h-data: Likewise.
27612 * conform/data/sys/shm.h-data: Likewise.
27613 * conform/data/sys/socket.h-data: Likewise.
27614 * conform/data/sys/stat.h-data: Likewise.
27615 * conform/data/sys/statvfs.h-data: Likewise.
27616 * conform/data/sys/time.h-data: Likewise.
27617 * conform/data/sys/timeb.h-data: Likewise.
27618 * conform/data/sys/times.h-data: Likewise.
27619 * conform/data/sys/types.h-data: Likewise.
27620 * conform/data/sys/uio.h-data: Likewise.
27621 * conform/data/sys/un.h-data: Likewise.
27622 * conform/data/sys/utsname.h-data: Likewise.
27623 * conform/data/sys/wait.h-data: Likewise.
27624 * conform/data/syslog.h-data: Likewise.
27625 * conform/data/tar.h-data: Likewise.
27626 * conform/data/termios.h-data: Likewise.
27627 * conform/data/utime.h-data: Likewise.
27628 * conform/data/utmpx.h-data: Likewise.
27629 * conform/data/varargs.h-data: Likewise.
27630 * conform/data/wchar.h-data: Likewise.
27631 * conform/data/wctype.h-data: Likewise.
27632 * conform/data/wordexp.h-data: Likewise.
27633
27634 * include/stropts.h: New file.
27635 * include/uchar.h: New file.
27636 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27637 * include/assert.h: Likewise.
27638 * include/ctype.h: Likewise.
27639 * include/dirent.h: Likewise.
27640 * include/dlfcn.h: Likewise.
27641 * include/fcntl.h: Likewise.
27642 * include/fnmatch.h: Likewise.
27643 * include/glob.h: Likewise.
27644 * include/grp.h: Likewise.
27645 * include/libio.h: Likewise.
27646 * include/locale.h: Likewise.
27647 * include/math.h: Likewise.
27648 * include/net/if.h: Likewise.
27649 * include/netdb.h: Likewise.
27650 * include/netinet/in.h: Likewise.
27651 * include/pthread.h: Likewise.
27652 * include/pwd.h: Likewise.
27653 * include/regex.h: Likewise.
27654 * include/sched.h: Likewise.
27655 * include/search.h: Likewise.
27656 * include/setjmp.h: Likewise.
27657 * include/signal.h: Likewise.
27658 * include/stdio.h: Likewise.
27659 * include/stdlib.h: Likewise.
27660 * include/string.h: Likewise.
27661 * include/sys/cdefs.h: Likewise.
27662 * include/sys/mman.h: Likewise.
27663 * include/sys/msg.h: Likewise.
27664 * include/sys/resource.h: Likewise.
27665 * include/sys/select.h: Likewise.
27666 * include/sys/socket.h: Likewise.
27667 * include/sys/stat.h: Likewise.
27668 * include/sys/statvfs.h: Likewise.
27669 * include/sys/time.h: Likewise.
27670 * include/sys/times.h: Likewise.
27671 * include/sys/uio.h: Likewise.
27672 * include/sys/utsname.h: Likewise.
27673 * include/sys/wait.h: Likewise.
27674 * include/termios.h: Likewise.
27675 * include/time.h: Likewise.
27676 * include/ulimit.h: Likewise.
27677 * include/unistd.h: Likewise.
27678 * include/utime.h: Likewise.
27679 * include/wchar.h: Likewise.
27680 * include/wctype.h: Likewise.
27681 * include/wordexp.h: Likewise.
27682
27683 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27684
7a270350
UD
27685 * time/time.h: TIME_UTC must be a macro.
27686 Make timespec_get available for ISO C11 only as well.
27687
7724defc
UD
276882012-02-24 Ulrich Drepper <drepper@gmail.com>
27689
27690 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27691 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27692
6b1d1d46
JM
276932012-02-24 Joseph Myers <joseph@codesourcery.com>
27694
27695 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27696
0f8bbd69
JM
276972012-02-24 Joseph Myers <joseph@codesourcery.com>
27698
27699 * manual/texinfo.tex: Update to version 2012-01-19.16.
27700
66ab80bc
JM
277012012-02-24 Joseph Myers <joseph@codesourcery.com>
27702
27703 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27704
74981cc5
RM
277052012-02-24 Roland McGrath <roland@hack.frob.com>
27706
ee968201
RM
27707 [BZ #13738]
27708 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27709 * manual/fdl-1.3.texi: New file.
27710 * manual/fdl-1.1.texi: File removed.
27711
74981cc5
RM
27712 [BZ #13738]
27713 * manual/libc.texinfo (FDL_VERSION): New @set.
27714 Use it for mention of FDL in cover text.
27715 (Documentation License): Use it in @include file name.
27716
7bb764bc
JM
277172012-02-22 Joseph Myers <joseph@codesourcery.com>
27718 Roland McGrath <roland@hack.frob.com>
27719
27720 [BZ #5461]
27721 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27722 not LONG_LONG_MAX and LONG_LONG_MIN.
27723 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27724 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27725 name.
27726 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27727
6cbeae47
JM
277282012-02-22 Joseph Myers <joseph@codesourcery.com>
27729
27730 [BZ #2547]
27731 [BZ #11365]
27732 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27733 manipulate bits before adding and subtracting TWO23[sx].
27734 * math/libm-test.inc (nearbyint_test): Add more tests.
27735
fe45ce09
JM
277362012-02-22 Joseph Myers <joseph@codesourcery.com>
27737
27738 [BZ #2548]
27739 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27740 bits before adding and subtracting TWO23[sx].
27741 * math/libm-test.inc (rint_test): Add more tests.
27742 (rint_test_tonearest): Likewise.
27743 (rint_test_towardzero): Likewise.
27744 (rint_test_downward): Likewise.
27745 (rint_test_upward: Likewise.
27746
ff3b3d82
JM
277472012-02-22 Joseph Myers <joseph@codesourcery.com>
27748
27749 [BZ #10110]
27750 * include/stdc-predef.h: New file. Extracted from features.h.
27751 * include/features.h: Include stdc-predef.h.
27752 * Makefile (headers): Add stdc-predef.h.
27753 * CONFORMANCE (Compiler limitations): Update.
27754
ef0aab35
JM
277552012-02-22 Joseph Myers <joseph@codesourcery.com>
27756
27757 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27758
58639409
DM
277592012-02-21 David S. Miller <davem@davemloft.net>
27760
27761 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27762 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27763
c0e70b25
DM
277642012-02-20 David S. Miller <davem@davemloft.net>
27765
27766 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27767 using a normal save/restore sequence, rather than allocating a
27768 dummy stack frame just to store a frame pointer and restore.
27769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27770
fb06851d
JM
277712012-02-21 Joseph Myers <joseph@codesourcery.com>
27772
27773 * manual/install.texi: Fix stray word in line-wrapped comment.
27774
7a8b71c3
DM
277752012-02-20 David S. Miller <davem@davemloft.net>
27776
d510c123
DM
27777 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27778 both binutils and gcc support GOTDATA.
27779
0722d7c2
DM
27780 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27781 "rd %pc" in the PIC register setup sequences.
27782
3d2b3019
DM
27783 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27784 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27785 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27786 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27787 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27792 (SYSCALL_ERROR_HANDLER): Likewise.
27793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27796 (SYSCALL_ERROR_HANDLER): Likewise.
27797
c80098a9
DM
27798 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27799 (HAVE_GCC_GOTDATA): New.
27800 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27801 relocation support in both binutils and gcc.
27802 * sysdeps/sparc/elf/configure: Regenerate.
27803
3a2545a0
DM
27804 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27805 * sysdeps/sparc/sparc32/elf/configure: Delete.
27806 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27807 * sysdeps/sparc/sparc64/elf/configure: Delete.
27808 * sysdeps/sparc/elf/configure.in: New file.
27809 * sysdeps/sparc/elf/configure: Generate.
27810
7a8b71c3
DM
27811 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27812 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27813 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27814 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27815 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27816
f1e86fca
JM
278172012-02-21 Joseph Myers <joseph@codesourcery.com>
27818
27819 * manual/install.texi: Do not mention specific glibc version
27820 numbers.
27821 * manual/libc.texinfo (VERSION, UPDATED): Update.
27822 (@copying): Use @copyright{} and range of years.
27823
0e7dfaef
JM
278242012-02-21 Joseph Myers <joseph@codesourcery.com>
27825
27826 [BZ #13695]
27827 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27828 [crti.S not in sysdirs] (generated): Do not append.
27829 [crti.S not in sysdirs] (omit-deps): Likewise.
27830 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27831 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27832 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27833 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27834 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27835 Likewise.
27836 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27837 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27838 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27839 * csu/defs.awk: Remove file.
27840 * sysdeps/generic/initfini.c: Likewise.
27841 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27842 variable.
27843 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27844 Likewise.
27845
599af3ca
JM
278462012-02-20 Joseph Myers <joseph@codesourcery.com>
27847
27848 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27849 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27850 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27852 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27853 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27854 <bits/epoll.h>.
27855 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27856 (__EPOLL_PACKED): Define to empty if not defined by
27857 <bits/epoll.h>.
27858 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27860 bits/epoll.h.
27861
0e499750
JM
278622012-02-20 Joseph Myers <joseph@codesourcery.com>
27863
27864 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27865 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27866 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27867 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27868 <bits/timerfd.h>.
27869 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27871 bits/timerfd.h.
27872
5ad91f6e
JM
278732012-02-20 Joseph Myers <joseph@codesourcery.com>
27874
27875 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27876 in C locale.
27877 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27878 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27879 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881
06b99b02
AJ
278822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27883
27884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27886
7638c0fd
AS
278872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27888
27889 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27890 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27891 defined.
27892 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27893 Likewise.
27894 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27895 entry for 2.16.
27896
92221550
AJ
278972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27898
27899 * math/w_acos.c: Use non-signaling floating-point comparisons.
27900 * math/w_acosf.c: Likewise.
27901 * math/w_acosh.c: Likewise.
27902 * math/w_acoshf.c: Likewise.
27903 * math/w_acoshl.c: Likewise.
27904 * math/w_acosl.c: Likewise.
27905 * math/w_asin.c: Likewise.
27906 * math/w_asinf.c: Likewise.
27907 * math/w_asinl.c: Likewise.
27908 * math/w_atanh.c: Likewise.
27909 * math/w_atanhf.c: Likewise.
27910 * math/w_atanhl.c: Likewise.
27911 * math/w_exp2.c: Likewise.
27912 * math/w_exp2f.c: Likewise.
27913 * math/w_exp2l.c: Likewise.
27914 * math/w_j0.c: Likewise.
27915 * math/w_j0f.c: Likewise.
27916 * math/w_j0l.c: Likewise.
27917 * math/w_j1.c: Likewise.
27918 * math/w_j1f.c: Likewise.
27919 * math/w_j1l.c: Likewise.
27920 * math/w_jn.c: Likewise.
27921 * math/w_jnf.c: Likewise.
27922 * math/w_log.c: Likewise.
27923 * math/w_log10.c: Likewise.
27924 * math/w_log10f.c: Likewise.
27925 * math/w_log10l.c: Likewise.
27926 * math/w_log2.c: Likewise.
27927 * math/w_log2f.c: Likewise.
27928 * math/w_log2l.c: Likewise.
27929 * math/w_logf.c: Likewise.
27930 * math/w_logl.c: Likewise.
27931 * math/w_sqrt.c: Likewise.
27932 * math/w_sqrtf.c: Likewise.
27933 * math/w_sqrtl.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27935 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27939
ebaf36eb
JM
279402012-02-19 Joseph Myers <joseph@codesourcery.com>
27941
27942 [BZ #9739]
27943 * manual/string.texi (strnlen): Use correct parameter name in
27944 equivalent expression.
27945
71c254a6
JM
279462012-02-19 Joseph Myers <joseph@codesourcery.com>
27947
27948 [BZ #11174]
27949 * manual/users.texi (seteuid): Consistently use neweuid for
27950 argument name.
27951
16d2c631
JM
279522012-02-19 Joseph Myers <joseph@codesourcery.com>
27953
27954 [BZ #13704]
27955 * manual/nss.texi (Services in the NSS configuration): Correct
27956 list of services in example configuration file.
27957
cd837b09
NB
279582012-02-19 Nick Bowler <nbowler@draconx.ca>
27959
27960 [BZ #11322]
27961 * manual/arith.texi: Remove statements about negative zero
27962 behaving identically to zero.
27963
02c4bbad
JM
279642012-02-18 Joseph Myers <joseph@codesourcery.com>
27965
27966 [BZ #5993]
27967 * manual/install.texi: Do not document upgrading from libc5.
27968
366842e7
JM
279692012-02-18 Joseph Myers <joseph@codesourcery.com>
27970
27971 [BZ #4596]
27972 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27973
dd54084d
DM
279742012-02-18 David S. Miller <davem@davemloft.net>
27975
27976 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27977 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27978 %o7 across the call.
27979 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27980 instead.
27981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27982 SETUP_PIC_REG_LEAF.
27983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27984 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27985 * sysdeps/sparc/crtn.S: Likewise.
27986
2bcc53a3
UD
279872012-02-17 Ulrich Drepper <drepper@gmail.com>
27988
27989 * aout/Makefile: Remove.
27990
09c093b5
RK
279912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27992
27993 [BZ #13058]
27994 * manual/examples/argp-ex1.c (main): Format definition in GNU
27995 style.
27996 * manual/examples/argp-ex2.c (main): Likewise.
27997 * manual/examples/argp-ex3.c (main): Likewise.
27998 * manual/examples/argp-ex4.c (main): Likewise.
27999 * manual/examples/longopt.c (main): Use new-style prototype
28000 definition.
28001 * manual/examples/strncat.c (main): Specify return type and use
28002 (void) for arguments.
28003 * manual/examples/subopt.c (main): Use char **argv argument.
28004
2ee633a2
JM
280052012-02-17 Joseph Myers <joseph@codesourcery.com>
28006
28007 [BZ #5077]
28008 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28009 rounding modes.
28010
0520adde
FB
280112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28012
28013 [BZ #6907]
28014 * manual/string.texi (strchr): Change when strchrnul is
28015 recommended.
28016
3f4081cd
DGM
280172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28018
28019 [BZ #174]
28020 * manual/locale.texi (setlocale): Document LOCPATH.
28021
d1b10e78
JM
280222012-02-17 Joseph Myers <joseph@codesourcery.com>
28023
28024 [BZ #10210]
28025 * manual/process.texi (execle): Move @dots{} before last argument.
28026
79c6869c
PB
280272012-02-17 Paul Bolle <pebolle@tiscali.nl>
28028
28029 [BZ #12047]
28030 * manual/charset.texi (Generic Charset Conversion): Fix typo
28031 (LC_TYPE -> LC_CTYPE).
28032
cc6e48bc
NB
280332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28034
28035 [BZ #5805]
28036 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28037 (scalbnf): Likewise.
28038 (scalbnl): Likewise.
28039 (scalbln): Likewise.
28040 (scalblnf): Likewise.
28041 (scalblnl): Likewise.
28042 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28043 (vwarnx): Likewise.
28044 (verr): Likewise.
28045 (verrx): Likewise.
28046 * manual/filesys.texi (telldir): Use braces around return type.
28047 * manual/llio.texi (mmap): Add space after comma.
28048 (mmap64): Likewise.
28049 * manual/math.texi (jn): Use @var{} on parameter names.
28050 (jnf): Likewise.
28051 (jnl): Likewise.
28052 (yn): Likewise.
28053 (ynf): Likewise.
28054 (ynl): Likewise.
28055 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28056 line.
28057 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28058 "...".
28059 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28060 (sched_get_priority_max): Likewise.
28061 * manual/signal.texi (sigvec): Add space after comma.
28062 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28063 names.
28064 (if_indextoname): Likewise.
28065 (if_freenameindex): Likewise.
28066 (sendto): Use ',' instead of '.' in prototype.
28067 * manual/startup.texi (syscall): Use @dots{} instead of literal
28068 "...".
28069 * manual/stdio.texi (__fpending): Separate initial words of
28070 paragraph from @deftypefun line.
28071 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28072 "...".
28073 (vsyslog): Use @var{} on parameter names.
28074 * manual/terminal.texi (stty): Use @var{} on parameter names.
28075 * manual/users.texi (getutmp): Use @var{} on parameter names.
28076 (getutmpx): Likewise.
28077
5b23062f
JM
280782012-02-17 Joseph Myers <joseph@codesourcery.com>
28079
28080 [BZ #6884]
28081 * manual/stdio.texi (fopen): Fix typos in description of
28082 ",ccs=STRING".
28083
8dee4833
AJ
280842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28085
28086 [BZ #4026]
28087 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28088 get clock_id definition.
28089
9078ce93
TS
280902012-02-17 Thomas Schwinge <thomas@schwinge.name>
28091
28092 [BZ #4822]
28093 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28094 (madvise): Cast every argument to void on its own.
28095
3835c55f
JM
280962012-02-17 Joseph Myers <joseph@codesourcery.com>
28097
28098 [BZ #9902]
28099 * manual/startup.texi (Exit Status): Fix typo.
28100
35c47e37
JM
281012012-02-17 Joseph Myers <joseph@codesourcery.com>
28102
28103 [BZ #10140]
28104 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28105 * manual/examples/argp-ex2.c: Likewise.
28106 * manual/examples/argp-ex3.c: Likewise.
28107
e3b69ca7
RH
281082012-02-16 Richard Henderson <rth@redhat.com>
28109
28110 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28111 * sysdeps/s390/s390-32/initfini.c: Remove.
28112 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28113 * sysdeps/s390/s390-64/initfini.c: Remove.
28114
df83af67
KK
281152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28116
28117 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28118 compiler output for sysdeps/generic/initfini.c.
28119 * sysdeps/sh/elf/initfini.c: Remove file.
28120
f63f3380
DM
281212012-02-16 David S. Miller <davem@davemloft.net>
28122
fb59b3a4
DM
28123 [BZ #11494]
28124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28125
f63f3380
DM
28126 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28127 * sysdeps/sparc/crti.S: New file.
28128 * sysdeps/sparc/crtn.S: New file.
28129 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28130 * sysdeps/sparc/sparc64/Makefile: Likewise.
28131
df6a4a4a
MF
281322012-02-15 Mike Frysinger <vapier@gentoo.org>
28133
6dd8f3dc 28134 [BZ #3335]
df6a4a4a
MF
28135 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28136
1cac7236
RM
281372012-02-15 Roland McGrath <roland@hack.frob.com>
28138
d2c736f8
RM
28139 [BZ #4822]
28140 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28141
1cac7236
RM
28142 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28143 (write, read, close): Likewise.
28144 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28145
8e475601
JM
281462012-02-15 Joseph Myers <joseph@codesourcery.com>
28147
28148 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28149 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28150 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28151 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28152 <bits/signalfd.h>.
28153 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28155 bits/signalfd.h.
28156
ed656b40
MP
281572012-02-14 Marek Polacek <polacek@redhat.com>
28158
28159 * sysdeps/x86_64/crti.S: New file.
28160 * sysdeps/x86_64/crtn.S: New file.
28161 * sysdeps/x86_64/elf/initfini.c: Remove file.
28162
2a979d3a
JM
281632012-02-13 Joseph Myers <joseph@codesourcery.com>
28164
28165 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28166 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28168 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28169 <bits/inotify.h>.
28170 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28172 bits/inotify.h.
28173
2a418ac3
JM
281742012-02-13 Joseph Myers <joseph@codesourcery.com>
28175
28176 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28177 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28178 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28179 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28180 <bits/eventfd.h>.
28181 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28183 bits/eventfd.h.
28184
fb779be7
TS
281852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28186
e19e83c5
RM
28187 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28188 __feraiseexcept instead of feraiseexcept.
7c35ffed 28189
fb779be7
TS
28190 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28191 nanosleep invocations.
28192 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28193 strings, and add error checking for a nanosleep invocations.
28194
59ba27a6
PE
281952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28196
28197 Replace FSF snail mail address with URLs, as per GNU coding standards.
28198 Most of the snail mail addresses were wrong anyway, and omitting
28199 them makes the source code easier to maintain. Almost all of the
28200 changes are to license notices and to locale LC_IDENTIFICATION
28201 addresses, except for this one:
28202 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28203 not its snail mail address.
28204
57b957eb
RH
282052012-02-09 Richard Henderson <rth@twiddle.net>
28206
af850b1c
RH
28207 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28208 of kernel-features.h.
28209
57b957eb
RH
28210 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28211
6b73181a
MP
282122012-02-08 Marek Polacek <polacek@redhat.com>
28213
28214 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28215 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28216 * sysdeps/gnu/_G_config.h: Likewise.
28217 * sysdeps/generic/_G_config.h: Likewise.
28218
26ecc33a
AS
282192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28220
6c6dbc63
AS
28221 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28222 tests.
28223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28224
e216c012
AS
28225 * sysdeps/powerpc/powerpc32/crti.S: New file.
28226 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28227 * sysdeps/powerpc/powerpc64/crti.S: New file.
28228 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28229
26ecc33a
AS
28230 * Makeconfig (have-initfini): Don't set.
28231 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28232 * configure.in (nopic_initfini): Don't substitute.
28233 * config.h.in (HAVE_INITFINI): Don't #undef.
28234 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28235 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28236
3add8e13
JM
282372012-02-08 Joseph Myers <joseph@codesourcery.com>
28238
28239 Support crti.S and crtn.S provided directly by architectures.
28240 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28241 [crti.S in sysdirs] (omit-deps): Likewise.
28242 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28243 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28244 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28245 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28246 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28247 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28248 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28249 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28250 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28251 compiler output for sysdeps/generic/initfini.c.
28252 * sysdeps/i386/elf/Makefile: Remove file.
28253 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28254
a22f12b4
MP
282552012-02-07 Marek Polacek <polacek@redhat.com>
28256
28257 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28258 * sysdeps/gnu/_G_config.h: Likewise.
28259 * sysdeps/mach/hurd/_G_config.h: Likewise.
28260
148cf100
MP
282612012-02-07 Marek Polacek <polacek@redhat.com>
28262
28263 * math/Makefile (tests): Add tst-CMPLX2.
28264 * math/tst-CMPLX2.c: New file.
28265
cfdc0dd7
AS
282662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28267
84ba42c4
AS
28268 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28269
cfdc0dd7
AS
28270 * math/libm-test.inc (jn_test): Add missing L suffix.
28271
622c86f4
MP
282722012-02-06 Marek Polacek <polacek@redhat.com>
28273
28274 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28275 * sysdeps/i386/fpu/e_powf.S: Likewise.
28276 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28277 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28278 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28279 * sysdeps/i386/fpu/e_pow.S: Likewise.
28280 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28282 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28283 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28284 * sysdeps/i386/fpu/e_log2.S: Likewise.
28285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28286 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28287 * sysdeps/i386/fpu/e_powl.S: Likewise.
28288 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28289 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28290 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28291 * sysdeps/i386/fpu/e_logl.S: Likewise.
28292 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28293 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28294 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28295 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28296 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28297 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28298 * sysdeps/i386/fpu/e_log.S: Likewise.
28299 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28300 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28301 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28302 * sysdeps/i386/fpu/e_logf.S: Likewise.
28303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28304 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28305 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28307 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28308 * sysdeps/i386/fpu/e_log10.S: Likewise.
28309 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28310 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28311 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28312 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28313 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28315 * sysdeps/i386/asm-syntax.h: Likewise.
28316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28318 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28319 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28320 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28321 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28322 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28323 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28324 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28325 * sysdeps/powerpc/sysdep.h: Likewise.
28326 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28327 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28328
d4a54ac6
JM
283292012-02-06 Joseph Myers <joseph@codesourcery.com>
28330
28331 [BZ #411]
28332 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28333
314054ea
JM
283342012-02-06 Joseph Myers <joseph@codesourcery.com>
28335
28336 * sysdeps/i386/sysdep.h: Include <features.h>.
28337 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28338 version.
28339
d8e0ca50
JM
283402012-02-05 Joseph Myers <joseph@codesourcery.com>
28341
28342 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28343 Define.
28344 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28345 LOAD_PIC_REG_STR.
28346
b1da7dd9
JM
283472012-02-03 Joseph Myers <joseph@codesourcery.com>
28348
28349 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28350 (SETUP_PIC_REG): Use GET_PC_THUNK.
28351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28352 macro.
28353
9a1d9254
JM
283542012-02-03 Joseph Myers <joseph@codesourcery.com>
28355
28356 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28357 for non-PIC compilation.
28358 (SETUP_PIC_REG): Add .p2align directive.
28359 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28360 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28391 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28392 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28396 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28398 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28399 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28400
65dc3b75
JM
284012012-02-03 Joseph Myers <joseph@codesourcery.com>
28402
28403 * math/tst-CMPLX.c: Include <stdio.h>.
28404
d55bf177
JM
284052012-01-31 Joseph Myers <joseph@codesourcery.com>
28406
28407 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28408 float.
28409 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28410 * sysdeps/sparc/bits/mathdef.h: Likewise.
28411
69db4f8f
MP
284122012-01-31 Marek Polacek <polacek@redhat.com>
28413
28414 * libio/libio.h: Don't define _PARAMS.
28415 * locale/programs/config.h: Don't define PARAMS.
28416 * stdlib/strtol_l.c: Likewise.
28417 (__strtol_l): Remove PARAMS from the prototype.
28418
41b81892
UD
284192012-01-31 Ulrich Drepper <drepper@gmail.com>
28420
3b49edc0
UD
28421 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28422 names. Just use the correct names. Remove unnecessary wrapper
28423 functions.
28424 * malloc/arena.c: Likewise.
28425 * malloc/hooks.c: Likewise.
28426
41b81892
UD
28427 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28428 ARENA_TEST says not to. Simplify test for creation of a new arena.
28429 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28430
27a25b6e
UD
284312012-01-30 Ulrich Drepper <drepper@gmail.com>
28432
28433 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28434 into tail calls.
28435 (update_get_addr): New function.
28436 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28437 GET_ADDR_MODULE parameter.
28438
c8a89e7d
JM
284392012-01-30 Joseph Myers <joseph@codesourcery.com>
28440
28441 * crypt/cert.c: Remove __STDC__ conditionals.
28442 * crypt/crypt-entry.c: Likewise.
28443 * crypt/crypt_util.c: Likewise.
28444 * libio/filedoalloc.c: Likewise.
28445 * libio/fileops.c: Likewise.
28446 * libio/genops.c: Likewise.
28447 * libio/iofclose.c: Likewise.
28448 * libio/iofdopen.c: Likewise.
28449 * libio/iofopen.c: Likewise.
28450 * libio/iofopen64.c: Likewise.
28451 * libio/iogetdelim.c: Likewise.
28452 * libio/iopopen.c: Likewise.
28453 * libio/obprintf.c: Likewise.
28454 * libio/oldfileops.c: Likewise.
28455 * libio/oldiofclose.c: Likewise.
28456 * libio/oldiofdopen.c: Likewise.
28457 * libio/oldiofopen.c: Likewise.
28458 * libio/oldiopopen.c: Likewise.
28459 * libio/wfiledoalloc.c: Likewise.
28460 * libio/wgenops.c: Likewise.
28461 * locale/programs/xmalloc.c: Likewise.
28462 * misc/syslog.c: Likewise.
28463 * stdio-common/xbug.c: Likewise.
28464 * string/memchr.c: Likewise.
28465 * string/memcmp.c: Likewise.
28466 * string/memrchr.c: Likewise.
28467 * string/rawmemchr.c: Likewise.
28468 * sysdeps/posix/getcwd.c: Likewise.
28469 * time/strftime_l.c: Likewise.
28470
3b100462
JM
284712012-01-30 Joseph Myers <joseph@codesourcery.com>
28472
28473 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28474 * config.make.in (config-cflags-sse2avx): Define.
28475 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28476 Fix typo.
28477
607998af
CM
284782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28479
28480 * scripts/config.guess: Update from upstream config git repository.
28481 * scripts/config.sub: Likewise.
28482
3601428f
CM
284832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28484
3ac8b282
CM
28485 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28486 (EM_NUM): Update.
28487 (R_TILEPRO_*, R_TILEGX_*): New macros.
28488
e034841e
CM
28489 * scripts/firstversions.awk: Fix bug in version range handling.
28490
540d7568
CM
28491 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28492
3601428f
CM
28493 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28494
463de862
CM
28495 * include/sys/epoll.h: New file.
28496 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28497 libc_hidden_def.
28498
73139a76
UD
284992012-01-28 Ulrich Drepper <drepper@gmail.com>
28500
96bc5b45
UD
28501 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28502 Avoid unnecessary __WORDSIZE == 64 test.
28503 (fmaxf): Use VEX format if possible.
28504 (fmax): Likewise.
28505 (fminf): Likewise.
28506 (fmin): Likewise.
28507
56f6f6a2
UD
28508 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28509 * math/math_private.h: Remove libc_fegetround* and
28510 libc_fesetround*.
28511 * sysdeps/i386/configure.in: Check for -msse2avx.
28512 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28513 also if SSE2AVX is defined.
28514 Remove libc_fegetround* and libc_fesetround*.
28515 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28516 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28517 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28518 of HAS_YMM_USABLE.
28519 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28520 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28521 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28523 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28524
73139a76
UD
28525 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28526
d73f93a4
AZ
285272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28528
28529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28530 size is not set.
28531 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28532
6ee65ed6
UD
285332012-01-27 Ulrich Drepper <drepper@gmail.com>
28534
28535 [BZ #13618]
28536 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28537 relocation.
28538 * Makeconfig (libm): Define.
28539 * elf/Makefile: Add rules to build and run tst-relsort1.
28540 * elf/tst-relsort1.c: New file.
28541 * elf/tst-relsort1mod1.c: New file.
28542 * elf/tst-relsort1mod2.c: New file.
28543
8db21882
JM
285442012-01-27 Joseph Myers <joseph@codesourcery.com>
28545
28546 * math/s_ldexp.c: Remove __STDC__ conditionals.
28547 * math/s_ldexpf.c: Likewise.
28548 * math/s_ldexpl.c: Likewise.
28549 * math/s_nextafter.c: Likewise.
28550 * math/s_nexttowardf.c: Likewise.
28551 * math/s_significand.c: Likewise.
28552 * math/s_significandf.c: Likewise.
28553 * math/s_significandl.c: Likewise.
28554 * math/w_jnl.c: Likewise.
28555 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28556 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28557 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28558 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28559 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28576 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28577 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28579 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28580 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28584 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28589 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28590 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28592 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28593 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28594 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28595 * sysdeps/ieee754/k_standard.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28671 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28675 * sysdeps/ieee754/s_matherr.c: Likewise.
28676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28680
965a54a4
JM
286812012-01-26 Joseph Myers <joseph@codesourcery.com>
28682
28683 * crypt/md5.h: Remove __STDC__ conditionals.
28684 * libio/libioP.h: Likewise.
28685 * locale/programs/config.h: Likewise.
28686 * sysdeps/generic/sysdep.h: Likewise.
28687 * sysdeps/i386/asm-syntax.h: Likewise.
28688 * sysdeps/s390/asm-syntax.h: Likewise.
28689 * sysdeps/unix/sysdep.h: Likewise.
28690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28692
7071ad79
JM
286932012-01-26 Joseph Myers <joseph@codesourcery.com>
28694
28695 * libio/libio.h: Remove __STDC__ conditionals.
28696 * malloc/obstack.h: Likewise.
28697 * math/complex.h: Likewise.
28698 * math/math.h: Likewise.
28699 * sysdeps/generic/_G_config.h: Likewise.
28700 * sysdeps/gnu/_G_config.h: Likewise.
28701 * sysdeps/mach/hurd/_G_config.h: Likewise.
28702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28703 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28704 * sysdeps/sparc/bits/mathdef.h: Likewise.
28705
afc5ed09
UD
287062012-01-26 Ulrich Drepper <drepper@gmail.com>
28707
28708 [BZ #13583]
28709 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28710 Clean up HAS_* macros.
afc5ed09 28711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28712 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28713 possible.
28714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28715 HAS_AVX.
28716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28721
bdb6de1d
JM
287222012-01-25 Joseph Myers <joseph@codesourcery.com>
28723
28724 * elf/tst-unique3.cc (gets): Remove declaration.
28725 * elf/tst-unique3lib.cc (gets): Likewise.
28726 * elf/tst-unique3lib2.cc (gets): Likewise.
28727 * elf/tst-unique4.cc (gets): Likewise.
28728
b15549e6
UD
287292012-01-24 Ulrich Drepper <drepper@gmail.com>
28730
28731 * include/stdio.h: Add C++ protection. Add gets declarations and
28732 definitions.
28733 * debug/tst-chk1.c: Don't declare gets here.
28734 * stdio-common/tst-gets.c: Likewise.
28735
a037381f
JM
287362012-01-24 Joseph Myers <joseph@codesourcery.com>
28737
28738 * posix/glob: Remove directory.
28739
f1d4aa75
JM
287402012-01-24 Joseph Myers <joseph@codesourcery.com>
28741
28742 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28743
81c0c964
PT
287442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28745
28746 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28747 of the non-standard EPFNOSUPPORT.
28748
0ea698ae
ST
287492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28750
28751 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28752 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28753 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28754
d220b117
UD
287552012-01-21 Ulrich Drepper <drepper@gmail.com>
28756
28757 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28758
3e1aa84e
UD
287592012-01-20 Ulrich Drepper <drepper@gmail.com>
28760
28761 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28762 transient errors.
28763 * nscd/grpcache.c (cache_addgr): Likewise.
28764 * nscd/hstcache.c (cache_addhst): Likewise.
28765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28766 * nscd/pwdcache.c (cache_addpw): Likewise.
28767 * nscd/servicescache.c (cache_addserv): Likewise.
28768
400aa020
UD
287692012-01-16 Ulrich Drepper <drepper@gmail.com>
28770
d77e7869
UD
28771 * malloc/malloc.c: Various cleanups.
28772 * malloc/hooks.c: Likewise.
28773
400aa020
UD
28774 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28775 * stdlib/bug-fmtmsg1.c: New file.
28776
28777 * stdlib/fmtmsg.c (init): Add missing unlock.
28778 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28779
e0a309cf
MP
287802012-01-12 Marek Polacek <polacek@redhat.com>
28781
28782 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28783 and _GNU_SOURCE.
28784
929d11c7
WS
287852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28786
28787 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28789 macro to ensure uniqueness of label name.
28790 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28791 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28792
41d0e869
UD
287932012-01-11 Ulrich Drepper <drepper@gmail.com>
28794
0cc5ed3b
UD
28795 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28796
41d0e869
UD
28797 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28798 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28801
a47a831a
UD
288022012-01-10 Ulrich Drepper <drepper@gmail.com>
28803
daa891c0
UD
28804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28805
28806 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28807 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28808 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28809
e58ef0f2
UD
28810 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28811
a47a831a 28812 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28813 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28814 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28816
28817 * math/bits/math-finite.h: Add ldexp support.
28818
a0bfc9c7
MP
288192012-01-10 Marek Polacek <polacek@redhat.com>
28820
28821 * locale/programs/localedef.h (show_archive_content): Add noreturn
28822 attribute.
28823
d6e97a1d
UD
288242012-01-09 Ulrich Drepper <drepper@gmail.com>
28825
28826 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28827
d5835c26
UD
288282012-01-08 Ulrich Drepper <drepper@gmail.com>
28829
e5f484c6
UD
28830 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28831
d5835c26
UD
28832 * io/Makefile (headers): Add bits/poll2.h.
28833
d1f741e9
WS
288342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28835
28836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28837 typo #include statement.
28838
ec09c1c4
UD
288392012-01-08 Ulrich Drepper <drepper@gmail.com>
28840
28841 * include/sys/cdefs.h: Define __attribute_alloc_size.
28842 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28843 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28844 * elf/pldd.c: Likewise.
28845 * iconv/iconv_charmap.c: Likewise.
28846 * iconv/iconvconfig.c: Likewise.
28847 * iconv/strtab.c: Likewise.
28848 * locale/programs/locale.c: Likewise.
28849 * locale/programs/localedef.h: Likewise.
28850 * locale/programs/simple-hash.c: Likewise.
28851 * nscd/nscd.h: Likewise.
28852 * nss/makedb.c: Likewise.
28853 * sysdeps/generic/ldconfig.h: Likewise.
28854 * locale/programs/localedef.c: Remove xmalloc prototype.
28855 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28856
20b38e03
PP
288572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28858
28859 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28860 appropriate.
28861
a0da5fe1
UD
288622012-01-08 Ulrich Drepper <drepper@gmail.com>
28863
1d5a644a 28864 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28865 * math/tst-CMPLX.c: New file.
1d5a644a 28866
8784a6db
UD
28867 * math/complex.h (CMPLXL): Fix typo.
28868
d9a216c0
UD
28869 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28870 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28871 GLIBC_2.16.
28872 * debug/tst-chk1.c: Add poll and ppoll tests.
28873 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28874 * include/sys/poll.h: Add hidden proto for ppoll.
28875 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28876 * sysdeps/mach/hurd/ppoll.c: Likewise.
28877 * io/ppoll.c: Likewise.
28878 * debug/poll_chk.c: New file.
28879 * debug/ppoll_chk.c: New file.
28880 * include/bits/poll2.h: New file.
28881 * io/bits/poll2.h: New file.
28882
ac097f5c
UD
28883 [BZ #1350]
28884 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28885
2119dcfa
UD
28886 * configure.in: static is always set to yes. Remove.
28887 * config.make.in: Don't set build-static.
28888 * Makeconfig: Remove use of build-static.
28889 * dlfcn/Makefile: Likewise.
28890 * elf/Makefile: Likewise.
28891 * math/Makefile: Likewise.
28892 * misc/Makefile: Likewise.
28893 * nptl/Makefile: Likewise.
28894 * sysdeps/mach/hurd/Makefile: Likewise.
28895
121766a9
UD
28896 * configure.in: PWD_P is not used anymore.
28897 * config.make.in: Remove PWD_P entry.
28898
51a1d39c 28899 * configure.in: Remove last remnants of RANLIB.
8720d066 28900 No need to check for signed size_t anymore.
215f4bdc
UD
28901 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28902 and IA-64.
3857022a 28903 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28904 * aclocal.m4: Likewise.
28905
d3ed7225
UD
28906 * wcsmbs/mbrtoc16.c: Implement using towc function.
28907 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28908 * wcsmbs/wcsmbsload.c: Likewise.
28909 * iconv/gconv_simple.c: Likewise.
28910 * iconv/gconv_int.h: Likewise.
28911 * iconv/gconv_builtin.h: Likewise.
28912 * iconv/iconv_prog.c: Remove CHAR16 handling.
28913
28914 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28915
28916 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28917
a0da5fe1
UD
28918 * configure.in: Remove --with-elf and --enable-bounded options.
28919 Dont set base_machine for ia64. More non-ELF conditions removed.
28920 Remove testing and setting of leading underscore information.
28921 * config.make.in (build-bounded): Set to no.
28922 * config.h.in: Remove NO_UNDERSCORES entry.
28923 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28924 them.
28925 * csu/start.c: Remove !NO_UNDERSCORE code.
28926 * locale/localeinfo.h: Likewise.
28927 * sysdeps/generic/machine-gmon.h: Likewise.
28928 * sysdeps/generic/sysdep.h: Likewise.
28929 * sysdeps/i386/sysdep.h: Likewise.
28930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28931 * sysdeps/mach/sysdep.h: Likewise.
28932 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28933 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28934 * sysdeps/sh/sysdep.h: Likewise.
28935 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28936 * sysdeps/unix/i386/sysdep.S: Likewise.
28937 * sysdeps/unix/sparc/start.c: Likewise.
28938 * sysdeps/unix/sparc/sysdep.S: Likewise.
28939 * sysdeps/unix/sparc/sysdep.h: Likewise.
28940 * sysdeps/unix/start.c: Likewise.
28941 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28942 * sysdeps/x86_64/sysdep.h: Likewise.
28943
df78418a
UD
289442012-01-07 Ulrich Drepper <drepper@gmail.com>
28945
a784e502
UD
28946 [BZ #13553]
28947 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28948 for non-gcc.
28949 * argp/argp-fmtstream.h: Use const instead __const.
28950 * argp/argp.h: Likewise.
28951 * assert/assert.h: Likewise.
28952 * bits/fenv.h: Likewise.
28953 * bits/sched.h: Likewise.
28954 * bits/sigset.h: Likewise.
28955 * bits/sigthread.h: Likewise.
28956 * catgets/nl_types.h: Likewise.
28957 * conform/data/pthread.h-data: Likewise.
28958 * crypt/crypt-private.h: Likewise.
28959 * crypt/crypt.h: Likewise.
28960 * crypt/crypt_util.c: Likewise.
28961 * ctype/ctype.h: Likewise.
28962 * debug/execinfo.h: Likewise.
28963 * debug/mbsnrtowcs_chk.c: Likewise.
28964 * debug/mbsrtowcs_chk.c: Likewise.
28965 * debug/wcsnrtombs_chk.c: Likewise.
28966 * debug/wcsrtombs_chk.c: Likewise.
28967 * debug/wcstombs_chk.c: Likewise.
28968 * dirent/dirent.h: Likewise.
28969 * dlfcn/dlfcn.h: Likewise.
28970 * elf/neededtest4.c: Likewise.
28971 * grp/grp.h: Likewise.
28972 * gshadow/gshadow.h: Likewise.
28973 * iconv/gconv.h: Likewise.
28974 * iconv/gconv_int.h: Likewise.
28975 * iconv/gconv_simple.c: Likewise.
28976 * iconv/iconv.h: Likewise.
28977 * iconv/loop.c: Likewise.
28978 * iconv/skeleton.c: Likewise.
28979 * include/aio.h: Likewise.
28980 * include/aliases.h: Likewise.
28981 * include/argz.h: Likewise.
28982 * include/arpa/inet.h: Likewise.
28983 * include/assert.h: Likewise.
28984 * include/dirent.h: Likewise.
28985 * include/dlfcn.h: Likewise.
28986 * include/execinfo.h: Likewise.
28987 * include/fcntl.h: Likewise.
28988 * include/fenv.h: Likewise.
28989 * include/glob.h: Likewise.
28990 * include/grp.h: Likewise.
28991 * include/libintl.h: Likewise.
28992 * include/mntent.h: Likewise.
28993 * include/netdb.h: Likewise.
28994 * include/pwd.h: Likewise.
28995 * include/rpc/netdb.h: Likewise.
28996 * include/sched.h: Likewise.
28997 * include/search.h: Likewise.
28998 * include/shadow.h: Likewise.
28999 * include/signal.h: Likewise.
29000 * include/stdio.h: Likewise.
29001 * include/stdlib.h: Likewise.
29002 * include/string.h: Likewise.
29003 * include/sys/socket.h: Likewise.
29004 * include/sys/stat.h: Likewise.
29005 * include/sys/statfs.h: Likewise.
29006 * include/sys/statvfs.h: Likewise.
29007 * include/sys/syslog.h: Likewise.
29008 * include/sys/time.h: Likewise.
29009 * include/sys/uio.h: Likewise.
29010 * include/time.h: Likewise.
29011 * include/unistd.h: Likewise.
29012 * include/utmp.h: Likewise.
29013 * include/wchar.h: Likewise.
29014 * include/wctype.h: Likewise.
29015 * inet/aliases.h: Likewise.
29016 * inet/arpa/inet.h: Likewise.
29017 * inet/netinet/ether.h: Likewise.
29018 * inet/netinet/in.h: Likewise.
29019 * intl/libintl.h: Likewise.
29020 * io/bits/fcntl2.h: Likewise.
29021 * io/fcntl.h: Likewise.
29022 * io/ftw.h: Likewise.
29023 * io/sys/poll.h: Likewise.
29024 * io/sys/stat.h: Likewise.
29025 * io/sys/statfs.h: Likewise.
29026 * io/sys/statvfs.h: Likewise.
29027 * io/utime.h: Likewise.
29028 * libio/bits/stdio.h: Likewise.
29029 * libio/bits/stdio2.h: Likewise.
29030 * libio/libio.h: Likewise.
29031 * libio/libioP.h: Likewise.
29032 * libio/stdio.h: Likewise.
29033 * locale/lc-ctype.c: Likewise.
29034 * locale/locale.h: Likewise.
29035 * login/utmp.h: Likewise.
29036 * malloc/arena.c: Likewise.
29037 * malloc/malloc.c: Likewise.
29038 * malloc/malloc.h: Likewise.
29039 * malloc/mcheck.c: Likewise.
29040 * malloc/mtrace.c: Likewise.
29041 * math/bits/mathcalls.h: Likewise.
29042 * math/fenv.h: Likewise.
29043 * math/math_private.h: Likewise.
29044 * misc/bits/error.h: Likewise.
29045 * misc/bits/syslog.h: Likewise.
29046 * misc/err.h: Likewise.
29047 * misc/error.h: Likewise.
29048 * misc/fstab.h: Likewise.
29049 * misc/mntent.h: Likewise.
29050 * misc/regexp.h: Likewise.
29051 * misc/search.h: Likewise.
29052 * misc/sgtty.h: Likewise.
29053 * misc/sys/mman.h: Likewise.
29054 * misc/sys/syslog.h: Likewise.
29055 * misc/sys/uio.h: Likewise.
29056 * misc/sys/xattr.h: Likewise.
29057 * misc/ttyent.h: Likewise.
29058 * nis/rpcsvc/ypclnt.h: Likewise.
29059 * nss/nss.h: Likewise.
29060 * posix/bits/unistd.h: Likewise.
29061 * posix/fnmatch.h: Likewise.
29062 * posix/glob.h: Likewise.
29063 * posix/sched.h: Likewise.
29064 * posix/spawn.h: Likewise.
29065 * posix/sys/wait.h: Likewise.
29066 * posix/unistd.h: Likewise.
29067 * posix/wordexp.h: Likewise.
29068 * pwd/pwd.h: Likewise.
29069 * resolv/netdb.h: Likewise.
29070 * resource/sys/resource.h: Likewise.
29071 * rt/aio.h: Likewise.
29072 * rt/bits/mqueue2.h: Likewise.
29073 * rt/mqueue.h: Likewise.
29074 * shadow/shadow.h: Likewise.
29075 * signal/signal.h: Likewise.
29076 * socket/send.c: Likewise.
29077 * socket/sendto.c: Likewise.
29078 * socket/sys/socket.h: Likewise.
29079 * stdio-common/printf.h: Likewise.
29080 * stdlib/bits/stdlib.h: Likewise.
29081 * stdlib/fmtmsg.h: Likewise.
29082 * stdlib/monetary.h: Likewise.
29083 * stdlib/stdlib.h: Likewise.
29084 * stdlib/ucontext.h: Likewise.
29085 * streams/stropts.h: Likewise.
29086 * string/argz.h: Likewise.
29087 * string/bits/string2.h: Likewise.
29088 * string/string.h: Likewise.
29089 * string/strings.h: Likewise.
29090 * sunrpc/rpc/auth.h: Likewise.
29091 * sunrpc/rpc/auth_des.h: Likewise.
29092 * sunrpc/rpc/clnt.h: Likewise.
29093 * sunrpc/rpc/netdb.h: Likewise.
29094 * sunrpc/rpc/pmap_clnt.h: Likewise.
29095 * sunrpc/rpc/xdr.h: Likewise.
29096 * sysdeps/generic/inttypes.h: Likewise.
29097 * sysdeps/generic/net/if.h: Likewise.
29098 * sysdeps/generic/sys/swap.h: Likewise.
29099 * sysdeps/gnu/net/if.h: Likewise.
29100 * sysdeps/gnu/utmpx.h: Likewise.
29101 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29102 * sysdeps/i386/i486/bits/string.h: Likewise.
29103 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29104 * sysdeps/s390/bits/string.h: Likewise.
29105 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29106 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29107 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29108 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29109 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29110 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29111 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29112 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29113 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29114 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29115 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29116 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29117 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29118 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29119 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29121 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29123 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29124 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29126 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29127 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29128 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29129 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29130 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29131 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29133 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29135 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29136 * sysvipc/sys/ipc.h: Likewise.
29137 * sysvipc/sys/msg.h: Likewise.
29138 * sysvipc/sys/sem.h: Likewise.
29139 * sysvipc/sys/shm.h: Likewise.
29140 * termios/termios.h: Likewise.
29141 * time/sys/time.h: Likewise.
29142 * time/time.h: Likewise.
29143 * wcsmbs/bits/wchar2.h: Likewise.
29144 * wcsmbs/uchar.h: Likewise.
29145 * wcsmbs/wchar.h: Likewise.
29146 * wctype/wctype.h: Likewise.
29147
0269750c
UD
29148 [BZ #13551]
29149 * Makeconfig: Remove all but ELF support including AIX support.
29150 * Makerules: Likewise.
29151 * config.h.in: Likewise.
29152 * config.make.in: Likewise.
29153 * configure: Likewise.
29154 * configure.in: Likewise.
29155 * csu/Makefile: Likewise.
29156 * csu/version.c: Likewise.
29157 * debug/Makefile: Likewise.
29158 * dlfcn/Makefile: Likewise.
29159 * elf/Makefile: Likewise.
29160 * extra-lib.mk: Likewise.
29161 * iconv/Makefile: Likewise.
29162 * include/libc-symbols.h: Likewise.
29163 * include/shlib-compat.h: Likewise.
29164 * resolv/Makefile: Likewise.
29165 * resolv/res_libc.c: Likewise.
29166 * rt/Makefile: Likewise.
29167 * sysdeps/i386/asm-syntax.h: Likewise.
29168 * sysdeps/i386/sysdep.h: Likewise.
29169 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29170 * sysdeps/mach/sysdep.h: Likewise.
29171 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29172 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29173 * sysdeps/s390/asm-syntax.h: Likewise.
29174 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29175 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29176 * sysdeps/sh/sysdep.h: Likewise.
29177 * sysdeps/unix/sparc/sysdep.h: Likewise.
29178 * sysdeps/wordsize-32/divdi3.c: Likewise.
29179 * sysdeps/x86_64/sysdep.h: Likewise.
29180
00bbd29b
UD
29181 * argp/Versions: Remove _argp_unlock_xxx.
29182
29183 [BZ #13559]
29184 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29185 * abilist/libBrokenLocale.abilist: Likewise.
29186 * abilist/libanl.abilist: Likewise.
29187 * abilist/libc.abilist: Likewise.
29188 * abilist/libcrypt.abilist: Likewise.
29189 * abilist/libdl.abilist: Likewise.
29190 * abilist/libm.abilist: Likewise.
29191 * abilist/libnsl.abilist: Likewise.
29192 * abilist/libpthread.abilist: Likewise.
29193 * abilist/libresolv.abilist: Likewise.
29194 * abilist/librt.abilist: Likewise.
29195 * abilist/libthread_db.abilist: Likewise.
29196 * abilist/libutil.abilist: Likewise.
29197 * abilist/libnss_db.abilist: New file.
29198
29199 * scripts/abilist.awk: Add support for indirect functions.
29200
a2693a0e
UD
29201 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29202
3f05895f
UD
29203 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29204
ecb6fb48
UD
29205 * shlib-versions: Remove entries for ports architectures.
29206
664f8cb9
UD
29207 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29208 files in ports.
29209 * elf/stackguard-macros.h: Remove support for IA-64.
29210 * elf/tst-auditmod1.c: Likewise.
29211 * sysdeps/generic/ldsodefs.h: Likewise.
29212
7ae81d88
UD
29213 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29214 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29215 configure files.
29216
bdeba135
UD
29217 [BZ #13552]
29218 * configure.in: Remove --enable-omitfp support.
29219 * FAQ.in: Adjust.
29220 * config.make.in: Likewise.
29221 * Makeconfig: Likewise.
29222 * manual/install.texi: Likewise.
29223
d75a0a62
UD
29224 In case anyone cares, the IA-64 architecture could move to ports.
29225 * sysdeps/ia64/*: Removed.
29226 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29227 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29228
dcc9756b
UD
29229 [BZ #13555]
29230 * configure.in: Remove entries for unsupported architectures.
29231
d3761ebc 29232 [BZ #13533]
9954432e
UD
29233 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29234 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29235 routines.
29236 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29237 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29238 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29239 fall back to using wcrtomb.
29240 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29241 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29242 renaming.
29243 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29244 * wcsmbs/tst-c16c32-1.c: New file.
29245
29246 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29247 local variable.
29248
c3a87236
UD
29249 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29250
28926a1b
UD
29251 * elf/tst-unique3.cc: Add explicit declaration of gets.
29252 * elf/tst-unique3lib.cc: Likewise.
29253 * elf/tst-unique3lib2.cc: Likewise.
29254 * elf/tst-unique4.cc: Likewise.
29255
df78418a
UD
29256 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29257
8ecd6b2a
JM
292582012-01-06 Joseph Myers <joseph@codesourcery.com>
29259
29260 [BZ #13566]
29261 * assert/assert.h (static_assert): Don't define for C++.
29262 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29263 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29264
9f115170
UD
292652012-01-03 Ulrich Drepper <drepper@gmail.com>
29266
5e0d0300
UD
29267 * iconv/loop.c (single loop): Fix assertion in storing of
29268 remaining bytes.
29269
9f115170
UD
29270 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29271
81fb02b0
UD
292722012-01-01 Ulrich Drepper <drepper@gmail.com>
29273
29274 * posix/getconf.c: Update copyright year.
29275 * nss/getent.c: Likewise.
a316c1f6 29276 * nss/makedb.c: Likewise.
81fb02b0
UD
29277 * iconv/iconvconfig.c: Likewise.
29278 * iconv/iconv_prog.c: Likewise.
29279 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29280 * elf/pldd.c: Likewise.
29281 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29282 * catgets/gencat.c: Likewise.
29283 * csu/version.c: Likewise.
29284 * elf/ldd.bash.in: Likewise.
29285 * elf/sprof.c (print_version): Likewise.
29286 * locale/programs/locale.c: Likewise.
29287 * locale/programs/localedef.c: Likewise.
a316c1f6 29288 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29289 * nscd/nscd.c (print_version): Likewise.
29290 * debug/xtrace.sh: Likewise.
29291 * malloc/memusage.sh: Likewise.
29292 * malloc/mtrace.pl: Likewise.
29293 * debug/catchsegv.sh: Likewise.
29294
2ba92745
JJ
292952011-12-30 Jakub Jelinek <jakub@redhat.com>
29296
29297 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29298 pure attribute.
29299
dadebdae
UD
293002011-12-24 Ulrich Drepper <drepper@gmail.com>
29301
d3761ebc 29302 [BZ #13533]
db6af3eb
UD
29303 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29304 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29305 transformations.
29306 * iconv/gconv_int.h: Likewise.
29307 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29308 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29309 from libc for GLIBC_2.16.
29310 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29311 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29312 * wcsmbs/uchar.h: Really define mbstate_t.
29313 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29314 * wcsmbs/c16rtomb.c: New file.
29315 * wcsmbs/mbrtoc16.c: New file.
29316 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29317 for C/POSIX locale.
29318 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29319 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29320
dadebdae
UD
29321 * wcsmbs/wchar.h: Add missing __restrict.
29322
67371b56
UD
293232011-12-23 Ulrich Drepper <drepper@gmail.com>
29324
74033a25
UD
29325 [BZ #13532]
29326 * time/Makefile (routines): Add timespec_get.
29327 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29328 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29329 timespec for ISO C11.
29330 * time/timespec_get.c: New file.
29331 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29332 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29333
380d7e87
UD
29334 [BZ #13531]
29335 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29336 * stdlib/stdlib.h: Declare aligned_alloc.
29337 * Versions.def: Add GLIBC_2.16 for libc.
29338 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29339
4e9e7a35
UD
29340 [BZ 13527]
29341 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29342 ISO C11.
29343
380d7e87 29344 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29345 code.
29346
03a71829
UD
29347 [BZ #13528]
29348 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29349
839e283e
UD
29350 [BZ #13529]
29351 * assert/assert.h (static_assert): Define.
29352
ce5294e2 29353 * version.h: Update for 2.16 development version.
90fa7312 29354
8d44e150 29355 [BZ #13526]
d7809905
UD
29356 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29357 _ISOC11_SOURCE.
29358
c0da14cd
UD
29359 * version.h (RELEASE): Bump for 2.15 release.
29360 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29361
530a3249
MP
29362 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29363 Patch by Marek Polacek <mpolacek@redhat.com>.
29364
67371b56
UD
29365 * bits/byteswap.h: Protect long long constants with __extension__.
29366 * sysdeps/i386/bits/byteswap.h: Likewise.
29367 * sysdeps/ia64/bits/byteswap.h: Likewise.
29368 * sysdeps/s390/bits/byteswap.h: Likewise.
29369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29370
15db4de1
LD
293712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29372
29373 [BZ #13540]
bbe315ea
LD
29374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29375 destination buffer.
15db4de1
LD
29376 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29377
2b2596b1
MP
293782011-12-23 Marek Polacek <polacek@redhat.com>
29379
29380 * elf/dl-addr.c (determine_info): Add inline keyword.
29381 * elf/tst-auditmod4b.c (check_avx): Likewise.
29382 * elf/tst-auditmod6b.c (check_avx): Likewise.
29383 * elf/tst-auditmod6c.c (check_avx): Likewise.
29384 * elf/tst-auditmod7b.c (check_avx): Likewise.
29385
70c6c246
UD
293862011-12-23 Ulrich Drepper <drepper@gmail.com>
29387
29388 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29389 !__SSE_MATH__.
29390
c044cf14
LD
293912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29392
15db4de1 29393 [BZ #13540]
c044cf14
LD
29394 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29395 processing for last bytes.
29396
6b13d9d9
BH
293972011-08-06 Bruno Haible <bruno@clisp.org>
29398
d455f537
BH
29399 [BZ #13061]
29400 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29401 U+0385, not to U+1FEE.
29402
6b13d9d9
BH
29403 [BZ #13062]
29404 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29405 entry for U+00A5 U+0301.
29406
db910efd
UD
294072011-12-22 Ulrich Drepper <drepper@gmail.com>
29408
27deeafc
UD
29409 [BZ #13166]
29410 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29411 buffer for the output is too small.
29412
aed9d171
UD
29413 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29414 optimization.
29415
db910efd
UD
29416 [BZ #13185]
29417 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29418 SSE flags if possible.
29419
2bd779ae
LD
294202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29421
e7f9dac3 29422 [BZ #13540]
2bd779ae
LD
29423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29424 processing for last bytes.
29425
154bfc16
JM
294262011-12-22 Joseph Myers <joseph@codesourcery.com>
29427
29428 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29429 (syscall-list-default-options, syscall-list-default-condition)
29430 (syscall-list-includes): Define.
29431 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29432 list of ABIs and options and #if conditions for each ABI. Do not
29433 handle common syscalls between ABIs specially.
29434 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
29440 (syscall-list-variants, syscall-list-32bit-options)
29441 (syscall-list-32bit-condition, syscall-list-64bit-options)
29442 (syscall-list-64bit-condition): Define.
29443 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29444 Remove.
29445 (syscall-list-variants, syscall-list-32bit-options)
29446 (syscall-list-32bit-condition, syscall-list-64bit-options)
29447 (syscall-list-64bit-condition): Define.
29448 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29449 Remove.
29450 (syscall-list-variants, syscall-list-32bit-options)
29451 (syscall-list-32bit-condition, syscall-list-64bit-options)
29452 (syscall-list-64bit-condition): Define.
29453
21eaf3a5
UD
294542011-12-22 Ulrich Drepper <drepper@gmail.com>
29455
16c6f992
UD
29456 * locale/iso-639.def: Add brx entry.
29457
41043168
UD
29458 [BZ #13328]
29459 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29460 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29461
21eaf3a5
UD
29462 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29463 __feraiseexcept_renamed.
29464
e3a851a2
UD
294652011-12-21 Ulrich Drepper <drepper@gmail.com>
29466
4920765e
UD
29467 [BZ #13538]
29468 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29469 EPOLLET with unsigned values.
29470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29472
e3a851a2
UD
29473 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29474 to large cancellation.
29475 * math/s_cacoshf.c: Likewise.
29476 * math/s_cacoshl.c: Likewise.
29477
b27e24b8
RK
294782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29479
29480 [BZ #13305]
aebefeee 29481 [BZ #12786]
b27e24b8
RK
29482 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29483 * math/s_cacoshf.c: Likewise.
29484 * math/s_cacoshl.c: Likewise.
29485
ee190f67
UD
294862011-12-21 Ulrich Drepper <drepper@gmail.com>
29487
29488 [BZ #13439]
29489 * iconv/gconv.h: Define __GCONV_SWAP.
29490 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29491 * iconvdata/utf-16.c: Likewise.
29492 * iconvdata/utf-32.c: Likewise.
29493
707f25df
AS
294942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29495
29496 [BZ #13524]
29497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29498 numerator after shifting it by one limb.
29499
d2daaa1e
RÁE
295002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29501
29502 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29503 under [__USE_EXTERN_INLINES].
29504
a4647e72
UD
295052011-12-17 Ulrich Drepper <drepper@gmail.com>
29506
29507 [BZ #13446]
29508 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29509
f0b264f1
AZ
295102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29511
29512 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29513 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29514 optimized code.
29515 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29516 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29517 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29518 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29519 for strncasecmp/strncasecmp_l compilation.
29520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29521 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29522
8ef4f244
MP
295232011-12-08 Marek Polacek <mpolacek@redhat.com>
29524
29525 [BZ #13484]
29526 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29527 of __asm__.
29528
97ac2654
UD
295292011-12-17 Ulrich Drepper <drepper@gmail.com>
29530
29531 [BZ #13506]
29532 * time/tzfile.c (__tzfile_read): Check values from file header.
29533
91d2a845
WS
295342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29535
29536 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29537 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29538 * powerpc/powerpc32/dl-start.S: Likewise.
29539 * powerpc/powerpc32/elf/start.S: Likewise.
29540 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29541 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29542 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29543 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29544 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29545 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29546 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29547 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29548 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29549 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29550 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29551 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29552 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29553 * powerpc/powerpc32/memset.S: Likewise.
29554 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29555 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29556 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29557 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29558 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29559 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29560 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29561 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29562 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29563 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29564 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29565 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29566 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29567
a1267ba1
AZ
295682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29569
29570 * math/libm-test.inc: Added more nearbyint tests.
29571 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29572 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29575
ad8ac1bd
RL
295762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29577
29578 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29579 FD_CLOEXEC.
29580
1d3e4b61
UD
295812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29582
29583 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29584 Add wcscpy-ssse3 wcscpy-c.
29585 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29586 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29587 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29588 * sysdeps/x86_64/wcschr.S: New file.
29589 * sysdeps/x86_64/wcsrchr.S: New file.
29590 * string/test-strcmp.c: Remove checking of wcscmp function for
29591 wrong alignments.
29592 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29593 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29594 wcsrchr-sse2 wcsrchr-c.
29595 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29596 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29597 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29598 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29599 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29600 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29601 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29602 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29603 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29604 * wcsmbc/wcschr.c (WCSCHR): New macro.
29605
5b330a2d
UD
296062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29607
29608 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29609 * wcsmbs/test-wcsrchr.c: New file.
29610 * string/test-strrchr.c: Add wcsrchr support.
29611 (WIDE): New macro.
29612 * wcsmbs/test-wcscpy.c: New file.
29613 * string/test-strcpy.c: Add wcscpy support.
29614 (WIDE): New macro.
26428b7c 29615
f039c043
UD
296162011-12-10 Ulrich Drepper <drepper@gmail.com>
29617
29618 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29619 the inner loop.
29620
850fb039
AS
296212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29622
29623 [BZ #13472]
29624 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29625
4efbd5cb
UD
296262011-12-04 Ulrich Drepper <drepper@gmail.com>
29627
52ff5dd0 29628 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29629 Minor optimizations.
52ff5dd0 29630
4efbd5cb
UD
29631 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29632 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29633 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29634
8a426e12
UD
296352011-12-03 Ulrich Drepper <drepper@gmail.com>
29636
aff2453d
UD
29637 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29638 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29639 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29640 for gcc to avoid warnings.
29641 * inet/Makefile (tests): Add tst-checks.
29642 * inet/tst-checks.c: New file.
29643
29644 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29645 warning.
29646
29647 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29648 __wmemcmp_sse2.
29649
29650 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29651 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29652
8a426e12
UD
29653 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29654
9bea3473
UD
296552011-12-02 Ulrich Drepper <drepper@gmail.com>
29656
3a965496
UD
29657 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29658 problem.
29659
9bea3473
UD
29660 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29661
f101631b
UD
296622011-11-29 Joseph Myers <joseph@codesourcery.com>
29663
29664 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29665 conditional on GCC version.
29666 (__arch_compare_and_exchange_val_8_acq)
29667 (__arch_compare_and_exchange_val_16_acq)
29668 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29669 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29670 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29671
a98275aa
UD
296722011-12-02 Joseph Myers <joseph@codesourcery.com>
29673
29674 * sysdeps/sh/backtrace.c: New file.
29675
d4cc29a2
AS
296762011-12-02 Andreas Schwab <schwab@redhat.com>
29677
29678 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29679 parenthesis.
29680
6257af2d
AS
296812011-12-01 Andreas Schwab <schwab@redhat.com>
29682
29683 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29684 falling back to utime.
29685
b5f44c1a
AS
296862011-11-30 Andreas Schwab <schwab@redhat.com>
29687
29688 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29689 expectations for float.
29690
f3a6cc0a
AS
296912011-11-29 Andreas Schwab <schwab@redhat.com>
29692
29693 * locale/weight.h (findidx): Add parameter len.
29694 * locale/weightwc.h (findidx): Likewise.
29695 * posix/fnmatch_loop.c (FCT): Adjust caller.
29696 * posix/regcomp.c (build_equiv_class): Likewise.
29697 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29698 * posix/regexec.c (check_node_accept_bytes): Likewise.
29699 * string/strcoll_l.c (STRCOLL): Likewise.
29700 * string/strxfrm_l.c (STRXFRM): Likewise.
29701
9d65ea3a
UD
297022011-11-17 Ulrich Drepper <drepper@gmail.com>
29703
29704 * Makefile.in: Remove CVSOPT handling.
29705 * configure.in: Remove use of AC_REVISION.
29706 * iconvdata/Makefile (distribute): No need to filter out CVS.
29707 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29708 handling.
29709
5583a086
AS
297102011-11-16 Andreas Schwab <schwab@redhat.com>
29711
29712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29713 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29714 [USE_AS_STRNCASECMP_L]: Likewise.
29715 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29716 NO_TLS_DIRECT_SEG_REFS.
29717 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29718 Fix argument offsets for non-PIC.
29719 [USE_AS_STRNCASECMP_L]: Likewise.
29720 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29721 NO_TLS_DIRECT_SEG_REFS.
29722
d62a8200
UD
297232011-11-15 Ulrich Drepper <drepper@gmail.com>
29724
9d65ea3a 29725 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29726 O_CLOEXEC.
29727 * locale/loadlocale.c (_nl_load_locale): Likewise.
29728
09f93bd3
AS
297292011-11-15 Andreas Schwab <schwab@redhat.com>
29730
446514f9
AS
29731 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29732 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29733 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29734 (SYSCALL_GETTIME): Set errno on error.
29735
09f93bd3
AS
29736 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29737 count references to noai6ai_cached.
29738
312be3f9
UD
297392011-11-15 Ulrich Drepper <drepper@gmail.com>
29740
29741 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29742
29743 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29744 FD_CLOEXEC for /proc/self/maps.
29745
29746 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29747 FD_CLOEXEC for /proc/meminfo.
29748
29749 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29750 gai.conf.
29751
29752 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29753 FD_CLOEXEC for given file.
29754
29755 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29756
29757 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29758 FD_CLOEXEC for /etc/hosts.
29759 (_gethtent): Likewise.
29760
29761 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29762
29763 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29764 cancellation and set FD_CLOEXEC for /etc/netgroup.
29765
29766 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29767 reading /etc/publickey.
29768
29769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29770 allow cancellation when reading /etc/group.
29771
29772 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29773 cancellation.
29774 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29775
29776 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29777 when using data file.
29778
29779 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29780
29781 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29782 (write_nis_obj): Use "c" and "e" in fopen.
29783
29784 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29785
29786 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29787
29788 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29789
29790 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29791
29792 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29793 locale.alias.
29794
29795 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29796
29797 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29798
29799 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29800
29801 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29802 file parsing and set FD_CLOEXEC.
29803
82af0fa8
UD
298042011-11-14 Ulrich Drepper <drepper@gmail.com>
29805
29806 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29807
a5fb313c
AS
298082011-11-14 Andreas Schwab <schwab@redhat.com>
29809
29810 * malloc/arena.c (arena_get2): Don't call reused_arena when
29811 _int_new_arena failed.
29812
6abf3465
UD
298132011-11-14 Ulrich Drepper <drepper@gmail.com>
29814
29815 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29816 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29820 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29821 to compile strcasecmp and strncasecmp.
29822 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29823 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29824
29825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29826
76e3966e
UD
298272011-11-13 Ulrich Drepper <drepper@gmail.com>
29828
29829 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29830 locale-defines.sym to gen-as-const-headers.
29831 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29832 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29834 to compile strcasecmp and strncasecmp.
29835 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29836 strcasecmp_l and strncasecmp_l.
29837 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29838 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29839 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29840 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29841 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29842 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29843 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29844 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29845 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29846 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29847 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29848
ab26144e
UD
298492011-11-12 Ulrich Drepper <drepper@gmail.com>
29850
7edb22ef
UD
29851 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29852 result of SYSDEP_GETTIME_CPU to retval.
29853 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29854 parameter list to macro. Remove trailing semicolon. Adjust users.
29855
9694fc44
UD
29856 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29857 variable.
29858
8ad89ef8
UD
29859 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29860 mantissa words.
29861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29862
0c822ef9
UD
29863 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29864 from unused variable.
29865
874e0564
UD
29866 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29867 DWARF definitions.
29868 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29869 for assembling.
29870
3a2edc79
UD
29871 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29872 over namespaces.
29873
f3c2577f
UD
29874 * sunrpc/rpc_prot.c (rejected): Fix case value.
29875
294ce126
UD
29876 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29877 unsigned long long int to avoid warnings in shift.
29878
5e2b63c6
UD
29879 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29880 of use of trans.
29881 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29882 variable tmp.
29883
e7f4b08e
UD
29884 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29885 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29886 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29887
ab26144e
UD
29888 * nis/nis_table.c (nis_list): Use variable of correct type for
29889 result of __follow_path call.
29890
8a6d5255
AZ
298912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29892
29893 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29894 of math functions ceil, trunc, floor, round, and sqrt, when
29895 avaliable on the platform.
29896 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29897 name clash.
29898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29899 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29900 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29901
aaddc98c
MP
299022011-10-30 Marek Polacek <mpolacek@redhat.com>
29903
29904 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29906
95b7042b
RM
299072011-11-11 Roland McGrath <roland@hack.frob.com>
29908
29909 * include/unistd.h: Fix __readlink return type.
29910 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29911
57769839
UD
299122011-11-11 Ulrich Drepper <drepper@gmail.com>
29913
29914 * stdlib/ucontext.h: Undo last change for makecontext.
29915
edc5984d
AS
299162011-11-11 Andreas Schwab <schwab@redhat.com>
29917
98591e58
AS
29918 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29919
edc5984d
AS
29920 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29921 * setjmp/setjmp.h: Mark functions as non-leaf.
29922 * setjmp/bits/setjmp2.h: Likewise.
29923 * stdlib/ucontext.h: Likewise.
29924
77cdc054
AS
299252011-11-10 Andreas Schwab <schwab@redhat.com>
29926
29927 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29928 (reused_arena): Don't check arena limit.
29929 (arena_get2): Atomically check arena limit.
29930
fe72eebd
UD
299312011-11-08 Ulrich Drepper <drepper@gmail.com>
29932
5f078c32
UD
29933 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29934 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29935
fe72eebd
UD
29936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29937 instructions.
29938
ae1bc2fa
AS
299392011-11-07 Andreas Schwab <schwab@redhat.com>
29940
7583a88d
AS
29941 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29942 handler when locking.
29943
ae1bc2fa
AS
29944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29945 Fix size of allocated buffer.
29946
10fb0bfa
AS
299472011-11-04 Andreas Schwab <schwab@redhat.com>
29948
998832a4
AS
29949 [BZ #10103]
29950 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29951 declarations for long double functions.
29952 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29953
10fb0bfa
AS
29954 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29955
3d7ba52b
AS
299562011-11-03 Andreas Schwab <schwab@redhat.com>
29957
a9ae54a1
AS
29958 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29959 installed.
29960
3d7ba52b
AS
29961 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29962 is disabled.
29963
bc8db248
ST
299642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29965
29966 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29967
45b96dd6
AS
299682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29969
647776f6
AS
29970 * include/alloca.h (stackinfo_alloca_round): Define.
29971 (extend_alloca): Use it.
29972 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29973 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29974 here.
29975
d91a8b93
AS
29976 * scripts/check-local-headers.sh: Ignore libaudit.h.
29977
45b96dd6
AS
29978 * nscd/Makefile (extra-objs): Make recursively expanded.
29979
432d41ce
UD
299802011-11-01 Ulrich Drepper <drepper@gmail.com>
29981
34372fc6
UD
29982 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29984
fadb59f8
UD
29985 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29986 * posix/tst-rfc3484-2.c: Likewise.
29987 * posix/tst-rfc3484-3.c: Likewise.
29988
78239589
UD
29989 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29990 process_vm_writev.
29991 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29992 process_vm_writev.
29993 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29994 process_vm_writev from libc using GLIBC_2.15 version.
29995
432d41ce
UD
29996 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29997
02f9c6cf
PP
299982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29999
30000 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30001 stack usage.
30002
3a2c0242
UD
300032011-10-31 Ulrich Drepper <drepper@gmail.com>
30004
f4ec4833
UD
30005 [BZ #13367]
30006 * nss/getent.c (initgroups_keys): Show error message in case no group
30007 names are given.
30008
3a2c0242
UD
30009 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30010 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30011 __bump_nl_timestamp.
30012 * nscd/connections (nscd_init): When host database is served open
30013 netlink socket and request notification about configuration changes.
30014 (main_loop_poll): Track netlink file descriptor and bump timestamp
30015 in case data becomes available.
30016 (main_loop_epoll): Likewise.
30017 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30018 (database_pers_head): Add extra_data fileds.
30019 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30020 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30021 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30022 Adjust caller.
30023 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30024 in6ai data, call __free_in6ai.
30025 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30026 Add -DHAVE_NETLINK.
30027 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30028 interface information. Reuse previous data if netlink timestamp
30029 is not changed.
30030 (__bump_nl_timestamp): New function.
30031 (__free_in6ai): New function.
30032
636064eb
UD
300332011-10-30 Ulrich Drepper <drepper@gmail.com>
30034
30035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30036 close_not_cancel_no_status here.
30037 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30038
9beb2334
UD
300392011-10-29 Ulrich Drepper <drepper@gmail.com>
30040
6ef76f3b
UD
30041 [BZ #13276]
30042 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30043 return value.
30044
0ffc4f3e 30045 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30046 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30047 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30048
cb95113e
UD
300492011-07-03 Andreas Jaeger <aj@suse.de>
30050
30051 [BZ #10709]
30052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30053 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30054 * math/libm-test.inc (sin_test): Add test case.
30055
a1b560ff
UD
300562011-10-29 Ulrich Drepper <drepper@gmail.com>
30057
c9aaface
UD
30058 [BZ #13337]
30059 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30060 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30061
d272e7f1
UD
30062 * elf/chroot_canon.c (chroot_canon): Cleanups.
30063
1bc33071
UD
30064 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30065
1760874d
TJ
30066 [BZ #13335]
30067 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30068 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30069
51d91b18
UD
30070 * string/test-strchr.c: Make usable for strchrnul testing.
30071 * string/test-strchrnul.c: New file.
30072 * string/Makefile (strop-tests): Add strchrnul.
30073
a1b560ff 30074 * po/it.po: Update from translation team.
b611fb81 30075 * po/es.po: Likewise.
a1b560ff 30076
a5b81e1f
UD
300772011-10-28 Ulrich Drepper <drepper@gmail.com>
30078
fd52bc6d
UD
30079 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30080 the three constants needed as parameters. Drop the others.
30081 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30082 __m128i_strloadu_tolower.
52e4b9eb
UD
30083 Create and initialize variable zero and use it in all the places
30084 where _mm_setzero_si128 was used.
fd52bc6d 30085
a5b81e1f
UD
30086 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30087 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30088 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30090 anymore.
30091 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30092 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30093 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30094 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30095 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30096 __mpranred, __mptan.
30097 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30098 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30099 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30100 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30101 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30102 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30103 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30104 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30106
b4343346
AS
301072011-10-28 Andreas Schwab <schwab@redhat.com>
30108
0c92d8a8
AS
30109 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30110 redefine if SHARED.
30111 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30112
b4343346
AS
30113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30114 wide char related routines to wcsmbs subdir.
30115
3871f58f
AS
301162011-10-27 Andreas Schwab <schwab@redhat.com>
30117
30118 [BZ #13344]
30119 * misc/sys/cdefs.h (__THROWNL): Define.
30120 * posix/unistd.h: Use __THREADNL instead of __THREAD
30121 for memory synchronization functions.
30122
94d44d9f
RM
301232011-10-26 Roland McGrath <roland@hack.frob.com>
30124
21b64b15 30125 [BZ #13349]
94d44d9f
RM
30126 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30127 doesn't exist.
30128 * manual/stdio.texi (Obstack Streams): Node removed.
30129
f6ce9294
AS
301302011-10-26 Andreas Schwab <schwab@redhat.com>
30131
80479147
AS
30132 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30133 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30135
f6ce9294
AS
30136 * math/math_private.h (math_force_eval): Allow non-addressable
30137 arguments.
30138 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30139
618280a1
UD
301402011-10-25 Ulrich Drepper <drepper@gmail.com>
30141
e0016b11
UD
30142 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30143 file is not needed.
30144
30145 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30146 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30152 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30153 Add AVX variants.
30154 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30155 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30156 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30157 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30158 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30159 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30160 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30161 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30162 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30163 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30164 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30165 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30167 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30170 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30171 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30172 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30173
30174 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30175 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30176
618280a1
UD
30177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30178 place. Use VEX encoding when compiling for AVX.
30179
37822576
AS
301802011-10-25 Andreas Schwab <schwab@redhat.com>
30181
1f1e1947
AS
30182 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30183 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30184
37822576
AS
30185 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30186
31ea014d
UD
301872011-10-25 Ulrich Drepper <drepper@gmail.com>
30188
d7826aa1 30189 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30190 useless if() expression.
d7826aa1
UD
30191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30198 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30200 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30202 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30203 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30205 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30206 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30209 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30210
31ea014d
UD
30211 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30212
16437fec
AS
302132011-10-25 Andreas Schwab <schwab@redhat.com>
30214
30215 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30216 condition.
30217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30218
31d3cc00
UD
302192011-10-25 Ulrich Drepper <drepper@gmail.com>
30220
30221 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30222 .text section. Avoid duplicate constants.
30223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30233 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30239 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30240 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30246 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30247 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30248 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30249 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30250 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30256 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30257 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30258 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30259 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30261 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30262 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30264 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30265 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30267 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30268
58985aa9
UD
302692011-10-24 Ulrich Drepper <drepper@gmail.com>
30270
202c9deb
UD
30271 * sysdeps/x86_64/dla.h: Move to ...
30272 * sysdeps/x86_64/fpu/dla.h: ...here.
30273 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30274 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30275
af968f62
UD
30276 * config.make.in: Add have-mfma4 entry.
30277 * configure.in: Substitute libc_cv_cc_fma4.
30278 * math/Makefile (dbl-only-routines): Add sincostab.
30279 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30280 Use __sincostab not sincos.
30281 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30282 name is a macro.
30283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30287 using __copysign.
30288 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30289 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30290 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30291 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30292 and __inv.
30293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30294 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30295 __copysign.
30296 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30297 define aliases when function name is a macro.
30298 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30299 sysdeps/ieee754/dbl-64/sincos.tbl.
30300 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30301 fma4-enabled routines.
30302 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30304 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30305 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30307 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30309 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30311 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30312 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30313 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30314 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30315 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30317 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30318 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30319 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30320 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30322 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30323 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30327 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30329 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30330 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30331 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30332
58985aa9
UD
30333 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30334 rename.
30335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30343
a201fbcf
AS
303442011-10-24 Andreas Schwab <schwab@redhat.com>
30345
30346 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30347
fc2ee42a
LD
303482011-10-23 Ulrich Drepper <drepper@gmail.com>
30349
bb3129bd
UD
30350 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30351
0275fff8
UD
30352 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30353 prediction.
30354 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30355
2fa2ae85
UD
30356 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30357 Remove unused variable magic_bits.
30358 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30359
fc2ee42a
LD
30360 * string/strnlen.c: Define and use STRNLEN macro.
30361 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30362 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30364 * wcsmbs/wcslen.c: Define and use WCSLEN.
30365 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30366 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30367 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30368 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30369 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30370 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30371 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30372
ce7dd29f
LD
303732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30374
30375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30376 strnlen-sse2-no-bsf.
30377 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30379 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30380 Add strnlen support.
30381 (USE_AS_STRNLEN): New macro.
30382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30383 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30384 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30385 * sysdeps/x86_64/wcslen.S: New file.
30386
979c70a3
MZ
303872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30388
30389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30390 XMM-moves are used for copying on small sizes.
30391
2d09f82f
LD
303922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30393
30394 * wcsmbs/Makefile (strop-tests): Add wcschr.
30395 * wcsmbs/test-wcschr.c: New file.
30396 * string/test-strchr.c: Update.
30397 Add wcschr support.
30398 (WIDE): New macro.
30399
619fccca
LD
304002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30401
2d09f82f 30402 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30403 * wcsmbs/test-wcslen.c: New file.
30404 * string/test-strlen.c: Update.
30405 Add wcslen support.
30406 (WIDE): New macro.
30407
09f699ea
UD
304082011-10-23 Ulrich Drepper <drepper@gmail.com>
30409
30410 * po/it.po: Update from translation team.
30411
95584d3b
LD
304122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30413
30414 * sysdeps/x86_64/wcscmp.S: Update.
30415 Fix wrong comparison semantics.
30416 wcscmp shall use signed comparison not unsigned.
30417 Don't use substraction to avoid overflow bug.
30418 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30419 * wcsmbc/wcscmp.c: Likewise.
30420 * string/test-strcmp.c: Likewise.
30421 Add new tests to check cases with negative values.
30422
c8b3296b
UD
304232011-10-23 Ulrich Drepper <drepper@gmail.com>
30424
30425 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30426 * sysdeps/x86_64/dla.h: ...here. New file.
30427 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30436
246ad57a
AS
304372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30438
30439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30440 __ynl_finite aliases.
30441
a1a87169
UD
304422011-10-22 Ulrich Drepper <drepper@gmail.com>
30443
0d355eb7
UD
30444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30445
a1a87169
UD
30446 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30447 define DLA_FMA.
30448 [DLA_FMA] (EMULV): Use DLA_FMA.
30449 [DLA_FMA] (MUL12): Use EMULV.
30450 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30451 that are not needed.
30452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30459
ee2aafe0
AS
304602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30461
30462 * math/s_nan.c: Undef __nan.
30463 * math/s_nanf.c: Undef __nanf.
30464 * math/s_nanl.c: Undef __nanl.
30465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30466 "math_private.h".
30467
bc62c2fb
UD
304682011-10-22 Ulrich Drepper <drepper@gmail.com>
30469
77425c63
UD
30470 * math/s_catan.c: Add branch predictions.
30471 * math/s_catanf.c: Likewise.
30472 * math/s_catanh.c: Likewise.
30473 * math/s_catanhf.c: Likewise.
30474 * math/s_catanhl.c: Likewise.
30475 * math/s_catanl.c: Likewise.
30476 * math/s_cexp.c: Likewise.
30477 * math/s_cexpf.c: Likewise.
30478 * math/s_cexpl.c: Likewise.
30479 * math/s_clog.c: Likewise.
30480 * math/s_clog10.c: Likewise.
30481 * math/s_clog10f.c: Likewise.
30482 * math/s_clog10l.c: Likewise.
30483 * math/s_clogf.c: Likewise.
30484 * math/s_clogl.c: Likewise.
30485 * math/s_csqrt.c: Likewise.
30486 * math/s_csqrtf.c: Likewise.
30487 * math/s_csqrtl.c: Likewise.
30488 * math/s_ctanf.c: Likewise.
30489 * math/s_ctanh.c: Likewise.
30490 * math/s_ctanhf.c: Likewise.
30491 * math/s_ctanhl.c: Likewise.
30492 * math/s_ctanl.c: Likewise.
30493
bc62c2fb
UD
30494 * math/math_private.h: Define __nan, __nanf, __nanl.
30495 * math/s_cacosh.c: Include <math_private.h>.
30496 * math/s_cacoshl.c: Likewise.
30497 * math/s_casinh.c: Likewise.
30498 * math/s_casinhf.c: Likewise.
30499 * math/s_casinhl.c: Likewise.
30500 * math/s_ccos.c: Rely entire on ccosh.
30501 * math/s_ccosf.c: Rely entire on ccoshf.
30502 * math/s_ccosl.c: Rely entirely on ccoshl.
30503 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30504 Remove tests for FE_INVALID.
30505 * math/s_ccoshf.c: Likewise.
30506 * math/s_ccoshl.c: Likewise.
30507 * math/s_csin.c: Likewise.
30508 * math/s_csinf.c: Likewise.
30509 * math/s_csinh.c Likewise.
30510 * math/s_csinhf.c: Likewise.
30511 * math/s_csinhl.c: Likewise.
30512 * math/s_csinl.c: Likewise.
30513 * math/s_ctan.c: Likewise.
30514 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30515 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30517
8ec250a4
UD
305182011-10-21 Ulrich Drepper <drepper@gmail.com>
30519
c196fed8
UD
30520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30521 compilation problems.
30522
8ec250a4
UD
30523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30524 __builtin_expect.
30525
8d4f46c6
UD
305262011-10-20 Ulrich Drepper <drepper@gmail.com>
30527
ed72b654
UD
30528 * sysdeps/i386/configure.in: Test for -mfma4 option.
30529 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30530 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30531 COMMON_CPUID_INDEX_80000001.
30532 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30533 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30534 use it if FMA3 is not supported.
30535 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30536
8d4f46c6
UD
30537 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30538 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30539
d45c60c2
AS
305402011-10-20 Andreas Schwab <schwab@redhat.com>
30541
30542 [BZ #12892]
30543 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30544 it would create a cycle with a link time dependency.
30545
d9a4d2ab
UD
305462011-10-19 Ulrich Drepper <drepper@gmail.com>
30547
855d1560
UD
30548 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30549 instruction.
30550 * string/Makefile (strop-tests): Add rawmemchr.
30551 * string/test-rawmemchr.c: New file.
30552
d9a4d2ab
UD
30553 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30555 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30556 when compiling str{,n}casecmp and when AVX is available. Hook up
30557 new optimized code in initializers.
30558
8f3b1ffe
AS
305592011-10-19 Andreas Schwab <schwab@redhat.com>
30560
30561 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30562 __feraiseexcept instead of feraiseexcept.
30563
d38f1dba
UD
305642011-10-18 Ulrich Drepper <drepper@gmail.com>
30565
d9a8d0ab
UD
30566 * math/math_private.h: Define defaults for libc_fetestexcept and
30567 libc_feupdateenv.
30568 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30569 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30571 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30573 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30574 libc_fetestexcept and libc_feupdateenv.
30575
4855e3dd
UD
30576 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30577 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30578 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30579 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30580 libc_feholdexcept_setround.
30581
581d30e3
UD
30582 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30583 Add s_nearbyint-c and s_nearbyintf-c.
30584 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30585 nearbyintf inlines.
30586 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30587 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30588 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30589 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30590
d38f1dba
UD
30591 * math/math_private.h: Define defaults for libc_fegetround,
30592 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30593 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30594 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30596 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30597 standard functions.
30598 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30599 Remove comments and hacks for old compiler versions.
30600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30601 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30602 libc_feholdexceptl.
30603
caa6c9d8
AS
306042011-10-18 Andreas Schwab <schwab@redhat.com>
30605
30606 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30607 (__feraiseexcept_renamed): Add __NTH.
30608 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30609 namespace violations.
30610
97c066e6
UD
306112011-10-17 Ulrich Drepper <drepper@gmail.com>
30612
99ce7b04
UD
30613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30614
1004d182
UD
30615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30616
228a984d
UD
30617 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30618 recently added interfaces.
30619 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30620
c8553a6a
UD
30621 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30622 about macro parameter expansion.
30623
ed22dcf6
UD
30624 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30625 __NO_MATH_INLINES is defined. Cleanups.
30626
30627 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30628 and __floorf is target has SSE4.1.
30629 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30630 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30632 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30633
b171c137
UD
30634 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30635 name.
30636 (floorf): Likewise.
30637
97c066e6
UD
30638 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30639
629f62ef
AS
306402011-10-17 Andreas Schwab <schwab@redhat.com>
30641
49a43d80
AS
30642 * misc/sys/cdefs.h: Fix last change.
30643
629f62ef
AS
30644 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30645 database lookup.
30646
e453f6cd
UD
306472011-10-16 Ulrich Drepper <drepper@gmail.com>
30648
aa78043a
UD
30649 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30650
ad0f5cad
UD
30651 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30658 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30660 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30661 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30662 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30663 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30664 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30665 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30666 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30667 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30668 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30669 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30670 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30672 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30673
30674 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30675 ceil, ceilf, floor, floorf.
30676
30677 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30678 Perform IRELATIVE relocations last.
30679
e453f6cd
UD
30680 * elf/do-rel.h: Add another parameter nrelative, replacing the
30681 local variable with the same name. Change name of the function
30682 to end in Rel or Rela (uppercase).
30683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30684 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30685 elf_dynamic_do_##reloc function.
30686
fd5bdc09
UD
306872011-10-15 Ulrich Drepper <drepper@gmail.com>
30688
79b195b5
UD
30689 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30690 is sufficient, at least on modern CPUs.
30691
d4a28569
UD
30692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30693
b61099b5
UD
30694 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30695 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30696
bcf01e6d
UD
30697 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30698 __expl_finite.
30699 * math/bits/math-finite.h: Add entries for exp.
30700 * math/e_expl.c: Add __*_finite alias.
30701 * sysdeps/i386/fpu/e_exp.S: Likewise.
30702 * sysdeps/i386/fpu/e_expf.S: Likewise.
30703 * sysdeps/i386/fpu/e_expl.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30705 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30709 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30710 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30711
ba1a0d59
UD
30712 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30713 is sufficient, at least on modern CPUs.
30714
fd5bdc09
UD
30715 * ctype/ctype-info.c (__ctype_init): Define.
30716 * include/ctype.h (__ctype_init): Declare.
30717 (__ctype_b_loc): The variable is always initialized.
30718 (__ctype_toupper_loc): Likewise.
30719 (__ctype_tolower_loc): Likewise.
30720 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30721 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30722
7872cfb0
AS
307232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30724
b468825a
AS
30725 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30726
7872cfb0
AS
30727 * configure.in: Also look in $cxxmachine/include for C++ system
30728 headers.
30729
be13f7bf
LD
307302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30731
30732 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30733 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30734 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30735 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30736 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30737 (USE_AS_WMEMCMP): New macro.
30738 Fixing indents.
30739 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30740 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30741 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30742 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30744 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30745 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30746 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30747 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30748 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30749 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30750 (USE_AS_WMEMCMP): New macro.
30751 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30752 * sysdeps/string/test-memcmp.c: Update.
30753 Fix simple_wmemcmp.
30754 Add new tests.
30755 * wcsmbs/wmemcmp.c: Update.
30756 (WMEMCMP): New macro.
30757 Fix overflow bug.
30758
556a2007
AJ
307592011-10-12 Andreas Jaeger <aj@suse.de>
30760
30761 [BZ #13268]
30762 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30763
538faaa7
UD
307642011-10-15 Ulrich Drepper <drepper@gmail.com>
30765
ab6737ff
UD
30766 * libio/iofwide.c (do_length): Avoid warning.
30767
538faaa7
UD
30768 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30769
396a21b1
UD
307702011-10-14 Ulrich Drepper <drepper@gmail.com>
30771
cdf2901f
UD
30772 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30773
38ad40ce
UD
30774 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30775 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30776 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30777 * sysdeps/i386/i686/fpu/e_log.S: New file.
30778 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30779 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30780
396a21b1
UD
30781 * ctype/ctype.h: Add support for inlined isXXX functions when
30782 compiling C++ code.
30783
6b1f68c9
AS
307842011-10-14 Andreas Schwab <schwab@redhat.com>
30785
349290c0
AS
30786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30787
6b1f68c9
AS
30788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30789
f2282d42
RM
307902011-10-13 Roland McGrath <roland@hack.frob.com>
30791
30792 [BZ #13291]
30793 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30794
5298ffa8
AS
307952011-10-13 Andreas Schwab <schwab@redhat.com>
30796
714fad23
AS
30797 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30798 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30799 feraiseexcept.
30800
81dcc7fb
AS
30801 * sysdeps/x86_64/memrchr.S: Check for zero size.
30802
5298ffa8
AS
30803 * string/stratcliff.c: Add memrchr tests.
30804
951fbcec
LD
308052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30806
30807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30808 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30809 rawmemchr-sse2 rawmemchr-sse2-bsf.
30810 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30811 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30812 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30813 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30814 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30815 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30816 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30817 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30818 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30819 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30820 * string/memrchr.c (MEMRCHR): New macro.
30821
0ac5ae23
UD
308222011-10-12 Ulrich Drepper <drepper@gmail.com>
30823
30824 Add integration with gcc's -ffinite-math-only and optimize wrapper
30825 functions in libm.
30826 * Versions.def: Define GLIBC_2.15 version for libm.
30827 * math/Makefile (headers): Add bits/math-finite.h.
30828 * math/bits/math-finite.h: New file.
30829 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30830 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30831 * math/e_acoshl.c: Add __*_finite alias.
30832 * math/e_acosl.c: Likewise.
30833 * math/e_asinl.c: Likewise.
30834 * math/e_atan2l.c: Likewise.
30835 * math/e_atanhl.c: Likewise.
30836 * math/e_coshl.c: Likewise.
30837 * math/e_exp10.c: Likewise.
30838 * math/e_exp10f.c: Likewise.
30839 * math/e_exp10l.c: Likewise.
30840 * math/e_exp2l.c: Likewise.
30841 * math/e_fmodl.c: Likewise.
30842 * math/e_gammal_r.c: Likewise.
30843 * math/e_hypotl.c: Likewise.
30844 * math/e_j0l.c: Likewise.
30845 * math/e_j1l.c: Likewise.
30846 * math/e_jnl.c: Likewise.
30847 * math/e_lgammal_r.c: Likewise.
30848 * math/e_log10l.c: Likewise.
30849 * math/e_log2l.c: Likewise.
30850 * math/e_logl.c: Likewise.
30851 * math/e_powl.c: Likewise.
30852 * math/e_sinhl.c: Likewise.
30853 * math/e_sqrtl.c: Likewise.
30854 * math/e_scalb.c: Completely rewritten and optimized.
30855 * math/e_scalbf.c: Likewise.
30856 * math/e_scalbl.c: Likewise.
30857 * math/w_acos.c: Likewise.
30858 * math/w_acosf.c: Likewise.
30859 * math/w_acosl.c: Likewise.
30860 * math/w_acosh.c: Likewise.
30861 * math/w_acoshf.c: Likewise.
30862 * math/w_acoshl.c: Likewise.
30863 * math/w_asin.c: Likewise.
30864 * math/w_asinf.c: Likewise.
30865 * math/w_asinl.c: Likewise.
30866 * math/w_atan2.c: Likewise.
30867 * math/w_atan2f.c: Likewise.
30868 * math/w_atan2l.c: Likewise.
30869 * math/w_atanh.c: Likewise.
30870 * math/w_atanhf.c: Likewise.
30871 * math/w_atanhl.c: Likewise.
30872 * math/w_exp10.c: Likewise.
30873 * math/w_exp10f.c: Likewise.
30874 * math/w_exp10l.c: Likewise.
30875 * math/w_fmod.c: Likewise.
30876 * math/w_fmodf.c: Likewise.
30877 * math/w_fmodl.c: Likewise.
30878 * math/w_j0.c: Likewise.
30879 * math/w_j0f.c: Likewise.
30880 * math/w_j0l.c: Likewise.
30881 * math/w_j1.c: Likewise.
30882 * math/w_j1f.c: Likewise.
30883 * math/w_j1l.c: Likewise.
30884 * math/w_jn.c: Likewise.
30885 * math/w_jnf.c: Likewise.
30886 * math/w_log.c: Likewise.
30887 * math/w_logf.c: Likewise.
30888 * math/w_logl.c: Likewise.
30889 * math/w_log10.c: Likewise.
30890 * math/w_log10f.c: Likewise.
30891 * math/w_log10l.c: Likewise.
30892 * math/w_log2.c: Likewise.
30893 * math/w_log2f.c: Likewise.
30894 * math/w_log2l.c: Likewise.
30895 * math/w_pow.c: Likewise.
30896 * math/w_powf.c: Likewise.
30897 * math/w_powl.c: Likewise.
30898 * math/w_remainder.c: Likewise.
30899 * math/w_remainderf.c: Likewise.
30900 * math/w_remainderl.c: Likewise.
30901 * math/w_scalb.c: Likewise.
30902 * math/w_scalbf.c: Likewise.
30903 * math/w_scalbl.c: Likewise.
30904 * math/w_sqrt.c: Likewise.
30905 * math/w_sqrtf.c: Likewise.
30906 * math/w_sqrtl.c: Likewise.
30907 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30908 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30909 used.
30910 * math/math_private.h: Declare __kernel_standard_f.
30911 * math/w_cosh.c: Remove cruft and optimize a bit.
30912 * math/w_coshf.c: Likewise.
30913 * math/w_coshl.c: Likewise.
30914 * math/w_exp2.c: Likewise.
30915 * math/w_exp2f.c: Likewise.
30916 * math/w_exp2l.c: Likewise.
30917 * math/w_hypot.c: Likewise.
30918 * math/w_hypotf.c: Likewise.
30919 * math/w_hypotl.c: Likewise.
30920 * math/w_lgamma.c: Likewise.
30921 * math/w_lgamma_r.c: Likewise.
30922 * math/w_lgammaf.c: Likewise.
30923 * math/w_lgammaf_r.c: Likewise.
30924 * math/w_lgammal.c: Likewise.
30925 * math/w_lgammal_r.c: Likewise.
30926 * math/w_sinh.c: Likewise.
30927 * math/w_sinhf.c: Likewise.
30928 * math/w_sinhl.c: Likewise.
30929 * math/w_tgamma.c: Likewise.
30930 * math/w_tgammaf.c: Likewise.
30931 * math/w_tgammal.c: Likewise.
30932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30934 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30935 Minor optimizations. Pretty printing. Remove cruft.
30936 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30937 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30938 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30939 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30940 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30941 * sysdeps/i386/fpu/e_asin.S: Likewise.
30942 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30943 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30944 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30945 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30947 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30949 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30950 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30951 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30952 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30953 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30954 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30955 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30956 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30957 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30958 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30959 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30960 * sysdeps/i386/fpu/e_log.S: Likewise.
30961 * sysdeps/i386/fpu/e_log10.S: Likewise.
30962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30964 * sysdeps/i386/fpu/e_log2.S: Likewise.
30965 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30967 * sysdeps/i386/fpu/e_logf.S: Likewise.
30968 * sysdeps/i386/fpu/e_logl.S: Likewise.
30969 * sysdeps/i386/fpu/e_pow.S: Likewise.
30970 * sysdeps/i386/fpu/e_powf.S: Likewise.
30971 * sysdeps/i386/fpu/e_powl.S: Likewise.
30972 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30973 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30974 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30975 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30976 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30977 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30978 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30979 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30980 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31002 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31003 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31004 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31005 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31007 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31008 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31009 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31010 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31012 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31013 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31014 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31015 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31016 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31017 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31018 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31019 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31020 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31021 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31022 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31066 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31067 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31069 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31072 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31073 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31074 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31075 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31076 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31077 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31078 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31079 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31080 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31081 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31082 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31083 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31084 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31085 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31086 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31087 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31089 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31090 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31091 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31092 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31093 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31094 (__isnanf): Likewise.
31095 (__isinf_ns): Likewise.
31096 (__isinf_nsf): Likewise.
31097 (__finite): Likewise.
31098 (__finitef): Likewise.
31099 (__ieee754_sqrt): Define as macro.
31100 (__ieee754_sqrtf): Define as macro.
31101 (__ieee754_sqrtl): Define as macro.
31102 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31103 inlined copy.
31104 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31105 __FINITE_MATH_ONLY__ consistent.
31106 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31107
12cc2fcd
AS
311082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31109
a843a204
AS
31110 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31111 of rawmemchr.
31112
12cc2fcd
AS
31113 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31114
c853acd5
UD
311152011-10-09 Ulrich Drepper <drepper@gmail.com>
31116
31117 * po/ja.po: Update from translation team.
31118
c658d255
RM
311192011-10-08 Roland McGrath <roland@hack.frob.com>
31120
110946e4
RM
31121 * locale/programs/locarchive.c (prepare_address_space): New function.
31122 (create_archive, enlarge_archive, open_archive): Use it.
31123
50604220
RM
31124 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31125 inside [SHARED], where it is used.
31126
c658d255
RM
31127 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31128
31129 * nss/getent.c (netgroup_keys): Remove unused variable.
31130 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31131
6a621eb7
UD
311322011-10-08 Ulrich Drepper <drepper@gmail.com>
31133
7edb55ce
UD
31134 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31135 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31138 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31139 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31140 * math/Makefile (libm-calls): Add s_isinf_ns.
31141 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31142 * math/multc3.c: Likewise.
31143 * math/s_casin.c: Likewise.
31144 * math/s_casinf.c: Likewise.
31145 * math/s_casinl.c: Likewise.
31146 * math/s_ccos.c: Likewise.
31147 * math/s_ccosf.c: Likewise.
31148 * math/s_ccosl.c: Likewise.
31149 * math/s_ctan.c: Likewise.
31150 * math/s_ctanf.c: Likewise.
31151 * math/s_ctanh.c: Likewise.
31152 * math/s_ctanhf.c: Likewise.
31153 * math/s_ctanhl.c: Likewise.
31154 * math/s_ctanl.c: Likewise.
31155 * math/w_fmod.c: Likewise.
31156 * math/w_fmodf.c: Likewise.
31157 * math/w_fmodl.c: Likewise.
31158 * math/w_remainder.c: Likewise.
31159 * math/w_remainderf.c: Likewise.
31160 * math/w_remainderl.c: Likewise.
31161 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31162 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31163 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31165 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31166 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31167 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31168 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31169
187da0ae
UD
31170 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31171 of the number.
31172 * stdio-common/printf_fphex.c: Likewise.
31173 * stdio-common/printf_size.c: Likewise.
31174
9277c064
UD
31175 * math/e_exp10.c: Include math_private.h using <...> not "...".
31176 * math/e_exp10f.c: Likewise.
31177 * math/e_exp10l.c: Likewise.
31178 * math/e_exp2l.c: Likewise.
31179 * math/e_j0l.c: Likewise.
31180 * math/e_j1l.c: Likewise.
31181 * math/e_jnl.c: Likewise.
31182 * math/e_lgammal_r.c: Likewise.
31183 * math/e_rem_pio2l.c: Likewise.
31184 * math/e_scalb.c: Likewise.
31185 * math/e_scalbf.c: Likewise.
31186 * math/e_scalbl.c: Likewise.
31187 * math/k_cosl.c: Likewise.
31188 * math/k_sinl.c: Likewise.
31189 * math/k_tanl.c: Likewise.
31190 * math/s_cacoshf.c: Likewise.
31191 * math/s_catan.c: Likewise.
31192 * math/s_catanf.c: Likewise.
31193 * math/s_catanh.c: Likewise.
31194 * math/s_catanhf.c: Likewise.
31195 * math/s_catanhl.c: Likewise.
31196 * math/s_catanl.c: Likewise.
31197 * math/s_ccosh.c: Likewise.
31198 * math/s_ccoshf.c: Likewise.
31199 * math/s_ccoshl.c: Likewise.
31200 * math/s_cexp.c: Likewise.
31201 * math/s_cexpf.c: Likewise.
31202 * math/s_cexpl.c: Likewise.
31203 * math/s_clog.c: Likewise.
31204 * math/s_clog10.c: Likewise.
31205 * math/s_clog10f.c: Likewise.
31206 * math/s_clog10l.c: Likewise.
31207 * math/s_clogf.c: Likewise.
31208 * math/s_clogl.c: Likewise.
31209 * math/s_csin.c: Likewise.
31210 * math/s_csinf.c: Likewise.
31211 * math/s_csinh.c: Likewise.
31212 * math/s_csinhf.c: Likewise.
31213 * math/s_csinhl.c: Likewise.
31214 * math/s_csinl.c: Likewise.
31215 * math/s_csqrt.c: Likewise.
31216 * math/s_csqrtf.c: Likewise.
31217 * math/s_csqrtl.c: Likewise.
31218 * math/s_ctan.c: Likewise.
31219 * math/s_ctanf.c: Likewise.
31220 * math/s_ctanh.c: Likewise.
31221 * math/s_ctanhf.c: Likewise.
31222 * math/s_ctanhl.c: Likewise.
31223 * math/s_ctanl.c: Likewise.
31224 * math/s_ldexp.c: Likewise.
31225 * math/s_ldexpf.c: Likewise.
31226 * math/s_ldexpl.c: Likewise.
31227 * math/s_significand.c: Likewise.
31228 * math/s_significandf.c: Likewise.
31229 * math/s_significandl.c: Likewise.
31230 * math/w_acos.c: Likewise.
31231 * math/w_acosf.c: Likewise.
31232 * math/w_acosh.c: Likewise.
31233 * math/w_acoshf.c: Likewise.
31234 * math/w_acoshl.c: Likewise.
31235 * math/w_acosl.c: Likewise.
31236 * math/w_asin.c: Likewise.
31237 * math/w_asinf.c: Likewise.
31238 * math/w_asinl.c: Likewise.
31239 * math/w_atan2.c: Likewise.
31240 * math/w_atan2f.c: Likewise.
31241 * math/w_atan2l.c: Likewise.
31242 * math/w_atanh.c: Likewise.
31243 * math/w_atanhf.c: Likewise.
31244 * math/w_atanhl.c: Likewise.
31245 * math/w_cosh.c: Likewise.
31246 * math/w_coshf.c: Likewise.
31247 * math/w_coshl.c: Likewise.
31248 * math/w_dremf.c: Likewise.
31249 * math/w_exp10.c: Likewise.
31250 * math/w_exp10f.c: Likewise.
31251 * math/w_exp10l.c: Likewise.
31252 * math/w_exp2.c: Likewise.
31253 * math/w_exp2f.c: Likewise.
31254 * math/w_fmod.c: Likewise.
31255 * math/w_fmodf.c: Likewise.
31256 * math/w_fmodl.c: Likewise.
31257 * math/w_hypot.c: Likewise.
31258 * math/w_hypotf.c: Likewise.
31259 * math/w_hypotl.c: Likewise.
31260 * math/w_j0.c: Likewise.
31261 * math/w_j0f.c: Likewise.
31262 * math/w_j0l.c: Likewise.
31263 * math/w_j1.c: Likewise.
31264 * math/w_j1f.c: Likewise.
31265 * math/w_j1l.c: Likewise.
31266 * math/w_jn.c: Likewise.
31267 * math/w_jnf.c: Likewise.
31268 * math/w_jnl.c: Likewise.
31269 * math/w_lgamma.c: Likewise.
31270 * math/w_lgamma_r.c: Likewise.
31271 * math/w_lgammaf.c: Likewise.
31272 * math/w_lgammaf_r.c: Likewise.
31273 * math/w_lgammal.c: Likewise.
31274 * math/w_lgammal_r.c: Likewise.
31275 * math/w_log.c: Likewise.
31276 * math/w_log10.c: Likewise.
31277 * math/w_log10f.c: Likewise.
31278 * math/w_log10l.c: Likewise.
31279 * math/w_log2.c: Likewise.
31280 * math/w_log2f.c: Likewise.
31281 * math/w_log2l.c: Likewise.
31282 * math/w_logf.c: Likewise.
31283 * math/w_logl.c: Likewise.
31284 * math/w_pow.c: Likewise.
31285 * math/w_powf.c: Likewise.
31286 * math/w_powl.c: Likewise.
31287 * math/w_remainder.c: Likewise.
31288 * math/w_remainderf.c: Likewise.
31289 * math/w_remainderl.c: Likewise.
31290 * math/w_scalb.c: Likewise.
31291 * math/w_scalbf.c: Likewise.
31292 * math/w_scalbl.c: Likewise.
31293 * math/w_sinh.c: Likewise.
31294 * math/w_sinhf.c: Likewise.
31295 * math/w_sinhl.c: Likewise.
31296 * math/w_sqrt.c: Likewise.
31297 * math/w_sqrtf.c: Likewise.
31298 * math/w_sqrtl.c: Likewise.
31299 * math/w_tgamma.c: Likewise.
31300 * math/w_tgammaf.c: Likewise.
31301 * math/w_tgammal.c: Likewise.
31302
6a621eb7
UD
31303 * po/ja.po: Update from translation team.
31304
bf582445
AJ
313052011-09-29 Andreas Jaeger <aj@suse.de>
31306
f9efbf3a
AJ
31307 [BZ #13179]
31308 * sunrpc/netname.c (netname2host): Fix logic.
31309
bf582445
AJ
31310 [BZ #6779]
31311 [BZ #6783]
31312 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31313 correctly.
31314 * math/w_remainder.c (__remainder): Likewise.
31315 * math/w_remainderf.c (__remainderf): Likewise.
31316 * math/libm-test.inc (remainder_test): Add test cases.
31317
48693bea
AK
313182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31319
31320 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31321 sdiv_qrnnd.
31322
42622229
LD
313232011-10-07 Ulrich Drepper <drepper@gmail.com>
31324
31325 * string/test-memcmp.c: Avoid unncessary #defines.
31326 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31327
093ecf92
LD
313282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31329
31330 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31331 Use new sse2 version for core i3 - i7 as it's faster
31332 than sse42 version.
31333 (bit_Prefer_PMINUB_for_stringop): New.
31334 * sysdeps/x86_64/rawmemchr.S: Update.
31335 Replace with faster SSE2 version.
31336 * sysdeps/x86_64/memrchr.S: New file.
31337 * sysdeps/x86_64/memchr.S: Update.
31338 Replace with faster SSE2 version.
31339
fde56e5c
MP
313402011-09-12 Marek Polacek <mpolacek@redhat.com>
31341
31342 * elf/dl-load.c (lose): Add cast to avoid warning.
31343
21fd49a9
UD
313442011-10-07 Ulrich Drepper <drepper@gmail.com>
31345
5a06e643
UD
31346 * po/ca.po: Update from translation team.
31347
684ae515
UD
31348 * inet/getnetgrent_r.c: Hook up nscd.
31349 * nscd/Makefile (routines): Add nscd_netgroup.
31350 (nscd-modules): Add netgroupcache.
31351 (CFLAGS-netgroupcache.c): Define.
31352 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31353 (cache_search): Add const to second parameter.
31354 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31355 INNETGR.
31356 (dbs): Add netgrdb entry.
31357 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31358 (verify_persistent_db): Handle netgrdb.
31359 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31360 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31361 GETFDNETGR.
31362 (netgroup_response_header): Define.
31363 (innetgroup_response_header): Define.
31364 (datahead): Add netgroup_response_header and innetgroup_response_header
31365 elements.
31366 * nscd/nscd.conf: Add entries for netgroup cache.
31367 * nscd/nscd.h (dbtype): Add netgrdb.
31368 (_PATH_NSCD_NETGROUP_DB): Define.
31369 (netgroup_iov_disabled): Declare.
31370 (xmalloc, xcalloc, xrealloc): Move declarations here.
31371 (cache_search): Adjust prototype.
31372 Add netgroup-related prototypes.
31373 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31374 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31375 (__nscd_innetgr): Declare.
31376 * nscd/selinux.c (perms): Use access_vector_t as element type and
31377 add netgroup-related initializers.
31378 * nscd/netgroupcache.c: New file.
31379 * nscd/nscd_netgroup.c: New file.
31380 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31381 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31382 For four parameters use innetgr.
31383 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31384 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31385 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31386 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31387
21fd49a9
UD
31388 * nscd/connections.c (register_traced_file): Don't register file
31389 for disabled databases.
31390
054c0457
UD
313912011-10-06 Ulrich Drepper <drepper@gmail.com>
31392
32b63198
UD
31393 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31394
054c0457
UD
31395 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31396 from tree and freeing node.
31397
64031225
JO
313982011-09-25 Jiri Olsa <jolsa@redhat.com>
31399
31400 * nss/nsswitch.c (__nss_database_lookup): Handle
31401 nss_parse_service_list out of memory case.
31402
0490345c
JO
314032011-09-15 Jiri Olsa <jolsa@redhat.com>
31404
31405 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31406 out of memory case.
31407
3a62d00d
AS
314082011-10-04 Andreas Schwab <schwab@redhat.com>
31409
31410 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31411 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31412 pass it down.
31413 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31414 elf_machine_rela, elf_machine_lazy_rel.
31415 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31416 (ELF_DYNAMIC_DO_REL): Likewise.
31417 (ELF_DYNAMIC_DO_RELA): Likewise.
31418 (ELF_DYNAMIC_RELOCATE): Likewise.
31419 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31420 to ELF_DYNAMIC_DO_REL.
31421 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31422 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31423 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31424 elf_machine_rela.
31425 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31426 skip_ifunc, don't call ifunc function if non-zero.
31427 (elf_machine_rela): Likewise.
31428 (elf_machine_lazy_rel): Likewise.
31429 (elf_machine_lazy_rela): Likewise.
31430 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31431 (elf_machine_lazy_rel): Likewise.
31432 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31433 Likewise.
31434 (elf_machine_lazy_rel): Likewise.
31435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31436 Likewise.
31437 (elf_machine_lazy_rel): Likewise.
31438 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31439 (elf_machine_lazy_rel): Likewise.
31440 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31441 (elf_machine_lazy_rel): Likewise.
31442 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31443 (elf_machine_lazy_rel): Likewise.
31444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31445 (elf_machine_lazy_rel): Likewise.
31446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31447 (elf_machine_lazy_rel): Likewise.
31448 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31449 (elf_machine_lazy_rel): Likewise.
31450
68577918
UD
314512011-09-28 Ulrich Drepper <drepper@gmail.com>
31452
31453 * nss/nss_files/files-init.c (_nss_files_init): Use static
31454 initialization for all the *_traced_file variables.
31455
68822d74
AS
314562011-09-28 Andreas Schwab <schwab@redhat.com>
31457
31458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31459
2056100b
RM
314602011-09-27 Roland McGrath <roland@hack.frob.com>
31461
31462 [BZ #13226]
31463 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31464
32c76b63
AS
314652011-09-27 Andreas Schwab <schwab@redhat.com>
31466
31467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31468 Reread the line before reparsing it.
31469
bf972c9d
AS
314702011-09-26 Andreas Schwab <schwab@redhat.com>
31471
31472 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31473
e057a1b5
JM
314742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31475 Maxim Kuvyrkov <maxim@codesourcery.com>
31476 Joseph Myers <joseph@codesourcery.com>
31477
31478 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31479 if needed for __stack_chk_guard.
31480
bc7e1c36
RM
314812011-09-19 Roland McGrath <roland@hack.frob.com>
31482
ecb1482f
RM
31483 * sysdeps/posix/spawni.c (script_execute): Always define it.
31484 It will be optimized away if unused.
31485 (maybe_script_execute): New function.
31486 (__spawni): Call it.
31487
bc7e1c36
RM
31488 * Makerules: Don't include tls.make.
31489 (config-tls): Always set to thread.
31490 * tls.make.c: File removed.
31491
1c3b002b
MF
314922011-09-19 Mike Frysinger <vapier@gentoo.org>
31493
31494 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31495 * config.make.in (CPPFLAGS-config): New substituted variable.
31496
2840865d
UD
314972011-09-15 Ulrich Drepper <drepper@gmail.com>
31498
88738eb6
UD
31499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31500
cbf645a6 31501 [BZ #13192]
2840865d
UD
31502 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31503 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31504
b402e91a
RM
315052011-09-15 Roland McGrath <roland@hack.frob.com>
31506
31507 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31508 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31510 (CALL_FAIL): Likewise.
31511 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31512 (CALL_FAIL): Macro removed.
31513 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31514
4c1a1f71
UD
315152011-09-15 Ulrich Drepper <drepper@gmail.com>
31516
31517 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31518 for __FINITE_MATH_ONLY__ == 1.
31519
edc121be
AS
315202011-09-15 Andreas Schwab <schwab@redhat.com>
31521
31522 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31523 __ieee754_sqrt instead of sqrt.
31524 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31525 __ieee754_sqrtf instead of sqrtf.
31526 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31527 __floorf instead of floorf.
31528 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31529 __floorf, __truncf instead of floorf, truncf.
31530
cd205654
UD
315312011-09-14 Ulrich Drepper <drepper@gmail.com>
31532
ee4d0315
UD
31533 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31534
cd205654
UD
31535 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31536 __extern_always_inline.
31537 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31538 32-bit.
31539
48b67d71
AS
315402011-09-14 Andreas Schwab <schwab@redhat.com>
31541
31542 * elf/rtld.c (dl_main): Also relocate in dependency order when
31543 doing symbol dependency testing.
31544
1ae12c75
AS
315452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31546
31547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31548 Always define `refsym'.
31549
995a80df
AS
315502011-09-13 Andreas Schwab <schwab@redhat.com>
31551
e529793b
AS
31552 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31553 (__FD_ELT): Renamed from __FDELT.
31554 * misc/bits/select2.h (__FD_ELT): Likewise.
31555 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31556 __FD_MASK instead of __FDELT, __FDMASK.
31557 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31558 Likewise.
31559 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31560 Likewise.
31561
52d4fef8
AS
31562 * elf/Makefile (gen-ldd): Fix pattern.
31563
995a80df
AS
31564 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31565 (init_tls): Likewise.
31566
8682f8b0
UD
315672011-09-12 Ulrich Drepper <drepper@gmail.com>
31568
31569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31570
de82006d
AS
315712011-09-12 Andreas Schwab <schwab@redhat.com>
31572
a7c8e6a1
AS
31573 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31574 `struct cmsghdr *' instead of `void *'.
31575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31576 Likewise.
31577
0f31fe77
AS
315782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31579
31580 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31581 if non-absolute.
31582 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31583 ldd_rewrite_script.
0f31fe77 31584
32b4c839
UD
315852011-09-11 Ulrich Drepper <drepper@gmail.com>
31586
83cd1420
UD
31587 * configure.in: Remove --with-tls option.
31588 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31589 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31590 out in case it is missing.
31591 * sysdeps/ia64/elf/configure.in: Likewise.
31592 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31593 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31594 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31595 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31596 * sysdeps/sh/elf/configure.in: Likewise.
31597 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31598 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31599 * sysdeps/x86_64/elf/configure.in: Likewise.
31600 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31601 * sysdeps/mach/hurd/tls.h: Likewise.
31602
633f745d
UD
31603 [BZ #13067]
31604 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31605
f318beb8
UD
31606 [BZ #13090]
31607 * configure.in: Fix use of AC_INIT.
31608
32b4c839
UD
31609 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31610
3ce1f295
UD
316112011-09-10 Ulrich Drepper <drepper@gmail.com>
31612
bb016596
UD
31613 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31614 __set_errno.
8e58439c
UD
31615 * malloc/hooks.c: Likewise.
31616
aebae053 31617 [BZ #11929]
02d46fc4
UD
31618 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31619 variables statically.
31620 (narenas): Initialize.
31621 (list_lock): Initialize.
bb016596
UD
31622 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31623 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31624 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31625 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31626 Add initializers to main_arena and mp_.
31627 (malloc_state): Remove pagesize member. Change all users to use
31628 GLRO(dl_pagesize).
31629
31630 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31631 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31632 is always initialized.
31633
22a89187
UD
31634 * malloc/malloc.c: Removed unused configurations and dead code.
31635 * malloc/arena.c: Likewise.
31636 * malloc/hooks.c: Likewise.
02d46fc4 31637 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31638
d063d164
UD
31639 * include/tls.h: Removed. USE___THREAD must always be defined.
31640 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31641 * elf/dl-libc.c: Likewise.
31642 * elf/dl-tsd.c: Likewise.
31643 * include/errno.h: Likewise.
31644 * include/netdb.h: Likewise.
31645 * include/resolv.h: Likewise.
31646 * inet/herrno-loc.c: Likewise.
31647 * inet/herrno.c: Likewise.
31648 * malloc/arena.c: Likewise.
31649 * malloc/hooks.c: Likewise.
31650 * malloc/malloc.c: Likewise.
31651 * resolv/res-state.c: Likewise.
31652 * resolv/res_libc.c: Likewise.
31653 * sysdeps/i386/dl-machine.h: Likewise.
31654 * sysdeps/ia64/dl-machine.h: Likewise.
31655 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31656 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31657 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31658 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31659 * sysdeps/sh/dl-machine.h: Likewise.
31660 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31661 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31662 * sysdeps/unix/i386/sysdep.S: Likewise.
31663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31664 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31669 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31674 * sysdeps/x86_64/dl-machine.h: Likewise.
31675 * tls.make.c: Likewise.
31676
3ce1f295
UD
31677 * configure.in: Remove --with-__thread option. Make tests for
31678 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31679 tls_model attribute fail if no support is available. Remove
31680 USE_IN_LIBIO.
31681 * Makeconfig: Adjust for dropped configure option. All features are
31682 now mandatory.
31683 * Makerules: Likewise.
31684 * Versions.def: Likewise.
31685 * argp/argp-fmtstream.c: Likewise.
31686 * argp/argp-fmtstream.h: Likewise.
31687 * argp/argp-help.c: Likewise.
31688 * assert/assert.c: Likewise.
31689 * config.h.in: Likewise.
31690 * config.make.in: Likewise.
31691 * configure: Likewise.
31692 * configure.in: Likewise.
31693 * csu/Versions: Likewise.
31694 * csu/init.c: Likewise.
31695 * elf/tst-audit2.c: Likewise.
31696 * elf/tst-tls10.c: Likewise.
31697 * elf/tst-tls10.h: Likewise.
31698 * elf/tst-tls11.c: Likewise.
31699 * elf/tst-tls12.c: Likewise.
31700 * elf/tst-tls14.c: Likewise.
31701 * elf/tst-tlsmod11.c: Likewise.
31702 * elf/tst-tlsmod12.c: Likewise.
31703 * elf/tst-tlsmod13.c: Likewise.
31704 * elf/tst-tlsmod13a.c: Likewise.
31705 * elf/tst-tlsmod14a.c: Likewise.
31706 * elf/tst-tlsmod15b.c: Likewise.
31707 * elf/tst-tlsmod16a.c: Likewise.
31708 * elf/tst-tlsmod16b.c: Likewise.
31709 * elf/tst-tlsmod7.c: Likewise.
31710 * elf/tst-tlsmod8.c: Likewise.
31711 * elf/tst-tlsmod9.c: Likewise.
31712 * gmon/gmon.c: Likewise.
31713 * grp/fgetgrent_r.c: Likewise.
31714 * grp/putgrent.c: Likewise.
31715 * hurd/fopenport.c: Likewise.
31716 * include/libc-symbols.h: Likewise.
31717 * include/tls.h: Likewise.
31718 * intl/gettextP.h: Likewise.
31719 * intl/loadinfo.h: Likewise.
31720 * locale/global-locale.c: Likewise.
31721 * locale/localeinfo.h: Likewise.
31722 * mach/devstream.c: Likewise.
31723 * malloc/arena.c: Likewise.
31724 * malloc/set-freeres.c: Likewise.
31725 * misc/err.c: Likewise.
31726 * misc/getttyent.c: Likewise.
31727 * misc/mntent_r.c: Likewise.
31728 * posix/getopt.c: Likewise.
31729 * posix/wordexp.c: Likewise.
31730 * pwd/fgetpwent_r.c: Likewise.
31731 * resolv/Versions: Likewise.
31732 * resolv/res_hconf.c: Likewise.
31733 * shadow/fgetspent_r.c: Likewise.
31734 * shadow/putspent.c: Likewise.
31735 * stdio-common/printf_fphex.c: Likewise.
31736 * stdio-common/tmpfile.c: Likewise.
31737 * stdlib/abort.c: Likewise.
31738 * stdlib/fmtmsg.c: Likewise.
31739 * sunrpc/auth_unix.c: Likewise.
31740 * sunrpc/clnt_perr.c: Likewise.
31741 * sunrpc/clnt_tcp.c: Likewise.
31742 * sunrpc/clnt_udp.c: Likewise.
31743 * sunrpc/clnt_unix.c: Likewise.
31744 * sunrpc/openchild.c: Likewise.
31745 * sunrpc/svc_simple.c: Likewise.
31746 * sunrpc/svc_tcp.c: Likewise.
31747 * sunrpc/svc_udp.c: Likewise.
31748 * sunrpc/svc_unix.c: Likewise.
31749 * sunrpc/xdr.c: Likewise.
31750 * sunrpc/xdr_array.c: Likewise.
31751 * sunrpc/xdr_rec.c: Likewise.
31752 * sunrpc/xdr_ref.c: Likewise.
31753 * sunrpc/xdr_stdio.c: Likewise.
31754
1248c1c4
PB
317552011-09-09 Ulrich Drepper <drepper@gmail.com>
31756
31757 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31758
317592011-07-03 Andreas Jaeger <aj@suse.de>
31760
31761 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31762 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31763 regenerate with gen-libm-tests.pl.
31764
317652010-05-12 Petr Baudis <pasky@suse.cz>
31766
31767 [BZ #11589]
31768 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31769 around j0() zero points by switching to j1().
31770 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31771 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31774
f22e1074
UD
317752011-09-09 Ulrich Drepper <drepper@gmail.com>
31776
f19009c1
UD
31777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31778 instead of 0.
31779 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31780 instead of 0.
f19009c1
UD
31781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31782 Patch in part by Pavel Roskin <proski@gnu.org>.
31783
3f8cc204
UD
31784 [BZ #13138]
31785 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31786 realloc.
31787 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31788 Free memory block if necessary.
31789
f22e1074
UD
31790 [BZ #12847]
31791 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31792 be NULL. Don't lock in this case.
31793
0a2349f9
RM
317942011-09-09 Roland McGrath <roland@hack.frob.com>
31795
31796 * elf/elf.h (ELFOSABI_GNU): New macro.
31797 (ELFOSABI_LINUX): Define to that.
31798
f3cdd467
DZ
317992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31800
31801 * string/strncat.c (strncat): Undef the symbol in case it has been
31802 defined in bits/string.h.
31803
74718d13
UD
318042011-09-09 Ulrich Drepper <drepper@gmail.com>
31805
633e9e0f
UD
31806 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31807
0a2349f9 31808 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31809 link map.
31810
f9924780
AJ
318112011-08-17 Andreas Jaeger <aj@suse.de>
31812
31813 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31814
7f5517aa
PP
318152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31816 Ian Lance Taylor <iant@google.com>
31817
31818 * math/libm-test.inc (lround_test): New testcase.
31819 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31820
762011fe
UD
318212011-09-08 Ulrich Drepper <drepper@gmail.com>
31822
92963737
UD
31823 * Makefile: Remove support for automatic cvs check-ins.
31824 * Makerules: Likewise.
31825 * config.make.in: Likewise.
31826 * configure.in: Likewise.
31827 * intl/Makefile: Likewise.
31828 * locale/Makefile: Likewise.
31829 * po/Makefile: Likewise.
31830 * posix/Makefile: Likewise.
31831 * sysdeps/gnu/Makefile: Likewise.
31832 * sysdeps/mach/hurd/Makefile: Likewise.
31833 * sysdeps/sparc/sparc32/Makefile: Likewise.
31834
b0727fd8
JS
31835 [BZ #13118]
31836 * posix/Makefile (bug-regex32-ENV): Define.
31837 Patch by John Stanley <jpsinthemix@verizon.net>.
31838
a0f33f99
UD
31839 * misc/Makefile (headers): Add bits/select2.h.
31840 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31841 * misc/bits/select2.h: New file.
31842 * include/bits/select2.h: New file.
31843 * debug/Makefile (routines): Add fdelt_chk.
31844 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31845 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31846 FD_ISSET.
31847 * debug/fdelt_chk.c: New file.
31848
762011fe
UD
31849 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31850 * wcsmbs/test-wmemcmp.c: Likewise.
31851 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31852 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31853
318542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31855
31856 * string/Makefile (strop-tests): Add memcmp.
31857 * string/test-wmemcmp.c: New file.
31858 * string/test-memcmp.c: Add wmemcmp support.
31859
7f513ec8
RM
318602011-09-08 Roland McGrath <roland@hack.frob.com>
31861
0442afb4
RM
31862 [BZ #13153]
31863 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31864 2011-07-19 change.
31865
7f513ec8
RM
31866 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31867 garbage value in a __mach_port_mod_refs call in the cases of the
31868 task-self and thread-self ports.
31869
a12b2239
ST
318702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31871
31872 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31873
610f9ab4
AS
318742011-09-08 Andreas Schwab <schwab@redhat.com>
31875
7f513ec8 31876 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31877
48882a1a
LD
318782011-09-07 Ulrich Drepper <drepper@gmail.com>
31879
b49865be
UD
31880 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31881
fdc86bc9
UD
31882 * elf/dl-libc.c (dlerror_run): Pass back error code from
31883 dl_catch_error.
31884
c966526a
UD
31885 [BZ #13123]
31886 * elf/dl-load.c (lose): Free l_origin if it is valid.
31887
48882a1a
LD
31888 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31889 names.
31890 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31891 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31892 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31894 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31895 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31896
77a2a8b4
AZ
318972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31898
31899 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31900 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31901 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31902 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31903 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31904 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31905 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31906 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31907 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31908 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31909
24f579d8
AM
319102011-08-15 Alan Modra <amodra@gmail.com>
31911
31912 [BZ #13092]
31913 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31914 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31915 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31916 ppc_mcount to static-only-routines.
31917 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31918 __mcount_internal.
31919 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31920 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31921
3d4837df
UD
319222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31923
31924 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31925 for finite and infinity parameters.
31926
22700377
WS
319272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31928
31929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31930 and add nop instructions for throughput optimization.
31931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31932
5025581e
WS
319332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31934
31935 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31936 aligned copy for power7 with vector-scalar instructions.
31937 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31938
08a300c9
L
319392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31942 AVX check.
31943
59178ef9
AS
319442011-09-07 Andreas Schwab <schwab@redhat.com>
31945
31946 [BZ #13144]
31947 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31948 last change.
31949
e38ba7ab
UD
319502011-09-07 Ulrich Drepper <drepper@gmail.com>
31951
31952 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31953 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31954 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31955 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31956 clock_gettime.
31957
d53a73ac
UD
319582011-09-06 Ulrich Drepper <drepper@gmail.com>
31959
fc8bffcc
UD
31960 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31961 Forgot to demangle the pointer.
31962
ceaa0c5d
UD
31963 * sysdeps/i386/sysdep.h: Define atom_text_section.
31964 * sysdeps/x86_64/sysdep.h: Likewise.
31965 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31966 section with atom_text_section.
31967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31968 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31969 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31971 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31972
a77d3c17
UD
31973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31975 already be defined. Change to take two parameters and don't assign
31976 result to variable. Adjust all users.
31977 Define INTERNAL_GETTIME if not already defined.
31978 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31979 call.
31980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31981 HAVE_CLOCK_GETTIME_VSYSCALL.
31982 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31983
d53a73ac
UD
31984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31985 gettimeofday vsyscall, just use time.
31986
a8f84144
AS
319872011-09-06 Andreas Schwab <schwab@redhat.com>
31988
31989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31990 <errno.h>.
31991
ef606249
UD
319922011-09-06 Ulrich Drepper <drepper@gmail.com>
31993
31994 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31995 syscall on x86-64.
31996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31997 syscall.
31998 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31999 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32000 syscall if possible.
32001
6585cb60
UD
320022011-09-05 Ulrich Drepper <drepper@gmail.com>
32003
32004 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32005 e_ident. Don't pass to find_mapsXX.
32006 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32007
a5f524e4
LD
320082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32009
32010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32011 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32012 * sysdeps/x86_64/multiarch/strchr.S: Update.
32013 Check bit_slow_BSF bit.
32014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32015 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32016 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32017
554881ef
UD
320182011-09-05 Ulrich Drepper <drepper@gmail.com>
32019
d96de963
UD
32020 [BZ #13134]
32021 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32022 before glibc 2.15.
32023 (tryshell): Define.
32024 (__spawni): Change last parameter to be flag. Test
32025 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32026 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32027 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32028 * posix/spawni.c: Likewise.
32029 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32030 * posix/spawnp.c: Likewise. Change normal version to use
32031 SPAWN_XFLAGS_USE_PATH.
32032 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32033 SPAWN_XFLAGS_TRY_SHELL.
32034
d48e5868
UD
32035 [BZ #13150]
32036 * posix/glob.h: Remove gcc 1.x support.
32037
554881ef
UD
32038 [BZ #13068]
32039 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32040
693fb948
LD
320412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32042
32043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32044 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32045 strrchr-sse2-bsf
32046 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32047 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32048 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32049 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32050 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32051 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32052
1b48c537
UD
320532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32054
49d42c37
UD
32055 * sysdeps/x86_64/wcscmp.S: New file.
32056
1b48c537
UD
32057 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32058 wcscmp-c wcscmp-sse2
32059 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32060 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32061 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32062 * wcsmbs/wcscmp.c: Allow renaming.
32063
15c95c5d
DM
320642011-09-05 David S. Miller <davem@davemloft.net>
32065
32066 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32067 stack slot, rather than the struct return pointer slot.
32068 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32069 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32071 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32072
2f0ad8f3
UD
320732011-09-05 Ulrich Drepper <drepper@gmail.com>
32074
d88ae418
UD
32075 * po/ja.po: Update from translation team.
32076
2f0ad8f3
UD
32077 [BZ #13144]
32078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32079 kernel in 64-bit binaries.
32080
5f4318d1
DM
320812011-09-01 David S. Miller <davem@davemloft.net>
32082
32083 * elf/elf.h (HWCAP_SPARC_*): Move to..
32084 * sysdeps/sparc/sysdep.h: this new file and add new values.
32085 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32086 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32087 _DL_HWCAP_COUNT to 24.
32088 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32089 entries.
32090 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32091 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32092 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32094 instead of magic constants.
32095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32096
3ba57516
DM
320972011-08-31 David S. Miller <davem@davemloft.net>
32098
32099 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32101 Reimplement to do errno handling inline.
32102 (SYSCALL_ERROR_HANDLER): New macro.
32103 (__SYSCALL_STRING): Do not do errno handling in asm.
32104 (__CLONE_SYSCALL_STRING): Delete.
32105 (__INTERNAL_SYSCALL_STRING): Delete.
32106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32107 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32108 (PSEUDO): Reimplement to do errno handling inline.
32109 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32110 (SYSCALL_ERROR_HANDLER): New macro.
32111 (__SYSCALL_STRING): Do not do errno handling in asm.
32112 (__CLONE_SYSCALL_STRING): Delete.
32113 (__INTERNAL_SYSCALL_STRING): Delete.
32114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32115 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32116 i386.
32117 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32118 (inline_syscall*): Add 'err' argument.
32119 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32120 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32121 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32122 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32123
32124 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32125 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32126
2bc17433
AS
321272011-08-30 Andreas Schwab <schwab@redhat.com>
32128
32129 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32130
fbeb5f4d
JO
321312011-08-29 Jiri Olsa <jolsa@redhat.com>
32132
32133 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32134 directive.
32135
ad69cc26
DM
321362011-08-24 David S. Miller <davem@davemloft.net>
32137
32138 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32139
39dd69df
AS
321402011-08-24 Andreas Schwab <schwab@redhat.com>
32141
32142 * elf/Makefile: Add rules to build and run unload8 test.
32143 * elf/unload8.c: New file.
32144 * elf/unload8mod1.c: New file.
32145 * elf/unload8mod1x.c: New file.
32146 * elf/unload8mod2.c: New file.
32147 * elf/unload8mod3.c: New file.
32148
32149 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32150 it wasn't used.
32151
2c0b250a
DM
321522011-08-23 David S. Miller <davem@davemloft.net>
32153
32154 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32155 subtract stack bias.
32156 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32157 %sp not %fp in calculations.
32158 (_JMPBUF_UNWINDS_ADJ): Likewise.
32159
22044b48
DM
32160 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32161 (aio_suspend): Call it to force an exception region around the
32162 AIO_MISC_WAIT() invocation.
32163
2cae4995
AS
321642011-08-23 Andreas Schwab <schwab@redhat.com>
32165
32166 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32167 backslash.
32168
873a772e
AJ
321692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32170
32171 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32172 protection macro.
32173 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32174 and <dl-machine.h>.
32175 (Elf64_FuncDesc): Remove.
32176
25ad0df1
DM
321772011-08-22 David S. Miller <davem@davemloft.net>
32178
32179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32180 sigaltstack check, add missing cfi directives.
32181 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32182 missing cfi directives, and sigaltstack handling.
32183
e888bcbe
AS
321842011-08-16 Andreas Schwab <schwab@redhat.com>
32185
32186 [BZ #11724]
32187 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32188 object is seen twice.
32189 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32190
32191 * elf/Makefile (distribute): Add tst-initorder2.c.
32192 (tests): Add tst-initorder2.
32193 (modules-names): Add tst-initorder2a tst-initorder2b
32194 tst-initorder2c tst-initorder2d. Add rules to build them.
32195 ($(objpfx)tst-initorder2.out): New rule.
32196 * elf/tst-initorder2.c: New file.
32197 * elf/tst-initorder2.exp: New file.
32198
87162f46
AS
321992011-08-22 Andreas Schwab <schwab@redhat.com>
32200
70538b7f
AS
32201 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32202
f55ffe58
AS
32203 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32204 dependencies back to end of function.
32205
87162f46
AS
32206 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32207 $(elfobjdir)/ld.so.
32208
91b392a4
UD
322092011-08-21 Ulrich Drepper <drepper@gmail.com>
32210
32211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32212 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32214 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32215 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32216 of __vdso_gettimeofday.
32217 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32218 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32219 attribute_hidden.
32220 (_libc_vdso_platform_setup): Remove initialization of
32221 __vdso_gettimeofday and __vdso_time.
32222
5c43483f
UD
322232011-08-20 Ulrich Drepper <drepper@gmail.com>
32224
775a77e7
UD
32225 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32226 and fgetc_unlocked.
32227 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32228 getc_unlocked.
89f447ed 32229
49c74ba9
UD
32230 * elf/dl-open.c (add_to_global): Report additions to the global scope
32231 for LD_DEBUG=scopes.
32232 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32233 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32234
5c43483f
UD
32235 [BZ #13114]
32236 * stdio-common/Makefile (tests): Add bug24.
32237 * stdio-common/bug24.c: New file.
32238
a101b025
AJ
322392011-08-19 Andreas Jaeger <aj@suse.de>
32240
32241 [BZ #13114]
32242 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32243 non-existant file when using close-on-exec mode.
32244
c88f1766
UD
322452011-08-20 Ulrich Drepper <drepper@gmail.com>
32246
0276a718
UD
32247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32248 the very first instruction.
32249
c88f1766
UD
32250 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32251 the CFI state in the end.
32252 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32253 inclusion of dl-trampoline.h.
32254 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32255
51ccffa0
AS
322562011-08-19 Andreas Schwab <schwab@redhat.com>
32257
94d7165f
AS
32258 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32259 expectations for long double.
32260
51ccffa0
AS
32261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32262 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32263
fd708658 322642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32265
32266 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32267 artificual limit depends upon the system page size.
32268
44f0a71e
UD
322692011-08-17 Ulrich Drepper <drepper@gmail.com>
32270
32271 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32272 * resolv/Makefile: Define CFLAGS-libresolv.
32273
8de79a24
AS
322742011-08-17 Andreas Schwab <schwab@redhat.com>
32275
32276 * nss/makedb.c (compute_tables): Make variables used in nested
32277 function static.
32278
27724598
UD
322792011-08-17 Ulrich Drepper <drepper@gmail.com>
32280
c5305d88
UD
32281 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32282 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32283 if buffer was too small.
32284
27724598
UD
32285 * elf/pldd.c (main): Attach to all threads in the process.
32286 Rewrite /proc handling to use *at functions.
32287
076fe015
UD
322882011-08-16 Ulrich Drepper <drepper@gmail.com>
32289
174baab3
UD
32290 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32291 specifies first scope to show.
32292 (dl_open_worker): Update callers. Move printing scope of new
32293 object to before the relocation.
44f0a71e 32294 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32295 * sysdeps/generic/ldsodefs.h: Update declaration.
32296
076fe015
UD
32297 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32298 string for the scope number.
32299
a60df2c3
UD
323002011-08-14 Ulrich Drepper <drepper@gmail.com>
32301
32302 * nscd/servicescache.c (cache_addserv): Make sure written is always
32303 initialized.
32304
5e4287d1
RM
323052011-08-14 Roland McGrath <roland@hack.frob.com>
32306
85ae0589
RM
32307 * sysdeps/i386/i486/bits/atomic.h
32308 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32309 statement expression, so as to suppress "set but not used" warning.
32310 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32311
69f63097
RM
32312 * string/strncat.c (STRNCAT): Use prototype definition.
32313
675456ef
RM
32314 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32315 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32316 -Iprograms here.
32317 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32318 (localedef-modules): Add localedef.
32319 (locale-modules): Add locale.
32320
5e4287d1
RM
32321 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32322 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32323 to avoid a warning.
32324
9c96ff23
DM
323252011-08-14 David S. Miller <davem@davemloft.net>
32326
32327 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32328 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32329
f9ddf089
UD
323302011-08-13 Ulrich Drepper <drepper@gmail.com>
32331
44f0a71e 32332 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32333 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32334 * elf/rtld.c (dl_main): Set l_name of vDSO.
32335 Call _dl_show_scope when DL_DEBUG_SCOPES.
32336 (process_dl_debug): Recognize scopes flag and also set it for all.
32337 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32338 Declare _dl_show_scope.
32339
1dc27704
UD
32340 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32341 (do_dlopen): Pass caller_dlopen to dl_open.
32342 (__libc_dlopen_mode): Initialize caller_dlopen.
32343
f9ddf089
UD
32344 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32345 of libc. Make tolower call locale-independent. Optimize a bit by
32346 using isdigit instead of isalnum.
32347 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32348
9ac533d3
UD
323492011-08-12 Ulrich Drepper <drepper@gmail.com>
32350
32351 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32352 was a dependency or dynamically loaded.
32353
89edf2e9
UD
323542011-08-11 Ulrich Drepper <drepper@gmail.com>
32355
8e999d29
UD
32356 * intl/l10nflist.c: Allow architecture-specific pop function.
32357 * sysdeps/x86_64/l10nflist.c: New file.
32358
89edf2e9
UD
32359 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32360 classification.
32361
14d96785
AS
323622011-08-10 Andreas Schwab <schwab@redhat.com>
32363
32364 * include/dirent.h: Add libc_hidden_proto for scandirat and
32365 scandirat64. Don't declare __scandirat64.
32366 * dirent/scandirat.c: Add libc_hidden_def.
32367 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32368 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32369
6761ac04
DM
323702011-08-10 David S. Miller <davem@davemloft.net>
32371
32372 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32373 enum.
32374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32375 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32376 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32377
c55fbd1e
UD
323782011-08-09 Ulrich Drepper <drepper@gmail.com>
32379
32380 * Versions.def [libc]: Add GLIBC_2.15.
32381 * dirent/Makefile (routines): Add scandirat and scandirat64.
32382 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32383 GLIBC_2.15.
32384 * dirent/dirent.h: Declare scandirat and scandirat64.
32385 * dirent/scandirat.c: New file.
32386 * dirent/scandirat64.c: New file.
32387 * sysdeps/wordsize-64/scandirat.c: New file.
32388 * sysdeps/wordsize-64/scandirat64.c: New file.
32389 * dirent/opendir.c: Define opendirat.
32390 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32391 using scandirat.
32392 * dirent/scandir64.c: Adjust for scandir.c change.
32393 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32394 __scandirat64, and __scandir_cancel_handler.
32395 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32396 additional parameter and use openat instead of open (outside of ld.so).
32397 Add new __opendir as wrapper around __opendirat.
32398 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32399 here without requiring old scandirat implementation.
32400
879165f2
UD
324012011-08-08 Ulrich Drepper <drepper@gmail.com>
32402
32403 * dirent/scandir.c (cancel_handler): Renamed to
32404 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32405 defined. Adjust users.
32406 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32408
cb7e923b
UD
324092011-08-04 Ulrich Drepper <drepper@gmail.com>
32410
16292edd
UD
32411 * string/test-string.h (IMPL): Use __STRING to expand name and then
32412 stringify it.
32413
cb7e923b
UD
32414 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32415 of cleanups.
32416
cff82933
LD
324172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32418
32419 * string/Makefile: Update.
32420 (strop-tests): Append strncat.
32421 * string/test-wcscmp.c: New file.
32422 New comprehensive test for wcscmp.
32423 * string/test-strcmp.c: Update.
32424 (WIDE): New define.
32425
9be9bfcc
AS
324262011-07-22 Andreas Schwab <schwab@redhat.com>
32427
32428 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32429 line.
32430
2e96f1c7
AS
324312011-07-26 Andreas Schwab <schwab@redhat.com>
32432
32433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32434 encoding to ACE if AI_IDN.
32435
85188888
JJ
324362011-08-01 Jakub Jelinek <jakub@redhat.com>
32437
32438 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32439 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32440
5fa16e9b
LD
324412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32442
32443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32444 Fix overflow bug in strncat.
32445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32446
32447 * string/test-strncat.c: Update.
32448 Add new tests for checking overflow bugs.
32449
324502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32451
32452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32453 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32454 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32455 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32457 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32458 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32459 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32460 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32461
32462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32463 (USE_AS_STRCAT): Define.
32464 Add strcat and strncat support.
32465 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32466
8c1a459f
AS
324672011-07-25 Andreas Schwab <schwab@redhat.com>
32468
32469 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32470 __n bigger than INT_MAX+1.
32471 (__strncmp_g): Likewise.
32472
bba33c28
UD
324732011-07-23 Ulrich Drepper <drepper@gmail.com>
32474
798be72d
UD
32475 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32476 * libio/stido.h: Likewise.
32477
8accd4dc
UD
32478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32479 (AF_NFC): Define.
32480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32481 (AF_NFC): Define.
32482
cbff0d96
UD
32483 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32486 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32488
9191c04a
UD
32489 [BZ #13021]
32490 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32491 installed.
32492
bba33c28
UD
32493 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32494 typo.
32495 (_dl_x86_64_save_sse): Likewise.
32496
90f139dd
UD
324972011-07-22 Ulrich Drepper <drepper@gmail.com>
32498
1aae088a
UD
32499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32500 OSXSAVE.
32501 (_dl_x86_64_save_sse): Likewise.
32502
8e2045f5
UD
32503 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32504
90f139dd
UD
32505 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32506
1d002f25
AS
325072011-07-21 Andreas Schwab <schwab@redhat.com>
32508
32509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32510 change.
32511 (_dl_x86_64_save_sse): Use correct AVX check.
32512
21137f89
UD
325132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32514
32515 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32516 bug in strncpy/strncat.
32517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32518
a65c0b7a
UD
325192011-07-21 Ulrich Drepper <drepper@gmail.com>
32520
32521 * string/tester.c (test_strcat): Add tests for different alignments
32522 of source and destination.
32523 (test_strncat): Likewise.
32524
6986b98a
UD
325252011-07-20 Ulrich Drepper <drepper@gmail.com>
32526
90bb2039
UD
32527 [BZ #12852]
32528 * posix/glob.c (glob): Check passed in values before using them in
32529 expressions to avoid some overflows.
32530 (glob_in_dir): Likewise.
32531
5644ef54
UD
32532 [BZ #13007]
32533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32534 check for AVX enablement so that we don't crash with old kernels and
32535 new hardware.
32536 * elf/tst-audit4.c: Add same checks here.
32537 * elf/tst-audit6.c: Likewise.
32538
32539 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32540
bfc9dc9b
AS
325412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32542
32543 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32544
702e64bb
UD
325452011-07-20 Ulrich Drepper <drepper@gmail.com>
32546
32547 * po/cs.po: Update from translation team.
32548 * po/bg.po: Likewise.
32549
295e904f
MP
325502011-07-12 Marek Polacek <mpolacek@redhat.com>
32551
32552 * misc/sys/cdefs.h: Add support for const attribute.
32553 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32554 to gnu_dev_{major,minor,makedev} functions.
32555
3ff94596
MP
325562011-07-20 Marek Polacek <mpolacek@redhat.com>
32557
32558 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32559
28b59fca
AS
325602011-07-20 Andreas Schwab <schwab@redhat.com>
32561
32562 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32563 strlen results.
32564
19df733e
AK
325652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32566
32567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32568 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32569 register in order to avoid conflicts with the soft frame pointer
32570 being held in r11 when necessary.
32571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32572 (INTERNAL_VSYSCALL_NCS): Likewise.
32573
c8835729
MP
325742011-07-14 Marek Polacek <mpolacek@redhat.com>
32575
32576 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32577 * elf/dl-fini.c (_dl_fini): Adjust caller.
32578 * elf/dl-close.c (_dl_close_worker): Likewise.
32579 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32580
b902330c
MP
325812011-07-15 Marek Polacek <mpolacek@redhat.com>
32582
8991e135
MP
32583 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32584 "aux_cache->nlibs < 0".
32585
b902330c
MP
32586 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32587 in the reload-count case.
32588
99710781
LD
325892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32590
32591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32592 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32593 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32594 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32595 * sysdeps/x86_64/multiarch/strcat.S: New file.
32596 * sysdeps/x86_64/multiarch/strncat.S: New file.
32597 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32598 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32599 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32600 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32601 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32602 (USE_AS_STRCAT): Define.
32603 Add strcat and strncat support.
32604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32606 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32607 * string/strncat.c: Update.
32608 (USE_AS_STRNCAT): Define.
32609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32610 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32611 and i7.
32612 * sysdeps/x86_64/multiarch/init-arch.h
32613 (bit_Prefer_PMINUB_for_stringop): New.
32614 (index_Prefer_PMINUB_for_stringop): Likewise.
32615 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32616 bit_Prefer_PMINUB_for_stringop.
32617
7dc6bd90
UD
326182011-07-19 Ulrich Drepper <drepper@gmail.com>
32619
32620 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32621 buffer64.
32622 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32623 of casting of buffer.
32624 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32625 buffer32 and buffer64.
32626 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32627 writes instead of casting of buffer.
32628 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32629 buffer32.
32630 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32631 casting of buffer.
32632
e0e72284
AS
326332011-07-19 Andreas Schwab <schwab@redhat.com>
32634
32635 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32636
feb1eb0b
UD
326372011-07-19 Ulrich Drepper <drepper@gmail.com>
32638
32639 * nscd/nscd.c (termination_handler): Don't do anything for a database
32640 if it has not yet been initialized.
32641
298711ff
UD
326422011-07-18 Ulrich Drepper <drepper@gmail.com>
32643
32644 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32645
326462011-07-15 Marek Polacek <mpolacek@redhat.com>
32647
32648 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32649
f9d68389
UD
326502011-07-18 Ulrich Drepper <drepper@gmail.com>
32651
32652 * po/nl.po: Update from translation team.
32653 * po/sv.po: Likewise.
32654
db290cf5
RM
326552011-07-16 Roland McGrath <roland@hack.frob.com>
32656
32657 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32658 now disallowed by GCC.
5c550700 32659
fd5e21c7
RM
32660 * configure.in (use-default-link): Default to yes if a test -shared
32661 link meets our qualifications.
32662 * configure: Regenerated.
32663
5c550700
RM
32664 * config.make.in (output-format): New variable.
32665 * configure.in: Check for ld --print-output-format support.
32666 * configure: Regenerated.
32667 * Makerules ($(common-objpfx)format.lds)
32668 [$(output-format) != unknown]: Just use $(output-format),
32669 instead of the linker-script munging.
32670
9fa2c032
RM
326712011-07-14 Roland McGrath <roland@hack.frob.com>
32672
a6928d51
RM
32673 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32674 of $(common-objpfx)shlib.lds.
32675 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32676
661607b3
RM
32677 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32678 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32679
9fa2c032
RM
32680 * configure.in (-z relro check): Adjust test code to add a large
32681 writable data section after it.
32682 * configure: Regenerated.
32683
defe9061
RM
326842011-07-11 Roland McGrath <roland@hack.frob.com>
32685
32686 * configure.in (-z relro check): Fix test code to make the variable
32687 truly const.
32688 * configure: Regenerated.
32689
319b9ad4
UD
326902011-07-11 Ulrich Drepper <drepper@gmail.com>
32691
32692 * nscd/nscd.h (struct traced_file): Define.
32693 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32694 elements. Add traced_files.
32695 (inotify_fd): Declare.
32696 (register_traced_file): Declare.
32697 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32698 (inotify_fd): Export.
32699 (resolv_conf_descr): Remove.
32700 (nscd_init): Move inotify descriptor creation to main.
32701 Don't register files for notification here.
32702 (register_traced_file): New function.
32703 (invalidate_cache): Don't use reset_res to determine whether to call
32704 res_init, go through the list of registered files.
32705 (main_loop_poll): The inotify descriptors are now stored in the
32706 structures for the traced files.
32707 (main_loop_epoll): Likewise
32708 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32709 to __nss_disable_nscd.
32710 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32711 for a database anymore. Check the records for all the registered
32712 files instead.
32713 * nss/Makefile (libnss_files-routines): Add files-init.
32714 (libnss_db-routines): Add db-init.
32715 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32716 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32717 * nss/nss_db/db-init.c: New file.
32718 * nss/nss_files/files-init.c: New file.
32719 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32720 __nss_lookup_function.
32721 (__nss_lookup_function): Call nss_load_library.
32722 (nss_load_all_libraries): New function.
32723 (__nss_disable_nscd): Take parameter with callback function for files
32724 to register. Set is_nscd. Load all the DSOs for the NSS modules
32725 used for the cached services.
32726 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32727 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32728 options for features to all the files in nscd.
32729
32730 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32731
23bee3e8
RM
327322011-07-10 Roland McGrath <roland@hack.frob.com>
32733
32734 * csu/elf-init.c (__libc_csu_init): Comment typo.
32735
46a5b7f0
UD
327362011-07-09 Ulrich Drepper <drepper@gmail.com>
32737
32738 * po/pl.po: Update from translation team.
32739 * po/ja.po: Likewise.
32740 * po/ru.po: Likewise.
32741 * po/ko.po: Likewise.
32742 * po/fr.po: Likewise.
32743
d30cf5bb
RM
327442011-07-09 Roland McGrath <roland@hack.frob.com>
32745
113ddea4
RM
32746 * configure.in (.ctors/.dtors header and trailer check):
32747 Use an empirical test on a built program.
32748 * configure: Regenerated.
32749
574920b4
RM
32750 * configure.in (-z relro check): Use an empirical test on a built DSO.
32751 Detect, but do not require, on ia64.
32752 * configure: Regenerated.
32753
d30cf5bb
RM
32754 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32755 Update tests that use readelf to use $READELF instead.
32756 * configure: Regenerated.
32757
8538fdb3
UD
327582011-07-08 Ulrich Drepper <drepper@gmail.com>
32759
32760 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32761 if the result is not used.
32762
04d08991
AJ
327632011-07-05 Andreas Jaeger <aj@suse.de>
32764
32765 [BZ#9696]
32766 * stdlib/tst-strtod.c: Add testcase.
32767
de283087
AD
327682011-07-07 Ulrich Drepper <drepper@gmail.com>
32769
4e5f31c8 32770 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32771 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32772 The latter has a higher limit. Take additional parameter to pass to
32773 the new function.
32774 (__pathconf): Pass file to __statfs_link_max.
32775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32776 __statfs_link_max.
32777 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32778 __statfs_link_max.
32779
de283087
AD
32780 [BZ #12868]
32781 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32783 Handle Lustre.
32784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32785 (__statfs_filesize_max): Likewise.
32786 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32787
c75fa153
AJ
327882011-07-05 Andreas Jaeger <aj@suse.de>
32789
32790 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32791
1a544854
UD
327922011-07-06 Marek Polacek <mpolacek@redhat.com>
32793
32794 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32795 `status' variable.
32796 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32797 Likewise.
32798
6f0eec67
UD
327992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32800
32801 * Makefile (strop-tests): Add strncat.
32802 * string/test-strncat.c: New file.
32803
aae30307
UD
328042011-06-30 Marek Polacek <mpolacek@redhat.com>
32805
32806 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32807
c0cfb5eb
UD
328082011-06-21 Andreas Jaeger <aj@suse.de>
32809
32810 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32811 Copy rule from iconvdata/Makefile.
32812
01636b21
UD
328132011-07-06 Ulrich Drepper <drepper@gmail.com>
32814
32815 [BZ #12922]
32816 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32817 but no long options are defined, just return 'W'.
32818
9895c8bc
UD
328192011-06-22 Marek Polacek <mpolacek@redhat.com>
32820
32821 [BZ #9696]
32822 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32823
5d4cf042
UD
328242011-07-06 Ulrich Drepper <drepper@gmail.com>
32825
32826 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32827 netgroups to read.
960e5535 32828 (innetgr): Likewise.
5d4cf042 32829
751eb97e
RM
328302011-07-05 Roland McGrath <roland@hack.frob.com>
32831
32832 * config.make.in (install_root): Default to $(DESTDIR).
32833
f15f1e45
UD
328342011-07-05 Ulrich Drepper <drepper@gmail.com>
32835
32836 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32837
4e34ac6a
RM
328382011-07-02 Roland McGrath <roland@hack.frob.com>
32839
5e9b6af4
RM
32840 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32841
84f9ea0f
RM
32842 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32843 containing directory rather than embedding absolute directory names.
32844
ea5ee9f7
RM
32845 * scripts/check-local-headers.sh: Rewritten using awk.
32846 Match by word, not by line. Print error messages for matches.
32847 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32848
1b74661a
RM
32849 * Makerules [shlib-lds-flags empty]:
32850 ($(common-objpfx)libc_pic.opts): New target.
32851 ($(common-objpfx)libc_pic.os.clean): New target.
32852 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32853
32854 * config.make.in (OBJCOPY): New variable.
32855 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32856 * configure: Regenerated.
32857
f781ef40
RM
32858 * config.make.in (use-default-link): New variable.
32859 * configure.in (use_default_link): Grok --with-default-link to set it.
32860 * configure: Regenerated.
32861 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32862 (shlib-lds, shlib-lds-flags): Define to empty.
32863
2d4fa81e
RM
32864 * Makerules (shlib-lds): New variable.
32865 (shlib-lds-flags): New variable.
32866 (build-shlib, build-moduile, build-module-asneeded): Use it.
32867 ($(common-objpfx)libc.so): Use $(shlib-lds).
32868 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32869 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32870
31fffa6b
RM
32871 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32872 DT_FLAGS/DT_FLAGS_1 with zero flags.
32873
4e34ac6a
RM
32874 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32875 linker script munging.
32876
fcfc776b
UD
328772011-07-02 Ulrich Drepper <drepper@gmail.com>
32878
32879 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32880 as 128-bit value.
32881 * crypt/sha512.c (sha512_process_block): Perform total addition using
32882 128-bit if possible.
32883 (__sha512_finish_ctx): Likewise.
32884 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32885 as 64-bit value.
32886 * crypt/sha256.c (SWAP64): Define.
32887 (sha256_process_block): Perform total addition using 64-bit if
32888 possible.
32889 (__sha256_finish_ctx): Likewise.
32890
99231d9a
UD
328912011-07-01 Ulrich Drepper <drepper@gmail.com>
32892
32893 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32899
445b4a53
TK
329002011-07-01 Thorsten Kukuk <kukuk@suse.de>
32901
32902 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32904 * nscd/hstcache.c (cache_addhst): Likewise.
32905 * nscd/grpcache.c (cache_addgr): Likewise.
32906 * nscd/aicache.c (addhstaiX): Likewise
32907
6d4d8e8e
AS
329082011-07-01 Andreas Schwab <schwab@redhat.com>
32909
32910 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32911 domain only when needed.
32912
89f654c5
AS
329132011-06-30 Andreas Schwab <schwab@redhat.com>
32914
32915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32916 is always restored.
32917
cf3b23ff
UD
329182011-06-29 Ulrich Drepper <drepper@gmail.com>
32919
32920 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32921 are re-adding the entry.
32922 * nscd/servicescache.c (cache_addserv): Likewise.
32923
751626f9
AJ
329242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32925
32926 * sysdeps/generic/dl-irel.h: fix protection against multiple
32927 inclusions.
32928 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32929
9113ea1f
UD
329302011-06-28 Ulrich Drepper <drepper@gmail.com>
32931
5c0b8d90
UD
32932 [BZ #12935]
32933 * malloc/memusage.sh: Fix quoting in message.
32934 * debug/xtrace.sh: Likewise.
32935
9113ea1f
UD
32936 * configure.in: Remove support for --experimental-malloc option, make
32937 it the default.
32938 * config.make.in: Likewise.
32939 * malloc/Makefile: Likewise.
32940
a4172181
AS
329412011-06-27 Andreas Schwab <schwab@redhat.com>
32942
32943 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32944 two-byte characters.
32945
78a7eee7
RM
329462011-06-27 Roland McGrath <roland@hack.frob.com>
32947
62bede13
RM
32948 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32949 AC_CACHE_CHECK invocation.
32950 * configure: Regenerated.
32951
78a7eee7
RM
32952 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32953
5ce33a62
UD
329542011-06-27 Ulrich Drepper <drepper@gmail.com>
32955
034807a9
UD
32956 [BZ #12350]
32957 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32958 bit from old_res_options.
32959
4902da17
UD
32960 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32961
5ce33a62
UD
32962 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32963 value type for setfct.
32964
c2344f56
L
329652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32966
32967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32968 __gettimeofday instead of gettimeofday.
32969
68468076
UD
329702011-06-26 Ulrich Drepper <drepper@gmail.com>
32971
32972 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32973
acb0d739
L
329742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32977
32978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32979 info.
32980
8912479f
L
329812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32982
32983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32984 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32985 strcpy-sse2-unaligned strncpy-sse2-unaligned
32986 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32987 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32988 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32989 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32990 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32993 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32994 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32995 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32996 (STRCPY): Support SSE2 and SSSE3 versions.
32997
d5495a11
UD
329982011-06-24 Ulrich Drepper <drepper@gmail.com>
32999
33000 [BZ #12874]
33001 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33002 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33003 kernels which artificially limit size of requests.
33004
0b1cbaae
L
330052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33008 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33009 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33010 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33011 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33012 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33013 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33014 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33017 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33018 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33019 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33020 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33021 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33023 Enable unaligned load optimization for Intel Core i3, i5 and i7
33024 processors.
33025 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33026 Define.
33027 (index_Fast_Unaligned_Load): Define.
33028 (HAS_FAST_UNALIGNED_LOAD): Define.
33029
07f494a0
MP
330302011-06-23 Marek Polacek <mpolacek@redhat.com>
33031
33032 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33033
fa3fc0fe
UD
330342011-06-22 Ulrich Drepper <drepper@gmail.com>
33035
33036 [BZ #12907]
33037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33038 until it is clear that the information is realy needed.
33039 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33040
e12df166
AS
330412011-06-22 Andreas Schwab <schwab@redhat.com>
33042
33043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33044
852eb34d
UD
330452011-06-22 Ulrich Drepper <drepper@gmail.com>
33046
84e2a551
UD
33047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33048 /sys/devices/system/cpu/online if it is usable.
33049
852eb34d
UD
33050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33051 reading the information from the /proc filesystem to once a second.
33052
6e502e19
UD
330532011-06-21 Andreas Jaeger <aj@suse.de>
33054
33055 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33056 NULL after inclusion of kernel headers.
33057
75d39ff2
UD
330582011-06-21 Ulrich Drepper <drepper@gmail.com>
33059
51f9aa6a
UD
33060 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33061 calls to internal_setent.
33062
c0244a9d
UD
33063 [BZ #12885]
33064 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33065 addresses using gethostbyname4_r ignore IPv4 addresses.
33066
c5e3c2ae
UD
33067 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33068 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33069
75d39ff2
UD
33070 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33071
42675c6f
DM
330722011-06-20 David S. Miller <davem@davemloft.net>
33073
33074 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33075 inclusions.
33076 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33077
33078 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33079 (elf_irel): Use it.
33080 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33081 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33082 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33083 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33084 * sysdeps/x86_64/dl-irel.h: Likewise.
33085
33086 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33087 * elf/dl-sym.c: Likewise.
33088
57912a71
UD
330892011-06-15 Ulrich Drepper <drepper@gmail.com>
33090
33091 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33092 need to dereference resplen2.
33093
ee22793d
AS
330942011-06-14 Andreas Schwab <schwab@redhat.com>
33095
33096 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33097
a9e836b0
UD
330982011-06-15 Ulrich Drepper <drepper@gmail.com>
33099
77fb9117
UD
33100 * Makeconfig: Define vardbdir and inst_vardbdir.
33101 * nss/Makefile: Add rules to install db-Makefile.
33102
40c1b22c
UD
33103 * nss/nss_db/db-XXX.c: Cleanup.
33104
9f2da732
UD
33105 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33106 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33107 GLIBC_PRIVATE.
33108 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33109 * nss/makedb.c: Implement -g option to specify that value strings
33110 are generated and should not be added to table iterated over for
33111 get*ent calls.
33112 * nss/nss_db/db-initgroups.c: New file.
33113
82e9a1f7
UD
33114 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33115 interface.
33116
c41af17e
UD
33117 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33118 (internal_getgrouplist): Adjust to name change.
33119 Update use_initgroups_entry if this is not the first call.
33120 * nss/databases.def: Add initgroups entry.
33121
a9e836b0
UD
33122 * nss/makedb.c (compute_tables): Check result of multiple hash table
33123 sizes to minimize maximum chain length.
33124
2666d441
UD
331252011-06-14 Ulrich Drepper <drepper@gmail.com>
33126
33127 * Versions.def: Add entry for libnss_db.
33128 * shlib-versions: Likewise.
33129 * nss/Makefile: Add rules to build libnss_db.
33130 * nss/Versions: Add libnss_db information. Organize libnss_files
33131 entries better.
33132 * nss/db-Makefile: Add gshadow support. Change rules for the new
33133 makedb progra. Some minor improvements to generate smaller files.
33134 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33135 here from...
33136 * nss/makedb.c: ...here.
33137 Improve database format to be smaller and require less memory at
33138 runtime.
33139 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33140 db anymore.
33141 * nss/nss_db/db-netgrp.c: Likewise.
33142 * nss/nss_db/db-open.c: Likewise.
33143 * nss/nss_files/flies-XXX.x: Adjust comments.
33144 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33145 * nss/nss_files/files-grp.c: Likewise.
33146 * nss/nss_files/files-hosts.c: Likewise.
33147 * nss/nss_files/files-network.c: Likewise.
33148 * nss/nss_files/files-proto.c: Likewise.
33149 * nss/nss_files/files-pwd.c: Likewise.
33150 * nss/nss_files/files-rpc.c: Likewise.
33151 * nss/nss_files/files-service.c: Likewise.
33152 * nss/nss_files/files-sgrp.c: Likewise.
33153 * nss/nss_files/files-spwd.c: Likewise.
33154 * nss/nss_db/db-alias.c: Removed.
33155 * nss/nss_db/dummy-db.h: Removed.
33156
9ee76b5a
UD
331572011-06-02 Ulrich Drepper <drepper@gmail.com>
33158
33159 * nss/makedb.c: Rewritten to not use database library.
33160 * nss/Makefile: Update to build new makedb program.
33161
c71ca1f8
AJ
331622011-06-14 Andreas Jaeger <aj@suse.de>
33163
33164 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33165 memset declaration.
33166
3154bfb8
UD
331672011-06-10 Andreas Schwab <schwab@redhat.com>
33168
33169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33170 tmpbuf.
33171
b350afab
RM
331722011-06-10 Roland McGrath <roland@hack.frob.com>
33173
decd4e50
RM
33174 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33175 * elf/Makefile ($(objpfx)ld.so): Likewise.
33176
5615eaf2
RM
33177 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33178 Don't list ld.so twice in dependencies.
33179
33180 * posix/bug-regex31.c: Include <stdlib.h>.
33181
33182 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33183
33184 * nis/nss_compat/compat-spwd.c
33185 (getspent_next_nss_netgr): Remove unused variable.
33186 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33187
33188 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33189 nonmembers" output to use the right array.
33190
33191 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33192
33193 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33194
33195 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33196 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33197 * catgets/gencat.c (read_input_file): Likewise.
33198 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33199
33200 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33201 variable definition inside #if's controlling its use.
33202
33203 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33204
33205 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33206
33207 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33208
33209 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33210 unreachable code.
33211
33212 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33213
b68e08db
RM
33214 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33215 * configure: Regenerated.
33216
b350afab
RM
33217 * Makerules: Revert last change.
33218 * elf/Makefile: Likewise.
33219
28368601
RM
332202011-06-09 Roland McGrath <roland@hack.frob.com>
33221
33222 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33223 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33224 (reloc-link): Likewise.
33225
11988f8f
UD
332262011-06-09 Ulrich Drepper <drepper@gmail.com>
33227
33228 * elf/Makefile: Add rules to build pldd.
33229 * elf/pldd.c: New file.
33230 * elf/pldd-xx.c: New file.
33231
e80fab37
UD
332322011-06-07 Ulrich Drepper <drepper@gmail.com>
33233
33234 * version.h: Update for 2.15 development version.
33235
9b849836
DM
332362011-06-07 David S. Miller <davem@davemloft.net>
33237
33238 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33239 ifuncs.
33240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33241 elf_machine_lazy_rel): Likewise.
33242 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33244 elf_machine_lazy_rel): Likewise.
33245 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33246 dl_hwcap via passed in argument.
33247 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33248 Likewise.
33249
5a31b283
AK
332502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33251
33252 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33253
069e52f8
RM
332542011-06-06 Roland McGrath <roland@hack.frob.com>
33255
33256 [BZ #12849]
33257 * manual/fdl-1.1.texi: New file, verbatim from:
33258 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33259 * manual/lgpl-2.1.texi: New file, verbatim from:
33260 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33261 * manual/Makefile (licenses): New variable, list those new file names.
33262 (texis): Use it.
33263 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33264
33265 * manual/fdl.texi: File removed.
33266 * manual/lesser.texi: File removed.
33267 * manual/libc.texinfo (Copying, Documentation License):
33268 Use new @include file names, put @appendix directive before @include.
33269
f16846a5
JJ
332702011-06-04 Jakub Jelinek <jakub@redhat.com>
33271
33272 [BZ #12841]
33273 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33274 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33275 (mq_open): Add __NTH.
33276
3d29045b
L
332772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33280 Assume Intel Core i3/i5/i7 processor if AVX is available.
33281
8c297311
UD
332822011-05-31 Ulrich Drepper <drepper@gmail.com>
33283
33284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33285 typo.
33286
c8fc0c91
UD
332872011-05-31 Andreas Schwab <schwab@redhat.com>
33288
33289 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33290 memory. Use alloca_account. Fix memory leak when retrying.
33291
5b27a807
UD
332922011-05-31 Ulrich Drepper <drepper@gmail.com>
33293
356f8bc6
UD
33294 * version.h (RELEASE): Bump for 2.14 release.
33295 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33296
5b27a807
UD
33297 * config.make.in (RANLIB): Remove entry.
33298
01f16ab0
UD
332992011-05-30 Ulrich Drepper <drepper@gmail.com>
33300
41fce8bd
UD
33301 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33302 (libc.pot): Work around missing support for .ksh extension in xgettext.
33303
4769ae77
UD
33304 [BZ #12684]
33305 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33306 if both request failed.
33307 (send_dg): In case of server errors clear resplen or *resplen2.
33308
6b1e7d19
UD
33309 [BZ #12454]
33310 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33311 when there are multiple maps.
33312 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33313 (_dl_fini): Remove test here.
33314
01f16ab0
UD
33315 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33316
b1ebd700
UD
333172011-05-29 Ulrich Drepper <drepper@gmail.com>
33318
7ae22829
UD
33319 [BZ #12350]
33320 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33321 bit from old_res_options.
33322 (gaih_inet): Likewise.
33323
553149f6 33324 [BZ #11099]
18a84741 33325 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33326 as signed.
33327
652ffab1
UD
33328 * resolv/res_init.c (res_setoptions): Make the code more compact.
33329
16985fd0
UD
33330 [BZ #11558]
33331 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33332 set RES_USEVC.
33333
0464f746
UD
33334 [BZ #11634]
33335 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33336
7d17596c
UD
33337 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33338
cf6bbbd7
UD
33339 [BZ #11781]
33340 * malloc/malloc.h: Declare malloc hook variables as volatile.
33341
13f1ab36
UD
33342 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33343 in last patch.
33344
b1ebd700
UD
33345 [BZ #11799]
33346 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33347 raise in the comment.
80e2212d
UD
33348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33350 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33351
ce67228d
UD
333522011-05-28 Ulrich Drepper <drepper@gmail.com>
33353
8887a920
UD
33354 [BZ #12811]
33355 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33356 grow the buffers more if it already has to be sufficient.
33357 (build_wcs_upper_buffer): Likewise.
33358 * posix/regexec.c (check_matching): Likewise.
33359 (clean_state_log_if_needed): Likewise.
33360 (extend_buffers): Don't enlarge buffers beyond size of the input
33361 buffer.
33362 Patches mostly by Emil Wojak <emil@wojak.eu>.
33363 * posix/bug-regex32.c: New file.
33364 * posix/Makefile (tests): Add bug-regex32.
33365
4f031072
UD
33366 * locale/findlocale.c (_nl_find_locale): Return right away if
33367 _nl_explode_name failed.
33368 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33369
d0478f0c
UD
33370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33371
de81b246
UD
33372 * debug/xtrace.sh: Unify messages.
33373 * malloc/memusage.sh: Likewise.
33374
c738465a
UD
33375 [BZ #12813]
33376 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33377 time symbol from vDSO. Substitute with vsyscall if not available.
33378 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33379 __vdso_time.
33380
f1f929d7
UD
33381 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33382 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33383 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33384 Add sendmmsg and internal_sendmmsg.
33385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33386 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33387 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33388
ce67228d
UD
33389 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33390 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33392
e57420c6
UD
333932011-05-27 Ulrich Drepper <drepper@gmail.com>
33394
a8509ca5
UD
33395 [BZ #12813]
33396 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33397 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33398 available.
33399 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33400 __vdso_getcpu.
33401
e57420c6
UD
33402 [BZ #12814]
33403 * iconvdata/Makefile (tests): Add bug-iconv9.
33404 * iconvdata/bug-iconv9.c: New file.
33405
4d07db15
AS
334062011-05-27 Andreas Schwab <schwab@redhat.com>
33407
33408 [BZ #12814]
33409 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33410
ea486f69
JJ
334112011-05-25 Jakub Jelinek <jakub@redhat.com>
33412
33413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33414 (struct user_regs_struct): Change intcs field back to cs.
33415
6f038433
UD
334162011-05-25 Ulrich Drepper <drepper@gmail.com>
33417
33418 * po/ja.po: Update from translation team.
33419
67f86a25
UD
334202011-05-23 Ulrich Drepper <drepper@gmail.com>
33421
33422 [BZ #12795]
33423 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33424 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33425
def7fbd6
AS
334262011-05-20 Andreas Schwab <schwab@redhat.com>
33427
33428 * stdlib/longlong.h: Update from GCC.
33429
f50ef8f1
AS
334302011-05-23 Andreas Schwab <schwab@redhat.com>
33431
33432 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33433 parameter name.
33434 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33435 Add parameter name.
33436 (__sysconf): Pass it down.
33437
de7ce8f1
UD
334382011-05-22 Ulrich Drepper <drepper@gmail.com>
33439
f2962a71
UD
33440 [BZ #12671]
33441 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33442 some situations.
33443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33444 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33445 add in in __libc_use_alloca calls. Adjust callers.
33446 (glob): Use malloc in some situations.
33447
de7ce8f1
UD
33448 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33449 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33450 pltexit.
33451
aec84f53
UD
334522011-05-21 Ulrich Drepper <drepper@gmail.com>
33453
05bb4a68
UD
33454 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33455 and CLOCK_BOOTTIME_ALARM.
33456
7ea72f99
UD
33457 [BZ #12782]
33458 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33459 is returned.
33460
7e4afad5
UD
33461 * string/_strerror.c (__strerror_r): Print negative errors as signed
33462 numbers.
33463
8e211fec
UD
33464 [BZ #12777]
33465 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33466 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33467 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33468
f7d82dc9
UD
33469 * configure.in: Fix typo in redirection and correct removal of test
33470 files in two cases.
33471
cc9e536d
UD
33472 [BZ #12788]
33473 * locale/setlocale.c (new_composite_name): Fix test to check for
33474 identical name of all categories.
33475
aec84f53
UD
33476 [BZ #12792]
33477 * libio/filedoalloc.c (local_isatty): New function.
33478 (_IO_file_doallocate): Use local_isatty.
33479 * stdio-common/perror.c (perror): In case a new stream is used
33480 forward the stream error.
33481 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33482 error flag.
33483
78e64fdc
RT
334842011-05-20 Ulrich Drepper <drepper@gmail.com>
33485
34a9094f
UD
33486 [BZ #11869]
33487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33488 alloca.
33489 * include/alloca.h (extend_alloca_account): Define.
33490
78e64fdc
RT
33491 [BZ #11857]
33492 * posix/regex.h: Fix comments with documentation of user-accessible
33493 fields after compilation and describe correct free'ing of pattern
33494 after re_compile_pattern.
33495 Patch by Reuben Thomas <rrt@sc3d.org>.
33496
457bddfc
RA
334972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33498
33499 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33500 and -mno-altivec to prevent the compiler from using Altivec and/or
33501 VSX instructions when the corresponding registers are not available.
33502
a4527b51
AS
335032011-05-19 Andreas Schwab <schwab@redhat.com>
33504
33505 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33506
ed690b2f
UD
335072011-05-19 Ulrich Drepper <drepper@gmail.com>
33508
33509 * libio/freopen.c (freopen): Use __dup2, not dup2.
33510 * libio/freopen64.c (freopen64): Likewise.
33511
8db73634
L
335122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33513
33514 [BZ #12775]
33515 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33516 * math/Makefile (tests): Add test-powl.
33517 (CFLAGS-test-powl.c): Define.
33518 * math/test-powl.c: New file.
33519
0a197a9d
L
335202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33521
33522 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33523
ee30c380
UD
335242011-05-17 Ulrich Drepper <drepper@gmail.com>
33525
33526 [BZ #11837]
33527 * iconvdata/gb18030.c: Update to GB18020-2005.
33528
6ce75379
UD
335292011-05-16 Ulrich Drepper <drepper@gmail.com>
33530
a4b89fd8
AR
33531 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33532 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33533 Patch by Aharon Robbins <arnold@skeeve.com>.
33534
ea389b12
UD
33535 [BZ #11892]
33536 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33537 on the stack.
33538
68a3f91f
UD
33539 [BZ #11895]
33540 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33541 through underflows.
33542
15cc7dd1
UD
33543 [BZ #12766]
33544 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33545 point to strings before performing equality test for error_one_per_line
33546 mode.
33547
f3799213
UD
33548 [BZ #11697]
33549 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33550
d79a9c94
UD
33551 [BZ #11820]
33552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33553 (struct user_fpregs_struct): Avoid __uint*_t types.
33554
56e5eb46
UD
33555 [BZ #6420]
33556 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33557 symbol info. Use it instead of calling _dl_addr locally.
33558 (lock_and_info): New function.
33559 (tr_freehook): Call lock_and_info and pass symbol info as additional
33560 parameter to tr_where.
33561 (tr_mallochook): Likewise.
33562 (tr_reallochook): Likewise.
33563 (tr_memalignhook): Likewise.
33564
6ce75379
UD
33565 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33566 used and couldn't be at all thread-safe.
33567
f8a3b5bf
UD
335682011-05-15 Ulrich Drepper <drepper@gmail.com>
33569
94b7cc37
UD
33570 * libio/freopen.c (freopen): Don't close old file descriptor
33571 before the new one is opened. Instead dup the new file descriptor
33572 to the old one after the new stream is created.
33573 * libio/freopen64.c (freopen64): Likewise.
33574 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33575 * libio/fileops.c (_IO_new_file_close_it): Handle new
33576 _IO_FLAGS2_NOCLOSE flag.
33577 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33578 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33579 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33580 _IO_FLAGS2_NOCLOSE flag.
33581 * include/unistd.h: Add hidden_proto for dup3.
33582 Define __have_dup3.
33583 * io/dup3.c: Define hidden symbol.
33584 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33585
bd25564e
UD
33586 [BZ #7101]
33587 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33588 when an incomplete long option is used.
33589 * posix/tst-getopt_long1.c: New file.
33590 * posix/Makefile (tests): Add tst-getopt_long1.
33591
c84cfef4
UD
33592 [BZ #10138]
33593 * scripts/config.guess: Update from autoconf-2.68.
33594 * scripts/config.sub: Likewise.
33595
3b85df27
UD
33596 [BZ #10157]
33597 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33598 tests into ...
33599 (has_cpuclock): ...this. New function.
33600 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33601 macro here based on has_cpuclock code.
33602
15a856b1
UD
33603 [BZ #10149]
33604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33605 First byte (not low byte) is now always NUL.
33606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33607
05f399e6
UD
33608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33609 Use non-cancelable interfaces.
33610
10a52685 33611 [BZ #9809]
94ecc67d
UD
33612 * locale/iso-639.def: Add entry for Sorani.
33613
f8a3b5bf
UD
33614 [BZ #11901]
33615 * include/stdlib.h: Move include protection to the right place.
33616 Define abort_msg_s. Declare __abort_msg with it.
33617 * stdlib/abort.c (__abort_msg): Adjust type.
33618 * assert/assert.c (__assert_fail_base): New function. Majority
33619 of code from __assert_fail. Allocate memory for __abort_msg with
33620 mmap.
33621 (__assert_fail): Now call __assert_fail_base.
33622 * assert/assert-perr.c: Remove bulk of implementation. Use
33623 __assert_fail_base.
33624 * include/assert.hL Declare __assert_fail_base.
33625 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33626 mmap.
33627 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33628
1af4e298
UD
336292011-05-14 Ulrich Drepper <drepper@gmail.com>
33630
f8a3b5bf 33631 [BZ #11952]
d26dfc60
MG
33632 [BZ #12453]
33633 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33634 until all modules are registered in the DTV.
33635 * elf/Makefile: Add rules to build and run tst-tls19.
33636 * elf/tst-tls19.c: New file.
33637 * elf/tst-tls19mod1.c: New file.
33638 * elf/tst-tls19mod2.c: New file.
33639 * elf/tst-tls19mod3.c: New file.
33640 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33641
2fc54d6f
UD
33642 [BZ #12083]
33643 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33644 correctly.
33645
98d76b46
UD
33646 [BZ #12601]
33647 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33648 two-byte sequence errors.
33649 * iconvdata/Makefile (tests): Add bug-iconv8.
33650 * iconvdata/bug-iconv8.c: New file.
33651
da3c19ef
UD
33652 [BZ #12626]
33653 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33654 buf2 definition.
33655
ca408c15
UD
33656 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33657
d6f67f7d
UD
33658 [BZ #12432]
33659 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33660 (dummy_getcfa): New function.
33661 (init): Get _Unwind_GetCFA address, use dummy if not found.
33662 (backtrace_helper): In recursion check, also check whether CFA changes.
33663 (__backtrace): Completely initialize arg.
33664
1af4e298 33665 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33666 storing incomplete byte sequence in state object. Avoid testing for
33667 guaranteed too small input if we know there is enough data available.
1af4e298 33668
da62f81b
AS
336692011-05-11 Andreas Schwab <schwab@redhat.com>
33670
33671 * Makeconfig (+link-pie): Indent.
33672 * Rules (binaries-pie): Define if $(have-fpie) and
33673 $(build-shared).
33674 (binaries-shared): Also filter out $(binaries-pie).
33675 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33676 * nscd/Makefile (others-pie): Add nscd.
33677 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33678 ($(objpfx)nscd): Remove command override.
33679 * login/Makefile (others-pie): Add pt_chown.
33680 ($(objpfx)pt_chown): Remove command override.
33681 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33682 remove command overrides.
33683
fcabc0f8
UD
336842011-05-13 Ulrich Drepper <drepper@gmail.com>
33685
20030ae6
UD
33686 * libio/tst_putwc.c: Fix error messages.
33687
fcabc0f8
UD
33688 [BZ #12724]
33689 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33690 currently writing and seek to current position when not.
33691 * libio/Makefile (tests): Add bug-fclose1.
33692 * libio/bug-fclose1.c: New file.
33693
320a5dc0
PB
336942011-05-12 Ulrich Drepper <drepper@gmail.com>
33695
33696 [BZ #12511]
33697 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33698 don't set DF_1_NODELETE here.
33699 (do_lookup_x): When entering new entry test for copy relocation
33700 and if necessary set DF_1_NODELETE flag.
33701 * elf/tst-unique4.cc: New file.
33702 * elf/tst-unique4.h: New file.
33703 * elf/tst-unique4lib.cc: New file.
33704 * elf/Makefile: Add rules to build and run tst-unique4.
33705 Patch by Piotr Bury <pbury@goahead.com>.
33706
22836f52
UD
337072011-05-11 Ulrich Drepper <drepper@gmail.com>
33708
f574184a
UD
33709 [BZ #12052]
33710 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33711
e1fb097f
UD
33712 [BZ #12625]
33713 * misc/mntent_r.c (addmntent): Flush the stream after the output
33714
22836f52
UD
33715 [BZ #12393]
33716 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33717 (is_trusted_path_normalize): Skip initial colon. Append slash
33718 to empty buffer. Duplicate is_trusted_path code but allow
33719 constructed patch to be prefix.
33720 (is_dst): Allow $ORIGIN followed by /.
33721 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33722 Correct testing of result of is_trusted_path_normalize
33723 (decompose_rpath): Fix warning.
33724
7b3b0b2a
UD
337252011-05-10 Ulrich Drepper <drepper@gmail.com>
33726
33727 [BZ #11257]
33728 * grp/initgroups.c (internal_getgrouplist): When we found the service
33729 list through the initgroups entry in nsswitch.conf do not always
33730 continue on a successful lookup. Don't always use the
eac80ce2 33731 __nss_group_database value if it is set.
7b3b0b2a
UD
33732 * nss/nsswitch.conf (initgroups): Change action for successful db
33733 lookup to continue for compatibility.
33734
2a81eaa5
UD
337352011-05-09 Ulrich Drepper <drepper@gmail.com>
33736
be97a69e
UD
33737 [BZ #11532]
33738 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33739 and CP774 modules.
33740 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33741 and CP774 modules.
33742 * iconvdata/tst-tables.sh: Likewise.
33743 * iconvdata/cp770.c: New file.
33744 * iconvdata/cp771.c: New file.
33745 * iconvdata/cp772.c: New file.
33746 * iconvdata/cp773.c: New file.
33747 * iconvdata/cp774.c: New file.
33748 * iconvdata/testdata/CP770: New file.
33749 * iconvdata/testdata/CP770..UTF8: New file.
33750 * iconvdata/testdata/CP771: New file.
33751 * iconvdata/testdata/CP771..UTF8: New file.
33752 * iconvdata/testdata/CP772: New file.
33753 * iconvdata/testdata/CP772..UTF8: New file.
33754 * iconvdata/testdata/CP773: New file.
33755 * iconvdata/testdata/CP773..UTF8: New file.
33756 * iconvdata/testdata/CP774: New file.
33757 * iconvdata/testdata/CP774..UTF8: New file.
33758
33759 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33760 END CHARMAP line.
33761 * iconvdata/gen-8bit-gap.sh: Likewise.
33762 * iconvdata/gen-8bit.sh: Likewise.
33763
c1e9e399
UD
33764 * locale/iso-639.def: Add ary entry.
33765
24c55fb3 33766 [BZ #11258]
96b4b1b0
UD
33767 * locale/C-translit.h.in: Add U20A1 transliteration.
33768
bdc2f971
KB
33769 [BZ #12178]
33770 * locale/iso-639.def: Add wae entry.
33771 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33772
2952b117
UD
33773 [BZ #12545]
33774 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33775 for n.
33776
2a81eaa5
UD
33777 [BZ #12711]
33778 * locale/C-translit.h.in: Add entry for U20B9.
33779 Patch by pravin.d.s@gmail.com.
33780
28377d1b
UD
337812011-05-08 Ulrich Drepper <drepper@gmail.com>
33782
7fb90fb8
UD
33783 [BZ #12713]
33784 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33785 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33786 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33787 in rtld. Use *stat64.
7fb90fb8 33788 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33789 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33790 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33791 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33792 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33793 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33794 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33795 __fstatat64 macros.
7fb90fb8
UD
33796 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33797 * dirent/rewinddir.c: Add libc_hidden_def.
33798 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33799 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33800
28377d1b
UD
33801 * include/dirent.h (__alloc_dir): Add flags parameter.
33802 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33803 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33804 __alloc_dir.
33805 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33806 from fdopendir if O_CLOEXEC is already set.
33807
66bdbaa4
AM
338082011-03-15 Alan Modra <amodra@gmail.com>
33809
33810 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33811 l_tls_firstbyte_offset non-zero. Save padding offset in
33812 l_tls_firstbyte_offset for later use.
33813 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33814 freeing static tls block.
33815
95721191
JN
338162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33817
33818 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33819 where #ifdef was intended. The intent is to prevent ARG_MAX from
33820 being defined by the kernel headers.
33821
f87dfb1f
UD
338222011-05-07 Ulrich Drepper <drepper@gmail.com>
33823
33824 [BZ #12734]
33825 * resolv/resolv.h: Define RES_NOTLDQUERY.
33826 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33827 no-tld-query and set RES_NOTLDQUERY.
33828 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33829 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33830 modern BIND to search name as TLD unless forbidden.
33831
47c3cd7a
UD
338322011-05-07 Petr Baudis <pasky@suse.cz>
33833 Ulrich Drepper <drepper@gmail.com>
33834
33835 [BZ #12393]
33836 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33837 (is_trusted_path): ...to here.
c1e9ea35 33838 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33839 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33840 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33841
8a35c912
PP
338422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33843
33844 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33845 __BEGIN/__END_DECLS.
33846
acd41f47
UD
338472011-05-06 Ulrich Drepper <drepper@gmail.com>
33848
33849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33850 NSS_STATUS_NOTFOUND if no record was found.
33851
597df647
AS
338522011-05-05 Andreas Schwab <schwab@redhat.com>
33853
33854 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33855 (headers-not-in-tirpc): Remove rpc/netdb.h
33856 * resolv/netdb.h: Revert last change.
33857
b9af1301
PP
338582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33859
33860 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33861 circular dependency between libgcc.a and libc.a.
33862
4e34d5f5
AS
338632011-05-05 Andreas Schwab <schwab@redhat.com>
33864
33865 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33866 * nis/Makefile: Don't install rpcsvc/*.
33867 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33868 instead of <rpc/types.h>.
33869 (MAXHOSTNAMELEN): Define.
33870
00ee369c
AS
338712011-05-03 Andreas Schwab <schwab@redhat.com>
33872
33873 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33874
0b592a30
MB
338752011-04-28 Maciej Babinski <mbabinski@google.com>
33876
33877 [BZ #12714]
33878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33879 gethostbyname4_r when IPv6 results are possible.
33880
6e04cbbe
UD
338812011-05-02 Ulrich Drepper <drepper@gmail.com>
33882
33883 [BZ #12723]
33884 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33885 _PC_PIPE_BUF handling.
33886
e4ecafe0
BH
338872011-04-30 Bruno Haible <bruno@clisp.org>
33888
33889 [BZ #12717]
33890 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33891 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33892 to 'int'.
33893 * inet/getnameinfo.c (getnameinfo): Likewise.
33894
125ee683
UD
338952011-04-29 Ulrich Drepper <drepper@gmail.com>
33896
33897 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33898 to groups setting in database lookup.
33899 * nss/nsswitch.conf: Add initgroups entry.
33900
b722481a
EB
339012011-04-22 Ulrich Drepper <drepper@gmail.com>
33902
33903 [BZ #12685]
33904 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33905 mode string.
33906 Patch by Eric Blake <eblake@redhat.com>.
33907
4df46dbd
L
339082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33909
33910 * sunrpc/Makefile (need-export-routines): Add svc_run.
33911 (routines): Remove svc_run.
33912 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33913 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33914 * sunrpc/svc_run.c (svc_run): Likewise.
33915 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33916
e84142d2
UD
339172011-04-21 Ulrich Drepper <drepper@gmail.com>
33918
33919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33920 problem in reallocation in last patch.
33921
877175d8
UD
339222011-04-20 Ulrich Drepper <drepper@gmail.com>
33923
33924 * sunrpc/Makefile: Move inclusion of Rules.
33925
ab8eed78
UD
339262011-04-19 Ulrich Drepper <drepper@gmail.com>
33927
33928 * nss/nss_files/files-initgroups.c: New file.
33929 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33930 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33931 _nss_files_initgroups_dyn.
33932
e3d8f584
RS
339332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33934
33935 * elf/elf.h (R_ARM_IRELATIVE): Define.
33936
af190f45
UD
339372011-04-19 Ulrich Drepper <drepper@gmail.com>
33938
33939 * po/ru.po: Update from translation team.
33940
53cf59ef
UD
339412011-04-17 Ulrich Drepper <drepper@gmail.com>
33942
33943 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33944 dependencies.
33945
4c559bcd
MF
339462011-02-06 Mike Frysinger <vapier@gentoo.org>
33947
33948 [BZ #12653]
33949 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33950 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33954
4420675c
AS
339552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33956
33957 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33958 differing bytes.
33959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33962
75ea32ab
UD
339632011-04-17 Ulrich Drepper <drepper@gmail.com>
33964
33965 [BZ #12420]
33966 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33967 storing it.
33968 * stdlib/bug-getcontext.c: New file.
33969 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33970
27390476
AK
339712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33972
33973 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33974 instructions into .machine "z9-109".
33975 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33976 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33977
10442705
AK
339782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33979
33980 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33981 between environment variables and auxiliary vector.
33982
7b57bfe5
UD
339832011-04-16 Ulrich Drepper <drepper@gmail.com>
33984
33985 * Makefile: Add rules to build linkobj/libc.so.
33986 * include/libc-symbols.h: Define libc_hidden_nolink.
33987 * include/rpc/auth.h: Mark functions which are to be hidden.
33988 * include/rpc/auth_des.h: Likewise.
33989 * include/rpc/auth_unix.h: Likewise.
33990 * include/rpc/clnt.h: Likewise.
33991 * include/rpc/des_crypt.h: Likewise.
33992 * include/rpc/key_prot.h: Likewise.
33993 * include/rpc/pmap_clnt.h: Likewise.
33994 * include/rpc/pmap_prot.h: Likewise.
33995 * include/rpc/pmap_rmt.h: Likewise.
33996 * include/rpc/rpc_msg.h: Likewise.
33997 * include/rpc/svc.h: Likewise.
33998 * include/rpc/svc_auth.h: Likewise.
33999 * include/rpc/xdr.h: Likewise.
34000 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34001 * nss/Makefile: Likewise.
34002 * sunrpc/Makefile: Don't install headers. Build library with normal
34003 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34004 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34005 for the compat linking library. Remove use of INTDEF/INTUSE.
34006 * sunrpc/auth_none.c: Likewise.
34007 * sunrpc/auth_unix.c: Likewise.
34008 * sunrpc/authdes_prot.c: Likewise.
34009 * sunrpc/authuxprot.c: Likewise.
34010 * sunrpc/clnt_gen.c: Likewise.
34011 * sunrpc/clnt_perr.c: Likewise.
34012 * sunrpc/clnt_raw.c: Likewise.
34013 * sunrpc/clnt_simp.c: Likewise.
34014 * sunrpc/clnt_tcp.c: Likewise.
34015 * sunrpc/clnt_udp.c: Likewise.
34016 * sunrpc/clnt_unix.c: Likewise.
34017 * sunrpc/des_crypt.c: Likewise.
34018 * sunrpc/des_soft.c: Likewise.
34019 * sunrpc/get_myaddr.c: Likewise.
34020 * sunrpc/key_call.c: Likewise.
34021 * sunrpc/key_prot.c: Likewise.
34022 * sunrpc/netname.c: Likewise.
34023 * sunrpc/pm_getmaps.c: Likewise.
34024 * sunrpc/pm_getport.c: Likewise.
34025 * sunrpc/pmap_clnt.c: Likewise.
34026 * sunrpc/pmap_prot.c: Likewise.
34027 * sunrpc/pmap_prot2.c: Likewise.
34028 * sunrpc/pmap_rmt.c: Likewise.
34029 * sunrpc/publickey.c: Likewise.
34030 * sunrpc/rpc_cmsg.c: Likewise.
34031 * sunrpc/rpc_common.c: Likewise.
34032 * sunrpc/rpc_dtable.c: Likewise.
34033 * sunrpc/rpc_prot.c: Likewise.
34034 * sunrpc/rpc_thread.c: Likewise.
34035 * sunrpc/rtime.c: Likewise.
34036 * sunrpc/svc.c: Likewise.
34037 * sunrpc/svc_auth.c: Likewise.
34038 * sunrpc/svc_authux.c: Likewise.
34039 * sunrpc/svc_raw.c: Likewise.
34040 * sunrpc/svc_run.c: Likewise.
34041 * sunrpc/svc_simple.c: Likewise.
34042 * sunrpc/svc_tcp.c: Likewise.
34043 * sunrpc/svc_udp.c: Likewise.
34044 * sunrpc/svc_unix.c: Likewise.
34045 * sunrpc/svcauth_des.c: Likewise.
34046 * sunrpc/xcrypt.c: Likewise.
34047 * sunrpc/xdr.c: Likewise.
34048 * sunrpc/xdr_array.c: Likewise.
34049 * sunrpc/xdr_float.c: Likewise.
34050 * sunrpc/xdr_intXX_t.c: Likewise.
34051 * sunrpc/xdr_mem.c: Likewise.
34052 * sunrpc/xdr_rec.c: Likewise.
34053 * sunrpc/xdr_ref.c: Likewise.
34054 * sunrpc/xdr_sizeof.c: Likewise.
34055 * sunrpc/xdr_stdio.c: Likewise.
34056
e6c61494
UD
340572011-04-10 Ulrich Drepper <drepper@gmail.com>
34058
34059 [BZ #12650]
34060 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34061 * sysdeps/ia64/dl-tls.h: Likewise.
34062 * sysdeps/powerpc/dl-tls.h: Likewise.
34063 * sysdeps/s390/dl-tls.h: Likewise.
34064 * sysdeps/sh/dl-tls.h: Likewise.
34065 * sysdeps/sparc/dl-tls.h: Likewise.
34066 * sysdeps/x86_64/dl-tls.h: Likewise.
34067 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34068
34fe483e
AS
340692011-03-14 Andreas Schwab <schwab@redhat.com>
34070
34071 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34072 rpath element also skip the following colon.
34073 (expand_dynamic_string_token): Add is_path parameter and pass
34074 down to DL_DST_REQUIRED and _dl_dst_substitute.
34075 (decompose_rpath): Call expand_dynamic_string_token with
34076 non-zero is_path. Ignore empty rpaths.
34077 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34078 with zero is_path.
34079
f12a32e6
AS
340802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34081
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34083 Make cancelable.
34084
38a7d692
UD
340852011-04-09 Ulrich Drepper <drepper@gmail.com>
34086
34087 [BZ #12655]
34088 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34089 Patch by Filipe David Manana <fdmanana@apache.org>.
34090
e451d22b
AS
340912011-04-07 Andreas Schwab <schwab@redhat.com>
34092
34093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34094 Maintain aligned stack.
34095 (CHECK_RSP): Remove unused macro.
34096
dedc7c7b
UD
340972011-04-03 Ulrich Drepper <drepper@gmail.com>
34098
34099 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34100 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34101
94521213
UD
341022011-04-02 Ulrich Drepper <drepper@gmail.com>
34103
34104 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34105
8cb700c0 34106 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34107
0354e355
L
341082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34109
34110 [BZ #12518]
34111 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34112 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34113 * sysdeps/x86_64/memmove.c: New file.
34114 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34115 (memcpy): Renamed to ...
34116 (__new_memcpy): This.
34117 (memcpy): Provide GLIBC_2_14 memcpy.
34118 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34119 (memcpy): Provide GLIBC_2_2_5 memcpy.
34120
8593482f
UD
341212011-04-01 Ulrich Drepper <drepper@gmail.com>
34122
34123 [BZ #12631]
34124 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34125
81a5726b
AS
341262011-03-30 Andreas Schwab <schwab@redhat.com>
34127
34128 * misc/syncfs.c: New file.
34129 * misc/Makefile (routines): Add syncfs.
34130 * posix/unistd.h: Declare syncfs.
34131 * sysdeps/unix/syscalls.list: Add syncfs.
34132
00e5419f
AS
341332011-04-01 Andreas Schwab <schwab@redhat.com>
34134
34135 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34136 open_by_handle_at.
34137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34142 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34144
748876bf
UD
341452011-04-01 Ulrich Drepper <drepper@gmail.com>
34146
658e451d
UD
34147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34149 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34154
748876bf
UD
34155 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34156 sync_file_range.c with -fexceptions.
34157 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34158 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34159 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34160 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34161 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34162 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34164 sync_file_range as cancellation point
34165 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34166 now a wrapper around __call_sync_file_range with cancellation handling.
34167 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34168 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34169 function name to __call_sync_file_range.
34170 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34171 Add call_sync_file_range.
748876bf 34172
6e63d5e1
AS
341732011-04-01 Andreas Schwab <schwab@redhat.com>
34174
34175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34176 bits/timex.h.
6e63d5e1 34177
46998f74
UD
341782011-04-01 Ulrich Drepper <drepper@gmail.com>
34179
4c1423ed
UD
34180 * iconv/iconv.h: Fix typo in comment.
34181 * io/fcntl.h: Likewise.
34182 * libio/stdio.h: Likewise.
34183 * posix/spawn.h: Likewise.
34184 * posix/unistd.h: Likewise.
34185 * stdlib/stdlib.h: Likewise.
34186 * time/time.h: Likewise.
34187 * wcsmbs/wchar.h: Likewise.
34188
158648c0
UD
34189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34190 open_by_handle): Add.
34191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34192 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34193 Augment a few comments.
34194 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34199 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34200 open_by_handle.
34201
46998f74
UD
34202 * io/fcntl.h (AT_EMPTY_PATH): Define.
34203
83fe108b
UD
342042011-03-30 Ulrich Drepper <drepper@gmail.com>
34205
34206 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34207 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34208 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34209 to...
34210 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34211 * Versions.def: Add GLIBC_2.14.
34212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34213 Export.
83fe108b 34214
bb242059
UD
342152011-03-22 Ulrich Drepper <drepper@gmail.com>
34216
34217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34218 round counter.
34219 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34220
c97a1282
L
342212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34222
34223 [BZ #12597]
34224 * string/test-strncmp.c (do_page_test): New function.
34225 (check2): Likewise.
34226 (test_main): Call check2.
34227 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34228
2a115601
UD
342292011-03-20 Ulrich Drepper <drepper@gmail.com>
34230
34231 [BZ #12587]
34232 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34233 Handle cache information in CPU leaf 4.
34234 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34235
8126d904
UD
342362011-03-18 Ulrich Drepper <drepper@gmail.com>
34237
042c49c6 34238 [BZ #12583]
8126d904
UD
34239 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34240 character representation.
34241 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34242
ccfe366e
RA
342432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34244
34245 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34246 END(__isnan) to END(__isnanf) to match function entry point/label
34247 EALIGN(__isnanf,...).
34248
c6e13027
JJ
342492011-03-10 Jakub Jelinek <jakub@redhat.com>
34250
34251 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34252
33f85a3f
UD
342532011-03-10 Ulrich Drepper <drepper@gmail.com>
34254
028478fa
UD
34255 [BZ #12510]
34256 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34257 copy from the symbol referenced in the relocation to initialize the
34258 used variable.
34259 Patch by Piotr Bury <pbury@goahead.com>.
34260 * elf/Makefile: Add rules to build and tst-unique3.
34261 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34262 * elf/tst-unique3.cc: New file.
34263 * elf/tst-unique3.h: New file.
34264 * elf/tst-unique3lib.cc: New file.
34265 * elf/tst-unique3lib2.cc: New file.
34266
33f85a3f
UD
34267 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34268
03592fc7
MF
342692011-03-10 Mike Frysinger <vapier@gentoo.org>
34270
34271 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34272 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34273 to _start.
03592fc7 34274
6a5ee102
UD
342752011-03-06 Ulrich Drepper <drepper@gmail.com>
34276
34277 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34278 to-be-loaded object along a path to loader is ld.so.
34279
7e4ba49c
HJ
342802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34281 Ulrich Drepper <drepper@gmail.com>
34282
34283 * sysdeps/x86_64/memset.S: After aligning destination, code
34284 branches to different locations depending on the value of
34285 misalignment, when multiarch is enabled. Fix this.
34286
342872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34288
34289 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34290 Set _x86_64_preferred_memory_instruction for AMD processsors.
34291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34292 Set bit_Prefer_SSE_for_memop for AMD processors.
34293
13a804de
UD
342942011-03-04 Ulrich Drepper <drepper@gmail.com>
34295
34296 * libio/fmemopen.c (fmemopen): Optimize a bit.
34297
9d25c392
AS
342982011-03-03 Andreas Schwab <schwab@redhat.com>
34299
34300 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34301
a5543c6a
RM
343022011-03-03 Roland McGrath <roland@redhat.com>
34303
34304 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34305
012d35f7
DM
343062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34307
7e4ba49c 34308 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34309 __bzero_ultra1 instead of __memset_ultra1.
34310
4bff6e01
AS
343112011-02-23 Andreas Schwab <schwab@redhat.com>
34312 Ulrich Drepper <drepper@gmail.com>
34313
34314 [BZ #12509]
34315 * include/link.h (struct link_map): Add l_orig_initfini.
34316 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34317 returning unsuccessfully.
34318 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34319 close of a file loaded at startup, restore the original l_initfini
34320 list.
34321 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34322 list, store the pointer.
34323 * elf/Makefile ($(objpfx)noload-mem): New rule.
34324 (noload-ENV): Define.
34325 (tests): Add $(objpfx)noload-mem.
34326 * elf/noload.c: Include <memcheck.h>.
34327 (main): Call mtrace. Close all opened handles.
34328
f2092faf
AS
343292011-02-17 Andreas Schwab <schwab@redhat.com>
34330
34331 [BZ #12454]
34332 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34333 dependencies are missing.
34334
6c8a2e88
ST
343352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34336
f2092faf 34337 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34338 Hurd needs munmap.
34339 * sysdeps/mach/hurd/ifreq.h: New file.
34340
84a42118
PB
343412011-01-27 Petr Baudis <pasky@suse.cz>
34342 Ulrich Drepper <drepper@gmail.com>
34343
071f805e 34344 [BZ 12445]#
84a42118
PB
34345 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34346 to extend_alloca().
34347 * stdio-common/bug23.c: New file.
34348 * stdio-common/Makefile (tests): Add bug23.
34349
e23fe25b
AS
343502010-09-28 Andreas Schwab <schwab@redhat.com>
34351 Ulrich Drepper <drepper@gmail.com>
34352
34353 [BZ #12489]
34354 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34355 before performing relro protection. At old place add assertion
34356 to make sure nothing changed.
34357
d3f02e10
NS
343582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34359 Glauber de Oliveira Costa <glommer@gmail.com>
34360
34361 * elf/elf.h: Add new ARM TLS relocs.
34362
d55fd7a5
RA
343632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34364
34365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34366 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34367 cast from r3.
34368 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34369 'tests' variable.
34370 * sysdeps/wordsize-64/tst-writev.c: New file.
34371
2206397e
RA
343722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34373
34374 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34375 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34376 insns in _dl_start to prevent a TOC reference before relocs are
34377 resolved.
34378
e9433893
UD
343792011-02-15 Ulrich Drepper <drepper@gmail.com>
34380
34381 [BZ #12469]
34382 * Makeconfig: Remove RANLIB definition.
34383 * Makerules: Don't use RANLIB.
34384 * aclocal.m4: Remove ranlib test.
34385 * configure.in: No need to check for ranlib.
34386 * elf/rtld-Rules: Don't use RANLIB.
34387
f75286c6
ST
343882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34389
8e31c82d
ST
34390 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34391 protection macro.
34392 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34393 inclusion protection macro.
34394
f75286c6
ST
34395 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34396 SIGRTMIN and SIGRTMAX and print information in that case only when
34397 SIGRTMIN is defined.
34398
c1d0e639
JJ
343992011-02-11 Jakub Jelinek <jakub@redhat.com>
34400
34401 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34402 arginfo fn returning -1.
34403
34404 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34405 and thousands string is zero terminated.
34406
edf9294e
AS
344072011-02-03 Andreas Schwab <schwab@redhat.com>
34408
34409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34410 sysdeps/unix/sysv/linux/bits/socket.h.
34411
2b7e92df
ST
344122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34413
edf9294e
AS
34414 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34415 (__CPU_COUNT): Remove old macros.
34416 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34417 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34418 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34419 (__sched_cpualloc, __sched_cpufree): Add declarations.
34420
a4c7ea7b
UD
344212011-02-05 Ulrich Drepper <drepper@gmail.com>
34422
34423 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34424 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34425 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34426 (readdhstai): Return value of addhstaiX call.
34427 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34428 (addgrbyX): Return value returned by cache_addgr.
34429 (readdgrbyname): Return value returned by addgrbyX.
34430 (readdgrbygid): Likewise.
34431 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34432 (addpwbyX): Return value returned by cache_addpw.
34433 (readdpwbyname): Return value returned by addhstbyX.
34434 (readdpwbyuid): Likewise.
34435 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34436 (addservbyX): Return value returned by cache_addserv.
34437 (readdservbyname): Return value returned by addservbyX:
34438 (readdservbyport): Likewise.
34439 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34440 (addhstbyX): Return value returned by cache_addhst.
34441 (readdhstbyname): Return value returned by addhstbyX.
34442 (readdhstbyaddr): Likewise.
34443 (readdhstbynamev6): Likewise.
34444 (readdhstbyaddrv6): Likewise.
34445 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34446 (readdinitgroups): Return value returned by addinitgroupsX.
34447 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34448 (prune_cache): Keep track of timeout value of re-added entries.
34449 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34450 * nscd/nscd.h: Adjust prototypes of readd* functions.
34451
a0bf67cc
RM
344522011-02-04 Roland McGrath <roland@redhat.com>
34453
34454 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34455 (nis_stats): Likewise.
34456 * nis/nis_modify.c (nis_modify): Likewise.
34457 * nis/nis_remove.c (nis_remove): Likewise.
34458 * nis/nis_add.c (nis_add): Likewise.
34459
34460 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34461
34462 * posix/fnmatch_loop.c: Add some consts.
34463
34464 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34465
435b95eb
L
344662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34467
34468 [BZ #12460]
34469 * config.make.in (config-cflags-novzeroupper): Define.
34470 * configure.in: Substitute libc_cv_cc_novzeroupper.
34471 * elf/Makefile (AVX-CFLAGS): Define.
34472 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34473 (CFLAGS-tst-auditmod4a.c): Likewise.
34474 (CFLAGS-tst-auditmod4b.c): Likewise.
34475 (CFLAGS-tst-auditmod6b.c): Likewise.
34476 (CFLAGS-tst-auditmod6c.c): Likewise.
34477 (CFLAGS-tst-auditmod7b.c): Likewise.
34478 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34479
8517b15e
UD
344802011-02-02 Ulrich Drepper <drepper@gmail.com>
34481
34482 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34483 function to the callback.
34484 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34485
10a656fe
AS
344862011-02-02 Andreas Schwab <schwab@redhat.com>
34487
34488 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34489 of errno.
34490
968dad0a
UD
344912011-01-19 Ulrich Drepper <drepper@gmail.com>
34492
9f94d2ea 34493 [BZ #11724]
968dad0a
UD
34494 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34495 of constructors.
34496 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34497 of destructors.
34498 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34499
34500 [BZ #11724]
34501 * elf/Makefile: Add rules to build and run new test.
34502 * elf/tst-initorder.c: New file.
34503 * elf/tst-initorder.exp: New file.
34504 * elf/tst-initordera1.c: New file.
34505 * elf/tst-initordera2.c: New file.
34506 * elf/tst-initordera3.c: New file.
34507 * elf/tst-initordera4.c: New file.
34508 * elf/tst-initorderb1.c: New file.
34509 * elf/tst-initorderb2.c: New file.
34510 * elf/tst-order-a1.c: New file.
34511 * elf/tst-order-a2.c: New file.
34512 * elf/tst-order-a3.c: New file.
34513 * elf/tst-order-a4.c: New file.
34514 * elf/tst-order-b1.c: New file.
34515 * elf/tst-order-b2.c: New file.
34516 * elf/tst-order-main.c: New file.
34517 New test case by George Gensure <werkt0@gmail.com>.
34518
86e92359
UD
345192010-10-01 Andreas Schwab <schwab@redhat.com>
34520
34521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34522 decoding ACE if AI_CANONIDN.
34523
5d5732b0
UD
345242011-01-18 Ulrich Drepper <drepper@gmail.com>
34525
34526 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34527
a77e8cbc
UD
345282011-01-17 Ulrich Drepper <drepper@gmail.com>
34529
6392473f
UD
34530 * version.h (RELEASE): Bump for 2.13 release.
34531 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34532
620a0529
UD
34533 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34534
18ba70a5
UD
34535 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34536 MADV_NOHUGEPAGE.
32465c3e
UD
34537 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34543
c0dafcf1
UD
34544 * posix/getconf.c: Update copyright year.
34545 * catgets/gencat.c: Likewise.
34546 * csu/version.c: Likewise.
34547 * debug/catchsegv.sh: Likewise.
34548 * debug/xtrace.sh: Likewise.
34549 * elf/ldconfig.c: Likewise.
34550 * elf/ldd.bash.in: Likewise.
34551 * elf/sprof.c (print_version): Likewise.
34552 * iconv/iconv_prog.c: Likewise.
34553 * iconv/iconvconfig.c: Likewise.
34554 * locale/programs/locale.c: Likewise.
34555 * locale/programs/localedef.c: Likewise.
34556 * malloc/memusage.sh: Likewise.
34557 * malloc/mtrace.pl: Likewise.
34558 * nscd/nscd.c (print_version): Likewise.
34559 * nss/getent.c: Likewise.
34560
a77e8cbc
UD
34561 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34562 PF_CAIF, and PF_ALG.
34563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34564
77e8bddf
AS
345652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34566
1f20b93a
AS
34567 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34568 (modules-names): Use them.
34569 (ifunc-test-modules, ifunc-pie-tests): Define.
34570 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34571 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34572 (test-extras): Likewise.
34573 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34574 $(compile-command.c).
34575 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34576 (all-built-dso): Define.
34577 (check-textrel.out, check-execstack.out): Depend on it.
34578
77e8bddf
AS
34579 * configure.in: Don't override --enable-multi-arch.
34580
bc425b33
UD
345812011-01-15 Ulrich Drepper <drepper@gmail.com>
34582
34583 [BZ #6812]
34584 * nscd/hstcache.c (tryagain): Define.
34585 (cache_addhst): Return tryagain not notfound for temporary errors.
34586 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34587 failed.
34588
794c3ad3
UD
345892011-01-14 Ulrich Drepper <drepper@gmail.com>
34590
70181fdd
UD
34591 [BZ #10563]
34592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34593 to make the syscall.
34594 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34595
794c3ad3
UD
34596 [BZ #12378]
34597 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34598 and fall back to matching as normal character if the string ends before
34599 the matching ']' is found. This is what POSIX requires.
34600 * posix/testfnm.c: Adjust test result.
34601 * posix/globtest.sh: Adjust test result. Add new test.
34602 * posix/tst-fnmatch.input: Likewise.
34603 * posix/tst-fnmatch2.c: Add new test.
34604
68dc9497
AS
346052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34606
34607 * elf/Makefile (check-execstack): Revert last change. Depend on
34608 check-execstack.h.
34609 (check-execstack.h): New target.
34610 (generated): Add check-execstack.h.
34611 * elf/check-execstack.c: Include "check-execstack.h".
34612 (main): Revert last change.
34613 (handle_file): Return zero if GNU_STACK is absent and
34614 DEFAULT_STACK_PERMS doesn't include PF_X.
34615
451f001b
UD
346162011-01-13 Ulrich Drepper <drepper@gmail.com>
34617
cfa28e56
UD
34618 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34619 in child fails because the descriptor is already closed.
8cf8ce17
UD
34620 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34621 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34622 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34623
1086d70d
UD
34624 [BZ #12397]
34625 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34626 syscall.
34627
451f001b
UD
34628 [BZ #10484]
34629 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34630 temporary buffer used to handle multi lookups locally.
a85b5cb4 34631 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34632
08769175
UD
346332011-01-12 Ulrich Drepper <drepper@gmail.com>
34634
34635 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34636 loader is ld.so.
34637
5e49c52e
UD
346382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34639
34640 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34641 alignment for SSE2.
34642
60522a5f
UD
346432011-01-12 Ulrich Drepper <drepper@gmail.com>
34644
34645 [BZ #12394]
34646 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34647 characters. When rounding increased number of integer digits recompute
34648 number of groups.
34649 * stdio-common/tst-grouping.c: New file.
34650 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34651
f257bbd7
UD
346522011-01-09 Ulrich Drepper <drepper@gmail.com>
34653
34654 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34655 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34656
34657 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34658 void.
34659 * bits/select.h: Likewise.
34660
fa9c15cb
UD
346612011-01-08 Ulrich Drepper <drepper@gmail.com>
34662
34663 * po/ja.po: Update from translation team.
34664
16c2895f
DM
346652011-01-04 David S. Miller <davem@sunset.davemloft.net>
34666
34667 [BZ #11155]
34668 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34669 implementation just like for lxstat, fxstatat, et al.
34670
2543fef2
JM
346712010-12-27 Jim Meyering <meyering@redhat.com>
34672
34673 [BZ #12348]
34674 * posix/regexec.c (build_trtable): Return failure indication upon
34675 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34676
98727dbe
UD
346772010-12-25 Ulrich Drepper <drepper@gmail.com>
34678
5bd6dc5c
UD
34679 [BZ #12201]
34680 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34681 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34682 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34684
97983464
UD
34685 [BZ #12207]
34686 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34687
98727dbe
UD
34688 [BZ #12204]
34689 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34690 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34691
4a531bb0
L
346922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34695 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34696 script has SORT_BY_INIT_PRIORITY.
34697 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34698 NO_CTORS_DTORS_SECTIONS is defined.
34699 * elf/soinit.c: Likewise.
34700 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34701 NO_CTORS_DTORS_SECTIONS is defined.
34702 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34703 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34704 * sysdeps/sh/init-first.c: Likewise.
34705 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34706
07eb4b71
UD
347072010-12-24 Ulrich Drepper <drepper@gmail.com>
34708
34709 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34710 always use the slow path.
34711
30950a5f
RA
347122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34713
34714 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34715 similar rule which adds the sysdep directories to the header search in
34716 order to pick up the correct platform stackinfo.h.
34717 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34718 perform test if it is, otherwise return successfully without testing.
34719 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34720 DEFAULT_STACK_PERMS define in stackinfo.h.
34721 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34722 defined in stackinfo.h.
34723 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34724 DEFAULT_STACK_PERMS defined in stackinfo.h.
34725 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34726 * sysdeps/ia64/stackinfo.h: Likewise.
34727 * sysdeps/s390/stackinfo.h: Likewise.
34728 * sysdeps/sh/stackinfo.h: Likewise.
34729 * sysdeps/sparc/stackinfo.h: Likewise.
34730 * sysdeps/x86_64/stackinfo.h: Likewise.
34731 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34732 PF_X for powerpc64. Retain PF_X for powerpc32.
34733
db753e2c
UD
347342010-12-19 Ulrich Drepper <drepper@gmail.com>
34735
14b697f7
UD
34736 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34737 accurately.
db753e2c
UD
34738 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34739 GETDENTS_64BIT_ALIGNED.
34740
28300719
UD
347412010-12-14 Ulrich Drepper <dreper@gmail.com>
34742
14b697f7 34743 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34744
4f197237
AS
347452010-12-10 Andreas Schwab <schwab@redhat.com>
34746
dbb0472f
AS
34747 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34748 _GNU_SOURCE.
34749
4f197237
AS
34750 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34751 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34752 Remove __restrict.
34753 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34754 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34755
fb88ac72
UD
347562010-12-09 Ulrich Drepper <drepper@gmail.com>
34757
34758 [BZ #11655]
34759 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34760 are initialized.
34761
42acbb92
JJ
347622010-12-09 Jakub Jelinek <jakub@redhat.com>
34763
34764 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34765
c038d98d
UD
347662010-12-03 Ulrich Drepper <drepper@gmail.com>
34767
34768 * po/it.po: Update from translation team.
34769
3a4a2499
L
347702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34771
34772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34773 unused codes.
34774
1e24cf6e
UD
347752010-11-30 Ulrich Drepper <drepper@gmail.com>
34776
34777 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34778
a7690819
AS
347792010-11-24 Andreas Schwab <schwab@redhat.com>
34780
34781 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34782 specially.
34783 (gaih_getanswer_slice): Likewise.
34784
3bf8d1b1
JJ
347852010-10-20 Jakub Jelinek <jakub@redhat.com>
34786
34787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34788
6db52fbb
PB
347892010-05-31 Petr Baudis <pasky@suse.cz>
34790
34791 [BZ #11149]
34792 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34793 silently even in the chroot mode.
34794
eaca7569
UD
347952010-11-22 Ulrich Drepper <drepper@gmail.com>
34796
34797 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34798 last patch a bit. Pretty printing
34799
3056dcdb
UD
348002010-05-31 Petr Baudis <pasky@suse.cz>
34801
34802 [BZ #10085]
34803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34804 initialization of skip_initgroups_dyn.
34805
cf7c9078
UD
348062010-11-19 Ulrich Drepper <drepper@gmail.com>
34807
34808 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34809 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34810
a1fb5e3e
UD
348112010-11-16 Ulrich Drepper <drepper@gmail.com>
34812
34813 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34814
3540d66b
AS
348152010-11-11 Andreas Schwab <schwab@redhat.com>
34816
34817 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34818 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34819 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34820 ($(objpfx)tst-fnmatch-mem): New rule.
34821 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34822 * posix/tst-fnmatch.c (main): Call mtrace.
34823
13b69574
L
348242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34825
34826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34827 Support Intel processor model 6 and model 0x2c.
34828
da93d214
LM
348292010-11-10 Luis Machado <luisgpm@br.ibm.com>
34830
34831 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34832 signed comparison.
34833
8ca52c6e
L
348342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34835
34836 [BZ #12205]
34837 * string/test-strncasecmp.c (check_result): New function.
34838 (do_one_test): Use it.
34839 (check1): New function.
34840 (test_main): Use it.
34841 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34842 Support strcasecmp and strncasecmp.
34843
69da074d
UD
348442010-11-08 Ulrich Drepper <drepper@gmail.com>
34845
34846 [BZ #12194]
34847 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34849
ff02d528
L
348502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34851
34852 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34853 IFUNC support.
34854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34855 memset-x86-64.
34856 * sysdeps/x86_64/multiarch/bzero.S: New file.
34857 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34858 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34859 * sysdeps/x86_64/multiarch/memset.S: New file.
34860 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34862 Set bit_Prefer_SSE_for_memop for Intel processors.
34863 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34864 Define.
34865 (index_Prefer_SSE_for_memop): Define.
34866 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34867
344d0b54
LM
348682010-11-04 Luis Machado <luisgpm@br.ibm.com>
34869
34870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34871 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34872
c0dde15b
UD
348732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34874
34875 [BZ #12191]
34876 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34877 (__x86_64_raw_data_cache_size_half): Likewise.
34878 (__x86_64_raw_shared_cache_size): Likewise.
34879 (__x86_64_raw_shared_cache_size_half): Likewise.
34880
34881 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34882 (__x86_64_raw_data_cache_size_half): Likewise.
34883 (__x86_64_raw_shared_cache_size): Likewise.
34884 (__x86_64_raw_shared_cache_size_half): Likewise.
34885 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34886 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34887 and __x86_64_raw_shared_cache_size_half. Round
34888 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34889 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34890 to multiple of 256 bytes.
34891
0e516e0e
MS
348922010-11-03 Ulrich Drepper <drepper@gmail.com>
34893
34894 [BZ #12167]
34895 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34896 of inacessible symlinks. Verify result of symlink before returning it.
34897 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34898 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34899
0e012e87
ER
349002010-10-28 Erich Ritz <erichritz@gmail.com>
34901
34902 * math/math.h (isinf): Fix typo in comment.
34903
de0ff7bc
UD
349042010-11-01 Ulrich Drepper <drepper@gmail.com>
34905
34906 * po/da.po: Update from translation team.
34907
fa41c84d
UD
349082010-10-26 Ulrich Drepper <drepper@gmail.com>
34909
34910 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34911 is added to the list.
34912
f0967738
AK
349132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34914 Ulrich Drepper <drepper@gmail.com>
34915
34916 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34917 the global list here. Move code to...
34918 (_dl_add_to_namespace_list): ...here. New function.
34919 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34920 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34921 * elf/dl-load.c (lose): Don't remove the element from the list.
34922 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34923 (_dl_map_object): Likewise.
34924
349252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34926
34927 [BZ #12159]
34928 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34929 into all bytes of SSE register.
34930 Patch by Richard Li <richardpku@gmail.com>.
34931
f0967738 349322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34933
34934 [BZ #12140]
34935 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34936 perturbing.
34937
d0b9e94f
MB
349382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34939
34940 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34941 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34942 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34943 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34945 submachine.
34946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34947
8e9f92e9
AS
349482010-10-22 Andreas Schwab <schwab@redhat.com>
34949
34950 * include/dlfcn.h (__RTLD_SECURE): Define.
34951 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34952 mode & __RTLD_SECURE instead.
34953 (open_path): Rename preloaded parameter to secure.
34954 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34955 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34956 * elf/dl-deps.c (openaux): Likewise.
34957 * elf/rtld.c (struct map_args): Remove is_preloaded.
34958 (map_doit): Don't use it.
34959 (dl_main): Likewise.
34960 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34961 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34962
bc96fbda
AS
349632010-09-09 Andreas Schwab <schwab@redhat.com>
34964
34965 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34966 (sysd-rules-targets): Remove duplicates.
34967 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34968 rtld-%.$o dependency.
34969
22cd1c9b
AS
349702010-10-18 Andreas Schwab <schwab@redhat.com>
34971
34972 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34973 _dl_map_object do it.
34974
18edac48
UD
349752010-10-19 Ulrich Drepper <drepper@gmail.com>
34976
34977 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34978 fast fma builtins, define the macros in the C99 standard.
34979 (FP_FAST_FMAF): Likewise.
34980 (FP_FAST_FMAL): Likewise.
34981 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34982
34983 * bits/mathdef.h: Update copyright year.
34984 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34985
d2050124
MM
349862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34987
34988 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34989 builtins, define the macros in the C99 standard.
34990 (FP_FAST_FMAF): Likewise.
34991 (FP_FAST_FMAL): Likewise.
34992 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34993 multiply/add.
34994 (FP_FAST_FMAF): Likewise.
34995
475facd1
JJ
349962010-10-15 Jakub Jelinek <jakub@redhat.com>
34997
34998 [BZ #3268]
34999 * math/libm-test.inc (fma_test): Some new testcases.
35000 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35002 y and infinite z. Do multiplication by C already in long double.
35003 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35005 y and infinite z. Do bitwise or of inexact bit into u.d.
35006 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35007 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35008 * sysdeps/i386/fpu/s_fma.S: Removed.
35009 * sysdeps/i386/fpu/s_fmal.S: Removed.
35010
7c08a05c
JJ
350112010-10-16 Jakub Jelinek <jakub@redhat.com>
35012
35013 [BZ #3268]
35014 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35016 computation is not scheduled after fetestexcept. Fix value
35017 of minimum denormal long double.
35018
f3f7372d
JJ
350192010-10-14 Jakub Jelinek <jakub@redhat.com>
35020
35021 [BZ #3268]
35022 * math/libm-test.inc (fma_test): Add some more tests.
35023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35024 correctly.
35025
14d43591
AS
350262010-10-15 Andreas Schwab <schwab@redhat.com>
35027
35028 * scripts/data/localplt-s390-linux-gnu.data: New file.
35029 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35030
5e908464
JJ
350312010-10-13 Jakub Jelinek <jakub@redhat.com>
35032
35033 [BZ #3268]
35034 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35035 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35036 instead of dbl-64.
35037 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35038 inlines.
35039 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35041 if one of x and y is very large and the other is subnormal.
35042 * sysdeps/s390/fpu/s_fmaf.c: New file.
35043 * sysdeps/s390/fpu/s_fma.c: New file.
35044 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35045 * sysdeps/powerpc/fpu/s_fma.S: New file.
35046 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35047 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35048 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35049
350502010-10-12 Jakub Jelinek <jakub@redhat.com>
35051
35052 [BZ #3268]
35053 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35054 fma tests.
35055 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35056 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35057 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35058 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35059 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35060 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35062
b833d51f
UD
350632010-10-12 Ulrich Drepper <drepper@redhat.com>
35064
35065 [BZ #12078]
35066 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35067 * posix/bug-regex31.input: Add test case.
35068
1751705d
UD
350692010-10-11 Ulrich Drepper <drepper@gmail.com>
35070
e9b9cbf5
UD
35071 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35072 * posix/bug-regex31.input: New file.
35073
35074 [BZ #12078]
35075 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35076 (parse_sub_exp): Fix last change, use postorder.
35077
ef06edbe
UD
35078 * posix/bug-regex31.c: New file.
35079 * posix/Makefile: Add rules to build and run bug-regex31.
35080
a129c80d
UD
35081 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35082
35083 [BZ #12078]
35084 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35085
b76b818e
UD
35086 [BZ #12108]
35087 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35088 to have entries in sys_siglist.
35089
1751705d
UD
35090 [BZ #12093]
35091 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35092 be NULL.
35093
9ff8d36f
JJ
350942010-10-07 Jakub Jelinek <jakub@redhat.com>
35095
35096 [BZ #3268]
35097 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35098 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35099 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35100 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35102 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35103 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35104 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35105 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35106 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35107 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35108 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35109 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35110 * math/ftestexcept.c (fetestexcept): Likewise.
35111 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35112 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35113 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35114 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35115 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35116 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35117 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35118
af325969
UD
351192010-10-11 Ulrich Drepper <drepper@gmail.com>
35120
c579b202 35121 [BZ #12107]
af325969
UD
35122 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35123 newline.
35124
67a67b95
UD
351252010-10-06 Ulrich Drepper <drepper@gmail.com>
35126
35127 * string/bug-strstr1.c: New file.
35128 * string/Makefile: Add rules to build and run bug-strstr1.
35129
5fb308bc
EB
351302010-10-05 Eric Blake <eblake@redhat.com>
35131
35132 [BZ #12092]
35133 * string/str-two-way.h (two_way_long_needle): Always clear memory
35134 when skipping input due to the shift table.
35135
45db99c7
UD
351362010-10-03 Ulrich Drepper <drepper@gmail.com>
35137
3b111893
UD
35138 [BZ #12005]
35139 * malloc/mcheck.c: Handle large requests.
35140
45db99c7
UD
35141 [BZ #12077]
35142 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35143 for strncmp and strncasecmp.
35144 * string/stratcliff.c: Add tests for strcmp and strncmp.
35145 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35146
cf7a1eb8
NI
351472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35148
35149 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35150 __set_fpscr.
35151
6484ba5e
AJ
351522010-09-30 Andreas Jaeger <aj@suse.de>
35153
35154 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35155 (CGROUP_SUPER_MAGIC): Define.
35156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35157 Handle btrfs and cgroup file systems.
35158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35159 Likewise.
35160
91c42559
LM
351612010-09-27 Luis Machado <luisgpm@br.ibm.com>
35162
35163 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35164 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35165
87a97932
AK
351662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35167
35168 [BZ #12067]
35169 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35170 trying to locate the ELF header.
35171
c21cc9bc
AS
351722010-09-27 Andreas Schwab <schwab@redhat.com>
35173
35174 [BZ #11611]
35175 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35176 Mask out sign-bit copies when constructing f_fsid.
35177
315970f6
PB
351782010-09-24 Petr Baudis <pasky@suse.cz>
35179
35180 * debug/stack_chk_fail_local.c: Add missing licence exception.
35181 * debug/warning-nop.c: Likewise.
35182
1ac7a2c7
JM
351832010-09-15 Joseph Myers <joseph@codesourcery.com>
35184
35185 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35186 implementing getdents64 using getdents syscall, set d_type if
35187 __ASSUME_GETDENTS32_D_TYPE.
35188
56801c50
AS
351892010-09-16 Andreas Schwab <schwab@redhat.com>
35190
35191 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35192 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35193
dda51327
UD
351942010-09-21 Ulrich Drepper <drepper@redhat.com>
35195
35196 [BZ #12037]
35197 * posix/unistd.h: Undo change of feature selection for ftruncate from
35198 2010-01-11.
35199
8ffcee4a
UD
352002010-09-20 Ulrich Drepper <drepper@redhat.com>
35201
a545ecd9 35202 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35203 detection.
35204
e24f0a8b
AS
352052010-09-20 Andreas Schwab <schwab@redhat.com>
35206
35207 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35208 fanotify_mark.
35209 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35210
7291c56f
AS
352112010-09-14 Andreas Schwab <schwab@redhat.com>
35212
35213 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35214 variables after CHECK_SP call.
35215 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35216
bc5fb037
AS
352172010-09-13 Andreas Schwab <schwab@redhat.com>
35218 Ulrich Drepper <drepper@redhat.com>
35219
35220 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35221 re-relocationg ld.so.
35222 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35223 _dl_init_paths call.
35224 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35225 here anymore.
35226
e66e7419
UD
352272010-09-14 Ulrich Drepper <drepper@redhat.com>
35228
35229 * resolv/res_init.c (__res_vinit): Count the default server we added.
35230
c044aa75
CLT
352312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35232 Ulrich Drepper <drepper@redhat.com>
35233
35234 [BZ #11968]
35235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35236 (____longjmp_chk): Use %ebx for saving value across system call.
35237 Add unwind info.
35238
32cf4069
AS
352392010-09-06 Andreas Schwab <schwab@redhat.com>
35240
35241 * manual/Makefile: Don't mix pattern rules with normal rules.
35242
817328ee
AS
352432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35244
35245 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35246 operation.
35247 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35248 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35249 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35250 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35252 Likewise.
35253
29fddf61
UD
352542010-09-04 Ulrich Drepper <drepper@redhat.com>
35255
35256 [BZ #11979]
35257 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35258 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35259
0959ffc9
UD
352602010-09-02 Ulrich Drepper <drepper@redhat.com>
35261
35262 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35263 * sysdeps/x86_64/addmul_1.S: Likewise.
35264 * sysdeps/x86_64/lshift.S: Likewise.
35265 * sysdeps/x86_64/mul_1.S: Likewise.
35266 * sysdeps/x86_64/rshift.S: Likewise.
35267 * sysdeps/x86_64/sub_n.S: Likewise.
35268 * sysdeps/x86_64/submul_1.S: Likewise.
35269
ece29840
ST
352702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35271
0959ffc9
UD
35272 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35273 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35274 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35275 * bits/sched.h [__need_schedparam]
ece29840 35276 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35277 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35278 (__defined_schedparam): Define to 1.
ece29840
ST
35279 (__sched_param): New structure, identical to sched_param.
35280 (__need_schedparam): Undefine.
35281
e53a31fe
MF
352822010-08-31 Mike Frysinger <vapier@gentoo.org>
35283
fdc0c10d
MF
35284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35285 (epoll_create1): Declare.
35286
e53a31fe
MF
35287 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35288
a726d796
AS
352892010-08-31 Andreas Schwab <schwab@redhat.com>
35290
35291 [BZ #7066]
35292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35293 shifting retval into place.
35294
2f3e3dc7
UD
352952010-09-01 Ulrich Drepper <drepper@redhat.com>
35296
f2933da9
UD
35297 * nis/rpcsvc/nis.h: Update copyright notice.
35298 * nis/rpcsvc/nis.x: Likewise.
35299 * nis/rpcsvc/nis_callback.h: Likewise.
35300 * nis/rpcsvc/nis_callback.x: Likewise.
35301 * nis/rpcsvc/nis_object.x: Likewise.
35302 * nis/rpcsvc/nis_tags.h: Likewise.
35303 * nis/rpcsvc/yp.h: Likewise.
35304 * nis/rpcsvc/yp.x: Likewise.
35305 * nis/rpcsvc/ypupd.h: Likewise.
35306 * nis/yp_xdr.c: Likewise.
35307 * nis/ypupdate_xdr.c: Likewise.
35308
2f3e3dc7
UD
35309 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35310 mainly the body of pmap_getport. Add parameters to specify timeouts.
35311 (pmap_getport): Use __libc_rpc_getport.
35312 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35313 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35314 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35315
f3dcc2f9
AS
353162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35317
35318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35319 fanotify_mark.
35320
6d34eb5b
RM
353212010-08-27 Roland McGrath <roland@redhat.com>
35322
35323 * sysdeps/i386/i686/multiarch/Makefile
35324 (CFLAGS-varshift.c): New variable.
35325
9ea3de11
UD
353262010-08-27 Ulrich Drepper <drepper@redhat.com>
35327
c96d23fc
UD
35328 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35329 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35330
9ea3de11
UD
35331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35332
35333 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35334
623aac7f
L
353352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35336
35337 * sysdeps/x86_64/strlen.S: Unroll the loop.
35338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35339 strlen-sse2 strlen-sse2-bsf.
35340 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35341 __strlen_no_bsf if bit_Slow_BSF is set.
35342 (__strlen_sse42): Removed.
35343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35344 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35345
8b2b7715
RM
353462010-08-25 Roland McGrath <roland@redhat.com>
35347
35348 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35349 * sysdeps/x86_64/multiarch/varshift.c: New file.
35350 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35351 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35352 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35353 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35354
e73015f2
L
353552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35356
35357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35358 strlen-sse2 strlen-sse2-bsf.
35359 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35360 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35361 (__strlen_sse2): Removed.
35362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35365 bit_Slow_BSF for Atom.
35366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35367 (index_Slow_BSF): Define.
35368 (HAS_SLOW_BSF): Define.
35369
df24a73e
UD
353702010-08-25 Ulrich Drepper <drepper@redhat.com>
35371
35372 [BZ #10851]
35373 * resolv/res_init.c (__res_vinit): When no server address at all
35374 is given default to loopback.
35375
f2ac4868
RM
353762010-08-24 Roland McGrath <roland@redhat.com>
35377
09055553
RM
35378 * configure.in: Remove config-name.h generation.
35379 * configure: Regenerated.
35380 * config-name.in: File removed.
35381 * scripts/config-uname.sh: New file.
35382 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35383 ($(objdir)config-name.h): New target.
35384
f2ac4868
RM
35385 * sunrpc/rpc_parse.h: Avoid nested comment.
35386
73f27d5e
RH
353872010-08-24 Richard Henderson <rth@redhat.com>
35388 Ulrich Drepper <drepper@redhat.com>
35389 H.J. Lu <hongjiu.lu@intel.com>
35390
35391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35393 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35394 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35395 _mm_alignr_epi8 with _mm_loadu_si128.
35396 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35397 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35398 (__m128i_shift_right): Removed.
35399 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35400 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35401 * sysdeps/x86_64/multiarch/varshift.h: New file.
35402 * sysdeps/x86_64/multiarch/varshift.S: New file.
35403
84b9230c
MF
354042010-08-21 Mike Frysinger <vapier@gentoo.org>
35405
35406 * configure.in: Move assembler checks to before sysdep dir checking.
35407
9bbd0ddc
PB
354082010-08-20 Petr Baudis <pasky@suse.cz>
35409
35410 * LICENSES: Sync the sunrpc license.
35411
9da4bb31
UD
354122010-08-19 Ulrich Drepper <drepper@redhat.com>
35413
a7ab6ec8
UD
35414 * sunrpc/auth_des.c: Update copyright notice once again.
35415 * sunrpc/auth_none.c: Likewise.
35416 * sunrpc/auth_unix.c: Likewise.
35417 * sunrpc/authdes_prot.c: Likewise.
35418 * sunrpc/authuxprot.c: Likewise.
35419 * sunrpc/bindrsvprt.c: Likewise.
35420 * sunrpc/clnt_gen.c: Likewise.
35421 * sunrpc/clnt_perr.c: Likewise.
35422 * sunrpc/clnt_raw.c: Likewise.
35423 * sunrpc/clnt_simp.c: Likewise.
35424 * sunrpc/clnt_tcp.c: Likewise.
35425 * sunrpc/clnt_udp.c: Likewise.
35426 * sunrpc/clnt_unix.c: Likewise.
35427 * sunrpc/des_crypt.c: Likewise.
35428 * sunrpc/des_soft.c: Likewise.
35429 * sunrpc/get_myaddr.c: Likewise.
35430 * sunrpc/getrpcport.c: Likewise.
35431 * sunrpc/key_call.c: Likewise.
35432 * sunrpc/key_prot.c: Likewise.
35433 * sunrpc/openchild.c: Likewise.
35434 * sunrpc/pm_getmaps.c: Likewise.
35435 * sunrpc/pm_getport.c: Likewise.
35436 * sunrpc/pmap_clnt.c: Likewise.
35437 * sunrpc/pmap_prot.c: Likewise.
35438 * sunrpc/pmap_prot2.c: Likewise.
35439 * sunrpc/pmap_rmt.c: Likewise.
35440 * sunrpc/rpc/auth.h: Likewise.
35441 * sunrpc/rpc/auth_unix.h: Likewise.
35442 * sunrpc/rpc/clnt.h: Likewise.
35443 * sunrpc/rpc/des_crypt.h: Likewise.
35444 * sunrpc/rpc/key_prot.h: Likewise.
35445 * sunrpc/rpc/netdb.h: Likewise.
35446 * sunrpc/rpc/pmap_clnt.h: Likewise.
35447 * sunrpc/rpc/pmap_prot.h: Likewise.
35448 * sunrpc/rpc/pmap_rmt.h: Likewise.
35449 * sunrpc/rpc/rpc.h: Likewise.
35450 * sunrpc/rpc/rpc_des.h: Likewise.
35451 * sunrpc/rpc/rpc_msg.h: Likewise.
35452 * sunrpc/rpc/svc.h: Likewise.
35453 * sunrpc/rpc/svc_auth.h: Likewise.
35454 * sunrpc/rpc/types.h: Likewise.
35455 * sunrpc/rpc/xdr.h: Likewise.
35456 * sunrpc/rpc_clntout.c: Likewise.
35457 * sunrpc/rpc_cmsg.c: Likewise.
35458 * sunrpc/rpc_common.c: Likewise.
35459 * sunrpc/rpc_cout.c: Likewise.
35460 * sunrpc/rpc_dtable.c: Likewise.
35461 * sunrpc/rpc_hout.c: Likewise.
35462 * sunrpc/rpc_main.c: Likewise.
35463 * sunrpc/rpc_parse.c: Likewise.
35464 * sunrpc/rpc_parse.h: Likewise.
35465 * sunrpc/rpc_prot.c: Likewise.
35466 * sunrpc/rpc_sample.c: Likewise.
35467 * sunrpc/rpc_scan.c: Likewise.
35468 * sunrpc/rpc_scan.h: Likewise.
35469 * sunrpc/rpc_svcout.c: Likewise.
35470 * sunrpc/rpc_tblout.c: Likewise.
35471 * sunrpc/rpc_util.c: Likewise.
35472 * sunrpc/rpc_util.h: Likewise.
35473 * sunrpc/rpcinfo.c: Likewise.
35474 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35475 * sunrpc/rpcsvc/key_prot.x: Likewise.
35476 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35477 * sunrpc/rpcsvc/mount.x: Likewise.
35478 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35479 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35480 * sunrpc/rpcsvc/rex.x: Likewise.
35481 * sunrpc/rpcsvc/rstat.x: Likewise.
35482 * sunrpc/rpcsvc/rusers.x: Likewise.
35483 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35484 * sunrpc/rpcsvc/spray.x: Likewise.
35485 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35486 * sunrpc/rtime.c: Likewise.
35487 * sunrpc/svc.c: Likewise.
35488 * sunrpc/svc_auth.c: Likewise.
35489 * sunrpc/svc_authux.c: Likewise.
35490 * sunrpc/svc_raw.c: Likewise.
35491 * sunrpc/svc_run.c: Likewise.
35492 * sunrpc/svc_simple.c: Likewise.
35493 * sunrpc/svc_tcp.c: Likewise.
35494 * sunrpc/svc_udp.c: Likewise.
35495 * sunrpc/svc_unix.c: Likewise.
35496 * sunrpc/svcauth_des.c: Likewise.
35497 * sunrpc/xcrypt.c: Likewise.
35498 * sunrpc/xdr.c: Likewise.
35499 * sunrpc/xdr_array.c: Likewise.
35500 * sunrpc/xdr_float.c: Likewise.
35501 * sunrpc/xdr_mem.c: Likewise.
35502 * sunrpc/xdr_rec.c: Likewise.
35503 * sunrpc/xdr_ref.c: Likewise.
35504 * sunrpc/xdr_sizeof.c: Likewise.
35505 * sunrpc/xdr_stdio.c: Likewise.
35506
9da4bb31
UD
35507 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35508 handling.
35509
bdaa77bc
AS
355102010-08-19 Andreas Schwab <schwab@redhat.com>
35511
35512 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35513
fe2f79db
LM
355142010-08-19 Luis Machado <luisgpm@br.ibm.com>
35515
35516 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35517 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35518 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35519 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35520 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35521 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35522 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35523 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35524 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35525 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35526 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35527 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35528 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35529 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35530
b9b42ee0
AB
355312010-07-26 Anton Blanchard <anton@samba.org>
35532
35533 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35534 * malloc/arena.c (heap_trim): Likewise.
35535
1c06ba31
UD
355362010-08-16 Ulrich Drepper <drepper@redhat.com>
35537
35538 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35539 here. Not...
35540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35541 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35542
f8392f40
L
355432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35544
35545 * sysdeps/i386/elf/Makefile: New file.
35546
3162f12e
AS
355472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35548
35549 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35550 from fanotify_init.
35551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35553
28c90b2c
UD
355542010-08-15 Ulrich Drepper <drepper@redhat.com>
35555
35556 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35557 of strncasecmp_l.
1feccb6c 35558 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35559
ca6bb004
UD
355602010-08-14 Ulrich Drepper <drepper@redhat.com>
35561
e9f82e0d
UD
35562 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35563 strncase_l-nonascii.
35564 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35565 Add strncase_l-ssse3.
35566 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35567 * sysdeps/x86_64/strcmp.S: Likewise.
35568 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35569 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35570 * sysdeps/x86_64/strncase.S: New file.
35571 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35572 * sysdeps/x86_64/strncase_l.S: New file.
35573 * string/Makefile (strop-tests): Add strncasecmp.
35574 * string/test-strncasecmp.c: New file.
35575
35576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35577 warning.
35578
ca6bb004
UD
35579 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35580 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35581
052fa7b3
AS
355822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35583
35584 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35585
962dba78
UD
355862010-08-12 Ulrich Drepper <drepper@redhat.com>
35587
35588 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35589 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35590 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35591
bebff237
AM
355922010-05-01 Alan Modra <amodra@gmail.com>
35593
35594 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35595 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35596 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35597 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35598 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35599 tidying. Don't tail-call __sigjmp_save for static lib.
35600 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35601 save location.
35602 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35603 (CALL_MCOUNT): Add eh info, and nop after bl.
35604 (TAIL_CALL_SYSCALL_ERROR): New macro.
35605 (PSEUDO_RET): Use it.
35606 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35607 Correct save location of integer regs and cr.
35608 (_dl_profile_resolve): Correct cr save location. Delete nops
35609 after bl when SHARED. Reduce cfi size a little by better
35610 placement of cfi directives.
35611 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35612 make a stack frame. Instead use parm save area as a temp.
35613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35614 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35616 Don't make a stack frame for parent, use parm save area.
35617 Increase child stack frame to 112 bytes. Don't save unused reg,
35618 and adjust reg usage. Set up cfi on error recovery and
35619 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35621 (__makecontext): Add dummy nop after jump to exit.
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35623 Use correct parm save area and cr save, reduce stack frame.
35624 Correct cfi for possible PSEUDO_RET frame setup.
35625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35626 Branch to local label emitted by PSEUDO_RET rather than
35627 __syscall_error.
35628
02637374
AS
356292010-08-12 Andreas Schwab <schwab@redhat.com>
35630
35631 [BZ #11904]
35632 * locale/programs/locale.c (print_assignment): New function.
35633 (show_locale_vars): Use it.
35634
c3e2f19b
UD
356352010-08-11 Ulrich Drepper <drepper@redhat.com>
35636
3cdaa6ad
UD
35637 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35638 field.
35639 (struct statfs64): Likewise.
35640 (_STATFS_F_FLAGS): Define.
35641 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35643 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35644 (ST_VALID): Define locally.
35645 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35646 __statvfs_getflags, use the provided value.
35647 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35648 __ASSUME_STATFS_F_FLAGS.
35649
754f7da3
UD
35650 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35651
10b3bedc
UD
35652 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35653 Add sys/fanotify.h.
35654 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35655 fanotify_mask for GLIBC_2.13.
35656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35657 fanotify_init and fanotify_mark.
35658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35659 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35660
c08fb0d7
UD
35661 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35662 Add prlimit.
35663 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35664 prlimit64 for GLIBC_2.13.
35665 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35666 prlimit64.
35667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35668 syscall.
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35670 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35671 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35674 add prlimit alias.
35675 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35676
15bac72b
UD
35677 [BZ #11903]
35678 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35679 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35680
c3e2f19b
UD
35681 * nss/Makefile: Add rules to build and run tst-nss-test1.
35682 * shlib-versions: Add entry for libnss_test1.
35683 * nss/nss_test1.c: New file.
35684 * nss/tst-nss-test1.c: New file.
35685
35686 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35687 (__nss_configure_lookup): Set appropriate entry in
35688 __nss_configure_lookup to true.
35689 * nss/nsswitch.h: Define enum with indeces of databases in
35690 databases and __nss_database_custom arrays. Declare
35691 __nss_database_custom.
35692 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35693 to avoid using nscd when custom rules are installed.
35694 * nss/getXXbyYY_r.c: Likewise.
35695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35696
35697 * nss/nss_files/files-parse.c: Whitespace fixes.
35698
f15ce4d8
UD
356992010-08-09 Ulrich Drepper <drepper@redhat.com>
35700
35701 [BZ #11883]
35702 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35703 * posix/fnmatch_loop.c: Likewise.
35704
d22e4cc9
AK
357052010-07-17 Andi Kleen <ak@linux.intel.com>
35706
35707 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35708 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35709 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35710 * Versions.def [GLIBC_2.13]: Add.
35711
805bc17d
UD
357122010-08-06 Ulrich Drepper <drepper@redhat.com>
35713
35714 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35715 Also fail if tpwd after pwuid call is NULL.
35716
5a42321d
ST
357172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35718
35719 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35720 when converting to ms.
35721
fd3ebeda
ST
357222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35723
35724 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35725 EOPNOTSUPP errors with ENOTTY.
35726 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35727 EOPNOTSUPP errors with ENOTTY.
35728
73507d3a
UD
357292010-07-31 Ulrich Drepper <drepper@redhat.com>
35730
35731 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35732 Add strcasecmp_l-ssse3.
35733 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35734 strcasecmp.
35735 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35736 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35737 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35738
fe36dd02
UD
357392010-07-30 Ulrich Drepper <drepper@redhat.com>
35740
66f6765a
UD
35741 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35742
42e08a54
UD
35743 * string/Makefile (strop-tests): Add strcasecmp.
35744 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35745 strcasecmp_l-nonascii.
35746 (gen-as-const-headers): Add locale-defines.sym.
35747 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35748 * sysdeps/x86_64/strcasecmp.S: New file.
35749 * sysdeps/x86_64/strcasecmp_l.S: New file.
35750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35751 * sysdeps/x86_64/locale-defines.sym: New file.
35752 * string/test-strcasecmp.c: New file.
35753
fe36dd02
UD
35754 * string/test-strcasestr.c: Test both ends of the range of characters.
35755 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35756
48cbc0d6
RM
357572010-07-29 Roland McGrath <roland@redhat.com>
35758
76e6d6bc 35759 [BZ #11856]
48cbc0d6
RM
35760 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35761
880113d9
UD
357622010-07-27 Ulrich Drepper <drepper@redhat.com>
35763
35764 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35765 for ld.so.
35766
deb9cabb
AS
357672010-07-27 Andreas Schwab <schwab@redhat.com>
35768
35769 * manual/memory.texi (Malloc Tunable Parameters): Document
35770 M_PERTURB.
35771
1c7570ff
RM
357722010-07-26 Roland McGrath <roland@redhat.com>
35773
35774 [BZ #11840]
35775 * configure.in (-fgnu89-inline check): Set and substitute
35776 gnu89_inline, not libc_cv_gnu89_inline.
35777 * configure: Regenerated.
35778 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35779
24fb0f88
UD
357802010-07-26 Ulrich Drepper <drepper@redhat.com>
35781
35782 * string/test-strnlen.c: New file.
35783 * string/Makefile (strop-tests): Add strnlen.
35784 * string/tester.c (test_strnlen): Add a few more test cases.
35785 * string/tst-strlen.c: Better error reporting.
35786
35787 * sysdeps/x86_64/strnlen.S: New file.
35788
8e96b93a
UD
357892010-07-24 Ulrich Drepper <drepper@redhat.com>
35790
35791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35792 lower-latency instructions.
35793
dbc676d4
UD
357942010-07-23 Ulrich Drepper <drepper@redhat.com>
35795
35796 * string/test-strcasestr.c: New file.
35797 * string/test-strstr.c: New file.
35798 * string/Makefile (strop-tests): Add strstr and strcasestr.
35799 * string/str-two-way.h: Don't undefine MAX.
35800 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35801
f6a31e0e
AS
358022010-07-21 Andreas Schwab <schwab@redhat.com>
35803
35804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35805 strcasestr-nonascii.
35806 (CFLAGS-strcasestr-nonascii.c): Define.
35807 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35809 Remove unused attribute.
35810
5dbc3b6c
RM
358112010-07-20 Roland McGrath <roland@redhat.com>
35812
35813 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35814 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35815 ld.so.cache was broken. With it, there is no way to disable dsocaps
35816 like LD_HWCAP_MASK can disable hwcaps.
35817
23d101d8
EPM
358182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35819
35820 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35821
cc9f2e47
UD
358222010-07-16 Ulrich Drepper <drepper@redhat.com>
35823
35824 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35825 call in strcasestr.
35826 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35827 __strcasestr_sse42_nonascii.
35828 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35829 strcasestr-nonascii.c.
35830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35831
77c1b069
LM
358322010-06-15 Luis Machado <luisgpm@br.ibm.com>
35833
35834 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35836 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35837 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35838
440566c3
UD
358392010-07-09 Ulrich Drepper <drepper@redhat.com>
35840
35841 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35842 fcntl.
35843
5be9d05d
AS
358442010-07-06 Andreas Schwab <schwab@redhat.com>
35845
c30b7ee2 35846 [BZ #11577]
5be9d05d
AS
35847 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35848 dl_signal_cerror.
35849
8a492a67
UD
358502010-07-06 Ulrich Drepper <drepper@redhat.com>
35851
35852 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35853 _PC_PIPE_BUF using F_GETPIPE_SZ.
35854
713df3d5
RM
358552010-07-05 Roland McGrath <roland@redhat.com>
35856
35857 * manual/arith.texi (Rounding Functions): Fix rint description
35858 implicit in round description.
35859
702e8f14
UD
358602010-07-02 Ulrich Drepper <drepper@redhat.com>
35861
35862 * elf/Makefile: Fix linking for a few tests to make recent linker
35863 happy.
35864
52ed8be9
AS
358652010-06-30 Andreas Schwab <schwab@redhat.com>
35866
35867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35868 $(common-objpfx)libc_nonshared.a.
35869
f47c9a11
LM
358702010-06-21 Luis Machado <luisgpm@br.ibm.com>
35871
35872 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35873 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35874 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35875 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35876 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35877 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35879 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35894 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35895 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35896 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35897 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35898 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35899 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35900 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35901 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35902 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35903 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35904 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35905 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35920
6fb8cbcb
L
359212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35922
35923 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35924 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35925 * string/memmove.c (memmove): Renamed to ...
35926 (MEMMOVE): ...this. Default to memmove.
35927 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35928 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35929 (END_CHK): Define.
35930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35931 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35932 mempcpy-ssse3-back memmove-ssse3-back.
35933 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35935 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35936 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35937 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35938 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35939 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35940 * sysdeps/x86_64/multiarch/memmove.c: New file.
35941 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35942 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35943 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35944 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35946 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35947 Define.
35948 (index_Fast_Copy_Backward): Define.
35949 (HAS_ARCH_FEATURE): Define.
35950 (HAS_FAST_REP_STRING): Define.
35951 (HAS_FAST_COPY_BACKWARD): Define.
35952
4e733bac 359532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35954
35955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35956 Restore proper fallback handling.
35957
63c4ed22
UD
359582010-06-19 Ulrich Drepper <drepper@redhat.com>
35959
ac2b484c
UD
35960 [BZ #11701]
35961 * posix/group_member.c (__group_member): Correct checking loop.
35962
63c4ed22
UD
35963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35964 OOM in getpwuid_r correctly. Return error number when the caller
35965 should return, otherwise -1.
35966 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35967 call returning > 0 value.
35968 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35969
765ade4b
AS
359702010-06-07 Andreas Schwab <schwab@redhat.com>
35971
35972 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35973 libc_nonshared.a from targets in modules-names.
35974
80da2e09
KS
359752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35976
35977 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35978 requires it.
35979
158db122
LM
359802010-06-10 Luis Machado <luisgpm@br.ibm.com>
35981
35982 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35983 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35985 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35986
caa78cf8
AS
359872010-06-02 Andreas Schwab <schwab@redhat.com>
35988
35989 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35990
b2ef2c01
UD
359912010-06-14 Ulrich Drepper <drepper@redhat.com>
35992
35993 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35994 and F_GETPIPE_SZ.
35995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36001
fbd643b6
RM
360022010-06-14 Roland McGrath <roland@redhat.com>
36003
36004 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36005
f32f2869
JJ
360062010-06-07 Jakub Jelinek <jakub@redhat.com>
36007
36008 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36009 __REDIRECT followed by __THROW.
36010 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36011 * posix/getopt.h (getopt): Likewise.
36012
2a50c078
EPM
360132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36014
36015 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36016 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36017 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36018 in AT_FLAGS.
36019 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36020 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36021
eb5ad2eb
LM
360222010-05-28 Luis Machado <luisgpm@br.ibm.com>
36023
36024 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36025
3c88fe1e
L
360262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36027
36028 [BZ #11640]
36029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36030 Properly check family and model.
36031
d2f73151
TY
360322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36033
36034 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36035
ebd2e13d
LM
360362010-05-24 Luis Machado <luisgpm@br.ibm.com>
36037
36038 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36039
b32b8b45
UD
360402010-05-21 Ulrich Drepper <drepper@redhat.com>
36041
36042 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36043 symbol reference.
36044
9acbe24d
AS
360452010-05-19 Andreas Schwab <schwab@redhat.com>
36046
36047 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36048 symbol reference.
36049
f0ccf6ea
AS
360502010-05-21 Andreas Schwab <schwab@redhat.com>
36051
3d04ff3a
AS
36052 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36053 and internal_recvmmsg.
36054 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36055 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36056 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36057 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36058
f0ccf6ea
AS
36059 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36060 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36061 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36062
5b08ac57
AS
360632010-05-20 Andreas Schwab <schwab@redhat.com>
36064
36065 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36066
4828935d
LM
360672010-05-17 Luis Machado <luisgpm@br.ibm.com>
36068
36069 POWER7 optimizations.
36070 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36071 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36072
373d545e
UD
360732010-05-19 Ulrich Drepper <drepper@redhat.com>
36074
36075 * version.h: Update for 2.13 development version.
36076
21a2b1ae
AS
360772010-05-12 Andrew Stubbs <ams@codesourcery.com>
36078
36079 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36080 exceptions. Return 0.
36081
3f7dcb2b
RM
360822010-05-07 Roland McGrath <roland@redhat.com>
36083
36084 * elf/ldconfig.c (main): Add a const.
36085
5f24d53a 360862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36087
a160f8d8
UD
36088 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36089 (args_options): Add no-idn option.
36090 (ahosts_keys_int): Add idn_flags to ai_flags.
36091 (parse_option): Handle 'i' option to clear idn_flags.
36092
5f24d53a
UD
36093 * malloc/malloc.c (_int_free): Possible race in the most recently
36094 added check. Only act on the data if no current modification
36095 happened.
265bb1ce
UD
36096
36097See ChangeLog.17 for earlier changes.